/* =========================================
   VARIANT GAMES - MAIN DESIGN SYSTEM
   ========================================= */

:root {
    --bg: #090e19;
    --surface: #111b2d;
    --surface-light: #182640;
    --blue: #78a7ff;
    --purple: #9b83ff;
    --text: #edf2ff;
    --muted: #a8b6ce;
    --border: rgba(255,255,255,.09);
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(ellipse at top, #172746 0%, transparent 55%),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9,14,25,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1250px;
    margin: auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 1px;
    color: white;
}

.brand span {
    color: var(--blue);
}

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

.main-nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    transition: .2s;
}

.main-nav a:hover {
    color: white;
}

/* HERO */

.hero {
    position: relative;
    text-align: center;
    padding: 105px 24px 95px;
    background:
        linear-gradient(135deg,
            rgba(35,65,115,.72),
            rgba(31,25,70,.72),
            rgba(9,14,25,.95));
    border-bottom: 1px solid var(--border);
}

.hero-inner {
    max-width: 850px;
    margin: auto;
}

.eyebrow {
    display: inline-block;
    padding: 7px 15px;
    border: 1px solid rgba(120,167,255,.35);
    border-radius: 30px;
    color: var(--blue);
    background: rgba(120,167,255,.08);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.1;
    color: white;
    margin: 24px 0 18px;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero h1 span {
    background: linear-gradient(90deg, #78a7ff, #b29aff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    color: #c4d0e7;
    font-size: 18px;
    max-width: 680px;
    margin: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

/* BUTTONS */

.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #477ee7, #7865dc);
    border: 1px solid rgba(255,255,255,.12);
    color: white;
    font-weight: 700;
    transition: .25s;
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
    box-shadow: 0 8px 25px rgba(70,110,220,.25);
}

.btn-secondary {
    background: rgba(255,255,255,.06);
    border: 1px solid var(--border);
    color: var(--text);
}

.btn.disabled {
    pointer-events: none;
    opacity: .45;
}

/* SECTIONS */

.content-section {
    max-width: 1250px;
    margin: auto;
    padding: 65px 24px;
}

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

.section-heading h2,
.section-title {
    color: white;
    font-size: clamp(25px, 4vw, 34px);
    margin: 0 0 8px;
}

.section-heading p {
    color: var(--muted);
    margin: 0;
}

.section-label {
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* GAME GRID */

.grid,
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1250px;
    padding: 30px 24px;
    margin: auto;
}

.project-card,
.game-card {
    background: linear-gradient(145deg, #15223a, #101827);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}

.project-card:hover,
.game-card:hover {
    transform: translateY(-6px);
    border-color: rgba(120,167,255,.5);
    box-shadow: 0 14px 35px rgba(0,0,0,.25);
}

.thumb {
    width: 100%;
    height: 185px;
    background-size: cover;
    background-position: center;
    background-color: #202e48;
    border-bottom: 1px solid var(--border);
}

.project-content {
    padding: 23px;
}

.project-content h3,
.game-card h3 {
    color: #d5e2ff;
    font-size: 21px;
    margin: 0 0 10px;
}

.project-content p,
.game-card p {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 20px;
}

/* PARTNER FEATURE */

.partner-card {
    background: linear-gradient(120deg, #182b49, #272044);
    border: 1px solid rgba(155,131,255,.3);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.partner-card h3 {
    font-size: 26px;
    margin: 8px 0;
    color: white;
}

.partner-card p {
    color: var(--muted);
    margin: 0;
}

/* STATUS LABELS */

.status {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 10px;
    border-radius: 20px;
    background: rgba(120,167,255,.12);
    color: var(--blue);
    text-transform: uppercase;
}

/* LOGOUT */

.logout-link {
    display: block;
    text-align: center;
    margin: 15px auto;
    color: var(--blue);
    font-weight: bold;
}

.logout-link:hover {
    text-decoration: underline;
}

/* FOOTER */

.site-footer {
    margin-top: 50px;
    padding: 35px 24px;
    text-align: center;
    background: #080c15;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
}

.site-footer strong {
    color: white;
}

/* RESPONSIVE */

@media (max-width: 700px) {
    .header-inner {
        flex-direction: column;
        gap: 12px;
    }

    .main-nav {
        justify-content: center;
        gap: 14px;
    }

    .main-nav a {
        font-size: 12px;
    }

    .hero {
        padding: 75px 20px;
    }

    .hero p {
        font-size: 16px;
    }

    .grid,
    .game-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .content-section {
        padding: 45px 20px;
    }

    .partner-card {
        padding: 22px;
    }
}
