:root {
    --bg: #060b14;
    --bg-secondary: #0b1220;
    --card: rgba(15, 25, 42, 0.72);
    --blue: #00a8ff;
    --blue-light: #4cc7ff;
    --blue-dark: #006dcc;
    --text: #ffffff;
    --muted: #94a6bd;
    --border: rgba(255, 255, 255, 0.08);
    --blue-border: rgba(0, 168, 255, 0.20);
    --radius: 24px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Outfit", sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --------------------------------
   BACKGROUND
-------------------------------- */

body::before {
    content: "";
    position: fixed;
    width: 700px;
    height: 700px;
    top: -300px;
    right: -200px;
    background: rgba(0, 168, 255, 0.12);
    filter: blur(150px);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: "";
    position: fixed;
    width: 500px;
    height: 500px;
    bottom: -250px;
    left: -200px;
    background: rgba(0, 110, 220, 0.10);
    filter: blur(140px);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

/* --------------------------------
   CONTAINER
-------------------------------- */

.container {
    width: min(1200px, calc(100% - 40px));
    margin: auto;
}

/* --------------------------------
   NAVBAR
-------------------------------- */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: rgba(6, 11, 20, 0.72);
    backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient( 135deg, var(--blue), var(--blue-dark) );
    box-shadow: 0 0 25px rgba(0, 168, 255, .30);
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

    nav a {
        color: var(--muted);
        font-size: 14px;
        font-weight: 500;
        transition: .25s;
    }

        nav a:hover {
            color: white;
        }

.nav-button {
    padding: 10px 20px;
    border-radius: 999px;
    background: rgba(0, 168, 255, .10);
    border: 1px solid rgba(0, 168, 255, .25);
    color: white;
    transition: .25s;
}

    .nav-button:hover {
        background: var(--blue);
        border-color: var(--blue);
        box-shadow: 0 0 25px rgba(0, 168, 255, .30);
    }

/* --------------------------------
   HERO
-------------------------------- */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
}

.hero-content {
    max-width: 850px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    margin-bottom: 28px;
    border-radius: 999px;
    background: rgba(0, 168, 255, .08);
    border: 1px solid rgba(0, 168, 255, .18);
    color: var(--blue-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
}

    .hero-label span {
        width: 7px;
        height: 7px;
        background: var(--blue);
        border-radius: 50%;
        box-shadow: 0 0 12px var(--blue);
    }

h1 {
    font-size: clamp(58px, 9vw, 110px);
    line-height: .88;
    letter-spacing: -4px;
    font-weight: 800;
}

    h1 .gradient {
        background: linear-gradient( 120deg, #ffffff, #8edcff, #00a8ff );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.hero-text {
    max-width: 650px;
    margin-top: 32px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 38px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: .25s;
}

.btn-primary {
    background: linear-gradient( 135deg, #00a8ff, #0076d7 );
    box-shadow: 0 0 25px rgba(0,168,255,.22);
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 30px rgba(0,168,255,.45);
    }

.btn-secondary {
    border: 1px solid var(--border);
    background: rgba(255,255,255,.03);
}

    .btn-secondary:hover {
        background: rgba(255,255,255,.07);
        border-color: rgba(255,255,255,.18);
    }

/* --------------------------------
   SECTION
-------------------------------- */

section {
    padding: 120px 0;
}

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 45px;
}

.section-label {
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

h2 {
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1;
    letter-spacing: -2px;
}

.section-description {
    max-width: 420px;
    color: var(--muted);
    line-height: 1.6;
}

/* --------------------------------
   GAME CARD
-------------------------------- */

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.game-card {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card);
    transition: .35s;
}

    .game-card:hover {
        transform: translateY(-6px);
        border-color: var(--blue-border);
        box-shadow: 0 20px 70px rgba(0,0,0,.35), 0 0 40px rgba(0,168,255,.10);
    }

.game-image {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, transparent 25%, rgba(6,11,20,.95) 100% );
    background-size: cover;
    background-position: center;
    transition: .5s;
}

.game-card:nth-child(2) .game-image {
    background-image: linear-gradient( to bottom, transparent 25%, rgba(6,11,20,.95) 100% );
}

.game-card:hover .game-image {
    transform: scale(1.04);
}

.game-content {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 30px;
}

.game-status {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0,168,255,.12);
    border: 1px solid rgba(0,168,255,.22);
    color: var(--blue-light);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-content h3 {
    font-size: 36px;
    letter-spacing: -1px;
}

.game-content p {
    color: var(--muted);
    margin-top: 8px;
    line-height: 1.5;
}

.game-link {
    display: inline-flex;
    margin-top: 22px;
    color: white;
    font-size: 14px;
    font-weight: 600;
}

    .game-link:hover {
        color: var(--blue-light);
    }

/* --------------------------------
   STUDIO
-------------------------------- */

.studio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.studio-text p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
    margin-top: 25px;
}

.studio-box {
    padding: 40px;
    border-radius: var(--radius);
    background: linear-gradient( 145deg, rgba(0,168,255,.08), rgba(255,255,255,.02) );
    border: 1px solid var(--border);
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat {
    padding: 25px;
    border-radius: 18px;
    background: rgba(255,255,255,.025);
    border: 1px solid var(--border);
}

.stat-number {
    font-size: 34px;
    font-weight: 700;
    color: var(--blue-light);
}

.stat-label {
    color: var(--muted);
    margin-top: 5px;
    font-size: 13px;
}

/* --------------------------------
   NEWS
-------------------------------- */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-card {
    padding: 28px;
    border-radius: 20px;
    background: rgba(255,255,255,.025);
    border: 1px solid var(--border);
    transition: .25s;
}

    .news-card:hover {
        transform: translateY(-4px);
        border-color: var(--blue-border);
    }

.news-date {
    color: var(--blue);
    font-size: 12px;
    font-weight: 600;
}

.news-card h3 {
    font-size: 21px;
    margin-top: 14px;
}

.news-card p {
    color: var(--muted);
    margin-top: 12px;
    line-height: 1.6;
}

/* --------------------------------
   CTA
-------------------------------- */

.cta {
    position: relative;
    overflow: hidden;
    padding: 80px 50px;
    border-radius: 30px;
    text-align: center;
    background: radial-gradient( circle at center, rgba(0,168,255,.18), transparent 60% ), rgba(255,255,255,.025);
    border: 1px solid var(--blue-border);
}

    .cta h2 {
        max-width: 700px;
        margin: auto;
    }

    .cta p {
        color: var(--muted);
        margin: 20px auto 30px;
        max-width: 550px;
    }

/* --------------------------------
   FOOTER
-------------------------------- */

footer {
    padding: 50px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

    .footer-links a {
        color: var(--muted);
        font-size: 13px;
    }

        .footer-links a:hover {
            color: white;
        }

/* --------------------------------
   RESPONSIVE
-------------------------------- */

@media (max-width: 900px) {

    nav {
        display: none;
    }

    .games-grid,
    .studio {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .studio {
        gap: 40px;
    }
}

@media (max-width: 600px) {

    .container {
        width: min(100% - 28px, 1200px);
    }

    h1 {
        font-size: 58px;
        letter-spacing: -2px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section-header {
        display: block;
    }

    .section-description {
        margin-top: 20px;
    }

    .game-card {
        min-height: 430px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .cta {
        padding: 60px 25px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
    }
}