:root {
    --bg: #080A0D;
    --bg-deep: #0D1015;
    --bg-soft: #12161C;
    --bg-mid: #171C23;
    --bg-hover: #1B2129;
    --text: #F5F7FA;
    --body: #C7CDD5;
    --muted: #9098A3;
    --line: rgba(255,255,255,.09);
    --line-strong: rgba(255,255,255,.16);
    --blue: #5C7CFA;
    --blue-light: #6EA8FF;
    --ice: #8ED8FF;
    --violet: #7775FF;
    --content: 1280px;
    --reading: 860px;
    --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--body);
    font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.78;
    overflow-x: hidden;
}
body.drawer-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; object-fit: contain; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; left: 8px; transform: translateY(-150%); z-index: 12000; padding: 8px 12px; border-radius: 8px; background: var(--text); color: var(--bg); text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
.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 .22s ease; }
.site-header.is-scrolled { box-shadow: 0 12px 35px rgba(0,0,0,.28); }
.header-inner { position: relative; max-width: var(--content); 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: var(--bg-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.menu-toggle span { width: 24px; height: 2px; background: var(--text); 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: 46px; padding: 5px 12px; border-radius: 8px; background: #F5F7FA; }
.site-logo img, .drawer-logo img, .footer-logo img { max-width: 122px; max-height: 40px; width: auto; }
.header-game-btn, .primary-btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 21px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 24px rgba(92,124,250,.20); transition: background .2s ease, transform .2s ease; }
.header-game-btn:hover, .primary-btn:hover { background: #7390FF; transform: translateY(-1px); }
.text-link { color: var(--ice); font-weight: 700; text-decoration: none; }
.text-link:hover { color: #b8e9ff; }
.drawer-overlay { position: fixed; inset: 0; z-index: 10020; background: rgba(0,0,0,.68); opacity: 0; transition: opacity .24s ease; }
.drawer-overlay.is-visible { opacity: 1; }
.site-drawer { position: fixed; top: 0; left: 0; z-index: 10030; width: min(440px, 94vw); height: 100dvh; padding: 22px 24px 28px; background: var(--bg-deep); border-right: 1px solid var(--line-strong); transform: translateX(-103%); transition: transform .26s ease; overflow-y: auto; }
.site-drawer.is-open { transform: translateX(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.drawer-logo { display: inline-flex; align-items: center; min-height: 46px; padding: 5px 12px; background: var(--text); border-radius: 8px; }
.drawer-close { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-soft); color: var(--text); font-size: 30px; line-height: 1; cursor: pointer; }
.drawer-nav { margin-top: 8px; }
.drawer-nav a { position: relative; display: flex; align-items: center; min-height: 58px; padding: 0 8px 0 18px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 18px; font-weight: 700; text-decoration: none; transition: color .18s ease, background .18s ease; }
.drawer-nav a:hover { background: rgba(255,255,255,.025); color: var(--ice); }
.drawer-nav a.is-current { color: var(--blue-light); }
.drawer-nav a.is-current::before { content: ""; position: absolute; left: 0; width: 3px; height: 22px; border-radius: 3px; background: var(--blue); }
.drawer-note { margin-top: 24px; color: var(--muted); font-size: 14px; }
.drawer-note strong { color: var(--text); }
.container { width: min(calc(100% - 44px), var(--content)); margin-inline: auto; }
.reading { max-width: var(--reading); }
.section { padding: 100px 0; }
.section-tight { padding: 72px 0; }
.section-deep { background: var(--bg-deep); }
.section-soft { background: var(--bg-soft); }
.section-mid { background: var(--bg-mid); }
.section-blueblack { background: #101722; }
.section-kicker { margin: 0 0 12px; color: var(--blue-light); font-size: 13px; line-height: 1.4; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--text); line-height: 1.15; letter-spacing: -.025em; }
h1 { font-size: clamp(50px, 5vw, 68px); margin-bottom: 24px; }
h2 { font-size: clamp(32px, 3.3vw, 42px); margin-bottom: 20px; }
h3 { font-size: clamp(20px, 2vw, 26px); margin-bottom: 12px; }
p { margin: 0 0 18px; }
.lead { max-width: 760px; color: #D7DCE3; font-size: clamp(18px, 2vw, 21px); line-height: 1.75; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--ice); font-weight: 800; letter-spacing: .08em; }
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--blue-light); }
.hero { min-height: 660px; 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(380px, .9fr); align-items: center; gap: 70px; padding: 72px 0 80px; }
.hero-copy p { max-width: 690px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 30px 0 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 26px; padding: 0; margin: 0; list-style: none; color: var(--muted); }
.hero-facts li { position: relative; padding-left: 16px; }
.hero-facts li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-light); }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 14% 9%; background: radial-gradient(circle, rgba(92,124,250,.16), transparent 68%); filter: blur(26px); }
.hero-visual img { position: relative; width: 100%; max-height: 520px; filter: drop-shadow(0 30px 55px rgba(92,124,250,.16)); }
.page-hero { padding: 105px 0 88px; background: radial-gradient(circle at 72% 26%, rgba(92,124,250,.12), transparent 32%), linear-gradient(180deg, var(--bg-deep), var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero .reading { max-width: 850px; }
.category-strip { background: #0A0D11; 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 { flex: 0 0 auto; padding: 22px 0 18px; border-bottom: 2px solid transparent; color: var(--muted); text-decoration: none; font-weight: 700; }
.category-scroll a:first-child, .category-scroll a:hover { color: var(--blue-light); border-bottom-color: var(--blue); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-heading > div { max-width: 760px; }
.section-heading p { color: var(--muted); margin-bottom: 0; }
.editorial-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; }
.editorial-main, .editorial-side { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.editorial-main .media { min-height: 330px; background: #0A0D11; display: grid; place-items: center; padding: 22px; }
.editorial-main .media img { max-height: 370px; }
.editorial-copy { padding: 28px; }
.editorial-side-wrap { display: grid; gap: 24px; }
.editorial-side { display: grid; grid-template-columns: 160px 1fr; min-height: 188px; }
.editorial-side .media { background: #0A0D11; display: grid; place-items: center; padding: 14px; }
.editorial-side .editorial-copy { padding: 22px; }
.card-meta { margin-bottom: 8px; color: var(--blue-light); font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 20px; }
.inline-actions .primary-btn { min-height: 40px; padding-inline: 17px; font-size: 14px; }
.game-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.library-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.game-card { min-width: 0; background: var(--bg-soft); 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 .game-image { aspect-ratio: 1 / 1.04; display: grid; place-items: center; overflow: hidden; background: #0A0D11; }
.game-card .game-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .22s ease; }
.game-card:hover .game-image img { transform: scale(1.025); }
.game-card-body { padding: 18px; }
.game-card-body h3 { font-size: 19px; margin-bottom: 7px; }
.game-card-body p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.theme-list { display: grid; gap: 22px; }
.theme-row { display: grid; grid-template-columns: 1fr minmax(320px, .82fr); min-height: 310px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.theme-row:nth-child(1) { background: var(--bg-deep); }
.theme-row:nth-child(2) { background: var(--bg-soft); }
.theme-row:nth-child(3) { background: var(--bg-mid); }
.theme-row:nth-child(4) { background: #101722; }
.theme-copy { padding: 44px; align-self: center; }
.theme-media { min-height: 310px; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.12); }
.theme-media img { max-height: 300px; }
.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); }
.release-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 50px; align-items: stretch; }
.release-visual { display: grid; place-items: center; padding: 32px; min-height: 500px; background: #0A0D11; border: 1px solid var(--line); border-radius: var(--radius); }
.release-visual img { max-height: 450px; }
.release-list { border-top: 1px solid var(--line); }
.release-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.release-item p { margin-bottom: 10px; color: var(--muted); }
.mobile-layout, .split-layout { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.1fr); gap: 70px; align-items: center; }
.mobile-visual { display: grid; place-items: center; min-height: 520px; }
.mobile-visual img { max-height: 500px; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 28px 0; list-style: none; }
.feature-list li { padding: 14px 16px; background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 10px; color: #D7DCE3; }
.event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.event-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.event-card:nth-child(2) { margin-top: 56px; }
.event-card .event-media { min-height: 260px; display: grid; place-items: center; background: #0A0D11; padding: 20px; }
.event-card .event-copy { padding: 30px; }
.news-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 42px; }
.news-feature { padding: 32px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.news-list { border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.news-item .card-meta { margin: 4px 0 0; }
.news-item h3 { font-size: 20px; margin-bottom: 8px; }
.news-item p { margin-bottom: 0; color: var(--muted); }
.about-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr); gap: 70px; align-items: center; }
.about-visual { min-height: 440px; display: grid; place-items: center; padding: 25px; background: #0A0D11; border-radius: var(--radius); border: 1px solid var(--line); }
.security-grid, .info-grid, .feedback-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.info-card, .security-card, .feedback-card { padding: 26px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; }
.security-card p, .info-card p, .feedback-card p { margin-bottom: 0; color: var(--muted); }
.feedback-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feedback-card strong { display: block; margin-top: 18px; color: var(--blue-light); font-size: 14px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-button { width: 100%; min-height: 68px; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: transparent; border: 0; color: var(--text); text-align: left; font: inherit; font-weight: 800; cursor: pointer; }
.faq-button::after { content: "+"; color: var(--blue-light); font-size: 26px; font-weight: 400; }
.faq-button[aria-expanded="true"]::after { content: "−"; }
.faq-panel { max-width: 930px; padding: 0 36px 22px 0; color: var(--muted); }
.article { max-width: var(--reading); margin-inline: auto; }
.article h2 { margin-top: 56px; }
.article h3 { margin-top: 32px; }
.article p, .article li { font-size: 17px; line-height: 1.86; }
.article ul, .article ol { padding-left: 22px; }
.callout { margin: 34px 0; padding: 26px 28px; border-left: 3px solid var(--blue); background: var(--bg-soft); border-radius: 0 14px 14px 0; }
.content-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 34px 0; }
.content-panel { padding: 28px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; }
.content-panel h3 { margin-top: 0; }
.content-panel p:last-child { margin-bottom: 0; }
.site-footer { background: #050608; border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { width: min(calc(100% - 44px), var(--content)); margin-inline: auto; padding: 72px 0 58px; display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 48px; }
.footer-logo { display: inline-flex; align-items: center; padding: 5px 12px; margin-bottom: 18px; background: var(--text); border-radius: 8px; }
.footer-brand p { max-width: 390px; color: var(--muted); }
.footer-column h2 { font-size: 15px; letter-spacing: .08em; margin-bottom: 18px; }
.footer-column a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; }
.footer-column a:hover { color: var(--text); }
.footer-bottom { width: min(calc(100% - 44px), var(--content)); margin-inline: auto; padding: 26px 0 34px; border-top: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; color: #777F8A; font-size: 13px; }
.footer-bottom p { margin: 0; max-width: 800px; }
@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr .85fr; gap: 34px; }
    .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .editorial-side { grid-template-columns: 130px 1fr; }
    .footer-inner { grid-template-columns: 1.3fr repeat(3, 1fr); gap: 30px; }
}
@media (max-width: 820px) {
    .section { padding: 74px 0; }
    .section-tight { padding: 58px 0; }
    .hero { min-height: auto; }
    .hero-grid, .mobile-layout, .split-layout, .about-layout, .release-layout, .news-layout { grid-template-columns: 1fr; }
    .hero-grid { padding: 62px 0 68px; }
    .hero-copy { order: 1; }
    .hero-visual { order: 2; max-width: 620px; }
    .editorial-grid { grid-template-columns: 1fr; }
    .editorial-side-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .editorial-side { grid-template-columns: 1fr; }
    .theme-row { grid-template-columns: 1fr; }
    .theme-copy { padding: 34px; }
    .theme-media { min-height: 260px; }
    .event-card:nth-child(2) { margin-top: 0; }
    .security-grid, .info-grid { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    .container { width: min(calc(100% - 28px), var(--content)); }
    .header-inner { min-height: 66px; padding: 0 12px; }
    .menu-toggle { width: 40px; height: 40px; }
    .menu-toggle span { width: 21px; }
    .site-logo { padding: 4px 9px; min-height: 40px; }
    .site-logo img { max-width: 105px; max-height: 34px; }
    .header-game-btn { min-width: 80px; height: 40px; min-height: 40px; padding: 0 14px; font-size: 14px; }
    .site-drawer { width: min(88vw, 390px); padding-inline: 18px; }
    h1 { font-size: clamp(34px, 10vw, 42px); }
    h2 { font-size: clamp(26px, 8vw, 32px); }
    .page-hero { padding: 74px 0 62px; }
    .lead { font-size: 17px; }
    .hero-grid { gap: 32px; padding-top: 50px; }
    .hero-actions { gap: 14px; }
    .hero-visual img { max-height: 390px; }
    .section-heading { display: block; margin-bottom: 30px; }
    .section-heading .text-link { display: inline-block; margin-top: 14px; }
    .game-grid, .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .game-card-body { padding: 14px; }
    .game-card-body h3 { font-size: 17px; }
    .game-card-body p { font-size: 13px; }
    .editorial-side-wrap, .event-grid, .content-columns, .feedback-grid, .security-grid, .info-grid { grid-template-columns: 1fr; }
    .editorial-main .media { min-height: 250px; }
    .editorial-copy, .event-card .event-copy { padding: 22px; }
    .theme-copy { padding: 28px 24px; }
    .theme-media { min-height: 220px; padding: 18px; }
    .release-visual, .mobile-visual { min-height: 360px; }
    .feature-list { grid-template-columns: 1fr; }
    .news-item { grid-template-columns: 1fr; gap: 8px; }
    .article p, .article li { font-size: 16px; }
    .article h2 { margin-top: 44px; }
    .footer-inner { width: min(calc(100% - 28px), var(--content)); grid-template-columns: repeat(2, 1fr); padding-top: 56px; gap: 32px 24px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { width: min(calc(100% - 28px), var(--content)); display: block; }
    .footer-bottom p + p { margin-top: 10px; }
}
@media (max-width: 430px) {
    .header-inner { padding-inline: 10px; }
    .menu-toggle { width: 40px; flex: 0 0 40px; }
    .site-logo { max-width: 112px; }
    .site-logo img { max-width: 94px; }
    .header-game-btn { min-width: 76px; padding-inline: 12px; font-size: 13px; }
    .hero-facts { display: grid; gap: 8px; }
    .game-grid, .library-grid { gap: 10px; }
    .game-card-body { padding: 12px; }
    .game-card-body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 375px) {
    .site-logo { padding-inline: 7px; }
    .site-logo img { max-width: 84px; }
    .header-game-btn { min-width: 72px; padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
