:root {
    --bg: #FFFFFF;
    --mint: #F4FBF8;
    --soft: #F7F8F8;
    --warm: #FFF9F0;
    --ink: #111111;
    --text: #62666A;
    --muted: #8A8D91;
    --line: #DDE7E4;
    --line-strong: #B4B9BB;
    --mint-deco: #EAF5F1;
    --radius: 20px;
    --shadow: 0 12px 36px rgba(17,17,17,.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", 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 #7DBBAB; outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 12000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; width: 100%; z-index: 9999; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { position: relative; width: 100%; max-width: 1280px; 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: var(--ink); transition: .25s ease; }
.site-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; min-width: 64px; min-height: 34px; text-decoration: none; }
.site-logo img { width: auto; max-width: 150px; max-height: 48px; }
.logo-fallback::after { content: "PG"; font-size: 26px; font-weight: 800; letter-spacing: -.04em; }
.header-game-btn, .main-btn { min-height: 44px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 600; white-space: nowrap; transition: .25s ease; }
.header-game-btn { min-width: 92px; height: 42px; padding: 0 20px; font-size: 15px; }
.header-game-btn:hover, .main-btn:hover { background: #fff; color: var(--ink); }
.main-btn.compact { min-height: 38px; padding: 0 16px; font-size: 14px; }
.text-link { font-weight: 650; text-decoration: none; border-bottom: 1px solid transparent; }
.text-link:hover { border-color: currentColor; }
.drawer-overlay { position: fixed; inset: 0; z-index: 10000; background: rgba(17,17,17,.38); opacity: 0; transition: opacity .25s ease; }
.drawer-overlay.show { opacity: 1; }
.site-drawer { position: fixed; inset: 0 auto 0 0; z-index: 10001; width: 430px; max-width: 88vw; background: #fff; transform: translateX(-102%); transition: transform .28s ease; display: flex; flex-direction: column; box-shadow: 18px 0 50px rgba(17,17,17,.14); }
.site-drawer.open { transform: translateX(0); }
.drawer-head { min-height: 76px; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-logo { display: inline-flex; min-width: 64px; min-height: 32px; align-items: center; text-decoration: none; }
.drawer-logo img { max-width: 128px; max-height: 42px; }
.drawer-close { width: 44px; height: 44px; position: relative; border: 0; background: transparent; cursor: pointer; }
.drawer-close span { position: absolute; left: 9px; top: 21px; width: 26px; height: 2px; background: var(--ink); }
.drawer-close span:first-child { transform: rotate(45deg); }
.drawer-close span:last-child { transform: rotate(-45deg); }
.drawer-nav { padding: 12px 24px; overflow-y: auto; }
.drawer-nav a { display: block; padding: 13px 0; font-size: 21px; font-weight: 650; text-decoration: none; border-bottom: 1px solid #EEF1F0; }
.drawer-nav a.active { color: #397E6E; }
.drawer-foot { margin-top: auto; padding: 24px; border-top: 1px solid var(--line); }
.drawer-foot p { margin: 0 0 14px; color: var(--text); font-size: 13px; letter-spacing: .08em; }
.container { width: min(1280px, calc(100% - 44px)); margin: 0 auto; }
.reading { max-width: 860px; }
.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }
.section-mint { background: var(--mint); }
.section-soft { background: var(--soft); }
.section-warm { background: var(--warm); }
.hero { padding: 88px 0 84px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.hero-copy { max-width: 620px; }
.eyebrow { display: inline-block; margin-bottom: 12px; color: #397E6E; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.035em; }
h1 { font-size: clamp(48px, 5vw, 64px); }
h2 { font-size: clamp(32px, 3.6vw, 42px); }
h3 { font-size: 23px; }
p { margin: 0; color: var(--text); }
.hero-copy p { margin-top: 24px; font-size: 18px; }
.hero-actions, .card-actions, .inline-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-actions { margin-top: 30px; }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; width: 64%; height: 64%; right: -6%; top: -9%; border-radius: 50%; background: var(--mint-deco); z-index: -1; }
.image-shell { min-height: 220px; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, #F4FBF8, #FFFFFF 54%, #F7F8F8); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; }
.image-shell.image-missing::after { content: "PG"; font-size: clamp(42px, 9vw, 96px); font-weight: 850; letter-spacing: -.07em; color: #111; opacity: .14; }
.hero-visual .image-shell { min-height: 500px; }
.hero-visual img { width: 100%; }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 38px; }
.section-head > div { max-width: 760px; }
.section-head p { margin-top: 14px; max-width: 760px; }
.category-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.category-scroll { display: flex; gap: 30px; overflow-x: auto; padding: 0; scrollbar-width: thin; }
.category-scroll a { flex: 0 0 auto; padding: 20px 0 17px; text-decoration: none; border-bottom: 3px solid transparent; font-weight: 650; }
.category-scroll a.active, .category-scroll a:hover { border-color: var(--ink); }
.feature-grid { display: grid; grid-template-columns: 1.5fr .75fr .75fr; gap: 20px; align-items: stretch; }
.feature-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.feature-card .image-shell { border: 0; border-radius: 0; min-height: 300px; }
.feature-card.big .image-shell { min-height: 430px; }
.feature-copy { padding: 24px; }
.feature-copy p { margin-top: 12px; }
.feature-copy .card-actions { margin-top: 20px; }
.games-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.games-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.game-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; min-width: 0; }
.game-cover { border: 0; border-radius: 0; min-height: 210px; background: var(--soft); }
.game-cover img { width: 100%; height: auto; object-fit: contain; display: block; }
.game-card-body { padding: 20px; }
.game-card-body h3 { margin-top: 2px; font-size: 21px; }
.game-card-body p { margin-top: 10px; font-size: 15px; }
.game-card-body .card-actions { margin-top: 18px; justify-content: space-between; }
.brand-banner { border-radius: 20px; overflow: hidden; }
.brand-banner img { width: 100%; height: auto; object-fit: contain; }
.new-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 28px; align-items: stretch; }
.new-lead { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.new-lead .image-shell { border: 0; border-radius: 0; min-height: 420px; }
.new-lead-copy { padding: 28px; }
.new-lead-copy p { margin-top: 13px; }
.new-list { display: grid; gap: 14px; }
.new-row { display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: center; padding: 14px; border-bottom: 1px solid var(--line); }
.new-row .image-shell { min-height: 112px; border-radius: 14px; }
.new-row p { margin-top: 7px; font-size: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-copy p + p { margin-top: 15px; }
.split-copy .inline-actions { margin-top: 26px; }
.split-media .image-shell { min-height: 430px; }
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.promo-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.promo-card .image-shell { border: 0; border-radius: 0; min-height: 250px; }
.promo-copy { padding: 24px; }
.promo-copy p { margin-top: 12px; }
.news-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; }
.news-lead { padding: 32px; border-radius: var(--radius); background: var(--mint); }
.news-lead p { margin-top: 16px; }
.news-list { border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.news-item span { color: var(--muted); font-size: 14px; }
.news-item h3 { font-size: 20px; margin-bottom: 7px; }
.brand-triptych { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.brand-triptych .image-shell { min-height: 300px; }
.safety-grid, .support-grid, .value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.info-card { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.info-card h3 { font-size: 20px; }
.info-card p { margin-top: 10px; }
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote-card { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(17,17,17,.04); }
.quote-card p { color: #454A4C; }
.quote-card span { display: block; margin-top: 16px; 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%; padding: 24px 44px 24px 0; position: relative; border: 0; background: transparent; text-align: left; color: var(--ink); font: inherit; font-size: 19px; font-weight: 700; cursor: pointer; }
.faq-question::after { content: "+"; position: absolute; right: 4px; top: 21px; font-size: 26px; font-weight: 400; }
.faq-question[aria-expanded="true"]::after { content: "−"; }
.faq-answer { padding: 0 0 24px; max-width: 880px; }
.page-hero { padding: 78px 0 64px; background: linear-gradient(180deg, #fff 0, #fff 42%, #F4FBF8 100%); }
.page-hero .reading p { margin-top: 20px; font-size: 18px; }
.prose { max-width: 900px; }
.prose h2 { margin-top: 48px; font-size: 34px; }
.prose h3 { margin-top: 34px; }
.prose p { margin-top: 18px; }
.prose ul { margin: 18px 0 0; padding-left: 22px; color: var(--text); }
.prose li + li { margin-top: 8px; }
.note { padding: 24px 26px; border-left: 4px solid #76AE9F; background: var(--mint); border-radius: 0 14px 14px 0; }
.timeline { display: grid; gap: 0; border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.timeline-item strong { font-size: 18px; }
.site-footer { background: #111; color: #fff; padding: 68px 0 28px; }
.footer-inner { width: min(1280px, calc(100% - 44px)); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 44px; }
.footer-logo { display: inline-flex; min-width: 68px; min-height: 36px; align-items: center; color: #fff; text-decoration: none; }
.footer-logo img { max-width: 138px; max-height: 44px; filter: brightness(0) invert(1); }
.footer-logo.logo-fallback::after { color: #fff; }
.footer-brand p { margin-top: 18px; color: #BFC4C5; max-width: 420px; }
.site-footer h2 { font-size: 16px; letter-spacing: .01em; margin-bottom: 14px; }
.site-footer a:not(.footer-logo) { display: block; margin: 9px 0; color: #BFC4C5; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #303436; display: flex; gap: 30px; justify-content: space-between; }
.footer-bottom p { color: #BFC4C5; font-size: 13px; max-width: 760px; }
@media (max-width: 1100px) {
    .games-grid.five { grid-template-columns: repeat(3, 1fr); }
    .games-grid { grid-template-columns: repeat(3, 1fr); }
    .feature-grid { grid-template-columns: 1.2fr 1fr; }
    .feature-card:last-child { grid-column: span 2; }
    .testimonials { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .section { padding: 72px 0; }
    .hero { padding: 66px 0; }
    .hero-grid, .split, .new-layout, .news-layout { grid-template-columns: 1fr; gap: 34px; }
    .hero-copy { max-width: 760px; }
    .hero-visual .image-shell { min-height: 380px; }
    .promo-grid { grid-template-columns: 1fr; }
    .brand-triptych { grid-template-columns: 1fr 1fr; }
    .safety-grid, .support-grid, .value-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 2 / 4; }
}
@media (max-width: 767px) {
    .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; }
    .site-logo.logo-fallback::after { font-size: 22px; }
    .header-game-btn { min-width: 78px; height: 40px; padding: 0 15px; font-size: 14px; }
    .container, .footer-inner { width: min(100% - 28px, 1280px); }
    .section { padding: 58px 0; }
    .section-sm { padding: 48px 0; }
    .hero { padding: 54px 0 58px; }
    h1 { font-size: clamp(34px, 10vw, 42px); }
    h2 { font-size: clamp(26px, 8vw, 32px); }
    .hero-copy p, .page-hero .reading p { font-size: 16px; }
    .hero-visual .image-shell, .split-media .image-shell { min-height: 300px; }
    .section-head { display: block; margin-bottom: 28px; }
    .section-head > a { margin-top: 16px; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card:last-child { grid-column: auto; }
    .feature-card.big .image-shell, .feature-card .image-shell { min-height: 260px; }
    .games-grid, .games-grid.five { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .game-cover { min-height: 150px; }
    .game-card-body { padding: 15px; }
    .game-card-body h3 { font-size: 17px; }
    .game-card-body p { font-size: 13px; line-height: 1.65; }
    .game-card-body .card-actions { gap: 10px; align-items: flex-start; }
    .game-card-body .main-btn.compact { min-height: 34px; padding: 0 12px; }
    .new-row { grid-template-columns: 95px 1fr; gap: 12px; padding: 12px 0; }
    .new-row .image-shell { min-height: 88px; }
    .brand-triptych, .safety-grid, .support-grid, .value-grid, .testimonials { grid-template-columns: 1fr; }
    .timeline-item { grid-template-columns: 1fr; gap: 8px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 26px; }
    .footer-brand { grid-column: span 2; }
    .footer-grid > div:last-child { grid-column: auto; }
    .footer-bottom { display: block; }
    .footer-bottom p + p { margin-top: 12px; }
}
@media (max-width: 430px) {
    .header-inner { padding: 0 12px; }
    .header-game-btn { min-width: 74px; padding: 0 12px; font-size: 13px; }
    .site-logo { min-width: 54px; }
    .site-logo img { max-width: 90px; }
    .drawer-nav a { font-size: 19px; }
    .hero-actions { align-items: flex-start; }
    .card-actions .text-link { font-size: 13px; }
    .game-card-body .card-actions { display: grid; }
}
@media (max-width: 390px) {
    .menu-toggle { width: 38px; }
    .header-game-btn { min-width: 70px; padding: 0 10px; }
    .site-logo img { max-width: 82px; }
}
@media (max-width: 375px) {
    .header-inner { padding: 0 10px; }
    .menu-toggle { width: 36px; }
    .menu-toggle span { width: 23px; }
    .header-game-btn { min-width: 68px; height: 38px; padding: 0 9px; font-size: 12.5px; }
    .site-logo img { max-width: 76px; }
    .site-logo.logo-fallback::after { font-size: 20px; }
    .container, .footer-inner { width: calc(100% - 24px); }
    .games-grid, .games-grid.five { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
