* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: #050811;
    --background-light: #0b1020;

    --blue: #168cff;
    --cyan: #32d6ff;
    --purple: #705cff;

    --text: #f1f5ff;
    --text-muted: #8e9ab5;

    --border: rgba(90, 150, 255, 0.18);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text);

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;
}

/* HEADER */

.main-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 82px;

    z-index: 100;

    background: rgba(5, 8, 17, 0.72);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid var(--border);
}

.header-content {
    max-width: 1400px;
    height: 100%;

    margin: 0 auto;
    padding: 0 48px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    display: block;
    width: 170px;
    height: auto;
}

.main-nav {
    display: flex;
    gap: 44px;
}

.main-nav a {
    position: relative;

    color: var(--text-muted);
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    letter-spacing: 1.5px;
    text-transform: uppercase;

    transition: color 0.25s ease;
}

.main-nav a:hover {
    color: var(--cyan);
}

.main-nav a[aria-current="page"] {
    color: var(--cyan);
}

.main-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: linear-gradient(
        90deg,
        var(--blue),
        var(--cyan)
    );

    transition: width 0.25s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* HERO */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;

    pointer-events: none;
}

.hero-background::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            transparent 0%,
            rgba(5, 8, 17, 0.15) 45%,
            var(--background) 85%
        );
}

.hero-glow {
    position: absolute;

    width: 700px;
    height: 700px;

    border-radius: 50%;

    filter: blur(130px);
    opacity: 0.16;
}

.hero-glow-left {
    left: -300px;
    top: 15%;

    background: var(--blue);
}

.hero-glow-right {
    right: -300px;
    bottom: 5%;

    background: var(--purple);
}

