:root {
  --ink: #20342f;
  --green: #246e61;
  --red: #df5945;
  --gold: #d8a044;
  --cream: #f7f1e6;
  --paper: #fffdf8;
  --mint: #eaf4ef;
  --line: rgba(32, 52, 47, .14);
  --muted: #5b6e67;
  --page: min(1200px, calc(100% - 64px));
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--cream); font-size: 19px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: var(--page); margin-inline: auto; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 5; }
.nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(32,52,47,.12); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: 20px; font-weight: 900; letter-spacing: .04em; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 15px; color: white; background: var(--red); box-shadow: 0 7px 18px rgba(223,89,69,.23); font-family: Georgia, serif; font-size: 26px; font-weight: 900; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 850; }
.nav-links a:hover { color: var(--red); }
.nav-pill, .language-toggle { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,253,248,.86); }
.hero { position: relative; overflow: hidden; padding: 142px 0 86px; background: radial-gradient(circle at 12% 16%, rgba(255,255,255,.95), transparent 31%), radial-gradient(circle at 80% 48%, rgba(219,238,226,.9), transparent 33%), var(--cream); }
.hero::before { content: ""; position: absolute; width: 500px; height: 500px; left: -210px; bottom: -310px; border: 1px solid rgba(216,160,68,.25); border-radius: 50%; box-shadow: 0 0 0 45px rgba(216,160,68,.04), 0 0 0 90px rgba(216,160,68,.025); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.72fr); align-items: center; gap: 55px; }
.hero-copy { max-width: 660px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-size: 16px; font-weight: 900; letter-spacing: .08em; }
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 9px; background: var(--red); }
h1,h2,h3,p { margin-top: 0; }
h1 { margin: 22px 0 16px; font-size: clamp(54px,7vw,88px); line-height: 1.08; letter-spacing: -.055em; font-weight: 950; text-wrap: balance; }
h1 span { display: block; color: var(--red); }
.hero-copy > p { max-width: 630px; margin-bottom: 25px; color: #50645d; font-size: 22px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 28px; padding: 0; list-style: none; }
.hero-tags li { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 13px; border: 1px solid rgba(36,110,97,.16); border-radius: 999px; color: var(--green); background: rgba(255,253,248,.82); font-size: 16px; font-weight: 800; }
.hero-tags b { color: var(--red); font-size: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; }
.button { min-height: 56px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; padding: 12px 20px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: 18px; font-weight: 900; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(32,52,47,.12); }
.button-primary { color: white; background: var(--red); box-shadow: 0 7px 18px rgba(223,89,69,.2); }
.button-secondary { color: var(--green); border-color: rgba(36,110,97,.25); background: rgba(255,253,248,.88); }
.hero-visual { width: min(100%, 330px); justify-self: center; padding: 8px; border: 1px solid rgba(32,52,47,.1); border-radius: 32px; background: var(--paper); box-shadow: 0 28px 65px rgba(50,66,56,.2); transform: rotate(1deg); }
.hero-visual img { width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: contain; border-radius: 24px; }
.poster-visual { width: min(100%, 390px); }
.poster-visual img { aspect-ratio: 941 / 1672; }
.hero-note { margin: 14px 0 0; color: var(--muted); font-size: 15px; text-align: center; }
.section { padding: 86px 0; }
.section:nth-of-type(even) { background: linear-gradient(135deg,#eff6f0,#e6f1eb); }
.section-heading { max-width: 800px; margin: 0 auto 40px; text-align: center; }
.section-heading h2 { margin: 12px 0; font-size: clamp(39px,5.4vw,64px); line-height: 1.14; letter-spacing: -.05em; font-weight: 950; }
.section-heading p { margin: 0 auto; color: var(--muted); font-size: 20px; }
.step-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.step-card,.rule-card,.game-card,.feature-card { border: 1px solid rgba(32,52,47,.1); border-radius: 23px; background: rgba(255,253,248,.9); box-shadow: 0 12px 30px rgba(32,52,47,.075); }
.step-card { overflow: hidden; }
.step-card img { width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: contain; object-position: top; background: white; }
.step-copy { display: flex; align-items: center; gap: 13px; padding: 17px; }
.step-num { flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; color: white; background: var(--red); font-size: 17px; font-weight: 900; }
.step-copy strong { display: block; font-size: 20px; }
.step-copy p { margin: 2px 0 0; color: var(--muted); font-size: 16px; }
.rule-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.rule-card { min-height: 170px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 20px; }
.rule-symbol { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; color: white; background: var(--green); font-size: 27px; font-weight: 950; }
.rule-card:nth-child(2) .rule-symbol { background: var(--red); }
.rule-card:nth-child(3) .rule-symbol { color: #61420f; background: #edc36e; }
.rule-card:nth-child(4) .rule-symbol { color: #185c50; background: #b9e5d7; }
.rule-card strong { display: block; font-size: 20px; }
.rule-card p { margin: 2px 0 0; color: var(--muted); font-size: 16px; }
.board-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(360px,1.1fr); align-items: center; gap: 44px; }
.board-copy h2 { margin: 12px 0; font-size: clamp(39px,5vw,62px); line-height: 1.15; letter-spacing: -.05em; }
.board-copy p { color: var(--muted); font-size: 19px; }
.board-card { padding: clamp(14px,3vw,28px); border: 1px solid rgba(32,52,47,.1); border-radius: 28px; background: linear-gradient(145deg,#f9e9c8,#e9bd75); box-shadow: 0 20px 45px rgba(97,66,15,.13); }
.board-card svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 5px 4px rgba(70,43,10,.16)); }
.game-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.game-card { overflow: hidden; }
.game-card img { width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: contain; object-position: top; background: #eaf3ef; }
.game-copy { min-height: 120px; display: flex; align-items: flex-start; gap: 12px; padding: 16px; }
.game-badge { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: white; background: var(--green); font-size: 19px; font-weight: 900; }
.game-card:nth-child(2n) .game-badge { color: #5a4218; background: #f0ce89; }
.game-card:nth-child(3n) .game-badge { background: var(--red); }
.game-copy h3 { margin: 0 0 3px; font-size: 21px; }
.game-copy p { margin: 0; color: var(--muted); font-size: 16px; }
.callout { margin-top: 28px; text-align: center; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.feature-card { min-height: 164px; padding: 22px; }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 11px; border-radius: 16px; color: white; background: var(--green); font-size: 21px; font-weight: 900; }
.feature-card:nth-child(2) .feature-icon { color: #5a4218; background: #f0ce89; }
.feature-card:nth-child(3) .feature-icon { background: var(--red); }
.feature-card h3 { margin: 0 0 3px; font-size: 20px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 16px; }
.download-section { padding: 75px 0; background: linear-gradient(135deg,#e9f3ed,#f4f7ed); }
.download-card { display: grid; grid-template-columns: minmax(0,1fr) 270px; align-items: center; gap: 34px; padding: clamp(24px,4vw,48px); border: 1px solid rgba(32,52,47,.1); border-radius: 32px; background: rgba(255,253,248,.94); box-shadow: 0 20px 50px rgba(32,52,47,.09); }
.download-copy h2 { margin: 12px 0; font-size: clamp(37px,4.6vw,58px); line-height: 1.15; letter-spacing: -.045em; }
.download-copy > p { max-width: 670px; margin-bottom: 22px; color: var(--muted); font-size: 19px; }
.app-identity { display: flex; align-items: center; gap: 15px; margin: 20px 0 25px; }
.app-identity img { flex: 0 0 76px; width: 76px; height: 76px; border-radius: 19px; box-shadow: 0 8px 19px rgba(32,52,47,.12); }
.app-identity strong { display: block; font-size: 21px; line-height: 1.35; }
.app-identity span { color: var(--green); font-size: 15px; font-weight: 850; }
.download-qr { display: grid; justify-items: center; gap: 8px; padding: 17px; border: 1px solid rgba(36,110,97,.18); border-radius: 23px; color: var(--ink); background: #f1f7f2; text-align: center; text-decoration: none; }
.download-qr img { width: 205px; height: auto; aspect-ratio: 1; padding: 5px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.download-qr strong { font-size: 18px; }
.download-qr span { color: var(--muted); font-size: 15px; }
.qr-stack { display: grid; gap: 8px; }
.qr-download-link { display: inline-flex; justify-content: center; color: var(--green); font-size: 14px; font-weight: 850; text-align: center; }
.download-url { margin: 15px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.download-url strong { display: block; margin-bottom: 3px; color: var(--green); }
.download-url a { color: var(--green); font-weight: 800; }
.closing { padding: 78px 0; background: radial-gradient(circle at 85% 15%,rgba(255,255,255,.8),transparent 25%),linear-gradient(125deg,#f8edda,#e5f0e8); }
.closing h2 { max-width: 800px; margin: 13px 0 10px; font-size: clamp(42px,5.7vw,69px); line-height: 1.12; letter-spacing: -.05em; }
.closing p { max-width: 690px; color: var(--muted); font-size: 19px; }
.footer { padding: 23px 0; color: #52665f; background: #e3eee7; border-top: 1px solid rgba(32,52,47,.1); font-size: 15px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer a { margin-right: 15px; text-decoration: none; font-weight: 750; }
.footer a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
@media (max-width: 940px) {
  :root { --page: calc(100% - 48px); }
  .hero-grid { grid-template-columns: minmax(0,1fr) minmax(250px,.7fr); gap: 30px; }
  .rule-grid { grid-template-columns: repeat(2,1fr); }
  .board-layout { grid-template-columns: 1fr; }
  .board-card { max-width: 640px; margin-inline: auto; }
  .game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  :root { --page: calc(100% - 36px); }
  body { font-size: 18px; }
  .nav { min-height: 72px; }
  .brand { gap: 8px; font-size: 16px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 13px; font-size: 23px; }
  .nav-links { gap: 6px; }
  .nav-links a:not(.nav-pill):not(.language-toggle) { display: none; }
  .nav-pill,.language-toggle { min-height: 38px; padding: 6px 9px; font-size: 15px !important; }
  .hero { padding: 110px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  h1 { margin: 19px 0 14px; font-size: clamp(48px,12.5vw,68px); }
  .hero-copy > p { font-size: 19px; }
  .hero-tags { margin-bottom: 20px; }
  .hero-tags li { min-height: 40px; padding: 5px 10px; font-size: 15px; }
  .button { min-height: 53px; padding: 10px 15px; font-size: 16px; }
  .hero-visual { width: min(100%,310px); }
  .poster-visual { width: min(100%,350px); }
  .section { padding: 69px 0; }
  .section-heading { margin-bottom: 29px; }
  .section-heading h2,.board-copy h2 { font-size: clamp(36px,9vw,48px); }
  .section-heading p { font-size: 18px; }
  .step-grid,.feature-grid { grid-template-columns: 1fr; gap: 13px; }
  .step-card { display: block; }
  .step-card picture { display: block; }
  .step-card img { width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: contain; }
  .step-copy { padding: 13px; }
  .step-copy strong { font-size: 18px; }
  .step-copy p { font-size: 15px; }
  .rule-grid { gap: 9px; }
  .rule-card { min-height: 145px; padding: 14px; }
  .rule-symbol { width: 48px; height: 48px; border-radius: 14px; font-size: 23px; }
  .rule-card strong { font-size: 18px; }
  .rule-card p { font-size: 15px; }
  .board-layout { gap: 21px; }
  .board-card { padding: 10px; border-radius: 20px; }
  .game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .game-copy { min-height: 126px; gap: 8px; padding: 12px 10px; }
  .game-badge { flex-basis: 35px; width: 35px; height: 35px; border-radius: 11px; font-size: 16px; }
  .game-copy h3 { font-size: 18px; }
  .game-copy p { font-size: 15px; line-height: 1.4; }
  .download-section { padding: 62px 0; }
  .download-card { grid-template-columns: 1fr; gap: 22px; padding: 22px 17px; border-radius: 25px; }
  .download-copy h2 { font-size: 38px; }
  .download-copy > p { font-size: 17px; }
  .download-qr { justify-self: center; width: min(100%,290px); }
  .download-qr img { width: 200px; }
  .closing { padding: 63px 0; }
  .closing h2 { font-size: 44px; }
  .footer .wrap { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition-duration: .01ms !important; } }
