:root {
  color-scheme: dark;
  --bg: #03100e;
  --surface: #0b1c18;
  --surface-2: #12241f;
  --border: rgba(148, 181, 169, .20);
  --text: #f2faf6;
  --muted: #9caea7;
  --green: #5bc59a;
  --mint: #8ee9bd;
  --lime: #c9fa4b;
  --button: #59c49a;
  --gold: #d7c684;
  --gold-line: rgba(198, 163, 63, .34);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--bg); }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 0 0, rgba(39, 123, 94, .22), transparent 34%),
    radial-gradient(circle at 100% 18%, rgba(94, 107, 36, .14), transparent 30%),
    linear-gradient(180deg, #071612 0, #03100e 55%, #020b09 100%);
  color: var(--text);
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, select, a { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.page-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
main.page-shell { padding-top: 14px; }
[hidden] { display: none !important; }

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  height: 88px;
  padding: 22px 24px;
  gap: 20px;
  width: min(1120px, calc(100% - 48px));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .055em;
}

.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand #brand-name {
  font-family: "Arial Black", Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 900;
  font-synthesis: weight;
  -webkit-text-stroke: .35px currentColor;
}
.header-tools { display: flex; align-items: center; gap: 12px; }
.language-control { position: relative; }

.language-trigger {
  position: relative;
  display: flex;
  align-items: center;
  width: 156px;
  height: 40px;
  padding: 0 34px 0 38px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(8, 20, 17, .92);
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.globe { position: absolute; left: 13px; color: #7de1b7; font-size: 18px; line-height: 1; }

.chevron {
  position: absolute;
  right: 13px;
  width: 9px;
  height: 9px;
  border-right: 3px solid #7de1b7;
  border-bottom: 3px solid #7de1b7;
  transform: translateY(-3px) rotate(45deg);
  transition: transform .18s ease;
}

.language-trigger[aria-expanded="true"] .chevron { transform: translateY(3px) rotate(225deg); }

.language-menu {
  position: absolute;
  top: 50px;
  right: 0;
  z-index: 50;
  width: 276px;
  max-height: min(680px, calc(100vh - 112px));
  padding: 10px;
  border: 1px solid rgba(91, 197, 154, .55);
  border-radius: 18px;
  overflow-y: auto;
  background: rgba(7, 23, 19, .98);
  box-shadow: 0 26px 80px rgba(0, 0, 0, .52);
  scrollbar-width: thin;
  scrollbar-color: rgba(91, 197, 154, .45) transparent;
}

.language-menu button {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 54px;
  margin-bottom: 8px;
  padding: 0 14px;
  border: 1px solid rgba(154, 184, 172, .20);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.language-menu button:last-child { margin-bottom: 0; }
.language-menu button:hover, .language-menu button.active { border-color: rgba(91, 197, 154, .66); background: rgba(91, 197, 154, .08); }
.language-menu strong { font-size: 15px; }
.language-menu small { color: #adbbb6; font-size: 12px; font-weight: 850; letter-spacing: .08em; }

.language-radio { width: 18px; height: 18px; border: 2px solid #7f938c; border-radius: 50%; }
.language-menu button.active .language-radio { border-color: var(--green); box-shadow: inset 0 0 0 3px #0b1c18, inset 0 0 0 10px var(--green); }

.header-note { flex: 0 0 156px; width: 156px; margin: 0; color: #a4afa9; text-align: right; font-size: 11px; line-height: 1.32; overflow-wrap: normal; word-break: normal; }
.header-note small { font-size: inherit; }
.header-note br { display: none; }
.header-note span, .header-note small { display: block; font-weight: 750; }
html[lang^="en"] .header-note { flex-basis: 172px; width: 172px; }

.campaign-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 79px;
  width: min(1080px, 100%);
  margin: 0 auto 14px;
  padding: 16px 18px;
  border: 1px solid rgba(92, 199, 134, .25);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(100deg, rgba(31, 94, 72, .48), rgba(21, 43, 29, .54));
}

.campaign-banner p {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 10px 13px;
  border-radius: 12px;
  background: linear-gradient(105deg, #baf847, #5ccca8);
  color: #09261e;
  font-size: 18px;
  font-weight: 950;
}

.campaign-banner p strong { font-weight: 950; }

.campaign-banner > span {
  position: relative;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(94, 213, 155, .35);
  border-radius: 999px;
  background: rgba(32, 81, 60, .52);
  color: #8fe8bd;
  font-size: 12px;
  font-weight: 850;
}

.campaign-banner > b { position: absolute; right: 24px; color: rgba(255, 255, 255, .05); font-size: 58px; letter-spacing: -.06em; }

.quiz-card {
  width: min(1080px, 100%);
  min-height: 521px;
  margin-inline: auto;
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(9, 27, 23, .92);
}

.intro h1 { margin: 0 0 10px; font-size: 46px; line-height: 1.08; letter-spacing: -.045em; }
.intro p { margin: 0 0 30px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.progress-copy { display: flex; justify-content: space-between; margin: 0 0 9px; color: #aab9b3; font-size: 12px; }

.progress { height: 7px; margin: 0 0 28px; border-radius: 999px; overflow: hidden; background: rgba(155, 181, 171, .14); }
.progress span { display: block; width: 12.5%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #59c69c, var(--lime)); transition: width .28s ease; }

.question-title { margin: 0 0 22px; font-size: 30px; line-height: 1.25; letter-spacing: -.025em; }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 11px; }

.answer {
  display: flex;
  align-items: center;
  height: 57px;
  min-height: 57px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 14px;
  background: rgba(255, 255, 255, .024);
  color: #eff6f3;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.answer { gap: 13px; }
.answer::before { content: ""; flex: 0 0 auto; width: 18px; height: 18px; margin: 0; border: 2px solid #6e857d; border-radius: 50%; }
.answer:hover { border-color: rgba(101, 207, 165, .62); transform: translateY(-1px); }
.answer.selected { border-color: rgba(101, 207, 165, .68); background: rgba(55, 117, 91, .12); }
.answer.selected::before { border-color: var(--green); box-shadow: inset 0 0 0 4px var(--surface), inset 0 0 0 12px var(--green); }
.quiz-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 850;
  font-size: 16px;
  cursor: pointer;
  transition: background .18s ease, box-shadow .18s ease, filter .18s ease, opacity .18s ease, transform .18s ease;
}

.button.secondary { border-color: rgba(154, 184, 172, .16); background: rgba(255, 255, 255, .018); color: #dce7e2; }
.button.primary { background: linear-gradient(135deg, #79ddb4, #58c69b); color: #042219; box-shadow: 0 12px 30px rgba(91, 197, 154, .24); }
.button.primary:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.button.primary:active:not(:disabled) { filter: brightness(.98); transform: translateY(0); }
.button:disabled { opacity: .42; cursor: not-allowed; box-shadow: none; filter: saturate(.62); }

.completion-view { padding: 0; animation: completionReveal .42s ease-out both; }
.gift-visual { position: relative; min-height: 190px; height: 190px; margin: 0 auto 22px; overflow: hidden; }
.gift-glow { position: absolute; left: 50%; top: 58%; width: 250px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 250, 75, .28), rgba(91, 197, 154, .16) 48%, transparent 72%); transform: translate(-50%, -50%); animation: successGlow 2.4s ease-in-out infinite; }
.gift-box { position: absolute; z-index: 2; left: 50%; top: 82px; display: grid; place-items: center; width: 150px; height: 90px; border-radius: 12px 12px 16px 16px; background: linear-gradient(90deg, transparent 42%, var(--lime) 42% 58%, transparent 58%), linear-gradient(180deg, transparent 42%, var(--lime) 42% 58%, transparent 58%), linear-gradient(135deg, #289875, var(--green)); box-shadow: 0 18px 34px rgba(91, 197, 154, .22); color: #05251c; font-size: 18px; font-weight: 950; transform: translateX(-50%); animation: successGiftFloat 2.8s ease-in-out infinite; }
.gift-box::before { content: ""; position: absolute; left: -10px; top: -26px; width: 170px; height: 34px; border-radius: 10px; background: linear-gradient(90deg, transparent 42%, #e7ff79 42% 58%, transparent 58%), linear-gradient(135deg, #70d7ad, #3eab84); box-shadow: 0 10px 20px rgba(91, 197, 154, .16); }
.gift-box span { position: relative; z-index: 2; letter-spacing: -.03em; }
.gift-bow { position: absolute; z-index: 3; left: 50%; top: 22px; width: 112px; height: 58px; transform: translateX(-50%); animation: successGiftFloat 2.8s ease-in-out infinite; }
.gift-bow::before, .gift-bow::after { content: ""; position: absolute; top: 12px; width: 54px; height: 38px; border: 8px solid #e7ff79; background: linear-gradient(135deg, rgba(231, 255, 121, .82), rgba(91, 197, 154, .78)); box-shadow: 0 10px 18px rgba(91, 197, 154, .14); }
.gift-bow::before { left: 2px; border-radius: 70% 34% 64% 36%; transform: rotate(-18deg); }
.gift-bow::after { right: 2px; border-radius: 34% 70% 36% 64%; transform: rotate(18deg); }
.gift-bow-knot { position: absolute; z-index: 1; left: 50%; top: 20px; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #e7ff79, var(--lime)); transform: translateX(-50%); box-shadow: 0 8px 14px rgba(91, 197, 154, .18); }
.gift-check { position: absolute; z-index: 4; left: 50%; top: 42px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(135deg, var(--lime), var(--green)); color: #05251c; font-size: 30px; line-height: 1; font-weight: 950; box-shadow: 0 18px 44px rgba(91, 197, 154, .24); transform: translateX(40px); animation: successPop .52s cubic-bezier(.2, 1.25, .32, 1) both; }
.confetti { position: absolute; z-index: 3; width: 8px; height: 18px; border-radius: 3px; opacity: 0; animation: confettiRise 1.6s ease-out infinite; }
.confetti.one { left: 22%; bottom: 24px; background: var(--green); animation-delay: .1s; }
.confetti.two { left: 38%; bottom: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); animation-delay: .34s; }
.confetti.three { left: 58%; bottom: 18px; background: #ffcf70; animation-delay: .58s; }
.confetti.four { left: 76%; bottom: 30px; background: var(--mint); animation-delay: .82s; }
.confetti.five { left: 30%; bottom: 56px; width: 12px; height: 12px; background: #d8e9e3; animation-delay: 1.06s; }
.confetti.six { left: 68%; bottom: 58px; background: var(--lime); animation-delay: 1.3s; }

.complete-badge { display: inline-block; padding: 7px 10px; border-radius: 9px; background: rgba(91, 197, 154, .1); color: var(--mint); font-size: 12px; font-weight: 850; letter-spacing: .07em; }
.completion-view h1 { margin: 16px 0 10px; font-size: clamp(32px, 5vw, 48px); line-height: 1; letter-spacing: -.04em; }
.completion-copy { margin: 16px 0; color: #d5e7e1; font-size: 16px; line-height: 1.65; font-weight: 400; }
.status-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.status-pills span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid rgba(91, 197, 154, .32); border-radius: 999px; background: rgba(91, 197, 154, .08); color: var(--mint); }
.status-pills i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(201, 250, 75, .58); animation: statusPulse 1.4s ease-out infinite; }
.status-pills b { font-size: 13px; font-weight: 850; }

.completion-timeline { display: grid; gap: 9px; margin: 24px 0; padding: 18px; border: 1px solid rgba(91, 197, 154, .24); border-radius: 16px; background: rgba(91, 197, 154, .07); }
.completion-timeline div { display: flex; align-items: center; padding: 12px 14px; border-left: 3px solid var(--green); border-radius: 0 10px 10px 0; background: rgba(255, 255, 255, .035); color: #dbe7e2; }
.completion-timeline b { font-size: 13px; }

.wide-action { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 0 22px; border: 0; border-radius: 14px; background: var(--button); color: #06251c; text-decoration: none; font-size: 16px; font-weight: 850; box-shadow: 0 15px 40px rgba(53, 138, 103, .18); }
.wide-action:hover { filter: brightness(1.06); }
.restart-link { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin: 10px 0 0; border: 1px solid rgba(154, 184, 172, .20); border-radius: 14px; background: rgba(255, 255, 255, .018); color: #dce7e2; font-size: 16px; font-weight: 850; cursor: pointer; }

.next-section { width: min(1120px, 100%); margin-inline: auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: start; padding: 85px 24px; animation: completionReveal .5s .08s ease-out both; }
.next-intro { position: sticky; top: 24px; padding: 0; }
.next-badge { display: inline-flex; margin: 0 0 18px; padding: 8px 12px; border: 1px solid rgba(91, 197, 154, .35); border-radius: 999px; color: var(--mint); background: rgba(91, 197, 154, .08); font-size: 12px; font-weight: 800; }
.next-intro h2 { margin: 0 0 10px; font-size: 46px; line-height: 1.08; letter-spacing: -.045em; }
.next-intro p { margin: 0 0 30px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.next-cards { display: grid; gap: 13px; }
.next-card { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 22px; border: 1px solid rgba(255, 255, 255, .11); border-radius: 18px; background: rgba(15, 32, 27, .72); }
.next-card > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--button); color: #08261d; font-size: 16px; font-weight: 950; }
.next-card h3 { margin: 0 0 5px; font-size: 16px; }
.next-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

@keyframes completionReveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes successPop {
  from { opacity: 0; transform: translateX(40px) scale(.72); }
  to { opacity: 1; transform: translateX(40px) scale(1); }
}
@keyframes successGiftFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}
@keyframes successGlow {
  0%, 100% { opacity: .72; transform: translate(-50%, -50%) scale(.96); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}
@keyframes confettiRise {
  0% { opacity: 0; transform: translateY(18px) rotate(0deg) scale(.75); }
  24% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-92px) rotate(42deg) scale(1); }
}
@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 250, 75, .58); }
  100% { box-shadow: 0 0 0 10px rgba(201, 250, 75, 0); }
}

.disclaimer { width: min(1120px, 100%); margin: 24px auto 50px; padding: 0 24px; }
.disclaimer-box { width: 100%; padding: 19px 20px; border: 1px solid rgba(255, 207, 112, .25); border-radius: 15px; background: rgba(255, 207, 112, .055); color: #d6c594; font-size: 12px; line-height: 1.65; }
.disclaimer strong { font-weight: 700; }

footer { min-height: 88px; display: grid; place-items: center; border-top: 1px solid rgba(154, 184, 172, .14); color: #637a71; text-align: center; font-size: 13px; }
footer p { margin: 0; padding: 20px; }

/* Keep every value supplied by the site configuration visually strong. */
#campaign-copy {
  font-weight: 950;
  font-synthesis: weight;
  -webkit-text-stroke: .3px currentColor;
}
#start-badge {
  font-weight: 900;
  font-synthesis: weight;
  -webkit-text-stroke: .2px currentColor;
}
#campaign-label {
  font-family: "Arial Black", Inter, "Noto Sans SC", "PingFang SC", sans-serif;
  font-weight: 950;
  font-synthesis: weight;
  -webkit-text-stroke: .8px currentColor;
}
#gift-label {
  max-width: 138px;
  overflow: hidden;
  color: #031913;
  font-family: "Arial Black", Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 24px;
  font-weight: 950;
  font-synthesis: weight;
  letter-spacing: -.045em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-text-stroke: .6px currentColor;
}
.completion-copy { font-weight: 700; }
#important-label,
#disclaimer-copy { font-weight: 700; }
#footer-brand { font-weight: 800; }
#footer-copy { font-weight: 700; }

@media (max-width: 920px) {
  .next-section { grid-template-columns: 1fr; padding-inline: 18px; }
  .next-intro { position: static; }
}

@media (max-width: 820px) {
  .page-shell { width: min(100% - 28px, 680px); }
  main.page-shell { padding-top: 0; }
  .site-header { min-height: 92px; }
  .brand { font-size: 18px; }
  .brand img { width: 42px; height: 42px; }
  .header-note { display: none; }
  .language-trigger { width: 144px; height: 42px; padding-left: 37px; padding-right: 31px; border-radius: 13px; font-size: 14px; }
  .globe { left: 13px; font-size: 18px; }
  .chevron { right: 13px; width: 8px; height: 8px; }
  .language-menu { position: absolute; top: 50px; left: auto; right: 0; width: min(268px, calc(100vw - 28px)); max-height: calc(100vh - 78px); padding: 9px; border-radius: 17px; }
  .language-menu button { min-height: 52px; grid-template-columns: 27px 1fr auto; padding-inline: 13px; }
  .language-menu strong { font-size: 15px; }
  .campaign-banner { min-height: 84px; padding: 14px; }
  .campaign-banner p { padding: 13px 15px; font-size: 16px; }
  .campaign-banner > span { display: none; }
  .quiz-card { min-height: 620px; padding: 34px 26px; border-radius: 24px; }
  .intro h1 { font-size: 38px; }
  .intro p { font-size: 16px; }
  .progress-copy { margin-top: 36px; }
  .answers { grid-template-columns: 1fr; }
  .answer { height: auto; min-height: 66px; font-size: 16px; }
  .button { width: 150px; min-height: 58px; font-size: 17px; }
  .gift-visual { min-height: 180px; height: 180px; margin: 0 auto 18px; }
  .completion-view { padding-inline: 0; }
  .completion-view h1 { font-size: 38px; }
  .completion-copy { font-size: 16px; }
  .completion-timeline { padding: 16px; }
  .next-section { gap: 38px; padding-top: 62px; padding-bottom: 72px; }
  .next-intro h2 { font-size: 38px; }
  .next-intro p { font-size: 16px; }
  .next-card { padding: 20px; grid-template-columns: 44px 1fr; gap: 16px; }
  .next-card > span { width: 44px; height: 44px; border-radius: 13px; }
  .next-card h3 { font-size: 16px; }
  .disclaimer { margin-bottom: 46px; }
}

@media (max-width: 480px) {
  .brand { gap: 9px; font-size: 15px; }
  .brand img { width: 36px; height: 36px; }
  .language-trigger { width: 132px; }
  .campaign-banner p { font-size: 14px; }
  .quiz-card { padding: 28px 18px; }
  .intro h1 { font-size: 32px; }
  .question-title { font-size: 25px; }
  .answer { padding: 14px 16px; }
  .button { width: 44%; }
  .completion-view h1 { font-size: 36px; }
  .status-pills { justify-content: center; gap: 8px; }
  .status-pills span { padding: 9px 12px; }
  .status-pills b { font-size: 13px; }
  .wide-action { min-height: 52px; font-size: 16px; }
  .next-card { grid-template-columns: 44px 1fr; padding: 18px 15px; gap: 14px; }
  .next-card > span { width: 44px; height: 44px; font-size: 17px; }
  .disclaimer { margin-inline: 0; padding-inline: 10px; }
  .disclaimer-box { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .completion-view, .next-section, .gift-glow, .gift-box, .gift-bow, .gift-check, .confetti, .status-pills i { animation: none !important; }
}
