:root {
  --bg: #faf5ed;
  --paper: rgba(255, 255, 255, 0.84);
  --paper-strong: rgba(255, 255, 255, 0.94);
  --navy: #183861;
  --navy-deep: #0e2343;
  --ink: #29446d;
  --ink-soft: #657993;
  --gold: #ffc96f;
  --gold-soft: #fff0c9;
  --mint: #dff3ea;
  --rose: #fff0ec;
  --line: rgba(24, 56, 97, 0.08);
  --shadow: 0 22px 60px rgba(17, 36, 64, 0.1);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Hiragino Sans GB", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 201, 111, 0.28), transparent 20%),
    radial-gradient(circle at 88% 12%, rgba(173, 227, 204, 0.22), transparent 18%),
    linear-gradient(180deg, #fff8f0 0%, #f8f1e8 52%, #f4ece3 100%);
}

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

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

.container,
.page {
  width: min(1100px, calc(100% - 28px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(24, 56, 97, 0.06);
  background: rgba(250, 245, 237, 0.8);
  backdrop-filter: blur(14px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy-deep);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.nav-pills a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
}

.page {
  padding: 26px 0 40px;
}

.hero,
.section-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 28px;
  align-items: center;
  padding: 40px;
  background:
    linear-gradient(135deg, rgba(255, 249, 240, 0.98) 0%, rgba(255, 255, 255, 0.84) 58%, rgba(255, 236, 199, 0.78) 100%);
}

.eyebrow,
.section-kicker,
.mini-label {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-eyebrow,
.loud-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 201, 111, 0.24), rgba(255, 255, 255, 0.88));
  box-shadow: inset 0 0 0 1px rgba(255, 201, 111, 0.2);
}

.main-eyebrow {
  font-size: 0.98rem;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.loud-kicker {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

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

h1 {
  color: var(--navy-deep);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
}

h1 span {
  color: #bb7000;
}

h2 {
  color: var(--navy-deep);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.18;
}

h3 {
  color: var(--navy-deep);
  font-size: 1.22rem;
  line-height: 1.35;
}

.hero-text,
.section-note,
.reward-card p,
.extra-card p,
.copy-content,
.content-list,
.submit-box,
.warning-box {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-copy .hero-text {
  display: none;
}

.hero-actions {
  margin-top: 24px;
}

.primary-btn,
.copy-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  background: linear-gradient(135deg, var(--navy), #2c669f);
  color: #fff;
  box-shadow: 0 14px 28px rgba(24, 56, 97, 0.16);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.stat-pill {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art-card {
  position: relative;
  width: min(100%, 430px);
  min-height: 430px;
}

.hero-main {
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: min(82%, 340px);
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.22));
}

.hero-main-magic {
  width: min(84%, 360px);
  bottom: 18px;
}

.hero-badge {
  position: absolute;
  max-width: 164px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 249, 241, 0.95);
  color: var(--navy-deep);
  font-weight: 800;
  line-height: 1.55;
  box-shadow: 0 14px 26px rgba(10, 24, 47, 0.14);
}

.badge-top {
  top: 30px;
  right: 18px;
}

.badge-bottom {
  left: 18px;
  bottom: 26px;
}

.section-card {
  margin-top: 24px;
  padding: 30px;
}

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

.section-otter {
  position: absolute;
  right: 24px;
  top: 18px;
  width: 112px;
  opacity: 0.96;
  pointer-events: none;
}

.otter-join {
  width: 118px;
}

.otter-rewards {
  width: 126px;
  top: 14px;
}

.otter-submit {
  width: 108px;
}

.otter-materials {
  width: 118px;
}

.otter-final {
  width: 104px;
}

.step-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step-card,
.reward-card,
.extra-card,
.copy-card,
.material-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-strong);
}

.step-card {
  padding: 22px 18px;
}

.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 201, 111, 0.35), rgba(223, 243, 234, 0.75));
  color: var(--navy);
  font-weight: 800;
}

.section-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  border-radius: 16px;
  background: rgba(255, 201, 111, 0.12);
}

.reward-layout,
.extra-rewards,
.copy-grid,
.materials-grid,
.submit-section {
  display: grid;
  gap: 18px;
}

.reward-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.reward-card,
.extra-card,
.copy-card {
  padding: 24px;
}

.primary-reward {
  background:
    linear-gradient(135deg, rgba(255, 201, 111, 0.2), rgba(255, 255, 255, 0.95));
}

