/* =========================================================
   BLOCKPLAY - Neo Brutalist Game Platform Theme
   Original design for game_v20261110b
   ========================================================= */

:root {
    --bg: #fdf6e8;
    --bg-2: #f6eed8;
    --card: #ffffff;
    --ink: #111111;
    --ink-2: #3b3b3b;
    --ink-3: #6d6a61;
    --line: #111111;
    --lime: #c8ff3d;
    --yellow: #ffd93d;
    --pink: #ff5bd0;
    --blue: #4d5bff;
    --border: 2px solid var(--ink);
    --hard: 6px 6px 0 var(--ink);
    --hard-sm: 4px 4px 0 var(--ink);
    --hard-lg: 9px 9px 0 var(--ink);
    --radius: 6px;
    --radius-sm: 4px;
    --font-head: 'Archivo', "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
    --font-body: 'Inter', "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.66;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* checkerboard texture */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(45deg, rgba(17, 17, 17, 0.045) 25%, transparent 25%, transparent 75%, rgba(17, 17, 17, 0.045) 75%),
        linear-gradient(45deg, rgba(17, 17, 17, 0.045) 25%, transparent 25%, transparent 75%, rgba(17, 17, 17, 0.045) 75%);
    background-size: 28px 28px;
    background-position: 0 0, 14px 14px;
    mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 62%);
    -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 62%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(520px 420px at 92% 4%, rgba(255, 91, 208, 0.22), transparent 62%),
        radial-gradient(520px 420px at 4% 8%, rgba(200, 255, 61, 0.28), transparent 62%);
}

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

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

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.2px;
    border: var(--border);
    background: var(--card);
    color: var(--ink);
    box-shadow: var(--hard-sm);
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--hard);
}

.btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--ink);
}

.btn-grad {
    background: var(--lime);
    color: var(--ink);
}

.btn-ghost {
    background: var(--card);
    color: var(--ink);
}

.btn-lg {
    padding: 16px 30px;
    font-size: 15px;
}

/* ---------------- Header / Nav ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--card);
    border-bottom: var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 78px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -0.4px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--lime);
    border: var(--border);
    box-shadow: var(--hard-sm);
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 18px;
    flex-shrink: 0;
}

.logo em {
    font-style: normal;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--yellow);
    border: 2px solid var(--ink);
    border-radius: 4px;
    padding: 2px 6px;
    margin-left: 8px;
    vertical-align: middle;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu a {
    padding: 8px 14px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--ink);
    background: var(--bg-2);
    border-color: var(--ink);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: var(--border);
    background: var(--lime);
    color: var(--ink);
    font-size: 17px;
    cursor: pointer;
    box-shadow: var(--hard-sm);
}

/* ---------------- Hero ---------------- */
.hero {
    position: relative;
    padding: 74px 0 70px;
    overflow: hidden;
    border-bottom: var(--border);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    gap: 50px;
    align-items: center;
}

.hero-copy {
    min-width: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--card);
    border: var(--border);
    box-shadow: var(--hard-sm);
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ink);
    animation: blink 1.6s steps(2, start) infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(34px, 5.2vw, 66px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -1.8px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero h1 .grad-text {
    display: inline-block;
    background: var(--lime);
    color: var(--ink);
    padding: 0 8px;
    border: var(--border);
    box-shadow: var(--hard-sm);
}

.hero p {
    max-width: 520px;
    margin-bottom: 32px;
    font-size: 17px;
    color: var(--ink-2);
}

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

.hero-stats {
    display: flex;
    gap: 14px;
    margin-top: 38px;
    flex-wrap: wrap;
}

.stat {
    padding: 12px 20px;
    border-radius: var(--radius);
    background: var(--card);
    border: var(--border);
    box-shadow: var(--hard-sm);
    min-width: 112px;
}

.stat b {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 23px;
    line-height: 1.15;
    letter-spacing: -0.6px;
}

.stat span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-3);
}

/* sticker-board visual */
.hero-visual {
    display: grid;
    place-items: center;
}

.arena {
    position: relative;
    width: 100%;
    max-width: 430px;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.arena::before {
    content: "";
    position: absolute;
    inset: 14%;
    border-radius: 14px;
    background: var(--pink);
    border: var(--border);
    box-shadow: var(--hard-lg);
    transform: rotate(-8deg);
}

.arena::after {
    content: "";
    position: absolute;
    inset: 18%;
    border-radius: 14px;
    background: var(--card);
    border: var(--border);
    box-shadow: var(--hard);
    transform: rotate(5deg);
}

.arena-core {
    position: relative;
    z-index: 2;
    width: 38%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--blue);
    border: var(--border);
    box-shadow: var(--hard);
    transform: rotate(-3deg);
    animation: bob 5s ease-in-out infinite;
}

