:root {
    --bg: #080A0D;
    --bg-deep: #050608;
    --panel: #0D1015;
    --panel-2: #12161C;
    --panel-3: #171C23;
    --panel-hover: #1B2129;
    --text: #F5F7FA;
    --body: #C7CDD5;
    --muted: #9098A3;
    --line: rgba(255,255,255,.09);
    --line-strong: rgba(255,255,255,.16);
    --blue: #5C7CFA;
    --blue-hover: #7390FF;
    --ice: #8ED8FF;
    --violet: #7775FF;
    --shell: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--body); font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.8; -webkit-font-smoothing: antialiased; }
body.drawer-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; object-fit: contain; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 12000; padding: 10px 14px; background: var(--text); color: var(--bg); border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.shell { width: min(calc(100% - 44px), var(--shell)); margin: 0 auto; }
.section { padding: 104px 0; }
.section-tight { padding: 76px 0; }
.section-panel { background: var(--panel); }
.section-panel-2 { background: var(--panel-2); }
.section-panel-3 { background: var(--panel-3); }
.section-blueblack { background: #101722; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--ice); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--blue); }
h1,h2,h3 { margin: 0; color: var(--text); line-height: 1.16; letter-spacing: -.02em; }
h1 { font-size: clamp(38px, 5vw, 66px); }
h2 { font-size: clamp(29px, 3.4vw, 40px); }
h3 { font-size: clamp(20px, 2vw, 25px); }
p { margin: 0 0 18px; }
.lead { max-width: 780px; font-size: clamp(17px, 1.8vw, 20px); color: var(--body); line-height: 1.85; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 38px; }
.section-heading p { max-width: 640px; margin: 0; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--ice); text-decoration: none; font-weight: 700; }
.text-link:hover { color: #b8e8ff; }
.btn-primary { min-height: 46px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 8px 24px rgba(92,124,250,.20); transition: transform .2s ease, background .2s ease; }
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }
.tag { display: inline-block; margin-bottom: 10px; color: var(--ice); font-size: 13px; font-weight: 700; letter-spacing: .04em; }

.site-header { position: sticky; top: 0; width: 100%; z-index: 9999; background: rgba(8,10,13,.96); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(14px); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 12px 35px rgba(0,0,0,.28); }
.header-inner { position: relative; max-width: 1280px; min-height: 76px; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; }
.menu-toggle { width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255,255,255,.10); border-radius: 10px; background: #12161C; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.menu-toggle span { width: 24px; height: 2px; background: #F5F7FA; display: block; }
.site-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 170px; padding: 6px 12px; background: #F5F7FA; border-radius: 8px; }
.site-logo img { max-width: 150px; max-height: 42px; }
.header-game-btn { min-width: 96px; height: 44px; padding: 0 21px; display: inline-flex; align-items: center; justify-content: center; background: var(--blue); color: #fff; border-radius: 999px; text-decoration: none; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 24px rgba(92,124,250,.20); }
.header-game-btn:hover { background: var(--blue-hover); }
.drawer-overlay { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.68); opacity: 0; transition: opacity .22s ease; }
.drawer-overlay.is-visible { opacity: 1; }
.site-drawer { position: fixed; inset: 0 auto 0 0; z-index: 10001; width: min(440px, 92vw); background: var(--panel); border-right: 1px solid var(--line); transform: translateX(-102%); transition: transform .26s ease; overflow-y: auto; }
.site-drawer.is-open { transform: translateX(0); }
.drawer-head { min-height: 78px; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-logo img, .footer-logo img { max-width: 148px; max-height: 40px; }
.drawer-close { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2); color: var(--text); font-size: 28px; line-height: 1; cursor: pointer; }
.drawer-nav { padding: 12px 24px 20px; }
.drawer-nav a { position: relative; display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 17px; font-weight: 700; }
.drawer-nav a:hover { color: var(--ice); }
.drawer-nav a.is-current { color: var(--blue-hover); padding-left: 14px; }
.drawer-nav a.is-current::before { content: ""; position: absolute; left: 0; width: 3px; height: 22px; border-radius: 4px; background: var(--blue); }
.drawer-note { margin: 0 24px 30px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-2); }
.drawer-note strong { color: var(--text); }
.drawer-note p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.hero { min-height: 650px; display: flex; align-items: center; background: radial-gradient(circle at 75% 35%, rgba(92,124,250,.16), transparent 38%), linear-gradient(180deg, #0D1015 0%, #080A0D 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 54px; align-items: center; padding: 76px 0; }
.hero-copy h1 { max-width: 720px; }
.hero-copy .lead { margin-top: 22px; }
.hero-subtitle { margin-top: 14px; color: var(--ice); font-size: clamp(19px,2.2vw,27px); font-weight: 700; }
.hero-visual { position: relative; min-height: 430px; display: flex; align-items: center; justify-content: center; }
.hero-visual::before { content: ""; position: absolute; width: 72%; aspect-ratio: 1; border-radius: 50%; background: rgba(92,124,250,.11); filter: blur(70px); }
.hero-visual img { position: relative; width: min(100%, 610px); max-height: 510px; filter: drop-shadow(0 30px 55px rgba(92,124,250,.16)); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.hero-stat { padding: 15px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.hero-stat strong { display: block; margin-bottom: 3px; color: var(--text); font-size: 16px; }

.category-strip { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.category-scroll { display: flex; overflow-x: auto; scrollbar-width: none; gap: 28px; }
.category-scroll::-webkit-scrollbar { display: none; }
.category-scroll a { position: relative; min-width: max-content; padding: 19px 0 17px; color: var(--muted); font-weight: 700; text-decoration: none; }
.category-scroll a:hover, .category-scroll a.active { color: var(--text); }
.category-scroll a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); }

.editorial-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 22px; }
.feature-main, .feature-side { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--panel-2); }
.feature-main img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.feature-main .content { padding: 28px; }
.feature-side-wrap { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; }
.feature-side { display: grid; grid-template-columns: 42% 58%; min-height: 220px; }
.feature-side img { width: 100%; height: 100%; object-fit: cover; }
.feature-side .content { padding: 22px; }
.feature-main p, .feature-side p { color: var(--muted); }
.card-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; }
.card-actions .btn-primary { min-height: 40px; padding: 0 17px; font-size: 14px; }

