:root {
    --bg: #FFFFFF;
    --mint: #F4FBF8;
    --soft: #F7F8F8;
    --warm: #FFF9F0;
    --text: #111111;
    --muted: #62666A;
    --weak: #8A8D91;
    --border: #DDE7E4;
    --line: #B4B9BB;
    --mint-2: #EAF5F1;
    --radius: 20px;
    --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    overflow-x: hidden;
}
body.drawer-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; object-fit: contain; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid #6FAF9E; outline-offset: 3px; }

.skip-link {
    position: fixed; left: 16px; top: 12px; z-index: 20000;
    transform: translateY(-150%); background: #111; color: #fff;
    padding: 8px 14px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 44px), var(--max)); margin: 0 auto; }
.reading { max-width: 860px; }
.section { padding: 96px 0; }
.section-sm { padding: 68px 0; }
.section-mint { background: var(--mint); }
.section-soft { background: var(--soft); }
.section-warm { background: var(--warm); }
.section-head { max-width: 760px; margin-bottom: 38px; }
.eyebrow { display: inline-block; margin-bottom: 12px; color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { margin: 0 0 18px; line-height: 1.16; letter-spacing: -.02em; }
h1 { font-size: clamp(42px, 5.1vw, 64px); }
h2 { font-size: clamp(30px, 3.2vw, 42px); }
h3 { font-size: 21px; }
p { margin: 0 0 18px; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--muted); line-height: 1.75; }
.muted { color: var(--muted); }
.text-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--text); }
.text-link:hover { opacity: .65; }

.main-btn, .header-game-btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
    padding: 0 22px; background: #111; color: #fff; border: 1px solid #111;
    border-radius: 999px; text-decoration: none; font-weight: 600; white-space: nowrap; transition: .25s ease;
}
.main-btn:hover, .header-game-btn:hover { background: #fff; color: #111; }
.main-btn.light:hover { background: var(--mint); }
.actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.site-header {
    position: sticky; top: 0; width: 100%; z-index: 9999;
    background: rgba(255,255,255,.97); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px);
}
.header-inner {
    position: relative; width: 100%; max-width: var(--max); min-height: 74px;
    margin: 0 auto; padding: 0 22px; display: flex; align-items: center; justify-content: space-between;
}
.menu-toggle {
    width: 44px; height: 44px; padding: 0; border: 0; background: transparent;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; cursor: pointer;
}
.menu-toggle span { display: block; width: 27px; height: 2px; background: #111; transition: .25s ease; }
.menu-toggle:hover span:nth-child(2) { width: 21px; }
.site-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; }
.site-logo img { width: auto; max-width: 150px; max-height: 48px; }
.header-game-btn { min-width: 92px; height: 42px; padding: 0 20px; font-size: 15px; }