.reward-card h3,
.extra-card h3 {
  font-size: 1.56rem;
  line-height: 1.28;
}

.reward-title {
  color: var(--navy-deep);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  line-height: 1.16;
}

.reward-card h3 strong,
.extra-card h3 strong {
  color: var(--navy-deep);
}

.reward-highlight {
  margin-top: 14px;
  color: #b66a00;
  font-size: 1.62rem;
  font-weight: 800;
  line-height: 1.45;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 201, 111, 0.22), rgba(255, 240, 201, 0.6));
  box-shadow: inset 0 0 0 1px rgba(255, 201, 111, 0.18);
}

.content-list {
  margin: 14px 0 0;
  padding-left: 20px;
}

.content-list li + li {
  margin-top: 8px;
}

.extra-rewards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.extra-card {
  background: rgba(255, 255, 255, 0.9);
}

.reward-strong {
  color: var(--navy-deep);
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1.55;
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(223, 243, 234, 0.72), rgba(255, 255, 255, 0.94));
  box-shadow: inset 0 0 0 1px rgba(158, 219, 198, 0.26);
}

.merged-card {
  display: grid;
  gap: 18px;
}

.bonus-line + .bonus-line {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.incentive-line {
  margin-top: 10px;
  color: #b66a00;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.65;
  padding: 12px 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 201, 111, 0.2), rgba(255, 255, 255, 0.96));
  box-shadow: inset 0 0 0 1px rgba(255, 201, 111, 0.18);
}

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

.submit-box {
  padding: 18px;
  border-radius: 20px;
  background: rgba(24, 56, 97, 0.06);
  color: var(--navy-deep);
  font-weight: 700;
}

.submit-arrow {
  margin: 8px 0;
  color: var(--navy);
  font-size: 1.5rem;
  text-align: center;
}

.warn-card {
  background:
    linear-gradient(135deg, rgba(255, 240, 236, 0.92), rgba(255, 255, 255, 0.9));
}

.warning-box {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 149, 130, 0.12);
}

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

.copy-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.copy-btn {
  min-width: 102px;
  min-height: 42px;
  padding: 0 16px;
  background: linear-gradient(135deg, var(--gold), #ffdf98);
  color: var(--navy-deep);
}

.copy-btn.is-copied {
  background: linear-gradient(135deg, #bcead6, #dff5eb);
}

.copy-content {
  margin-top: 16px;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
}

.materials-head {
  margin-top: 26px;
  margin-bottom: 18px;
}

.materials-head h2 {
  font-size: clamp(1.78rem, 2.8vw, 2.2rem);
}

.final-cta {
  text-align: center;
}

.final-cta .section-head {
  margin-bottom: 14px;
}

.final-btn {
  min-width: min(100%, 360px);
}

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

.material-card {
  padding: 12px;
}

.material-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 16px;
}

.material-card figcaption {
  margin-top: 12px;
  color: var(--navy-deep);
  text-align: center;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero,
  .reward-layout,
  .submit-section {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
  }

  .step-flow,
  .extra-rewards,
  .copy-grid,
  .materials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container,
  .page {
    width: min(100% - 20px, 1100px);
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-pills {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }

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

  .nav-pills a {
    white-space: nowrap;
  }

  .page {
    padding: 16px 0 30px;
  }

  .hero,
  .section-card {
    padding: 20px;
    border-radius: 24px;
  }

  h1 {
    font-size: 2.28rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 1.76rem;
    line-height: 1.24;
  }

  .reward-highlight {
    font-size: 1.38rem;
    line-height: 1.48;
  }

  .reward-strong {
    font-size: 1.24rem;
    line-height: 1.5;
  }

  h3 {
    font-size: 1.14rem;
  }

  .hero-text,
  .section-note,
  .reward-card p,
  .extra-card p,
  .copy-content,
  .content-list,
  .submit-box,
  .warning-box {
    font-size: 0.98rem;
    line-height: 1.76;
  }

  .hero-art-card {
    min-height: 410px;
  }

  .section-otter {
    position: static;
    width: 92px;
    margin: 0 0 10px auto;
  }

  .hero-main {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(86%, 280px);
    margin: 34px auto 10px;
    transform: none;
  }

  .hero-badge {
    position: static;
    max-width: none;
    margin: 14px 14px 0;
  }

  .copy-head {
    flex-direction: column;
    align-items: stretch;
  }

  .copy-btn,
  .primary-btn {
    width: 100%;
  }
}
