:root {
    --bg: #040914;
    --bg-2: #07111f;
    --panel: rgba(10, 22, 38, .72);
    --panel-strong: rgba(9, 20, 36, .92);
    --line: rgba(91, 190, 255, .18);
    --line-bright: rgba(69, 219, 255, .38);
    --text: #edf7ff;
    --muted: #98a9bd;
    --muted-2: #69788d;
    --blue: #1077ff;
    --cyan: #12e5ff;
    --teal: #04d6bd;
    --green: #74ff7b;
    --warning: #ffcc4d;
    --shadow: 0 28px 80px rgba(0, 0, 0, .42);
    --radius: 22px;
    --radius-sm: 14px;
    --container: min(1240px, calc(100vw - 44px));
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 70% 4%, rgba(18, 229, 255, .16), transparent 32rem),
        radial-gradient(circle at 12% 10%, rgba(16, 119, 255, .18), transparent 26rem),
        linear-gradient(180deg, #030711 0%, #06101f 38%, #030711 100%);
    overflow-x: hidden;
}

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

img { max-width: 100%; display: block; }

code {
    color: #d8f8ff;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.09);
    padding: .12rem .35rem;
    border-radius: 7px;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.narrow { max-width: 720px; }

.site-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: .12;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.site-glow {
    position: fixed;
    pointer-events: none;
    z-index: -2;
    filter: blur(70px);
    opacity: .36;
    border-radius: 999px;
}

.site-glow-a { width: 420px; height: 420px; left: -120px; top: 15vh; background: #004dff; }
.site-glow-b { width: 520px; height: 520px; right: -180px; top: 44vh; background: #00d9ff; opacity: .22; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(104, 198, 255, .14);
    background: rgba(3, 7, 17, .78);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: fit-content;
}

.brand-mark {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 22px rgba(18, 229, 255, .28));
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: .95;
}

.brand-main {
    font-family: Orbitron, Inter, sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: .14em;
    color: #f2f8ff;
}

.brand-sub {
    margin-top: 4px;
    font-family: Orbitron, Inter, sans-serif;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .58em;
    color: var(--cyan);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-left: auto;
}

.main-nav a {
    position: relative;
    color: #bac7d7;
    font-size: .95rem;
    padding: 28px 18px;
    transition: color .18s ease;
}

.main-nav a:hover,
.main-nav a.is-active { color: #fff; }

.main-nav a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 0;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    box-shadow: 0 0 18px rgba(18,229,255,.75);
    transition: transform .18s ease;
}

.main-nav a.is-active::after,
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.icon-button {
    width: 44px;
    height: 44px;
    border: 1px solid transparent;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #d4e7ff;
    background: transparent;
    transition: .18s ease;
}

.icon-button svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.icon-button:hover {
    border-color: var(--line-bright);
    background: rgba(255,255,255,.06);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid rgba(148, 202, 255, .22);
    font-weight: 800;
    letter-spacing: .01em;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    border-color: rgba(18,229,255,.55);
    background: linear-gradient(135deg, #126eff, #0ae2d8);
    color: #fff;
    box-shadow: 0 16px 36px rgba(15, 114, 255, .26), inset 0 1px 0 rgba(255,255,255,.22);
}

.btn-primary:hover { box-shadow: 0 20px 50px rgba(18, 229, 255, .28); }

.btn-ghost {
    background: rgba(5, 13, 24, .62);
    color: #e7f4ff;
}

.btn-ghost:hover {
    border-color: rgba(18,229,255,.42);
    background: rgba(18, 229, 255, .08);
}

.btn-soft {
    background: rgba(255,255,255,.06);
    color: #dcecff;
}

.btn-xl { min-height: 54px; padding-inline: 28px; border-radius: 14px; font-size: 1rem; }
.btn-sm { min-height: 38px; padding-inline: 16px; border-radius: 10px; font-size: .88rem; }
.btn.full { width: 100%; }
.btn.disabled { opacity: .55; pointer-events: none; }

.nav-toggle {
    display: none;
    width: 46px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,.05);
    color: #fff;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    margin: 4px auto;
}

.hero-shell {
    position: relative;
    min-height: 710px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(18,229,255,.13);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(90deg, rgba(3,7,17,.96) 0%, rgba(3,7,17,.88) 34%, rgba(3,7,17,.28) 68%, rgba(3,7,17,.82) 100%),
        linear-gradient(180deg, rgba(3,7,17,.22) 0%, rgba(3,7,17,.92) 100%),
        url('../img/hero/astronaut-world.jpg');
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 610px) 1fr;
    gap: 48px;
    align-items: center;
    padding-block: 92px 64px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: .76rem;
    font-weight: 900;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan));
}