.hero-grid {
    position: absolute;
    inset: 0;

    opacity: 0.12;

    background-image:
        linear-gradient(
            rgba(50, 214, 255, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(50, 214, 255, 0.08) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        radial-gradient(
            circle at center,
            black,
            transparent 72%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(900px, 90%);

    text-align: center;

    animation: hero-appear 1s ease-out;
}

.hero-logo {
    width: min(480px, 75vw);
    height: auto;

    margin-bottom: 42px;

    filter:
        drop-shadow(0 0 22px rgba(22, 140, 255, 0.25))
        drop-shadow(0 0 55px rgba(112, 92, 255, 0.14));
}

.hero h1 {
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 700;

    letter-spacing: 4px;
    text-transform: uppercase;

    margin-bottom: 24px;

    background: linear-gradient(
        90deg,
        #ffffff,
        #a9dfff,
        #ffffff
    );

    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero p {
    max-width: 660px;

    margin: 0 auto 42px;

    color: var(--text-muted);

    font-size: 18px;
    line-height: 1.7;
}

.primary-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 190px;
    height: 54px;

    padding: 0 28px;

    color: white;

    text-decoration: none;
    text-transform: uppercase;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1.5px;

    border: 1px solid rgba(50, 214, 255, 0.55);

    background:
        linear-gradient(
            135deg,
            rgba(22, 140, 255, 0.20),
            rgba(112, 92, 255, 0.16)
        );

    box-shadow:
        0 0 30px rgba(22, 140, 255, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.primary-button:hover {
    transform: translateY(-3px);

    border-color: var(--cyan);

    box-shadow:
        0 8px 35px rgba(22, 140, 255, 0.22);
}

/* SCROLL ARROW */

.scroll-indicator {
    position: absolute;

    left: 50%;
    bottom: 35px;

    transform: translateX(-50%);

    width: 30px;
    height: 45px;

    display: flex;
    justify-content: center;

    border: 1px solid rgba(142, 154, 181, 0.4);
    border-radius: 20px;
}

.scroll-indicator span {
    width: 4px;
    height: 8px;

    margin-top: 9px;

    border-radius: 4px;

    background: var(--cyan);

    animation: scroll-dot 1.8s infinite;
}

/* TEMPORARY */

.placeholder-section {
    min-height: 500px;

    display: flex;
    justify-content: center;

    padding: 100px 30px;

    background: var(--background-light);
}

.placeholder-section h2 {
    font-size: 38px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

/* =====================================================
   GAMES
===================================================== */

.games-section {
    position: relative;

    padding: 120px 48px 150px;

    background:
        linear-gradient(
            180deg,
            var(--background) 0%,
            #080c17 50%,
            var(--background) 100%
        );
}

.section-heading {
    max-width: 800px;

    margin: 0 auto 70px;

    text-align: center;
}

.section-heading > span {
    display: block;

    margin-bottom: 14px;

    color: var(--cyan);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 4px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin-bottom: 20px;

    color: var(--text);

    font-size: clamp(34px, 4vw, 52px);
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-heading p {
    color: var(--text-muted);

    font-size: 17px;
    line-height: 1.7;
}


/* GAME SHOWCASE */

.game-showcase {
    position: relative;

    max-width: 1400px;

    margin: 0 auto;

    overflow: hidden;

    border: 1px solid rgba(80, 130, 220, 0.22);

    background: #080c16;

    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.45);
}


/* ARTWORK */

.game-artwork {
    position: relative;

    width: 100%;

    overflow: hidden;
}

.game-artwork img {
    display: block;

    width: 100%;
    height: auto;

    transition: transform 1.2s ease;
}

.game-showcase:hover .game-artwork img {
    transform: scale(1.015);
}

.game-artwork-overlay {
    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(8, 12, 22, 0.75) 82%,
            #080c16 100%
        );
}


/* GAME INFORMATION */

.game-info {
    position: relative;

    z-index: 2;

    max-width: 900px;

    margin: -35px auto 0;

    padding: 0 40px 65px;

    text-align: center;
}

.game-tags {
    display: flex;

    justify-content: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 26px;
}

.game-tags span {
    padding: 8px 14px;

    color: #b8dfff;

    border: 1px solid rgba(50, 214, 255, 0.25);

    background: rgba(22, 140, 255, 0.07);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.game-description {
    max-width: 700px;

    margin: 0 auto 34px;

    color: var(--text-muted);

    font-size: 17px;
    line-height: 1.7;
}


/* BUTTONS */

.game-actions {
    display: flex;

    justify-content: center;

    gap: 16px;
}

.secondary-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 190px;
    height: 54px;

    padding: 0 28px;

    color: var(--text);

    text-decoration: none;
    text-transform: uppercase;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1.5px;

    border: 1px solid rgba(142, 154, 181, 0.32);

    background: rgba(255, 255, 255, 0.025);

    transition:
        border-color 0.25s ease,
        color 0.25s ease,
        background 0.25s ease;
}

.secondary-button:hover {
    color: var(--cyan);

    border-color: rgba(50, 214, 255, 0.65);

    background: rgba(50, 214, 255, 0.05);
}

.infinity-showcase {
    margin-top: 80px;
}
/* =====================================================
   ABOUT
===================================================== */

.about-section {
    position: relative;

    padding: 150px 48px;

    overflow: hidden;

    background: #070a12;

    border-top: 1px solid rgba(80, 130, 220, 0.12);
}

.about-glow {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 800px;
    height: 400px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: rgba(65, 82, 255, 0.10);

    filter: blur(150px);

    pointer-events: none;
}

.about-content {
    position: relative;

    max-width: 850px;

    margin: 0 auto;

    text-align: center;
}

.section-label {
    display: block;

    margin-bottom: 16px;

    color: var(--cyan);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 4px;
    text-transform: uppercase;
}

.about-content h2,
.contact-content h2 {
    margin-bottom: 30px;

    color: var(--text);

    font-size: clamp(34px, 4vw, 50px);
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;
}

.about-content p {
    margin: 0 auto 20px;

    color: var(--text-muted);

    font-size: 17px;
    line-height: 1.8;
}


/* =====================================================
   CONTACT
===================================================== */

.contact-section {
    padding: 130px 48px;

    background:
        radial-gradient(
            circle at 50% 100%,
            rgba(22, 140, 255, 0.10),
            transparent 55%
        ),
        #080c16;

    border-top: 1px solid rgba(80, 130, 220, 0.12);
}

.contact-content {
    max-width: 750px;

    margin: 0 auto;

    text-align: center;
}

.contact-content p {
    margin: 0 auto 38px;

    color: var(--text-muted);

    font-size: 17px;
    line-height: 1.7;
}

.contact-button {
    text-transform: none;
}


/* =====================================================
   FOOTER
===================================================== */

.main-footer {
    padding: 65px 48px 30px;

    background: #04070d;

    border-top: 1px solid rgba(80, 130, 220, 0.16);
}

.footer-content {
    max-width: 1400px;

    margin: 0 auto;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin-bottom: 40px;
}

.footer-brand img {
    width: 170px;
    height: auto;

    margin-bottom: 12px;

    opacity: 0.9;
}

.footer-brand span {
    color: var(--text-muted);

    font-size: 12px;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-links {
    display: flex;

    justify-content: center;
    flex-wrap: wrap;

    gap: 32px;

    padding-bottom: 38px;
}

.footer-links a {
    color: var(--text-muted);

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 1px;
    text-transform: uppercase;

    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-bottom {
    padding-top: 25px;

    text-align: center;

    border-top: 1px solid rgba(142, 154, 181, 0.10);

    color: #5f6980;

    font-size: 12px;
}
/* ANIMATIONS */

@keyframes hero-appear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroll-dot {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(17px);
    }
}

/* MOBILE */

/* Four main links remain visible alongside the logo on narrow screens. */
@media (max-width: 480px) {
    body .main-header .header-content { padding: 0 12px; }
    body .main-header .header-logo img { width: 88px; }
    body .main-header .main-nav { gap: 10px; }
    body .main-header .main-nav a { font-size: 10px; letter-spacing: 0.4px; }
}

@media (max-width: 700px) {

    .main-header {
        height: 68px;
    }

    .header-content {
        padding: 0 20px;
    }

    .header-logo img {
        width: 125px;
    }

    .main-nav {
        gap: 18px;
    }

    .main-nav a {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .hero h1 {
        letter-spacing: 2px;
    }

    .hero p {
        font-size: 16px;
    }
    .games-section {
        padding: 85px 20px 100px;
    }

    .section-heading {
        margin-bottom: 45px;
    }

    .game-info {
        margin-top: -10px;
        padding: 0 20px 40px;
    }

    .game-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .game-actions a {
        width: 100%;
    }
    .about-section,
    .contact-section {
        padding: 90px 20px;
    }

    .main-footer {
        padding: 55px 20px 25px;
    }

    .footer-links {
        gap: 20px;
    }
}