@keyframes bob {
    0%, 100% { transform: rotate(-3deg) translateY(-5px); }
    50% { transform: rotate(-3deg) translateY(5px); }
}

.arena-core .play {
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1;
    color: var(--card);
}

.hud {
    position: absolute;
    z-index: 3;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--card);
    border: var(--border);
    box-shadow: var(--hard-sm);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
}

.hud-a {
    top: 4%;
    left: 0;
    background: var(--lime);
    animation: bob 6s ease-in-out infinite;
}

.hud-b {
    top: 24%;
    right: -2%;
    background: var(--yellow);
    animation: bob 7s ease-in-out infinite 0.4s;
}

.hud-c {
    bottom: 10%;
    left: 0;
    background: var(--card);
    animation: bob 6.5s ease-in-out infinite 0.8s;
}

.hud-d {
    bottom: 28%;
    right: 0;
    background: var(--pink);
    animation: bob 6s ease-in-out infinite 0.2s;
}

/* ---------------- Section ---------------- */
.section {
    padding: 68px 0;
}

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

.section-head h2 {
    font-family: var(--font-head);
    font-size: clamp(24px, 3vw, 33px);
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.section-head h2 span {
    display: inline-block;
    background: var(--lime);
    padding: 0 6px;
    border: var(--border);
    box-shadow: var(--hard-sm);
}

.section-head p {
    color: var(--ink-3);
    font-size: 14.5px;
    margin-top: 6px;
}

/* ---------------- Featured carousel ---------------- */
.featured-row {
    display: grid;
    grid-template-columns: repeat(8, 206px);
    gap: 18px;
    overflow-x: auto;
    padding: 6px 4px 20px;
    scroll-snap-type: x mandatory;
}

.featured-row::-webkit-scrollbar,
.game-grid::-webkit-scrollbar {
    height: 10px;
}

.featured-row::-webkit-scrollbar-track,
.game-grid::-webkit-scrollbar-track {
    background: var(--bg-2);
    border: 2px solid var(--ink);
    border-radius: 999px;
}

.featured-row::-webkit-scrollbar-thumb,
.game-grid::-webkit-scrollbar-thumb {
    background: var(--ink);
    border-radius: 999px;
}

/* ---------------- Game card ---------------- */
.game-card {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card);
    border: var(--border);
    box-shadow: var(--hard-sm);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
    scroll-snap-align: start;
}

.game-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--hard-lg);
}

.game-card .thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-2);
    border-bottom: var(--border);
}

.game-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-card:hover .thumb img {
    transform: scale(1.05);
}

.game-card .thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0) 62%, rgba(17, 17, 17, 0.22) 100%);
}

.game-card .cat {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--yellow);
    border: 2px solid var(--ink);
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
}

.game-card .play-hover {
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 3;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--lime);
    border: var(--border);
    box-shadow: var(--hard-sm);
    color: var(--ink);
    font-size: 15px;
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.game-card:hover .play-hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.game-card .body {
    padding: 13px 14px 15px;
}

.game-card .title {
    font-family: var(--font-head);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 7px;
}

.game-card .meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: var(--ink-3);
}

.stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    color: var(--ink);
    font-size: 12.5px;
}

.stars .score {
    color: var(--ink-3);
    margin-left: 5px;
    font-weight: 500;
}

/* ---------------- Catalog / filters ---------------- */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.chip {
    padding: 8px 16px;
    border-radius: 999px;
    border: var(--border);
    background: var(--card);
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.chip:hover {
    background: var(--bg-2);
}

.chip.active {
    background: var(--ink);
    color: var(--lime);
    box-shadow: var(--hard-sm);
}

.search-box {
    position: relative;
}

.search-box input {
    width: 250px;
    padding: 11px 42px 11px 16px;
    border-radius: 999px;
    border: var(--border);
    background: var(--card);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    box-shadow: var(--hard-sm);
    transition: box-shadow 0.15s, width 0.2s ease;
}

.search-box input::placeholder {
    color: var(--ink-3);
}

.search-box input:focus {
    box-shadow: var(--hard);
    width: 288px;
}

.search-box .icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-3);
    font-size: 13px;
    pointer-events: none;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(214px, 1fr));
    gap: 20px;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 64px 20px;
    color: var(--ink-3);
    font-size: 14.5px;
    border: 2px dashed var(--ink);
    border-radius: var(--radius);
}

