.games-hero {
    background: linear-gradient(rgba(30, 144, 255, 0.95), rgba(30, 144, 255, 0.85)), url('../assets/images/games-bg.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.games-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--white);
    transform: skewY(-3deg);
}

.games-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.games-hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.games-grid {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.games-grid h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-color);
    position: relative;
}

.games-grid h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.games-grid-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.game-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.game-card:hover img {
    transform: scale(1.05);
}

.game-content {
    padding: 1.5rem;
    background: var(--white);
}

.game-content h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.game-content p {
    color: var(--light-text);
    font-size: 0.95rem;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(30, 144, 255, 0.1);
}

.game-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
}

.game-meta i {
    color: var(--primary-color);
}

.group-games {
    background: var(--light-gray);
    padding: 100px 20px;
    position: relative;
}

.group-games h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-color);
    position: relative;
}

.group-games h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.group-games-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.group-game-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(30, 144, 255, 0.1);
}

.group-game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 144, 255, 0.2);
}

.group-game-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.group-game-card:hover i {
    transform: scale(1.1);
}

.group-game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.group-game-card p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .games-hero {
        padding: 80px 20px 40px;
    }

    .games-hero h1 {
        font-size: 2.5rem;
    }

    .games-hero p {
        font-size: 1.1rem;
    }

    .games-grid {
        padding: 60px 20px;
    }

    .games-grid h2,
    .group-games h2 {
        font-size: 2rem;
    }

    .games-grid-content,
    .group-games-content {
        gap: 2rem;
    }

    .game-card img {
        height: 180px;
    }

    .game-info {
        padding: 1.5rem;
    }

    .group-game-card {
        padding: 2rem;
    }
} 