:root {
  --ink: #13202b;
  --muted: #5f6f7c;
  --paper: #f6f3ec;
  --surface: #ffffff;
  --line: rgba(19, 32, 43, 0.12);
  --blue: #0d65b7;
  --teal: #0e9384;
  --gold: #d7972d;
  --red: #c2413a;
  --navy: #102239;
  --shadow: 0 18px 60px rgba(16, 34, 57, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: white;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header[data-scrolled="true"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(16, 34, 57, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  font-weight: 900;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: white;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  padding: 128px clamp(20px, 6vw, 84px) 64px;
  overflow: hidden;
  color: white;
  align-items: end;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 18, 31, 0.92) 0%, rgba(7, 18, 31, 0.7) 36%, rgba(7, 18, 31, 0.24) 72%),
    linear-gradient(0deg, rgba(7, 18, 31, 0.92) 0%, rgba(7, 18, 31, 0.12) 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(52px, 9vw, 116px);
  line-height: 0.96;
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.15;
  font-weight: 900;
}

h3 {
  font-size: 22px;
  line-height: 1.35;
}

.hero-copy {
  width: min(640px, 100%);
  margin-bottom: 28px;
  font-size: clamp(18px, 2vw, 24px);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  color: #07121f;
  background: #ffd166;
}

.button.ghost {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 5vw, 76px);
  bottom: 42px;
  width: min(380px, calc(100% - 40px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(9, 22, 34, 0.72);
  backdrop-filter: blur(14px);
}

.hero-panel dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.hero-panel div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-panel dt {
  color: #ffd166;
  font-weight: 900;
}

.hero-panel dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

section:not(.hero) {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 6vw, 84px);
}

.section-head {
  width: min(850px, 100%);
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 20px;
}

.intro-band {
  background: var(--surface);
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

.flow span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  padding: 12px;
  color: white;
  background: var(--navy);
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
}

.flow span:nth-child(2) {
  background: var(--blue);
}

.flow span:nth-child(3) {
  background: var(--teal);
}

.flow span:nth-child(4) {
  background: var(--gold);
  color: #231704;
}

.flow span:nth-child(5) {
  background: var(--red);
}

.feature-grid,
.schedule-grid,
.mission-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-grid article,
.schedule-grid article,
.mission-cards article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(16, 34, 57, 0.06);
}

.feature-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.feature-grid p,
.schedule-grid p,
.mission-cards p {
  margin-bottom: 0;
  color: var(--muted);
}

.world {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: #eaf3f4;
}

.world-copy p:not(.eyebrow) {
  color: #405766;
  font-size: 19px;
}

.character-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.character-strip img {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.missions {
  background: #fbfaf7;
}

.mission-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  gap: 28px;
  align-items: start;
}

.mission-posters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mission-posters img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mission-cards {
  grid-template-columns: repeat(2, 1fr);
}

.mission-cards span,
.schedule-grid span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-weight: 900;
}

.highlight {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  color: white;
  background: #102239;
}

.highlight img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.highlight p,
.highlight li {
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.highlight ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.dream-coin {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
  gap: 26px;
  align-items: stretch;
  background: #fff8e8;
}

.coin-copy,
.prize-panel,
.coin-actions article {
  border: 1px solid rgba(215, 151, 45, 0.28);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 38px rgba(16, 34, 57, 0.08);
}

.coin-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 38px);
}

.coin-copy p:not(.eyebrow) {
  color: #5f5139;
  font-size: 19px;
}

.coin-window {
  display: grid;
  gap: 4px;
  margin-top: 22px;
  padding: 18px;
  color: white;
  background: var(--red);
  border-radius: 8px;
}

.coin-window span {
  font-weight: 900;
}

.coin-window strong {
  font-size: 22px;
}

.coin-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.coin-actions article {
  padding: 22px;
}

.coin-actions span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: #211505;
  background: #ffd166;
  border-radius: 50%;
  font-weight: 900;
}

.coin-actions h3,
.prize-panel h3 {
  margin-bottom: 10px;
}

.coin-actions p,
.prize-panel p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.prize-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(280px, 0.55fr);
  gap: 24px;
  align-items: center;
  padding: 20px;
}

.prize-panel img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  border-radius: 8px;
  background: #f8f8f8;
}

.schedule {
  background: var(--surface);
}

.schedule-grid {
  grid-template-columns: repeat(3, 1fr);
}

.friday-plan {
  background: #eef7ff;
}