.hero-content h1,
.page-hero h1,
.detail-copy h1 {
    margin: 18px 0 18px;
    font-family: Orbitron, Inter, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: .94;
}

.hero-content h1 {
    font-size: clamp(4.2rem, 9vw, 8.7rem);
    text-shadow: 0 0 28px rgba(103, 205, 255, .18);
}

.hero-content h1 span {
    background: linear-gradient(90deg, #1682ff, #13e9ff 56%, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    max-width: 540px;
    color: #bfcbdb;
    font-size: 1.1rem;
    line-height: 1.85;
}

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

.stats-strip {
    margin-top: 30px;
    max-width: 680px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid rgba(73, 190, 255, .18);
    background: rgba(3, 10, 19, .58);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(14px);
}

.stats-strip div {
    padding: 16px 18px;
    border-right: 1px solid rgba(255,255,255,.07);
}

.stats-strip div:last-child { border-right: 0; }
.stats-strip strong { display: block; font-size: 1.25rem; color: #fff; }
.stats-strip span { display: block; margin-top: 3px; color: var(--muted); font-size: .82rem; }

.hero-card {
    justify-self: end;
    align-self: end;
    width: min(420px, 100%);
}

.orbit-card {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 18px;
    padding: 20px;
    border: 1px solid rgba(18,229,255,.22);
    background: linear-gradient(135deg, rgba(9, 22, 38, .76), rgba(6, 13, 25, .45));
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    backdrop-filter: blur(18px);
}

.orbit-card img { width: 92px; height: 92px; }
.orbit-card span { color: var(--cyan); font-size: .8rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 900; }
.orbit-card strong { display: block; margin-top: 8px; font-size: 1.25rem; }
.orbit-card p { margin: 8px 0 0; color: var(--muted); line-height: 1.55; }

.section {
    padding-block: 72px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.section-heading.compact { margin-bottom: 18px; }

.section-heading h2,
.platform-copy h2,
.community-panel h2,
.panel-card h2,
.page-hero h1 {
    margin: 10px 0 0;
    font-family: Orbitron, Inter, sans-serif;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.section-heading h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); }

.link-arrow {
    color: #76dfff;
    font-weight: 800;
    white-space: nowrap;
}

.link-arrow::after { content: " →"; }

.featured-grid,
.game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.game-card {
    min-width: 0;
    border: 1px solid rgba(105, 205, 255, .17);
    background: linear-gradient(180deg, rgba(12, 25, 43, .76), rgba(4, 10, 20, .82));
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 52px rgba(0,0,0,.26);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(18,229,255,.36);
    box-shadow: 0 24px 70px rgba(0, 42, 98, .36);
}

.game-card-art {
    position: relative;
    display: block;
    min-height: 180px;
    background-image:
        linear-gradient(180deg, rgba(0,0,0,0) 32%, rgba(3,7,17,.72) 100%),
        var(--cover);
    background-size: cover;
    background-position: center;
}

.game-status,
.game-featured {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #e8f9ff;
    background: rgba(5, 17, 31, .76);
    border: 1px solid rgba(255,255,255,.15);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 900;
    font-size: .66rem;
    backdrop-filter: blur(8px);
}

.game-featured { left: auto; right: 14px; color: #fff8cf; border-color: rgba(255,204,77,.35); }
.status-live { border-color: rgba(116,255,123,.35); color: #b8ffc0; }
.status-upcoming { color: #b8eaff; }

.game-card-body { padding: 18px; }
.game-card-title-row { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.game-card h3 { margin: 0; font-size: 1.25rem; letter-spacing: -.02em; }
.game-card h3 a:hover { color: var(--cyan); }
.mini-rating { color: #ffd86b; filter: drop-shadow(0 0 12px rgba(255,216,107,.5)); }
.game-card p { margin: 10px 0 14px; color: #aebbd0; line-height: 1.55; min-height: 50px; }

.chip-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(119, 208, 255, .16);
    background: rgba(255,255,255,.05);
    color: #c5d3e7;
    font-size: .78rem;
    font-weight: 700;
}
.chip-link:hover { color: #fff; border-color: rgba(18,229,255,.38); }

.game-card-actions { display: flex; gap: 9px; margin-top: 18px; flex-wrap: wrap; }
.game-card-actions .btn { flex: 1 1 auto; }

.platform-band {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: 28px;
    align-items: center;
    padding: 32px;
    border: 1px solid rgba(18,229,255,.18);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 82% 32%, rgba(18,229,255,.16), transparent 25rem),
        linear-gradient(135deg, rgba(8, 22, 40, .88), rgba(3, 9, 18, .76));
    box-shadow: var(--shadow);
}

.platform-copy h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.platform-copy p { color: #b4c4d7; line-height: 1.75; font-size: 1.02rem; }
.platform-steps { display: grid; gap: 12px; }
.platform-steps div {
    display: flex; align-items: center; gap: 14px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.05);
}
.platform-steps strong { color: var(--cyan); font-family: Orbitron, Inter, sans-serif; }
.platform-steps span { color: #d5e7f5; font-weight: 700; }

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(310px, .75fr);
    gap: 26px;
    align-items: start;
}

.news-list,
.news-index { display: grid; gap: 16px; }

.news-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 18px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(105, 205, 255, .16);
    background: rgba(8, 19, 34, .72);
}

.news-card.large { grid-template-columns: 260px 1fr; padding: 18px; }
.news-card img { width: 100%; height: 140px; object-fit: cover; border-radius: 14px; }
.news-card.large img { height: 180px; }
.news-meta { display: flex; gap: 12px; color: var(--muted); font-size: .78rem; margin-bottom: 8px; }
.news-meta span { color: var(--green); text-transform: uppercase; font-weight: 900; letter-spacing: .12em; }
.news-card h3, .news-card h2 { margin: 0 0 8px; }
.news-card p { margin: 0 0 12px; color: #aebbd0; line-height: 1.55; }

.community-panel,
.panel-card {
    border: 1px solid rgba(105, 205, 255, .17);
    background: linear-gradient(180deg, rgba(12, 28, 48, .78), rgba(5, 12, 22, .82));
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 20px 70px rgba(0,0,0,.28);
}

.community-panel h2 { font-size: 1.55rem; line-height: 1.25; }
.community-panel p, .panel-card p { color: #afbdd0; line-height: 1.65; }
.social-row { display: flex; flex-wrap: wrap; gap: 9px; margin: 20px 0; }
.social-row a {
    padding: 9px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,.06);
    color: #e7f3ff;
    border: 1px solid rgba(255,255,255,.09);
    font-weight: 800;
}

.page-hero {
    position: relative;
    padding: 120px 0 84px;
    overflow: hidden;
    border-bottom: 1px solid rgba(18,229,255,.12);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(90deg, rgba(3,7,17,.94), rgba(3,7,17,.55), rgba(3,7,17,.94)),
        linear-gradient(180deg, rgba(3,7,17,.15), rgba(3,7,17,.88)),
        url('../img/hero/astronaut-world.jpg');
    background-size: cover;
    background-position: center 35%;
}

.page-hero.small-hero h1 { max-width: 900px; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; }
.page-hero p { max-width: 760px; color: #bbc9d9; font-size: 1.1rem; line-height: 1.75; }
.page-hero.center { text-align: center; }
.page-hero.center .container { display: grid; justify-items: center; }

.library-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.library-sidebar {
    position: sticky;
    top: 96px;
    border: 1px solid rgba(105, 205, 255, .16);
    background: rgba(8, 18, 33, .72);
    border-radius: 18px;
    padding: 12px;
}

.side-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 12px;
    color: #c0ccda;
    font-weight: 700;
}
.side-item:hover, .side-item.active { background: rgba(18, 229, 255, .09); color: #fff; }
.side-item strong { color: #fff; }
.library-sidebar h3 { margin: 16px 12px 8px; color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; }
.library-sidebar hr { border: 0; height: 1px; background: rgba(255,255,255,.09); margin: 12px; }

.join-card.mini {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid rgba(18,229,255,.16);
    background: rgba(18,229,255,.07);
    border-radius: 16px;
}
.join-card h3 { margin: 0 0 8px; }
.join-card p { color: #aebbd0; line-height: 1.5; font-size: .92rem; }

.filter-bar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 180px 160px auto;
    gap: 12px;
    margin-bottom: 16px;
}

.search-field { position: relative; }
.search-field svg {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    width: 20px; height: 20px; fill: none; stroke: #7f93aa; stroke-width: 2; stroke-linecap: round;
}

input, select {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(105, 205, 255, .18);
    border-radius: 12px;
    background: rgba(3, 10, 19, .66);
    color: #eaf6ff;
    padding: 0 14px;
    outline: none;
}
.search-field input { padding-left: 44px; }
input:focus, select:focus { border-color: rgba(18,229,255,.5); box-shadow: 0 0 0 4px rgba(18,229,255,.08); }

.library-chips { margin-bottom: 22px; }
.library-grid { grid-template-columns: repeat(3, 1fr); }
.empty-state { padding: 46px; border: 1px dashed rgba(105,205,255,.24); border-radius: var(--radius); color: var(--muted); }

.game-detail-hero {
    position: relative;
    min-height: 660px;
    display: flex;
    align-items: end;
    overflow: hidden;
    border-bottom: 1px solid rgba(18,229,255,.15);
}

.game-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(90deg, rgba(3,7,17,.98) 0%, rgba(3,7,17,.78) 34%, rgba(3,7,17,.22) 68%, rgba(3,7,17,.76) 100%),
        linear-gradient(180deg, rgba(3,7,17,.1), rgba(3,7,17,.96)),
        var(--cover);
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.detail-hero-grid { padding-block: 110px 58px; }
.detail-copy { max-width: 760px; }
.breadcrumbs { display: flex; gap: 10px; flex-wrap: wrap; color: #96a9bf; margin-bottom: 26px; }
.breadcrumbs a:hover { color: var(--cyan); }
.game-title-logo { font-size: clamp(3.4rem, 7.6vw, 7rem); }
.game-title-logo::first-letter { color: #fff; }
.lead { font-size: 1.08rem; color: #c4d0de; line-height: 1.82; max-width: 680px; }
.green-note { color: var(--green); font-weight: 800; }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.media-strip {
    display: grid;
    grid-template-columns: 1.15fr repeat(3, .75fr);
    gap: 12px;
    margin-bottom: 22px;
}
.media-strip img,
.trailer-card {
    min-height: 132px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(105, 205, 255, .17);
    background: var(--cover) center/cover;
}
.media-strip img { width: 100%; height: 100%; object-fit: cover; }
.trailer-card a {
    min-height: 132px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(0,0,0,.4);
}
.play-circle {
    width: 54px; height: 54px; border-radius: 999px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.24);
    backdrop-filter: blur(10px);
}
.feature-list { display: grid; gap: 12px; margin-top: 18px; }
.feature-item { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; }
.feature-item span {
    width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
    background: rgba(18,229,255,.08); border: 1px solid rgba(18,229,255,.18); color: var(--cyan); font-weight: 900;
}
.feature-item p { margin: 0; }
.related-grid { grid-template-columns: repeat(3, 1fr); }
.detail-sidebar { display: grid; gap: 18px; position: sticky; top: 96px; }
.game-meta dl { margin: 18px 0 0; }
.game-meta div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.game-meta div:last-child { border-bottom: 0; }
.game-meta dt { color: var(--muted); }
.game-meta dd { margin: 0; color: #eff8ff; font-weight: 700; }

.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.highlight-card .card-icon { font-size: 2.4rem; color: var(--cyan); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.brand-preview img { border-radius: 16px; border: 1px solid rgba(255,255,255,.1); }
.form-card { display: grid; gap: 12px; width: min(460px, 100%); margin-top: 22px; text-align: left; }
.form-card label { color: #dbefff; font-weight: 800; }

.site-footer {
    margin-top: 20px;
    border-top: 1px solid rgba(105, 205, 255, .14);
    background: rgba(2, 6, 14, .74);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, .75fr);
    gap: 34px;
    padding: 54px 0 28px;
}
.footer-brand { margin-bottom: 16px; }
.site-footer p { max-width: 420px; color: #9fb0c4; line-height: 1.65; }
.site-footer h3 { margin: 0 0 14px; text-transform: uppercase; letter-spacing: .12em; font-size: .84rem; color: #fff; }
.site-footer a:not(.brand) { display: block; color: #a6b7cb; margin: 10px 0; }
.site-footer a:not(.brand):hover { color: var(--cyan); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0 28px;
    color: #7f91a6;
    border-top: 1px solid rgba(255,255,255,.07);
}

.reveal { animation: fadeUp .6s ease both; }
.delay-1 { animation-delay: .14s; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
    .featured-grid, .game-grid { grid-template-columns: repeat(2, 1fr); }
    .library-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-layout, .split-section, .platform-band, .about-grid { grid-template-columns: 1fr; }
    .detail-sidebar { position: static; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-card { justify-self: start; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .header-inner { min-height: 68px; }
    .nav-toggle { display: block; margin-left: auto; }
    .main-nav {
        position: absolute;
        left: 22px; right: 22px; top: 76px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: rgba(5, 12, 24, .96);
        border: 1px solid rgba(105, 205, 255, .18);
        border-radius: 18px;
        padding: 10px;
        box-shadow: var(--shadow);
    }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 14px 16px; border-radius: 12px; }
    .main-nav a::after { display: none; }
    .header-actions .btn-ghost, .header-actions .icon-button { display: none; }
    .library-layout { grid-template-columns: 1fr; }
    .library-sidebar { position: static; }
    .filter-bar { grid-template-columns: 1fr; }
    .media-strip { grid-template-columns: 1fr 1fr; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
    :root { --container: min(100vw - 28px, 1240px); }
    .brand-main { font-size: 1rem; }
    .brand-sub { font-size: .58rem; letter-spacing: .45em; }
    .brand-mark { width: 40px; height: 40px; }
    .hero-shell { min-height: 660px; }
    .hero-content h1 { font-size: clamp(3.1rem, 16vw, 4.5rem); }
    .hero-actions, .section-heading { align-items: stretch; flex-direction: column; }
    .featured-grid, .game-grid, .library-grid, .related-grid, .card-grid-3 { grid-template-columns: 1fr; }
    .news-card, .news-card.large { grid-template-columns: 1fr; }
    .media-strip { grid-template-columns: 1fr; }
    .platform-band { padding: 22px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
}
