*,
*::before,
*::after { box-sizing: border-box; }

:root {
    --bg: #080A0D;
    --surface: #0D1015;
    --surface-2: #12161C;
    --surface-3: #171C23;
    --surface-hover: #1B2129;
    --text: #F5F7FA;
    --body: #C7CDD5;
    --muted: #9098A3;
    --line: rgba(255,255,255,.09);
    --line-strong: rgba(255,255,255,.16);
    --accent: #5C7CFA;
    --accent-hover: #7390FF;
    --ice: #8ED8FF;
    --blue: #6EA8FF;
    --violet: #7775FF;
    --max: 1280px;
}

html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    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.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; object-fit: contain; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 12000;
    padding: 10px 14px;
    background: #F5F7FA;
    color: #080A0D;
    transform: translateY(-150%);
    border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 44px), var(--max)); margin: 0 auto; }
.reading { max-width: 860px; }
.section { padding: 104px 0; }
.section-sm { padding: 74px 0; }
.section-dark { background: var(--surface); }
.section-soft { background: var(--surface-2); }
.section-mid { background: var(--surface-3); }
.section-mobile { background: #101722; }
.kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--blue);
    font-size: 13px;
    letter-spacing: .12em;
    font-weight: 800;
    text-transform: uppercase;
}
h1, h2, h3 { margin: 0 0 18px; color: var(--text); line-height: 1.18; letter-spacing: -.02em; }
h1 { font-size: clamp(42px, 5.2vw, 68px); }
h2 { font-size: clamp(30px, 3.4vw, 42px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
p { margin: 0 0 18px; }
.lead { max-width: 780px; font-size: clamp(18px, 2vw, 21px); color: #D9DEE5; }
.muted { color: var(--muted); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.section-head p { max-width: 680px; margin-bottom: 0; }
.text-link { color: var(--blue); font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--ice); }
.btn {
    min-height: 46px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border: 0;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(92,124,250,.20);
}
.btn:hover { background: var(--accent-hover); }
.btn-secondary {
    min-height: 46px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
}
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 30px; }

.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);
}
.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%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 6px 12px;
    background: #F5F7FA;
    border-radius: 8px;
}
.site-logo img { width: auto; max-width: 138px; max-height: 34px; }
.header-game-btn {
    height: 44px;
    min-width: 96px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #5C7CFA;
    color: #FFFFFF;
    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: #7390FF; }

.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;
    z-index: 10001;
    top: 0;
    left: 0;
    width: min(440px, 88vw);
    height: 100dvh;
    background: #0D1015;
    border-right: 1px solid var(--line);
    transform: translateX(-103%);
    transition: transform .26s ease;
    overflow-y: auto;
}
.site-drawer.is-open { transform: translateX(0); }
.drawer-head { min-height: 78px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-logo { padding: 6px 10px; background: #F5F7FA; border-radius: 8px; display: inline-flex; }
.drawer-logo img { width: auto; max-width: 130px; max-height: 32px; }
.drawer-close { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--text); font-size: 30px; line-height: 1; cursor: pointer; }
.drawer-nav { padding: 8px 20px; }
.drawer-nav a {
    position: relative;
    display: block;
    padding: 16px 10px 16px 14px;
    border-bottom: 1px solid var(--line);
    color: #E6EAF0;
    font-size: 18px;
    text-decoration: none;
}
.drawer-nav a:hover { color: #fff; }
.drawer-nav a.is-current { color: var(--blue); }
.drawer-nav a.is-current::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--accent); }
.drawer-note { padding: 24px 30px 36px; color: var(--muted); font-size: 14px; }
.drawer-note strong { color: var(--text); }

.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%);
    border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr); align-items: center; gap: 60px; padding: 72px 0; }