.game-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.game-card { overflow: hidden; background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; transition: transform .2s ease, border-color .2s ease; }
.game-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.game-card .image-wrap { overflow: hidden; background: #0b0e12; }
.game-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .25s ease; }
.game-card:hover img { transform: scale(1.025); }
.game-card .content { padding: 18px; }
.game-card p { margin: 9px 0 14px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.game-card .btn-primary { width: 100%; min-height: 40px; font-size: 14px; }
.game-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.theme-list { display: grid; gap: 20px; }
.theme-row { display: grid; grid-template-columns: .86fr 1.14fr; min-height: 290px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.theme-row:nth-child(even) { grid-template-columns: 1.14fr .86fr; }
.theme-row:nth-child(even) .theme-media { order: 2; }
.theme-row:nth-child(1) { background: #0D1015; }
.theme-row:nth-child(2) { background: #12161C; }
.theme-row:nth-child(3) { background: #171C23; }
.theme-row:nth-child(4) { background: #0D1015; }
.theme-media img { width: 100%; height: 100%; object-fit: cover; }
.theme-copy { padding: 42px; display: flex; flex-direction: column; justify-content: center; }
.theme-copy p { max-width: 640px; color: var(--muted); }

.poster-wrap { max-width: 1180px; margin: 0 auto; }
.poster-wrap img { width: 100%; height: auto; object-fit: contain; border-radius: 18px; border: 1px solid var(--line); }

.latest-layout { display: grid; grid-template-columns: 1fr .95fr; gap: 44px; align-items: stretch; }
.latest-visual { overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.latest-visual img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.latest-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.latest-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.latest-item p { margin: 8px 0 10px; color: var(--muted); }

.mobile-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: center; }
.mobile-art { display: flex; justify-content: center; }
.mobile-art img { max-height: 560px; filter: drop-shadow(0 32px 60px rgba(0,0,0,.32)); }
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 22px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 22px; color: var(--body); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

.event-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 24px; }
.event-item { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--panel-2); }
.event-item:nth-child(2) { margin-top: 50px; }
.event-item img { width: 100%; max-height: 340px; object-fit: contain; background: #0b0e12; }
.event-item .content { padding: 28px; }
.event-item p { color: var(--muted); }

.news-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; }
.news-feature { padding-right: 20px; }
.news-feature h3 { font-size: clamp(27px,3vw,36px); }
.news-feature p { margin-top: 16px; color: var(--muted); }
.news-list { border-top: 1px solid var(--line); }
.news-row { padding: 22px 0; border-bottom: 1px solid var(--line); }
.news-row a { text-decoration: none; }
.news-row h3 { font-size: 20px; }
.news-row p { margin: 7px 0 0; color: var(--muted); font-size: 14px; }

.about-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.about-layout img { width: 100%; max-height: 520px; object-fit: contain; }

.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.info-box { padding: 28px; border-top: 1px solid var(--line-strong); background: rgba(255,255,255,.025); }
.info-box .num { display: block; margin-bottom: 30px; color: var(--blue-hover); font-size: 13px; font-weight: 700; }
.info-box p { margin-bottom: 0; color: var(--muted); }

.feedback-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.feedback { padding: 24px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; }
.feedback p { margin: 0; color: var(--body); }
.feedback small { display: block; margin-top: 18px; color: var(--muted); }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; min-height: 74px; padding: 18px 48px 18px 0; position: relative; border: 0; background: transparent; color: var(--text); text-align: left; font-weight: 700; font-size: 18px; cursor: pointer; }
.faq-question::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: var(--ice); font-size: 28px; font-weight: 400; }
.faq-question[aria-expanded="true"]::after { content: "−"; }
.faq-answer { max-width: 900px; padding: 0 0 24px; color: var(--muted); }
.faq-answer p { margin: 0; }

.page-hero { padding: 105px 0 86px; background: radial-gradient(circle at 82% 30%, rgba(92,124,250,.13), transparent 33%), linear-gradient(180deg,#0D1015,#080A0D); border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-top: 22px; }
.page-hero-actions { margin-top: 28px; }
.content-narrow { max-width: 880px; }
.prose { font-size: 17px; line-height: 1.9; }
.prose p { margin-bottom: 20px; }
.prose h2 { margin: 52px 0 20px; }
.prose h3 { margin: 34px 0 14px; }
.prose ul { margin: 14px 0 24px; padding-left: 22px; }
.prose li { margin: 7px 0; }
.prose .notice { margin: 30px 0; padding: 22px 24px; border-left: 3px solid var(--blue); background: var(--panel-2); color: var(--body); }
.content-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.7fr); gap: 56px; align-items: start; }
.sticky-side { position: sticky; top: 110px; }
.side-panel { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel-2); }
.side-panel h3 { margin-bottom: 18px; }
.side-links { display: grid; gap: 8px; }
.side-links a { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--body); text-decoration: none; }
.side-links a:hover { color: var(--ice); }
.split-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.text-card { padding: 28px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; }
.text-card p { margin-bottom: 0; color: var(--muted); }
.media-text { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.media-text.reverse { grid-template-columns: 1.1fr .9fr; }
.media-text.reverse .media { order: 2; }
.media img { width: 100%; max-height: 520px; object-fit: contain; border-radius: 18px; }
.timeline { display: grid; gap: 0; border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: 150px 1fr; gap: 30px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.timeline-item strong { color: var(--ice); }

.site-footer { padding: 72px 0 26px; background: #050608; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3,1fr); gap: 44px; }
.footer-grid h2 { margin-bottom: 17px; font-size: 16px; letter-spacing: .02em; }
.footer-grid a { display: block; margin: 8px 0; color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-grid a:hover { color: var(--text); }
.footer-brand p { max-width: 360px; margin-top: 20px; color: var(--muted); font-size: 14px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 30px; color: #747d89; font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-bottom p:first-child { max-width: 820px; }

@media (max-width: 1100px) {
    .game-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .game-grid.four { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .editorial-grid, .latest-layout, .mobile-layout, .news-layout, .about-layout, .content-split { gap: 34px; }
    .feature-side { grid-template-columns: 1fr; }
    .feature-side img { max-height: 180px; }
    .footer-grid { grid-template-columns: 1.3fr repeat(3,1fr); gap: 24px; }
}
@media (max-width: 900px) {
    .section { padding: 82px 0; }
    .hero-grid, .editorial-grid, .latest-layout, .mobile-layout, .news-layout, .about-layout, .content-split, .media-text, .media-text.reverse { grid-template-columns: 1fr; }
    .hero { min-height: auto; }
    .hero-grid { padding: 68px 0; }
    .hero-visual { min-height: auto; }
    .feature-side-wrap { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .theme-row, .theme-row:nth-child(even) { grid-template-columns: .9fr 1.1fr; }
    .theme-row:nth-child(even) .theme-media, .media-text.reverse .media { order: initial; }
    .event-grid { grid-template-columns: 1fr 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .feedback-grid { grid-template-columns: 1fr 1fr; }
    .content-split { gap: 42px; }
    .sticky-side { position: static; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 2 / 4; }
}
@media (max-width: 767px) {
    .shell { width: min(calc(100% - 28px), var(--shell)); }
    .header-inner { min-height: 66px; padding: 0 12px; }
    .menu-toggle { width: 40px; height: 40px; flex: 0 0 40px; }
    .menu-toggle span { width: 21px; }
    .site-logo img { max-width: 105px; max-height: 34px; }
    .header-game-btn { min-width: 80px; height: 40px; padding: 0 14px; font-size: 14px; }
    .site-drawer { width: min(88vw, 390px); }
    .section { padding: 66px 0; }
    .section-tight { padding: 58px 0; }
    .section-heading { display: block; margin-bottom: 28px; }
    .section-heading p { margin-top: 13px; }
    .hero-grid { gap: 36px; padding: 58px 0 64px; }
    .hero-copy { text-align: left; }
    .hero-stats { grid-template-columns: 1fr; gap: 0; }
    .hero-visual img { max-height: 380px; }
    .category-scroll { gap: 22px; }
    .feature-side-wrap { grid-template-columns: 1fr; }
    .feature-side { grid-template-columns: 42% 58%; }
    .game-grid, .game-grid.four { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
    .game-card .content { padding: 14px; }
    .game-card h3 { font-size: 18px; }
    .theme-row, .theme-row:nth-child(even) { grid-template-columns: 1fr; }
    .theme-row:nth-child(even) .theme-media { order: initial; }
    .theme-media img { max-height: 300px; }
    .theme-copy { padding: 28px; }
    .latest-visual img { min-height: 0; max-height: 450px; }
    .check-list { grid-template-columns: 1fr; }
    .event-grid { grid-template-columns: 1fr; }
    .event-item:nth-child(2) { margin-top: 0; }
    .feedback-grid, .split-cards { grid-template-columns: 1fr; }
    .page-hero { padding: 74px 0 62px; }
    .timeline-item { grid-template-columns: 1fr; gap: 8px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: auto; }
    .footer-bottom { display: block; }
    .footer-bottom p + p { margin-top: 14px; }
}
@media (max-width: 430px) {
    .header-inner { padding: 0 10px; }
    .site-logo img { max-width: 92px; }
    .header-game-btn { min-width: 74px; padding: 0 12px; font-size: 13px; }
    .menu-toggle { width: 38px; height: 38px; flex-basis: 38px; }
    .feature-side { grid-template-columns: 1fr; }
    .feature-side img { max-height: 220px; }
    .game-card .content { padding: 12px; }
    .game-card p { font-size: 13px; }
    .game-card .btn-primary { font-size: 13px; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Narrow-screen refinements for common phone widths */
@media (max-width: 480px) {
    .section { padding: 62px 0; }
    .hero-grid { padding-top: 52px; }
    .btn-row { gap: 12px; }
    .theme-copy, .event-item .content { padding: 24px; }
}
@media (max-width: 390px) {
    .site-logo { padding: 5px 9px; }
    .site-logo img { max-width: 86px; }
    .header-game-btn { min-width: 72px; padding: 0 10px; }
    .shell { width: min(calc(100% - 24px), var(--shell)); }
    .game-grid, .game-grid.four { gap: 10px; }
}
@media (max-width: 375px) {
    .header-inner { padding: 0 8px; }
    .menu-toggle { width: 38px; height: 38px; flex-basis: 38px; }
    .site-logo { padding: 5px 8px; }
    .site-logo img { max-width: 82px; }
    .header-game-btn { min-width: 70px; height: 38px; padding: 0 9px; font-size: 13px; }
    .hero-subtitle { font-size: 18px; }
}