.friday-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.friday-card {
  padding: 26px;
  border: 1px solid rgba(15, 108, 184, 0.2);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 38px rgba(16, 34, 57, 0.08);
}

.friday-card.wide {
  grid-column: 1 / -1;
}

.friday-card.accent {
  background: #fff8e8;
  border-color: rgba(215, 151, 45, 0.32);
}

.friday-card .tag {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-weight: 900;
}

.friday-card h3 {
  margin-bottom: 12px;
}

.friday-card p,
.friday-card li,
.friday-card span {
  color: var(--muted);
}

.friday-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.sport-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.sport-list span {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  background: #edf7ff;
  font-weight: 900;
}

.outdoor-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.outdoor-options div {
  padding: 18px;
  border-radius: 8px;
  color: white;
  background: var(--navy);
}

.outdoor-options strong {
  display: block;
  margin-bottom: 6px;
  color: #ffd166;
  font-size: 28px;
}

.outdoor-options span {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 900;
}

.friday-card .note {
  margin-bottom: 0;
  color: #7a5a22;
  font-weight: 700;
}

.faq {
  background: #f7fbfb;
}

.faq-list {
  display: grid;
  gap: 12px;
  width: min(900px, 100%);
}

.faq-item {
  display: block;
  width: 100%;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.faq-item span {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 20px;
  font-weight: 900;
}

.faq-item span::after {
  content: "+";
  color: var(--blue);
}

.faq-item[aria-expanded="true"] span::after {
  content: "−";
}

.faq-item p {
  display: none;
  margin: 12px 0 0;
  color: var(--muted);
}

.faq-item[aria-expanded="true"] p {
  display: block;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 6vw, 84px);
  color: white;
  background: #07121f;
}

.footer a {
  color: #ffd166;
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    display: grid;
    gap: 10px;
    align-items: start;
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    display: flex;
    width: calc(100vw - 36px);
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 13px;
    white-space: nowrap;
  }

  .site-header[data-scrolled="true"] .nav a {
    border-color: var(--line);
    background: rgba(16, 34, 57, 0.05);
  }

  .hero {
    min-height: 100svh;
    padding-top: 138px;
    padding-bottom: 34px;
    align-items: start;
  }

  .hero-content {
    width: 100%;
  }

  .hero-panel {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 24px;
  }

  .flow,
  .feature-grid,
  .schedule-grid,
  .world,
  .mission-layout,
  .highlight,
  .dream-coin,
  .prize-panel,
  .friday-layout {
    grid-template-columns: 1fr;
  }

  .friday-card.wide {
    grid-column: auto;
  }

  .flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow span:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand {
    gap: 10px;
    font-size: 15px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .nav {
    width: calc(100vw - 28px);
  }

  .hero {
    padding: 124px 16px 28px;
  }

  .hero-media img {
    object-position: center top;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 18, 31, 0.86) 0%, rgba(7, 18, 31, 0.58) 42%, rgba(7, 18, 31, 0.94) 100%),
      linear-gradient(90deg, rgba(7, 18, 31, 0.86), rgba(7, 18, 31, 0.36));
  }

  h1 {
    margin-bottom: 16px;
    font-size: clamp(42px, 15vw, 58px);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(28px, 10vw, 38px);
  }

  h3 {
    font-size: 20px;
  }

  .hero-copy {
    margin-bottom: 20px;
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
    min-height: 46px;
  }

  .hero-panel {
    padding: 16px;
  }

  .hero-panel div {
    grid-template-columns: 58px 1fr;
    gap: 10px;
  }

  section:not(.hero) {
    padding: 56px 16px;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head p:not(.eyebrow),
  .world-copy p:not(.eyebrow),
  .highlight p,
  .highlight li,
  .coin-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .feature-grid article,
  .schedule-grid article,
  .mission-cards article,
  .coin-actions article,
  .friday-card,
  .faq-item {
    padding: 18px;
  }

  .character-strip,
  .mission-posters,
  .mission-cards,
  .coin-actions,
  .sport-list,
  .outdoor-options {
    grid-template-columns: 1fr;
  }

  .character-strip img {
    max-height: 520px;
  }

  .mission-posters img,
  .highlight img {
    max-height: none;
    object-fit: contain;
  }

  .coin-window strong {
    font-size: 19px;
  }

  .prize-panel {
    padding: 16px;
  }

  .faq-item span {
    align-items: flex-start;
    font-size: 18px;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .flow span:last-child {
    grid-column: auto;
  }

  .footer {
    display: grid;
    padding: 22px 16px;
    font-size: 14px;
  }
}
