:root {
  --paper: #fff8ec;
  --paper-2: #fff1d8;
  --ink: #1d1b2f;
  --navy: #14213d;
  --blue: #284b8f;
  --coral: #f45b47;
  --coral-dark: #b92822;
  --gold: #f7b733;
  --gold-soft: #ffe1a3;
  --line: #1fc45b;
  --muted: #756456;
  --border: rgba(20, 33, 61, 0.13);
  --shadow: 0 24px 70px rgba(55, 38, 21, 0.16);
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(244, 91, 71, 0.08) 0 1px, transparent 1px 34px),
    linear-gradient(60deg, rgba(20, 33, 61, 0.05) 0 1px, transparent 1px 34px),
    radial-gradient(circle at 12% 0, rgba(247, 183, 51, 0.38), transparent 20rem),
    radial-gradient(circle at 90% 12%, rgba(40, 75, 143, 0.16), transparent 24rem),
    linear-gradient(180deg, #fff6e6 0%, #fffdf8 44%, #f7efe3 100%);
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px clamp(14px, 4vw, 42px);
  background: rgba(255, 248, 236, 0.84);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.brand img {
  width: clamp(118px, 35vw, 188px);
  max-height: 58px;
  object-fit: contain;
}

main {
  padding-bottom: 34px;
}

section {
  width: min(1120px, calc(100% - 30px));
  margin-inline: auto;
}

.hero-section {
  display: grid;
  gap: 0;
  padding: 24px 0 34px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  order: -1;
}

.leader-panel {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.leader-panel::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(20, 33, 61, 0.55));
}

.leader-panel img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 36%;
}

.leader-label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  max-width: min(72%, 248px);
  padding: 12px 16px;
  color: #fff;
  text-align: right;
  background: rgba(20, 33, 61, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 18px;
}

.leader-label span {
  color: var(--gold-soft);
  font-size: clamp(0.72rem, 2.8vw, 0.86rem);
  font-weight: 900;
  line-height: 1.25;
}

.leader-label strong {
  color: #fff;
  font-size: clamp(1.6rem, 7vw, 2.35rem);
  font-weight: 1000;
}

.fortune-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 8px 14px;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 950;
  background: var(--gold-soft);
  border-radius: 999px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  padding: 24px;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin: 0 0 12px;
  padding: 0 11px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 950;
  background: var(--navy);
  border-radius: 999px;
}

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

h1 {
  max-width: 8em;
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(2.35rem, 13vw, 6.4rem);
  line-height: 0.98;
  font-weight: 1000;
}

h2 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(1.72rem, 7vw, 3.8rem);
  line-height: 1.08;
  font-weight: 1000;
}

h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.3;
}

p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-lead {
  margin-bottom: 20px;
  color: #4d4035;
  font-size: clamp(1rem, 4vw, 1.2rem);
  font-weight: 850;
}

.hero-actions,
.final-actions {
  display: grid;
  gap: 10px;
}

.final-actions {
  max-width: 680px;
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-size: 1rem;
  font-weight: 950;
  border-radius: 14px;
  transition: transform 180ms ease, filter 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  box-shadow: 0 14px 26px rgba(244, 91, 71, 0.22);
}

.btn-dark {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.notice-board,
.bonus-section,
.route-section,
.final-cta {
  margin-top: 34px;
}

.notice-board {
  display: grid;
  gap: 18px;
}

.section-head {
  padding: 0 2px;
}

.section-head p {
  max-width: 760px;
  font-weight: 800;
}

.benefit-grid {
  display: grid;
  gap: 12px;
}

.benefit-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  min-height: 128px;
  align-items: start;
  padding: 18px;
  background: #fffdf8;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 14px 32px rgba(55, 38, 21, 0.08);
}

.benefit-card::after {
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: rgba(20, 33, 61, 0.08);
  content: "WANG";
  font-size: 1.55rem;
  font-weight: 1000;
}

.benefit-card,
.route-step,
.bonus-section,
.final-cta {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.benefit-card.is-visible,
.route-step.is-visible,
.bonus-section.is-visible,
.final-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.benefit-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 1000;
  background: var(--gold-soft);
  border: 1px solid rgba(247, 183, 51, 0.44);
  border-radius: 14px;
}

.benefit-card p,
.route-step p {
  margin-bottom: 0;
  font-weight: 800;
}

.bonus-section {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: var(--navy);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.bonus-section .eyebrow {
  color: var(--navy);
  background: var(--gold-soft);
}

.bonus-copy {
  align-self: center;
}

.bonus-copy h2 {
  color: #fff;
}

.bonus-copy p {
  color: #f6e6cc;
  font-weight: 800;
}

.bonus-image {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 22px;
}

.bonus-image img {
  object-fit: contain;
}

.route-section {
  padding: 20px 0 0;
}

.route-timeline {
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.route-step {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 14px;
  overflow: hidden;
  background: #fffdf8;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(55, 38, 21, 0.08);
}

.route-number {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  font-weight: 1000;
  background: var(--coral);
  border: 3px solid #fff;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(244, 91, 71, 0.24);
}

.route-step img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
}

.route-step h3 {
  color: var(--navy);
}

.final-cta {
  padding: 28px 20px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(255, 225, 163, 0.82));
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.final-cta p {
  max-width: 760px;
  margin-inline: auto;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  width: min(1120px, calc(100% - 30px));
  margin: 38px auto 34px;
  padding: 18px;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.76);
  border: 1px solid var(--border);
  border-radius: 22px;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}

.site-footer p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.age-badge {
  overflow: hidden;
  width: 58px;
  height: 72px;
  text-align: center;
  background: #fff;
  border: 3px solid #df0505;
  border-radius: 12px;
}

.age-badge strong {
  display: grid;
  height: 43px;
  margin: 0;
  place-items: center;
  color: #df0505;
  font-size: 1.5rem;
}

.age-badge span {
  display: grid;
  height: 26px;
  place-items: center;
  color: #111;
  font-size: 0.78rem;
  font-weight: 950;
  border-top: 1px solid #eee;
}

@media (min-width: 720px) {
  .hero-section {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    min-height: calc(100svh - 72px);
    padding-top: 46px;
  }

  .hero-visual {
    order: 0;
  }

  .hero-copy {
    margin-top: 0;
    margin-right: -58px;
    padding: 38px;
  }

  .leader-panel {
    border-radius: 36px;
  }

  .leader-panel img {
    aspect-ratio: 1 / 1.08;
    border-radius: 0;
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final-actions {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

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

  .benefit-card.wide {
    grid-column: span 2;
  }

  .bonus-section {
    grid-template-columns: 0.86fr 1.14fr;
    align-items: center;
    padding: 26px;
  }

  .route-step {
    grid-template-columns: 240px 1fr;
    align-items: center;
  }

  .route-step img {
    aspect-ratio: 3 / 4;
  }
}

@media (min-width: 1040px) {
  .benefit-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

  .route-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .route-step {
    grid-template-columns: 1fr;
    align-content: start;
  }
}

@media (max-width: 430px) {
  section,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    padding-inline: 12px;
  }

  .brand img {
    width: 112px;
  }

  h1 {
    max-width: 7em;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}
