:root {
    --navy: #0a1a2f;
    --gold: #f4c430;
    --emerald: #10b981;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--navy);
    line-height: 1.6;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

.hero {
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 26, 47, 0.3), rgba(10, 26, 47, 0.7));
    z-index: 1;
}

.hero > div {
    position: relative;
    z-index: 2;
}

.game-card:hover {
    transform: scale(1.05);
}

.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

header {
    padding: 1rem 0.5rem;
}

header h1 {
    font-size: 1.5rem;
    line-height: 1.2;
    text-align: center;
    color: var(--gold);
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.75rem;
}

header nav ul li {
    font-size: 0.85rem;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    padding: 0.3rem 0.6rem;
    display: block;
    white-space: nowrap;
}

@media (min-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    header nav ul {
        gap: 1.5rem;
    }

    header nav ul li {
        font-size: 1rem;
    }

    header nav ul li a {
        padding: 0.5rem 1rem;
    }

    .hero {
        background-attachment: fixed;
    }

    .hero h2 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.25rem;
    }
}

@media (max-width: 767px) {
    header {
        padding: 0.75rem 0.5rem;
    }

    header h1 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    header nav ul {
        gap: 0.5rem;
    }

    header nav ul li {
        font-size: 0.75rem;
    }

    header nav ul li a {
        padding: 0.2rem 0.4rem;
    }

    .hero {
        background-attachment: scroll;
    }

    .hero h2 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.1rem;
    }

    header nav ul {
        gap: 0.3rem;
    }

    header nav ul li {
        font-size: 0.7rem;
    }

    header nav ul li a {
        padding: 0.2rem 0.3rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.8rem;
    }
}