/* ---------------- Features ---------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    padding: 26px 24px 28px;
    border-radius: var(--radius);
    background: var(--card);
    border: var(--border);
    box-shadow: var(--hard);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.feature-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--hard-lg);
}

.feature-card .icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 21px;
    background: var(--lime);
    border: var(--border);
    box-shadow: var(--hard-sm);
    margin-bottom: 16px;
}

.feature-card:nth-child(2) .icon {
    background: var(--yellow);
}

.feature-card:nth-child(3) .icon {
    background: var(--pink);
}

.feature-card h3 {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--ink-2);
    font-size: 14.5px;
}

/* ---------------- About ---------------- */
.about-wrap {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 50px;
    align-items: center;
}

.about-visual {
    position: relative;
    padding: 40px 34px;
    border-radius: var(--radius);
    background: var(--lime);
    border: var(--border);
    box-shadow: var(--hard-lg);
    text-align: center;
}

.about-visual .big-num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 58px;
    line-height: 1;
    letter-spacing: -2px;
    color: var(--ink);
}

.about-visual .note {
    margin-top: 12px;
    color: var(--ink-2);
    font-size: 14.5px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.about-text h2 {
    font-family: var(--font-head);
    font-size: clamp(23px, 3vw, 32px);
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.about-text p {
    color: var(--ink-2);
    font-size: 15.5px;
    margin-bottom: 13px;
}

.about-text ul {
    list-style: none;
    margin-top: 18px;
    display: grid;
    gap: 11px;
}

.about-text li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 15px;
}

.about-text li .tick {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    background: var(--lime);
    border: 2px solid var(--ink);
    color: var(--ink);
    font-size: 10px;
    margin-top: 4px;
}

/* ---------------- Detail page ---------------- */
.breadcrumb {
    padding: 24px 0 4px;
    font-size: 13.5px;
    color: var(--ink-3);
}

.breadcrumb a:hover {
    color: var(--ink);
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--ink-2);
}

.detail-layout {
    display: grid;
    grid-template-columns: 366px 1fr;
    gap: 40px;
    padding: 22px 0 60px;
    align-items: start;
}

.detail-cover {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card);
    border: var(--border);
    box-shadow: var(--hard);
    position: sticky;
    top: 100px;
}

.detail-cover img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    border-bottom: var(--border);
}

.detail-cover .cover-meta {
    padding: 16px 18px;
    display: grid;
    gap: 11px;
}

.detail-cover .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    color: var(--ink-3);
}

.detail-cover .row b {
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.detail-info h1 {
    font-family: var(--font-head);
    font-size: clamp(26px, 3.8vw, 42px);
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.12;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.detail-info .tagline {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tag-pill {
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--card);
    border: var(--border);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
}

.detail-info .desc {
    color: var(--ink-2);
    font-size: 16px;
    margin-bottom: 26px;
    max-width: 640px;
}

.detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.spec-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 660px;
}

.spec {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background: var(--card);
    border: var(--border);
    box-shadow: var(--hard-sm);
}

.spec .k {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--ink-3);
    margin-bottom: 5px;
}

.spec .v {
    font-size: 15px;
    font-weight: 700;
}

/* ---------------- Play page ---------------- */
.play-wrap {
    padding: 26px 0 0;
}

.play-stage {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: #111111;
    border: var(--border);
    box-shadow: var(--hard-lg);
    aspect-ratio: 16 / 9;
}

.play-stage iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.play-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 0 24px;
    flex-wrap: wrap;
}

.play-toolbar .left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.play-toolbar .thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: var(--border);
    box-shadow: var(--hard-sm);
    flex-shrink: 0;
}

.play-toolbar .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-toolbar .t-info {
    min-width: 0;
}

.play-toolbar .t-info h2 {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.play-toolbar .t-info .sub {
    font-size: 13.5px;
    color: var(--ink-3);
    margin-top: 4px;
}

.play-toolbar .right {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: var(--border);
    background: var(--card);
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    box-shadow: var(--hard-sm);
    transition: all 0.15s ease;
}

.icon-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--hard);
    background: var(--bg-2);
}

.play-desc {
    padding: 22px 24px;
    border-radius: var(--radius);
    background: var(--card);
    border: var(--border);
    box-shadow: var(--hard-sm);
    margin-bottom: 30px;
}

.play-desc h3 {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 9px;
}

.play-desc p {
    color: var(--ink-2);
    font-size: 15.5px;
}

