:root {
  --ink: #0a0805;
  --paper: #f2ead8;
  --gold: #d39b3b;
  --gold-light: #ffd77a;
  --red: #b92d1f;
  --muted: #958a75;
  --line: rgba(242, 234, 216, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  padding: 22px clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.event-period { font-size: 13px; font-weight: 800; color: #fff2cc; }

.hero { min-height: min(920px, 100svh); position: relative; display: grid; align-items: end; overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,4,2,.92) 0%, rgba(5,4,2,.4) 47%, rgba(5,4,2,.04) 76%), linear-gradient(0deg, #0a0805 0%, transparent 38%); }
.hero-copy { position: relative; z-index: 2; width: min(700px, 92%); margin: 0 0 clamp(72px, 10vw, 130px) clamp(20px, 7vw, 110px); }
.eyebrow { margin: 0 0 18px; color: var(--gold-light); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(54px, 8.6vw, 126px); line-height: .92; font-weight: 900; }
h1 span { color: var(--gold-light); font-size: .54em; }
.hero-copy > p:not(.eyebrow) { max-width: 570px; margin: 28px 0; font-size: clamp(16px, 1.6vw, 22px); line-height: 1.8; color: #ede3cf; }
.hero-copy strong { color: #ffd05b; font-size: 1.2em; }
.text-link { display: inline-flex; gap: 12px; align-items: center; font-weight: 900; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 8px; }

.intro, .prizes, .bonus, .rules { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: clamp(80px, 10vw, 150px) 0; }
.section-number { color: var(--gold); font-family: Georgia, serif; font-size: 15px; font-weight: 900; }
h2 { margin: 0; font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(40px, 6vw, 82px); line-height: 1.08; }
.intro { display: grid; grid-template-columns: 80px 1fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.intro-facts dl { margin: 0; border-top: 1px solid var(--line); }
.intro-facts dl div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); font-weight: 800; }
dd { margin: 0; font-weight: 800; line-height: 1.7; }
.highlight { margin: 28px 0 0; color: var(--gold-light); font-size: 18px; font-weight: 900; }

.prizes { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(45px, 8vw, 120px); border-top: 1px solid var(--line); }
.prize-heading { position: sticky; top: 40px; align-self: start; }
.prize-heading h2 { margin: 20px 0 30px; }
.prize-heading > p:last-child { color: var(--muted); line-height: 1.8; max-width: 420px; }
.prize-list { margin: 0; padding: 0; list-style: none; counter-reset: prizes; }
.prize-list li { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 16px; min-height: 76px; border-bottom: 1px solid var(--line); }
.prize-list li span { color: var(--gold); font-size: 13px; font-weight: 900; }
.prize-list li strong { font-size: clamp(18px, 2.2vw, 28px); }
.prize-list li small { color: var(--muted); }
.prize-list .featured { min-height: 130px; border-top: 1px solid var(--gold); border-bottom-color: var(--gold); }
.prize-list .featured strong { color: var(--gold-light); font-size: clamp(24px, 3vw, 38px); }
.prize-list .featured small { padding: 7px 12px; border: 1px solid var(--gold); background: rgba(211,155,59,.14); color: var(--gold-light); font-size: 14px; font-weight: 900; white-space: nowrap; }

.bonus { border-top: 1px solid var(--line); }
.bonus-title { display: flex; align-items: baseline; gap: clamp(20px, 5vw, 70px); flex-wrap: wrap; }
.bonus-title .eyebrow { margin-left: auto; }
.ranking-label { margin: 42px 0 18px; color: var(--paper); font-family: Georgia, "Noto Serif TC", serif; font-size: clamp(26px, 4vw, 48px); font-weight: 900; }
.bonus-ranks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.bonus-ranks div { padding: 34px clamp(16px, 3vw, 38px); border-right: 1px solid var(--line); }
.bonus-ranks div:last-child { border: 0; }
.bonus-ranks span, .bonus-ranks small { color: var(--gold); font-weight: 900; }
.bonus-ranks .rank-place { display: flex; align-items: center; gap: 10px; }
.bonus-ranks .rank-place b { padding: 5px 9px; border: 1px solid currentColor; font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif; font-size: 12px; }
.bonus-ranks strong { display: block; margin: 28px 0 4px; font-family: Arial, Helvetica, sans-serif; font-size: clamp(30px, 4vw, 56px); font-weight: 900; font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; line-height: 1; white-space: nowrap; }
.rank-first { background: linear-gradient(180deg, rgba(211,155,59,.15), transparent); }
.rank-first strong { color: var(--gold-light); }
.rank-second .rank-place, .rank-second small { color: #d6d0c5; }
.rank-third .rank-place, .rank-third small { color: #c88963; }
.bonus-ranks p { color: var(--muted); }
.rank-note { margin-top: 24px; color: var(--muted); line-height: 1.8; }

.rules { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(50px, 8vw, 120px); border-top: 1px solid var(--line); }
.rules-heading h2 { margin-top: 20px; }
.rule-columns { display: grid; gap: 46px; }
.rule-columns h3 { color: var(--gold-light); font-size: 24px; }
.rule-columns p, .rule-columns li { color: #cfc5b2; line-height: 1.95; }
.rule-columns ul { padding-left: 1.3em; }

.final-cta { text-align: center; padding: clamp(90px, 12vw, 170px) 20px; background: var(--paper); color: var(--ink); }
.final-cta .eyebrow { color: var(--red); }
.final-cta h2 { width: min(950px, 100%); margin: 0 auto; }
.cta-actions { display: flex; justify-content: center; gap: 14px; margin: 46px auto 0; width: min(720px, 100%); }
.cta { min-height: 64px; flex: 1; display: inline-flex; align-items: center; justify-content: center; padding: 16px 24px; border: 2px solid var(--ink); font-size: 18px; font-weight: 900; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.cta:hover { transform: translateY(-3px); box-shadow: 0 10px 0 rgba(10,8,5,.15); }
.cta-primary { background: var(--red); color: #fff; border-color: var(--red); }
.responsible { margin-top: 28px; color: #736b5e; font-size: 13px; }

.age-notice { padding: 30px clamp(20px, 5vw, 72px); background: #120200; color: #f3d99a; border-top: 1px solid rgba(211,155,59,.28); }
.age-inner { width: min(1320px, 100%); margin: 0 auto; }
.age-logo { display: flex; justify-content: center; margin-top: 20px; }
.age-logo img { width: 170px; height: auto; }
.age-content { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 24px; }
.age-badge { width: 72px; flex: 0 0 72px; overflow: hidden; border: 2px solid #e71919; border-radius: 5px; background: #fff; color: #111; text-align: center; }
.age-badge strong { display: block; padding: 6px 4px; background: #d80e12; color: #fff; font-size: 27px; line-height: 1; }
.age-badge span { display: block; padding: 3px; font-size: 11px; font-weight: 900; }
.age-copy { text-align: left; }
.age-copy p { margin: 0 0 10px; font-size: 14px; font-weight: 700; line-height: 1.7; overflow-wrap: normal; }
.age-copy p:last-child { margin-bottom: 0; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .hero { min-height: 820px; align-items: end; }
  .hero-image { height: 58%; top: 75px; object-fit: contain; object-position: top center; }
  .hero-shade { background: linear-gradient(0deg, #0a0805 20%, rgba(10,8,5,.2) 66%, rgba(10,8,5,.65) 100%); }
  .hero-copy { margin: 0 20px 64px; width: calc(100% - 40px); }
  .intro { grid-template-columns: 46px 1fr; }
  .intro-facts { grid-column: 2; }
  .prizes, .rules { grid-template-columns: 1fr; }
  .prize-heading { position: static; }
  .bonus-ranks { grid-template-columns: 1fr; }
  .bonus-ranks div { border-right: 0; border-bottom: 1px solid var(--line); }
  .bonus-title .eyebrow { margin-left: 0; width: 100%; order: 3; }
}

@media (max-width: 520px) {
  .site-header { padding: 14px 16px; }
  .event-period { font-size: 11px; }
  .hero { min-height: 0; display: block; padding-top: 54px; }
  .hero-image { position: relative; top: auto; height: auto; object-fit: contain; }
  .hero-shade { display: none; }
  .hero-copy { width: 100%; margin: 0; padding: 42px 20px 32px; }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .intro, .prizes, .bonus, .rules { width: min(100% - 32px, 1180px); padding: 64px 0; }
  .intro { padding-top: 34px; }
  .intro { display: block; }
  .intro .section-number { display: block; margin-bottom: 24px; }
  .intro-facts { margin-top: 48px; }
  .intro-facts dl div { grid-template-columns: 96px 1fr; gap: 14px; }
  .prize-list li { grid-template-columns: 54px 1fr; padding: 14px 0; }
  .prize-list li small { grid-column: 2; }
  .ranking-label { margin-top: 28px; }
  .bonus-ranks strong { font-size: clamp(42px, 13vw, 56px); }
  .cta-actions { flex-direction: column; }
  .cta { width: 100%; }
  .age-notice { padding: 24px 18px; }
  .age-logo { margin-top: 16px; }
  .age-logo img { width: 136px; }
  .age-content { grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 12px; }
  .age-badge { width: 56px; flex-basis: 56px; }
  .age-badge strong { font-size: 21px; }
  .age-badge span { font-size: 9px; }
  .age-copy p { font-size: 12px; line-height: 1.75; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cta { transition: none; }
}
