:root {
  --red: #c8102e;
  --red-dark: #9c0c24;
  --green: #0b6b3a;
  --green-dark: #07462a;
  --gold: #f6c453;
  --night: #071a38;
  --snow: #f7fbff;
  --cream: #fffaf0;
  --ink: #1d2a3a;
  --muted: #5d6b7c;
  --candy: repeating-linear-gradient(45deg, var(--red) 0 14px, #fff 14px 28px);
  --display: "Mountains of Christmas", "Comic Sans MS", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: Nunito, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--snow);
}
img, svg, video, iframe { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; }
h2 { font-size: clamp(2.1rem, 5vw, 3.2rem); text-align: center; }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
a { color: var(--red); }
.small { font-size: .88rem; color: var(--muted); }
.center { text-align: center; }

#snow {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 40;
}

/* ---------- Header + fairy lights ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px clamp(14px, 4vw, 40px);
  background: var(--red);
  color: #fff;
  box-shadow: 0 2px 0 var(--red-dark);
}
.brand { font-family: var(--display); font-size: clamp(1.25rem, 3.4vw, 1.8rem); color: #fff; text-decoration: none; white-space: nowrap; }
.top nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 26px); }
.top nav a:not(.btn) { color: #fff; text-decoration: none; font-weight: 700; font-size: .98rem; }
.top nav a:not(.btn):hover { text-decoration: underline; }
@media (max-width: 760px) { .top nav a:not(.btn) { display: none; } }

.lights {
  position: sticky; top: 56px; z-index: 29; height: 0;
  display: flex; justify-content: space-around; padding: 0 6px;
  overflow: visible; pointer-events: none;
}
.lights::before { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid #0a3d22; }
.lights span {
  width: 11px; height: 16px; margin-top: 4px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  background: var(--gold); box-shadow: 0 0 10px 2px currentColor; color: var(--gold);
  animation: twinkle 2.4s ease-in-out infinite;
}
.lights span:nth-child(4n+1) { background: #ff4d5e; color: #ff4d5e; }
.lights span:nth-child(4n+2) { background: #48e08a; color: #48e08a; animation-delay: .6s; }
.lights span:nth-child(4n+3) { background: #5db8ff; color: #5db8ff; animation-delay: 1.2s; }
.lights span:nth-child(4n)   { animation-delay: 1.8s; }
@media (max-width: 760px) { .lights span:nth-child(n+19) { display: none; } }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; box-shadow: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  font: 800 1.05rem Nunito, Arial, sans-serif; text-decoration: none; text-align: center;
  padding: 13px 26px; border-radius: 999px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 5px 0 var(--red-dark); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 5px 0 var(--green-dark); }
.btn-gold { background: var(--gold); color: #5b3b00; box-shadow: 0 4px 0 #c9962a; }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 2px solid rgba(255,255,255,.75); }
.btn-big { font-size: 1.2rem; padding: 16px 32px; }
.btn-small { font-size: .92rem; padding: 8px 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100vh, 900px);
  padding: clamp(56px, 9vh, 110px) 20px clamp(250px, 34vw, 400px);
  background: var(--night); color: #fff; text-align: center;
}
.hero-sky { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; z-index: -2; }
.hero-village {
  position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  width: clamp(600px, 74vw, 1000px); max-width: none; z-index: -1;
}
.hero-text { max-width: 860px; margin: 0 auto; }
.eyebrow {
  display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35);
  padding: 6px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); text-shadow: 0 3px 0 rgba(0,0,0,.35), 0 0 34px rgba(125,249,255,.35); }
.hero h1 em { font-style: normal; color: var(--gold); }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 660px; margin: 0 auto 28px; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.aurora path { animation: aurora 9s ease-in-out infinite alternate; }
.aurora path:nth-child(2) { animation-duration: 12s; }
.aurora path:nth-child(3) { animation-duration: 15s; }
@keyframes aurora { from { transform: translateY(0) scaleY(1); } to { transform: translateY(26px) scaleY(1.25); } }
.tw { animation: twinkle 3s ease-in-out infinite; }
.d2 { animation-delay: 1s; } .d3 { animation-delay: 2s; }
.glow { animation: glow 3.5s ease-in-out infinite; }
@keyframes glow { 0%, 100% { fill: #ffd76a; } 50% { fill: #ffeeb0; } }
.smoke circle { animation: smoke 4s ease-in-out infinite; opacity: .75; }
.smoke circle:nth-child(2) { animation-delay: .8s; } .smoke circle:nth-child(3) { animation-delay: 1.6s; }
@keyframes smoke { 0% { transform: translateY(6px); opacity: 0; } 40% { opacity: .8; } 100% { transform: translateY(-16px); opacity: 0; } }

/* ---------- Bands ---------- */
.band { padding: clamp(56px, 9vw, 100px) 20px; position: relative; }
.wrap { max-width: 1100px; margin: 0 auto; }
.wrap.narrow { max-width: 780px; }
.section-lead { text-align: center; font-size: 1.12rem; margin-bottom: 30px; }
.band-snow { background: var(--snow); }
.band-snow h2 { color: var(--red); }
.band-green { background: radial-gradient(circle at 20% 0, #128a4c 0, var(--green) 45%, var(--green-dark) 100%); color: #fff; }
.band-red { background: radial-gradient(circle at 80% 0, #e22a47 0, var(--red) 45%, var(--red-dark) 100%); color: #fff; }
.band-night { background: linear-gradient(#0c2b5e, var(--night)); color: #fff; }
.band-green::before, .band-red::before, .band-night::before {
  /* snowy scalloped edge */
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 26px;
  background: radial-gradient(circle at 20px -6px, var(--snow) 22px, transparent 23px) repeat-x;
  background-size: 40px 26px;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; margin-top: 36px; }
.step {
  position: relative; background: #fff; border-radius: 22px; padding: 34px 24px 22px; text-align: center;
  border: 3px solid #e3effa; box-shadow: 0 10px 0 #e3effa;
}
.step:nth-child(2) { transform: rotate(1deg); } .step:nth-child(1) { transform: rotate(-1deg); }
.step-num {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff;
  font: 700 1.5rem/44px var(--display); box-shadow: 0 0 0 5px var(--snow);
}
.step-emoji { font-size: 3rem; line-height: 1.2; }
.step h3 { color: var(--green); }
.step p { margin: 0; font-size: 1rem; }

/* ---------- Video frame ---------- */
.video-frame { padding: 14px; border-radius: 26px; background: var(--candy); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.video-inner { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; }
.video-inner video, .video-inner iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
.video-placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 20px;
  background: linear-gradient(#0c2b5e, #071a38); color: #fff;
}
.video-placeholder span { font-size: 3.4rem; }
.video-placeholder p { margin: 8px 0 0; font-weight: 700; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 30px; max-width: 800px; margin: 36px auto 0; align-items: start; }
.price-card {
  position: relative; background: #fff; border-radius: 24px; padding: 44px 28px 30px; text-align: center;
  border: 4px solid var(--red); box-shadow: 0 12px 0 rgba(200,16,46,.18);
}
.price-card-alt { border-color: var(--gold); box-shadow: 0 12px 0 rgba(246,196,83,.35); }
.ribbon {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  background: var(--green); color: #fff; font-weight: 800; padding: 5px 22px; border-radius: 999px; white-space: nowrap;
}
.ribbon-gold { background: var(--gold); color: #5b3b00; }
.price { font: 700 4.6rem/1 var(--display); color: var(--red); margin: 0; }
.price-card-alt .price { color: #b47a00; }
.price-sub { font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; }
.ticks li { padding: 6px 0 6px 34px; position: relative; border-bottom: 1px dashed #e3effa; }
.ticks li::before { content: "🎄"; position: absolute; left: 0; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--cream); color: var(--ink); border-radius: 24px; padding: clamp(20px, 4vw, 38px);
  box-shadow: 0 18px 40px rgba(0,0,0,.3); border: 6px solid #fff;
}
.form-card label { display: block; font-weight: 800; margin-bottom: 18px; }
.hint { display: inline; font-weight: 400; font-size: .88rem; color: var(--muted); }
textarea + .hint, label > .hint:only-of-type { display: inline; }
.form-card input[type=text], .form-card input[type=email], .form-card input[type=date], .form-card input[type=password], .form-card textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  font: inherit; font-weight: 400; color: var(--ink);
  background: #fff; border: 2px solid #d9c9a8; border-radius: 12px;
}
.form-card input:focus, .form-card textarea:focus { border-color: var(--green); }
.grid2 { align-items: end; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 20px; }
.check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; }
.check input { width: 24px; height: 24px; margin-top: 3px; flex: none; accent-color: var(--green); }
.check-jump { background: #fff3cf; border: 2px dashed #d9a520; border-radius: 14px; padding: 14px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 18px; min-height: 65px; }
.total-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.total { font-size: 1.3rem; margin: 0; }
.total strong { font: 700 2.4rem/1 var(--display); color: var(--red); }
.notice { background: #fff3cf; border: 2px solid var(--gold); padding: 12px 16px; border-radius: 12px; font-weight: 700; }
.notice-error { background: #ffe3e6; border-color: var(--red); color: #7a0d1f; }
.field-error { display: block; margin-top: 6px; color: #b00020; font-weight: 800; font-size: .95rem; }
.form-card .field-bad input:not([type=checkbox]), .form-card .field-bad textarea { border-color: var(--red); background: #fff1f3; }
.check.field-bad { background: #ffe3e6; border: 2px solid var(--red); border-radius: 14px; padding: 14px; }
.notice-ok { background: #e2f6ea; border-color: var(--green); color: var(--green-dark); margin: 0; }

/* ---------- FAQ ---------- */
details { background: #fff; border: 3px solid #e3effa; border-radius: 16px; margin-bottom: 12px; padding: 0 20px; }
summary { cursor: pointer; font-weight: 800; padding: 16px 28px 16px 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "❄"; position: absolute; right: 0; top: 14px; color: var(--red); transition: transform .25s; }
details[open] summary::after { transform: rotate(90deg); }
details p { margin: 0 0 16px; }

/* ---------- Footer ---------- */
.candy-bar { height: 16px; background: var(--candy); }
.foot { background: var(--green-dark); color: #d8f0e2; text-align: center; font-size: .95rem; }
.foot p { margin: 0; padding: 22px 16px; }

/* ---------- Thanks / watch / admin pages ---------- */
.simple-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: linear-gradient(#040c26, #0c2b5e 60%, #2f74aa); }
.simple-card {
  width: 100%; max-width: 620px; background: var(--cream); border-radius: 26px; padding: clamp(24px, 5vw, 44px); text-align: center;
  border: 10px solid transparent; background-image: linear-gradient(var(--cream), var(--cream)), var(--candy);
  background-origin: border-box; background-clip: padding-box, border-box; box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.simple-card.wide { max-width: 900px; }
.simple-card h1 { color: var(--red); font-size: clamp(2rem, 6vw, 3rem); }
.simple-emoji { font-size: 4rem; line-height: 1; margin-bottom: 8px; }
.ref-pill { display: inline-block; background: var(--green); color: #fff; font-weight: 800; padding: 6px 20px; border-radius: 999px; letter-spacing: .05em; }
.watch-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 24px 0 14px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
