* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f0f2f5;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
}

.header h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.home-link {
    text-decoration: none;
    color: inherit;
}

.header p {
    color: #666;
}

.platform-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding: 10px;
    overflow-x: auto;
}

.tab-button {
    padding: 10px 20px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    border-radius: 20px;
    border: 2px solid #e4e6e9;
    font-size: 1rem;
    text-transform: capitalize;
    transition: all 0.3s ease;
    min-width: 100px;
}

.tab-button:hover {
    background-color: #e4e6e9;
    border-color: #fd322e;
}

.tab-button.active {
    background-color: #fd322e;
    color: white;
    border-color: #fd322e;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 10px;
}

.game-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.game-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.game-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.game-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.game-link {
    display: inline-flex;
    align-items: center;
    color: #fd322e;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    gap: 5px;
}

.game-link:hover {
    color: #fd322e;
}

.game-link::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.game-link:hover::after {
    transform: translateX(3px);
}

@media (max-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .header h1 {
        font-size: 2rem;
    }

    .platform-tabs {
        padding: 10px;
    }

    .tab-button {
        padding: 8px 16px;
        min-width: 80px;
    }
}