/* =========================================================
   NEXUS GAMES - Official Game Platform Theme
   Original design for game_v20260826
   ========================================================= */

:root {
    --bg: #070b16;
    --bg-2: #0d1326;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-2: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.09);
    --text: #eef1fb;
    --text-dim: #8f98c0;
    --text-faint: #5c6488;
    --cyan: #00e5ff;
    --violet: #7c4dff;
    --pink: #ff4d8d;
    --grad: linear-gradient(120deg, #00e5ff 0%, #7c4dff 55%, #ff4d8d 100%);
    --radius: 16px;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    --font: "Inter", "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ambient background glow */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(900px 500px at 85% -5%, rgba(124, 77, 255, 0.22), transparent 60%),
        radial-gradient(800px 420px at -10% 10%, rgba(0, 229, 255, 0.14), transparent 55%),
        radial-gradient(700px 500px at 50% 110%, rgba(255, 77, 141, 0.10), transparent 60%);
    pointer-events: none;
}

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

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

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

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.btn-grad {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 10px 30px rgba(124, 77, 255, 0.4);
}

.btn-grad:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(0, 229, 255, 0.45);
}

.btn-ghost {
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

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

/* ---------------- Header / Nav ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 11, 22, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: 0.4px;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--grad);
    display: grid;
    place-items: center;
    font-size: 17px;
    color: #fff;
    box-shadow: 0 6px 18px rgba(124, 77, 255, 0.5);
    flex-shrink: 0;
}

.logo em {
    font-style: normal;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-left: 6px;
    vertical-align: middle;
}

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

.nav-menu a {
    padding: 9px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dim);
    transition: color 0.2s, background 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #fff;
    background: var(--surface-2);
}

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

.nav-burger {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    font-size: 18px;
    cursor: pointer;
    place-items: center;
}

/* ---------------- Hero ---------------- */
.hero {
    position: relative;
    padding: 96px 0 84px;
    text-align: center;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 60%;
    width: 720px;
    height: 720px;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(124, 77, 255, 0.28), rgba(0, 229, 255, 0.10) 55%, transparent 75%);
    filter: blur(10px);
    z-index: -1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid rgba(0, 229, 255, 0.35);
    color: var(--cyan);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    margin-bottom: 26px;
}

.hero-badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
    animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.hero h1 {
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.hero h1 .grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    max-width: 640px;
    margin: 0 auto 36px;
    font-size: 17px;
    color: var(--text-dim);
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 64px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat b {
    display: block;
    font-size: 30px;
    font-weight: 900;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat span {
    font-size: 13px;
    color: var(--text-faint);
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

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

.section-head h2 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-head h2 span {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-head p {
    color: var(--text-dim);
    font-size: 14px;
    margin-top: 6px;
}

/* ---------------- Featured carousel ---------------- */
.featured-row {
    display: grid;
    grid-template-columns: repeat(8, 190px);
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}

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

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

/* ---------------- Game card ---------------- */
.game-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    scroll-snap-align: start;
}

.game-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(0, 229, 255, 0.4);
}

.game-card .thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #101735;
}

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

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

.game-card .thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(7, 11, 22, 0.9));
}

.game-card .cat {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    background: rgba(7, 11, 22, 0.7);
    border: 1px solid var(--border);
    color: var(--cyan);
    backdrop-filter: blur(6px);
}

.game-card .play-hover {
    position: absolute;
    left: 50%;
    top: 44%;
    transform: translate(-50%, -50%) scale(0.7);
    z-index: 3;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--grad);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 10px 30px rgba(124, 77, 255, 0.6);
}

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

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

.game-card .title {
    font-size: 14.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 8px;
}

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

.stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    color: #ffc94d;
    font-size: 12px;
}

.stars .score {
    color: var(--text-dim);
    margin-left: 4px;
    font-weight: 600;
}

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

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

.chip {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chip:hover {
    color: #fff;
    border-color: rgba(0, 229, 255, 0.4);
}

.chip.active {
    background: var(--grad);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(124, 77, 255, 0.4);
}

.search-box {
    position: relative;
}

.search-box input {
    width: 240px;
    padding: 10px 40px 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s, width 0.25s ease;
}

.search-box input:focus {
    border-color: rgba(0, 229, 255, 0.5);
    width: 280px;
}

.search-box .icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-faint);
    font-size: 14px;
    pointer-events: none;
}

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

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 70px 20px;
    color: var(--text-faint);
    font-size: 15px;
}

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

.feature-card {
    padding: 32px 28px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 77, 255, 0.45);
}

.feature-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 24px;
    background: var(--grad);
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 10px 26px rgba(124, 77, 255, 0.4);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-dim);
}

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

