/* =========================================================
   JOYPLAY - Bright & Friendly Game Platform Theme
   Original design for game_v20260923
   ========================================================= */

:root {
    --bg: #f6f9ff;
    --bg-soft: #eef4ff;
    --card: #ffffff;
    --ink: #1f2a44;
    --ink-2: #5a6b8c;
    --ink-3: #93a1bd;
    --border: #e6ecf7;
    --mint: #2ee6a8;
    --sky: #4aa8ff;
    --coral: #ff7a9c;
    --lemon: #ffc93c;
    --lav: #a78bfa;
    --grad: linear-gradient(120deg, #4aa8ff 0%, #a78bfa 50%, #ff7a9c 100%);
    --grad-2: linear-gradient(120deg, #2ee6a8 0%, #4aa8ff 100%);
    --radius: 24px;
    --radius-sm: 16px;
    --shadow-s: 0 6px 18px rgba(31, 42, 68, 0.06);
    --shadow-m: 0 16px 40px rgba(31, 42, 68, 0.10);
    --font-head: 'Baloo 2', "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
    --font-body: 'Nunito', "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;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* soft pastel ambience */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(760px 460px at 88% -6%, rgba(167, 139, 250, 0.20), transparent 62%),
        radial-gradient(680px 420px at -8% 6%, rgba(74, 168, 255, 0.16), transparent 60%),
        radial-gradient(620px 420px at 50% 108%, rgba(46, 230, 168, 0.16), 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 22px;
}

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

.btn-grad {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 10px 24px rgba(74, 168, 255, 0.28);
}

.btn-grad:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(167, 139, 250, 0.34);
}

.btn-ghost {
    background: #fff;
    color: var(--ink);
    border: 2px solid var(--border);
    box-shadow: var(--shadow-s);
}

.btn-ghost:hover {
    transform: translateY(-2px);
    border-color: #d5def0;
    box-shadow: var(--shadow-m);
}

.btn-lg {
    padding: 17px 36px;
    font-size: 16px;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 20px;
    color: var(--ink);
}

.logo-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--grad);
    color: #fff;
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(74, 168, 255, 0.32);
    flex-shrink: 0;
}

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

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

.nav-menu a {
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--ink-2);
    transition: color 0.18s, background 0.18s;
}

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

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

.nav-burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--ink);
    font-size: 18px;
    cursor: pointer;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-s);
    color: var(--ink-2);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 26px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 4px rgba(46, 230, 168, 0.20);
}

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

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

.hero p {
    max-width: 660px;
    margin: 0 auto 34px;
    font-size: 17.5px;
    color: var(--ink-2);
}

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

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

.stat {
    min-width: 168px;
    padding: 22px 26px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-s);
}

.stat b {
    display: block;
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat span {
    display: block;
    margin-top: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink-3);
}

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

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

.section-head h2 {
    font-family: var(--font-head);
    font-size: 32px;
    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(--ink-2);
    font-size: 15px;
    margin-top: 6px;
}

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

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

.featured-row::-webkit-scrollbar-thumb,
.game-grid::-webkit-scrollbar-thumb {
    background: #dbe4f3;
    border-radius: 999px;
}

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

.game-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-m);
}

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

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

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

.game-card .cat {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--sky);
    font-size: 11px;
    font-weight: 800;
    box-shadow: var(--shadow-s);
}

.game-card .play-hover {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    z-index: 3;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--grad);
    color: #fff;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
    box-shadow: 0 12px 26px rgba(74, 168, 255, 0.42);
}

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

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

.game-card .title {
    font-family: var(--font-head);
    font-size: 16.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: 13px;
    color: var(--ink-3);
    font-weight: 600;
}

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

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