.drawer-overlay { position: fixed; inset: 0; z-index: 10000; background: rgba(17,17,17,.38); opacity: 0; transition: opacity .25s ease; }
.drawer-overlay.is-visible { opacity: 1; }
.site-drawer {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 10001; width: min(88vw, 430px); padding: 24px 28px 30px;
    background: #fff; transform: translateX(-105%); transition: transform .28s ease; overflow-y: auto; box-shadow: 16px 0 40px rgba(0,0,0,.12);
}
.site-drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.drawer-logo img { max-width: 128px; max-height: 42px; }
.drawer-close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--soft); font-size: 30px; line-height: 1; cursor: pointer; }
.drawer-nav { padding: 14px 0 22px; }
.drawer-nav a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 2px; border-bottom: 1px solid var(--border); text-decoration: none; font-size: 20px; font-weight: 650; }
.drawer-nav a:hover, .drawer-nav a.is-current { color: #2f7463; }
.drawer-foot { padding-top: 8px; color: var(--muted); font-size: 14px; }
.drawer-foot .main-btn { margin-top: 8px; color: #fff; }
.drawer-foot .main-btn:hover { color: #111; }

.hero { padding: 88px 0 82px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr); gap: 72px; align-items: center; }
.hero-copy { max-width: 650px; }
.hero-copy .lead { margin-bottom: 28px; }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; width: 68%; aspect-ratio: 1; right: -5%; top: -9%; border-radius: 50%; background: var(--mint-2); z-index: -1; }
.hero-visual img { width: 100%; border-radius: 28px; }

.category-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.category-row { display: flex; gap: 34px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.category-row::-webkit-scrollbar { display: none; }
.category-row a { flex: 0 0 auto; padding: 20px 0 17px; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; }
.category-row a:hover, .category-row a.is-active { color: #111; border-bottom-color: #111; }

.feature-grid { display: grid; grid-template-columns: 1.42fr .78fr; gap: 24px; }
.feature-large, .feature-small, .game-card, .content-card, .quote-card, .info-card { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; }
.feature-large img, .feature-small img { width: 100%; }
.feature-large .content, .feature-small .content, .game-card .content, .content-card .content { padding: 24px; }
.feature-stack { display: grid; gap: 24px; }
.card-meta { color: var(--weak); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.card-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.card-actions .main-btn { min-height: 40px; padding: 0 17px; font-size: 14px; }

.game-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.game-grid.library { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.game-card { transition: transform .22s ease, box-shadow .22s ease; }
.game-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(28,49,43,.08); }
.game-cover { background: var(--soft); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 10px; }
.game-cover img { width: 100%; height: 100%; object-fit: contain; }
.game-card .content { padding: 18px; }
.game-card p { color: var(--muted); font-size: 14px; line-height: 1.65; }

.brand-banner img { width: 100%; height: auto; border-radius: 20px; }

.new-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 48px; align-items: start; }
.new-feature { border-radius: 24px; overflow: hidden; background: var(--soft); }
.new-feature img { width: 100%; }
.new-list { border-top: 1px solid var(--border); }
.new-item { display: grid; grid-template-columns: 88px 1fr; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--border); }
.new-item img { width: 88px; height: 88px; object-fit: contain; border-radius: 14px; background: var(--soft); }
.new-item p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split img { width: 100%; border-radius: 24px; }
.check-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #2f7463; font-weight: 800; }

.promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; }
.promo-card { border: 1px solid var(--border); border-radius: 22px; overflow: hidden; }
.promo-card img { width: 100%; background: var(--soft); }
.promo-card .content { padding: 26px; }

.news-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; }
.news-feature { padding: 34px; background: var(--mint); border-radius: 24px; }
.news-list { border-top: 1px solid var(--border); }
.news-row { display: grid; grid-template-columns: 105px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.news-row span { color: var(--weak); font-size: 14px; }
.news-row a { text-decoration: none; font-weight: 700; }

.brand-story-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.brand-story-grid img { width: 100%; border-radius: 20px; background: var(--soft); }
.brand-story-grid .story-copy { padding-top: 18px; }

.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.info-card { padding: 28px; }
.info-card .number { font-size: 14px; color: var(--weak); margin-bottom: 18px; }

.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.quote-card { padding: 26px; box-shadow: 0 8px 24px rgba(28,49,43,.05); }
.quote-card p { margin: 0; }
.quote-card footer { margin-top: 14px; color: var(--weak); font-size: 13px; }

.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; border: 0; background: transparent; text-align: left; font: inherit; font-size: 19px; font-weight: 700; cursor: pointer; }
.faq-question::after { content: "+"; font-size: 27px; font-weight: 400; transition: transform .2s ease; }
.faq-question[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-answer { padding: 0 40px 24px 0; color: var(--muted); }

.page-hero { padding: 78px 0 64px; border-bottom: 1px solid var(--border); }
.page-hero .reading { max-width: 900px; }
.page-hero h1 { max-width: 880px; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; color: var(--weak); font-size: 14px; }
.breadcrumbs a { text-decoration: none; }
.content-columns { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 64px; align-items: start; }
.side-panel { position: sticky; top: 104px; padding: 28px; background: var(--mint); border-radius: 20px; }
.side-panel a { display: block; padding: 10px 0; border-bottom: 1px solid rgba(17,17,17,.09); text-decoration: none; font-weight: 600; }
.article h2 { margin-top: 42px; }
.article h3 { margin-top: 30px; }
.article ul { padding-left: 22px; }
.article li { margin: 8px 0; }
.highlight { margin: 32px 0; padding: 28px; border-left: 4px solid #2f7463; background: var(--mint); border-radius: 0 16px 16px 0; }
.timeline { display: grid; gap: 0; border-top: 1px solid var(--border); }
.timeline-item { display: grid; grid-template-columns: 170px 1fr; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.timeline-item strong { font-size: 18px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.tag { padding: 7px 12px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; color: var(--muted); }

.site-footer { background: #111; color: #fff; padding: 70px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 50px; }
.footer-brand img { max-width: 150px; max-height: 48px; filter: brightness(0) invert(1); }
.footer-brand p { color: #BFC4C5; max-width: 340px; }
.site-footer h2 { font-size: 16px; margin-bottom: 18px; }
.site-footer a { display: block; color: #BFC4C5; text-decoration: none; margin: 9px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); color: #BFC4C5; font-size: 13px; }
.footer-bottom p { margin: 0; }

@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 42px; }
    .game-grid { grid-template-columns: repeat(3, 1fr); }
    .game-grid.library { grid-template-columns: repeat(3, 1fr); }
    .info-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
    .content-columns { grid-template-columns: 1fr; }
    .side-panel { position: static; }
}

@media (max-width: 820px) {
    .section { padding: 72px 0; }
    .section-sm { padding: 54px 0; }
    .hero { padding: 64px 0 58px; }
    .hero-grid, .split, .new-layout, .news-layout { grid-template-columns: 1fr; gap: 38px; }
    .hero-visual { max-width: 620px; }
    .split.reverse > :first-child { order: initial; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-stack { grid-template-columns: repeat(2, 1fr); }
    .promo-grid, .brand-story-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 2 / span 2; }
    .footer-bottom { flex-direction: column; }
}

@media (max-width: 767px) {
    .container { width: min(calc(100% - 28px), var(--max)); }
    .header-inner { min-height: 66px; padding: 0 14px; }
    .menu-toggle { width: 40px; height: 40px; }
    .menu-toggle span { width: 25px; }
    .site-logo img { max-width: 110px; max-height: 40px; }
    .header-game-btn { min-width: 78px; height: 40px; padding: 0 15px; font-size: 14px; }
    .site-drawer { width: min(88vw, 390px); padding: 20px; }
    .drawer-nav a { font-size: 18px; padding: 14px 2px; }
    .hero-grid { grid-template-columns: 1fr; }
    h1 { font-size: clamp(36px, 10.5vw, 42px); }
    h2 { font-size: clamp(28px, 8vw, 32px); }
    .lead { font-size: 18px; }
    .game-grid, .game-grid.library { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
    .game-card .content { padding: 14px; }
    .game-card h3 { font-size: 17px; }
    .game-card p { font-size: 13px; }
    .card-actions { gap: 10px; }
    .feature-stack, .promo-grid, .brand-story-grid, .info-grid, .quote-grid { grid-template-columns: 1fr; }
    .new-item { grid-template-columns: 74px 1fr; }
    .new-item img { width: 74px; height: 74px; }
    .news-row { grid-template-columns: 1fr; gap: 6px; }
    .page-hero { padding: 58px 0 48px; }
    .timeline-item { grid-template-columns: 1fr; gap: 8px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
    .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 430px) {
    .header-inner { padding: 0 12px; }
    .site-logo img { max-width: 96px; }
    .header-game-btn { min-width: 72px; padding: 0 12px; font-size: 13px; }
    .menu-toggle { width: 38px; }
    .menu-toggle span { width: 23px; }
    .hero { padding-top: 52px; }
    .game-grid, .game-grid.library { gap: 10px; }
    .game-card .content { padding: 12px; }
    .card-actions .main-btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 375px) {
    .site-logo img { max-width: 86px; max-height: 34px; }
    .header-game-btn { min-width: 68px; height: 38px; padding: 0 10px; }
    .menu-toggle { width: 36px; height: 38px; }
    .menu-toggle span { width: 22px; }
    .container { width: min(calc(100% - 24px), var(--max)); }
}