.hero-copy p { max-width: 720px; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.hero-visual::before { content: ""; position: absolute; width: 72%; aspect-ratio: 1; border-radius: 50%; background: rgba(92,124,250,.08); filter: blur(44px); }
.hero-visual img { position: relative; max-height: 520px; filter: drop-shadow(0 30px 55px rgba(92,124,250,.16)); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 34px; color: var(--muted); font-size: 14px; }
.hero-facts span { position: relative; padding-left: 16px; }
.hero-facts span::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

.category-strip { background: #0B0E12; border-bottom: 1px solid var(--line); }
.category-scroll { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.category-scroll::-webkit-scrollbar { display: none; }
.category-scroll a { position: relative; flex: 0 0 auto; padding: 22px 0 19px; color: #AEB6C1; text-decoration: none; font-weight: 700; }
.category-scroll a:first-child, .category-scroll a:hover { color: var(--blue); }
.category-scroll a:first-child::after { content: ""; position: absolute; height: 2px; background: var(--accent); left: 0; right: 0; bottom: 0; }

.editorial-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; }
.feature-large, .feature-small {
    position: relative;
    overflow: hidden;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 18px;
}
.feature-large { min-height: 600px; }
.feature-large img { width: 100%; height: 340px; object-fit: contain; padding: 20px; background: #0A0D11; }
.feature-content { padding: 28px; }
.feature-side { display: grid; gap: 24px; }
.feature-small img { width: 100%; height: 180px; object-fit: contain; padding: 14px; background: #0A0D11; }
.feature-small .feature-content { padding: 22px; }
.meta { color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .04em; }

.game-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 18px; }
.game-grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.game-card { background: #12161C; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; overflow: hidden; transition: transform .2s ease, border-color .2s ease; }
.game-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.game-card-media { aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; background: #0B0E12; }
.game-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .22s ease; }
.game-card:hover img { transform: scale(1.025); }
.game-card-body { padding: 18px; }
.game-card h3 { font-size: 20px; margin-bottom: 8px; }
.game-card p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.game-card .btn { width: 100%; min-height: 42px; padding-inline: 16px; font-size: 14px; }

.theme-stack { display: grid; gap: 18px; }
.theme-row { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; min-height: 330px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.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-copy { padding: 42px; }
.theme-media { height: 100%; min-height: 330px; display: grid; place-items: center; background: rgba(0,0,0,.12); }
.theme-media img { max-height: 320px; padding: 18px; }
.theme-row:nth-child(even) .theme-copy { order: 2; }
.theme-row:nth-child(even) .theme-media { order: 1; }

.poster-wrap { padding: 54px 0; background: #080A0D; }
.poster { display: block; width: min(calc(100% - 44px), 1180px); height: auto; margin: 0 auto; object-fit: contain; border-radius: 18px; border: 1px solid var(--line); }

.latest-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.latest-visual { min-height: 470px; display: grid; place-items: center; border-radius: 18px; border: 1px solid var(--line); background: #0B0E12; }
.latest-visual img { max-height: 450px; padding: 20px; }
.latest-list { display: grid; }
.latest-item { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.latest-tag { color: var(--blue); font-size: 12px; font-weight: 800; white-space: nowrap; }
.latest-item h3 { margin: 0 0 6px; font-size: 20px; }
.latest-item p { margin: 0; color: var(--muted); font-size: 14px; }

.mobile-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.mobile-visual { min-height: 500px; display: grid; place-items: center; }
.mobile-visual img { max-height: 520px; filter: drop-shadow(0 30px 50px rgba(0,0,0,.25)); }
.icon-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; margin: 28px 0; }
.icon-list span { padding: 12px 0 12px 20px; border-bottom: 1px solid var(--line); position: relative; }
.icon-list span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); position: absolute; left: 0; top: 22px; }

.event-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: start; }
.event-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface-2); }
.event-card img { width: 100%; display: block; background: #0A0D11; }
.event-card-copy { padding: 28px; }
.event-card.offset { margin-top: 64px; }

.news-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 40px; }
.news-feature { padding: 34px; border-left: 3px solid var(--accent); background: var(--surface-2); }
.news-list { display: grid; }
.news-row { padding: 20px 0; border-bottom: 1px solid var(--line); }
.news-row h3 { font-size: 19px; margin: 0 0 6px; }
.news-row p { color: var(--muted); font-size: 14px; margin-bottom: 8px; }

.brand-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 58px; align-items: center; }
.brand-visual { min-height: 420px; display: grid; place-items: center; border-radius: 18px; background: #0B0E12; border: 1px solid var(--line); }
.brand-visual img { max-height: 430px; padding: 20px; }

.info-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-panel { padding: 28px; border-top: 1px solid var(--line-strong); background: var(--surface-2); min-height: 210px; }
.info-panel .number { color: var(--blue); font-size: 13px; font-weight: 800; }

.feedback-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.quote { margin: 0; padding: 28px; background: #14191F; border: 1px solid var(--line); border-radius: 14px; color: #D8DDE4; }
.quote footer { margin-top: 14px; color: var(--muted); font-size: 13px; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; min-height: 64px; padding: 19px 46px 19px 0; position: relative; border: 0; background: transparent; color: var(--text); text-align: left; font-weight: 800; cursor: pointer; }
.faq-question::after { content: "+"; position: absolute; right: 8px; top: 12px; font-size: 28px; color: var(--blue); }
.faq-question[aria-expanded="true"]::after { content: "–"; }
.faq-answer { padding: 0 40px 22px 0; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

.page-hero { padding: 96px 0 74px; background: radial-gradient(circle at 78% 20%, rgba(92,124,250,.13), transparent 34%), #0D1015; border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-bottom: 0; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 70px; align-items: start; }
.side-note { position: sticky; top: 110px; padding: 24px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; }
.side-note h3 { font-size: 20px; }
.side-note a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--body); text-decoration: none; }
.side-note a:hover { color: var(--blue); }

.category-feature { display: grid; grid-template-columns: 280px 1fr; gap: 34px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.category-feature img { width: 100%; height: 220px; object-fit: contain; padding: 12px; background: #0B0E12; border-radius: 14px; }
.prose h2 { margin-top: 48px; }
.prose h3 { margin-top: 34px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }
.callout { margin: 34px 0; padding: 26px 28px; border-left: 3px solid var(--accent); background: var(--surface-2); border-radius: 0 14px 14px 0; }
.callout h3 { margin-top: 0; }

.article-list { display: grid; gap: 18px; }
.article-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.article-item h2, .article-item h3 { margin-bottom: 8px; }
.article-meta { color: var(--blue); font-size: 13px; font-weight: 800; }
.article-item p { color: var(--muted); }

.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.support-card { padding: 28px; min-height: 240px; border: 1px solid var(--line); background: var(--surface-2); border-radius: 14px; }
.support-card a { color: var(--blue); text-decoration: none; font-weight: 700; }

.site-footer { background: #050608; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; padding: 70px 0 46px; }
.footer-logo { display: inline-flex; padding: 6px 10px; margin-bottom: 18px; background: #F5F7FA; border-radius: 8px; }
.footer-logo img { width: auto; max-width: 132px; max-height: 32px; }
.footer-brand p { color: var(--muted); max-width: 420px; }
.footer-grid h2 { font-size: 16px; margin-bottom: 16px; }
.footer-grid > div:not(.footer-brand) a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { padding: 22px 0 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 28px; color: #7F8792; font-size: 13px; }
.footer-bottom p { margin: 0; }

@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr .85fr; gap: 34px; }
    .game-grid { grid-template-columns: repeat(3, 1fr); }
    .game-grid.four { grid-template-columns: repeat(3, 1fr); }
    .content-grid { grid-template-columns: 1fr; }
    .side-note { position: static; }
    .support-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 2 / 4; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .footer-grid > div:last-child h2 { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .section { padding: 82px 0; }
    .hero { min-height: auto; }
    .hero-grid, .editorial-grid, .latest-layout, .mobile-layout, .news-layout, .brand-layout { grid-template-columns: 1fr; }
    .hero-visual { min-height: 380px; }
    .hero-visual img { max-height: 430px; }
    .feature-large { min-height: 0; }
    .theme-row { grid-template-columns: 1fr; }
    .theme-row:nth-child(even) .theme-copy, .theme-row:nth-child(even) .theme-media { order: initial; }
    .event-grid { grid-template-columns: 1fr; }
    .event-card.offset { margin-top: 0; }
    .info-three { grid-template-columns: 1fr; }
    .category-feature { grid-template-columns: 220px 1fr; }
}

@media (max-width: 767px) {
    .container { width: min(calc(100% - 28px), var(--max)); }
    .section { padding: 68px 0; }
    .section-sm { padding: 58px 0; }
    .header-inner { min-height: 66px; padding: 0 12px; }
    .menu-toggle { width: 40px; height: 40px; }
    .menu-toggle span { width: 21px; }
    .site-logo { padding: 5px 9px; }
    .site-logo img { max-width: 105px; max-height: 34px; }
    .header-game-btn { min-width: 80px; height: 40px; padding: 0 14px; font-size: 14px; }
    .hero-grid { padding: 60px 0; gap: 24px; }
    .hero-visual { min-height: 300px; }
    .hero-visual img { max-height: 340px; }
    .section-head { align-items: start; flex-direction: column; }
    .game-grid, .game-grid.four { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
    .game-card-body { padding: 14px; }
    .game-card h3 { font-size: 17px; }
    .game-card p { font-size: 13px; }
    .theme-copy { padding: 28px 24px; }
    .theme-media { min-height: 250px; }
    .latest-item { grid-template-columns: 1fr auto; }
    .latest-tag { grid-column: 1 / -1; }
    .icon-list, .feedback-grid { grid-template-columns: 1fr; }
    .category-feature { grid-template-columns: 1fr; }
    .category-feature img { height: 260px; }
    .support-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 26px; padding-top: 54px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: auto; display: block; }
    .footer-bottom { flex-direction: column; }
}

@media (max-width: 430px) {
    .header-inner { padding: 0 10px; }
    .site-logo { padding: 4px 7px; }
    .site-logo img { max-width: 90px; max-height: 30px; }
    .header-game-btn { min-width: 74px; padding: 0 11px; font-size: 13px; }
    .menu-toggle { width: 38px; height: 38px; }
    .menu-toggle span { width: 20px; }
    .game-card .btn { min-height: 40px; padding: 0 10px; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 375px) {
    .header-inner { padding: 0 8px; }
    .site-logo img { max-width: 82px; }
    .header-game-btn { min-width: 70px; padding: 0 9px; }
    .menu-toggle { width: 38px; }
}