/* ---------------- 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: 9px;
    flex-wrap: wrap;
}

.chip {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--ink-2);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.chip:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-s);
    color: var(--ink);
}

.chip.active {
    background: var(--grad);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 22px rgba(74, 168, 255, 0.30);
}

.search-box {
    position: relative;
}

.search-box input {
    width: 260px;
    padding: 13px 44px 13px 20px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    box-shadow: var(--shadow-s);
    transition: border-color 0.18s, box-shadow 0.18s, width 0.2s ease;
}

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

.search-box input:focus {
    border-color: #bcd5f7;
    box-shadow: 0 0 0 4px rgba(74, 168, 255, 0.14);
    width: 300px;
}

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

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

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 70px 20px;
    color: var(--ink-3);
    font-size: 16px;
    font-weight: 600;
}

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

.feature-card {
    padding: 32px 28px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-s);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-m);
}

.feature-card .icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 26px;
    background: var(--grad-2);
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 10px 22px rgba(46, 230, 168, 0.28);
}

.feature-card h3 {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
}

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

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

.about-visual {
    position: relative;
    padding: 44px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(74, 168, 255, 0.12), rgba(255, 122, 156, 0.14)), #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-m);
    overflow: hidden;
}

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

.about-visual .note {
    margin-top: 14px;
    color: var(--ink-2);
    font-size: 15px;
    font-weight: 600;
}

.about-text h2 {
    font-family: var(--font-head);
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
}

.about-text p {
    color: var(--ink-2);
    font-size: 16px;
    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: 16px;
    font-weight: 600;
}

.about-text li .tick {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(46, 230, 168, 0.16);
    color: #12b981;
    font-size: 13px;
    margin-top: 2px;
}

/* ---------------- Detail page ---------------- */
.breadcrumb {
    padding: 26px 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-3);
}

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

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

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

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

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

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

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

.detail-cover .row b {
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 15px;
}

.detail-info h1 {
    font-family: var(--font-head);
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.15;
    margin-bottom: 14px;
}

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

.tag-pill {
    padding: 7px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-s);
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-2);
}

.detail-info .desc {
    color: var(--ink-2);
    font-size: 16.5px;
    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: 16px 20px;
    border-radius: var(--radius-sm);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-s);
}

.spec .k {
    font-size: 11.5px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 800;
    margin-bottom: 4px;
}

.spec .v {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
}

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

.play-stage {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    border: 6px solid #fff;
    background: #eaf0fb;
    box-shadow: var(--shadow-m);
    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 26px;
    flex-wrap: wrap;
}

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

.play-toolbar .thumb {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    flex-shrink: 0;
    box-shadow: var(--shadow-s);
}

.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: 22px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

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

.icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: var(--shadow-s);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-m);
}

.play-desc {
    padding: 26px 28px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-s);
    margin-bottom: 30px;
}

.play-desc h3 {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
}

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

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

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

.ad-slot ins {
    display: block;
}

/* ---------------- Footer ---------------- */
.site-footer {
    margin-top: 40px;
    padding: 54px 0 34px;
    background: #fff;
    border-top: 1px solid var(--border);
}

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

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

.footer-col h4 {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.4px;
    color: var(--ink);
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    color: var(--ink-2);
    font-size: 15px;
    font-weight: 600;
    padding: 5px 0;
    transition: color 0.18s;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: var(--ink-3);
    font-weight: 600;
}

.footer-bottom .official {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: 0.6px;
}

/* ---------------- Cookie bar ---------------- */
.cookie-bar {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 200;
    max-width: 580px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-m);
    font-size: 14px;
    color: var(--ink-2);
    transform: translateY(150%);
    transition: transform 0.4s ease;
}

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

.cookie-bar .btn {
    flex-shrink: 0;
    padding: 11px 22px;
    font-size: 14px;
}

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

.page-hero h1 {
    font-family: var(--font-head);
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.6px;
    margin-bottom: 12px;
}

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

.page-body {
    max-width: 860px;
    margin: 0 auto 70px;
    padding: 42px 46px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-s);
}

.page-body h2 {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 800;
    margin: 34px 0 12px;
}

.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);
}

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

.page-body a {
    color: var(--sky);
    font-weight: 700;
}

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

.support-card {
    padding: 30px 24px;
    border-radius: var(--radius);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    text-align: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.support-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-m);
    background: #fff;
}

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

.support-card h3 {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

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

/* ---------------- Responsive ---------------- */
@media (max-width: 920px) {
    .nav-menu {
        position: fixed;
        inset: 72px 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px 20px 20px;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-m);
        transform: translateY(-130%);
        transition: transform 0.28s ease;
    }

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

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

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

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

    .hero-stats {
        gap: 14px;
        margin-top: 42px;
    }

    .stat {
        min-width: 140px;
        padding: 18px 20px;
    }

    .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: 32px;
    }

    .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;
    }

    .page-body {
        padding: 28px 22px;
    }
}