/* ---------------- Ad slot ---------------- */
.ad-slot {
    display: none;
    margin: 32px 0;
    min-height: 120px;
    border-radius: var(--radius);
    background: var(--bg-2);
    border: 2px dashed var(--ink);
    overflow: hidden;
}

.ad-slot.ready {
    display: block;
}

.ad-slot ins {
    display: block;
}

/* ---------------- Footer ---------------- */
.site-footer {
    margin-top: 40px;
    padding: 52px 0 30px;
    background: var(--ink);
    color: var(--card);
    border-top: var(--border);
}

.site-footer .logo {
    color: var(--card);
}

.site-footer .logo em {
    background: var(--lime);
    color: var(--ink);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.66);
    font-size: 14.5px;
    margin-top: 16px;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--lime);
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14.5px;
    padding: 5px 0;
    transition: color 0.15s;
}

.footer-col a:hover {
    color: var(--pink);
}

.footer-bottom {
    border-top: 2px solid rgba(255, 255, 255, 0.22);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom .official {
    color: var(--ink);
    background: var(--lime);
    border-radius: 4px;
    padding: 3px 8px;
    font-weight: 700;
}

/* ---------------- Cookie bar ---------------- */
.cookie-bar {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 200;
    max-width: 620px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border-radius: 10px;
    background: var(--card);
    border: var(--border);
    box-shadow: var(--hard);
    font-size: 13.5px;
    color: var(--ink-2);
    transform: translateY(180%);
    transition: transform 0.4s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.cookie-bar.show {
    transform: translateY(0);
}

.cookie-bar .btn {
    flex-shrink: 0;
    padding: 9px 18px;
    font-size: 13px;
}

/* ---------------- Legal / support pages ---------------- */
.page-hero {
    padding: 64px 0 34px;
    text-align: center;
    border-bottom: var(--border);
    margin-bottom: 40px;
    background: var(--bg-2);
}

.page-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(28px, 4.2vw, 48px);
    font-weight: 800;
    letter-spacing: -1.4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.page-hero p {
    color: var(--ink-2);
    font-size: 15.5px;
    max-width: 620px;
    margin: 0 auto;
}

.page-body {
    max-width: 840px;
    margin: 0 auto 70px;
    padding: 38px 42px;
    border-radius: var(--radius);
    background: var(--card);
    border: var(--border);
    box-shadow: var(--hard);
}

.page-body h2 {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin: 32px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--ink);
}

.page-body h2:first-child {
    margin-top: 0;
}

.page-body p,
.page-body li {
    color: var(--ink-2);
    font-size: 15.5px;
    margin-bottom: 10px;
}

.page-body b {
    color: var(--ink);
    font-weight: 700;
}

.page-body ul {
    padding-left: 20px;
}

.page-body a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.support-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 38px;
}

.support-card {
    padding: 26px 20px;
    border-radius: var(--radius);
    background: var(--card);
    border: var(--border);
    box-shadow: var(--hard-sm);
    text-align: center;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.support-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--hard);
}

.support-card .icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 14px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 21px;
    background: var(--yellow);
    border: var(--border);
    box-shadow: var(--hard-sm);
}

.support-card h3 {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.2px;
    margin-bottom: 8px;
}

.support-card p {
    color: var(--ink-2);
    font-size: 14px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .hero-visual {
        order: 2;
        max-width: 320px;
        margin: 0 auto;
    }

    .about-wrap {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 920px) {
    .nav-menu {
        position: fixed;
        inset: 78px 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 14px 20px 20px;
        background: var(--card);
        border-bottom: var(--border);
        transform: translateY(-140%);
        transition: transform 0.26s ease;
    }

    .nav-menu.open {
        transform: translateY(0);
    }

    .nav-menu a {
        padding: 12px 14px;
        font-size: 15px;
    }

    .nav-burger {
        display: grid;
        place-items: center;
    }

    .hero {
        padding: 52px 0 50px;
    }

    .hero-stats {
        margin-top: 28px;
    }

    .features-grid,
    .support-cards {
        grid-template-columns: 1fr;
    }

    .detail-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .detail-cover {
        position: static;
    }

    .spec-table {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .search-box,
    .search-box input,
    .search-box input:focus {
        width: 100%;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-cta .btn {
        display: none;
    }

    .play-stage {
        aspect-ratio: 4 / 3;
    }

    .page-body {
        padding: 24px 18px;
    }

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

    .hero-visual {
        display: none;
    }

    .stat {
        flex: 1;
        min-width: 0;
        padding: 10px 14px;
    }

    .stat b {
        font-size: 20px;
    }

    .cookie-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
