:root {
  --forest: #0b5138;
  --deep: #093d2d;
  --ink: #143d2f;
  --muted: #476252;
  --leaf: #2d9b54;
  --gold: #f4d748;
  --cream: #f6f8eb;
  --paper: #fffdf1;
  --line: #cbd9c6;
  --ease-out: cubic-bezier(.2,.8,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--cream); color: var(--ink); font: 16px/1.65 "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif; }
body[lang="en"], html[lang="en"] body { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #ef653c; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.045em; }
p { line-height: 1.7; }
.container { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; transform: translateY(-180%); padding: 11px 16px; border-radius: 8px; background: var(--gold); color: var(--deep); font-weight: 800; }
.skip-link:focus { transform: translateY(0); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 100px; font-size: 16px; font-weight: 850; line-height: 1.2; text-align: center; transition: transform .22s var(--ease-out), background .22s, box-shadow .22s; }
.button:hover { transform: translateY(-3px); }
.button:active { transform: translateY(2px); }
.button-primary { border: 2px solid var(--gold); background: var(--gold); color: #173c27; box-shadow: 0 7px 0 #d2aa31; }
.button-primary:hover { background: #ffe96a; box-shadow: 0 10px 0 #d2aa31; }
.button-primary:active { box-shadow: 0 3px 0 #d2aa31; }
.button-outline { border: 2px solid currentColor; background: transparent; color: inherit; }
.button-outline:hover { background: rgba(255,255,255,.12); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 2px solid currentColor; font-weight: 800; }
.text-link:hover { color: var(--leaf); }
.eyebrow { display: inline-flex; align-items: center; gap: 11px; color: #267d4e; font-size: 14px; font-weight: 850; line-height: 1.4; }
.eyebrow::before { content: ""; width: 22px; height: 5px; border-radius: 4px; background: currentColor; }
.page-intro { padding: 92px 0 72px; }
.page-intro h1 { max-width: 900px; margin-top: 24px; font-size: clamp(3.1rem, 6.2vw, 6.5rem); font-weight: 900; }
.page-intro p { max-width: 760px; margin-top: 26px; color: var(--muted); font-size: 19px; }

.site-header { position: relative; z-index: 30; background: var(--cream); color: var(--ink); }
.site-header-home { position: absolute; inset: 0 0 auto; background: transparent; color: #fff; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 98px; }
.site-logo { display: block; flex: none; width: 143px; }
.site-logo img { width: 100%; height: auto; filter: drop-shadow(0 4px 8px rgba(0,46,29,.15)); }
.site-header-home .site-logo img { filter: drop-shadow(0 4px 8px rgba(0,46,29,.46)); }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(16px, 2.15vw, 32px); margin-left: auto; }
.site-nav > a { display: inline-flex; align-items: center; min-height: 46px; font-size: 15px; font-weight: 800; white-space: nowrap; border-bottom: 2px solid transparent; }
.site-nav > a:hover, .site-nav > a[aria-current="page"] { border-bottom-color: var(--leaf); }
.site-header-home .site-nav > a { text-shadow: 0 2px 6px rgba(0,50,27,.7); }
.site-header-home .site-nav > a:hover, .site-header-home .site-nav > a[aria-current="page"] { border-bottom-color: var(--gold); }
.site-nav > .site-language { font-weight: 900; border: 1px solid currentColor; min-height: 34px; padding: 0 10px; border-radius: 5px; }
.site-nav > .site-language:hover { border-color: var(--leaf); background: #dff3df; color: var(--deep); }
.site-nav > .site-nav-game { min-height: 44px; padding: 0 20px; border: 2px solid var(--forest); border-radius: 100px; }
.site-header-home .site-nav > .site-nav-game { border-color: #fff; }
.site-nav > .site-nav-game:hover { border-color: var(--forest); background: var(--forest); color: white; text-shadow: none; }
.site-header-home .site-nav > .site-nav-game:hover { border-color: white; background: white; color: var(--deep); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--gold); color: var(--deep); cursor: pointer; align-items: center; justify-content: center; margin-left: auto; }
.menu-icon { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 25px; }
.menu-icon span { display: block; width: 25px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease-out), opacity .25s; }
.menu-toggle[aria-expanded="true"] .menu-icon span:first-child { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon span:last-child { transform: translateY(-7.5px) rotate(-45deg); }

.site-footer { background: #073d2c; color: #dceee1; padding: 60px 0 53px; }
.footer-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 37px 80px; align-items: start; }
.footer-brand img { width: 127px; height: auto; }
.footer-brand p { margin-top: 16px; color: #d3ebd9; font-size: 16px; max-width: 400px; }
.footer-links { display: flex; gap: 12px 27px; flex-wrap: wrap; justify-content: flex-end; padding-top: 11px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 38px; font-weight: 800; font-size: 15px; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--gold); text-decoration: underline; text-underline-offset: 5px; }
.footer-boundary { grid-column: 1 / -1; border-top: 1px solid #376c51; padding-top: 23px; color: #bedac6; font-size: 14px; }

@media (max-width: 980px) {
  .container { width: min(100% - 56px, 1280px); }
  .site-nav { gap: 13px; }
  .site-nav > a { font-size: 13px; }
  .site-nav > .site-nav-game { padding-inline: 13px; }
}
@media (max-width: 850px) {
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 78px; }
  .site-logo { width: 112px; }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 70px; left: 18px; right: 18px; z-index: 35; margin: 0; padding: 11px 18px 17px; border: 1px solid #82c48a; border-radius: 17px; background: #0b5138; box-shadow: 0 20px 32px rgba(0,42,30,.28); color: white; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav > a { min-height: 50px; padding: 8px 4px; font-size: 16px; text-shadow: none !important; }
  .site-nav > .site-language { justify-content: center; align-self: flex-start; min-height: 40px; padding: 0 11px; margin: 9px 0; }
  .site-nav > .site-nav-game { justify-content: center; min-height: 48px; margin-top: 5px; border-color: white; }
  .site-nav > a:hover, .site-nav > a[aria-current="page"] { border-bottom-color: var(--gold); }
  .site-header-home .site-nav > a { color: white; }
  .page-intro { padding: 69px 0 54px; }
  .page-intro h1 { margin-top: 18px; font-size: clamp(2.8rem, 11vw, 4.4rem); }
  .page-intro p { margin-top: 18px; font-size: 17px; }
  .footer-layout { display: block; }
  .footer-links { justify-content: flex-start; gap: 6px 22px; margin: 22px 0 13px; padding: 0; }
  .footer-links a { font-size: 15px; }
  .footer-boundary { margin-top: 10px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