.about-visual {
    position: relative;
    border-radius: 20px;
    padding: 44px;
    background:
        linear-gradient(135deg, rgba(0, 229, 255, 0.14), rgba(124, 77, 255, 0.18)),
        var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
}

.about-visual .big-num {
    font-size: 92px;
    font-weight: 900;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-visual .note {
    margin-top: 14px;
    color: var(--text-dim);
    font-size: 14px;
}

.about-text h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.about-text p {
    color: var(--text-dim);
    font-size: 15px;
    margin-bottom: 14px;
}

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

.about-text li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14.5px;
    color: var(--text);
}

.about-text li .tick {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.15);
    color: var(--cyan);
    display: grid;
    place-items: center;
    font-size: 12px;
    margin-top: 2px;
}

/* ---------------- Detail page ---------------- */
.breadcrumb {
    padding: 26px 0 6px;
    font-size: 13px;
    color: var(--text-faint);
}

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

.breadcrumb span {
    color: var(--text-dim);
}

.detail-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 36px;
    padding: 26px 0 60px;
    align-items: start;
}

.detail-cover {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #101735;
    box-shadow: var(--shadow);
    position: sticky;
    top: 88px;
}

.detail-cover img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

.detail-cover .cover-meta {
    padding: 18px 20px;
    display: grid;
    gap: 12px;
}

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

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

.detail-info h1 {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 12px;
}

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

.tag-pill {
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 12px;
    font-weight: 600;
    color: var(--cyan);
}

.detail-info .desc {
    color: var(--text-dim);
    font-size: 15px;
    margin-bottom: 26px;
    max-width: 640px;
}

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

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

.spec {
    padding: 14px 18px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.spec .k {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 4px;
}

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

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

.play-stage {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #000;
    box-shadow: var(--shadow);
    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: 18px 0 26px;
    flex-wrap: wrap;
}

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

.play-toolbar .thumb {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    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-size: 20px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.play-toolbar .t-info .sub {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 3px;
}

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

.icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background: var(--surface-2);
    border-color: rgba(0, 229, 255, 0.4);
    transform: translateY(-2px);
}

.play-desc {
    padding: 22px 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    margin-bottom: 30px;
}

.play-desc h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 10px;
}

.play-desc p {
    color: var(--text-dim);
    font-size: 14.5px;
}

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

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

.ad-slot ins {
    display: block;
}

/* ---------------- Footer ---------------- */
.site-footer {
    margin-top: 40px;
    border-top: 1px solid var(--border);
    background: rgba(13, 19, 38, 0.6);
    padding: 52px 0 36px;
}

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

.footer-brand p {
    color: var(--text-dim);
    font-size: 14px;
    margin-top: 14px;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--text-dim);
    font-size: 14px;
    padding: 5px 0;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-faint);
}

.footer-bottom .official {
    color: var(--cyan);
    font-weight: 700;
    letter-spacing: 1px;
}

/* ---------------- Cookie bar ---------------- */
.cookie-bar {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 200;
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(13, 19, 38, 0.92);
    border: 1px solid var(--border);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
    font-size: 13px;
    color: var(--text-dim);
    transform: translateY(140%);
    transition: transform 0.4s ease;
}

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

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

/* ---------------- Legal / support pages ---------------- */
.page-hero {
    padding: 70px 0 40px;
    text-align: center;
}

.page-hero h1 {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 12px;
}

.page-hero p {
    color: var(--text-dim);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.page-body {
    max-width: 820px;
    margin: 0 auto 70px;
    padding: 40px 44px;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.page-body h2 {
    font-size: 21px;
    font-weight: 800;
    margin: 34px 0 12px;
}

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

.page-body p,
.page-body li {
    color: var(--text-dim);
    font-size: 14.5px;
    margin-bottom: 10px;
}

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

.page-body a {
    color: var(--cyan);
}

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

.support-card {
    padding: 28px 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.support-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.4);
}

.support-card .icon {
    font-size: 30px;
    margin-bottom: 14px;
}

.support-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.support-card p {
    color: var(--text-dim);
    font-size: 13.5px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        inset: 68px 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(7, 11, 22, 0.97);
        border-bottom: 1px solid var(--border);
        padding: 14px 20px 20px;
        gap: 4px;
        transform: translateY(-120%);
        transition: transform 0.3s ease;
    }

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

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

    .nav-burger {
        display: grid;
    }

    .hero {
        padding: 64px 0 60px;
    }

    .hero-stats {
        gap: 30px;
        margin-top: 44px;
    }

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

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

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

    .detail-cover {
        position: static;
    }

    .detail-info h1 {
        font-size: 30px;
    }

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

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

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

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

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

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

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

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