/* Single-event landing: New Year night at Muzey Druzey. Brand colours from the logo:
   deep teal, orange sun, white peaks. */
:root {
  --night: #04161c;
  --deep: #062a33;
  --teal: #0b4f5c;
  --teal-2: #136a78;
  --orange: #f26b1d;
  --orange-2: #ff8a3d;
  --gold: #ffd28a;
  --cream: #fff6ea;
  --ink: #10262c;
  --muted: rgba(255, 246, 234, .68);
  --line: rgba(255, 246, 234, .14);
  --panel: rgba(255, 246, 234, .06);
  --radius: 18px;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script: "Marck Script", "Segoe Script", cursive;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font: 16px/1.55 var(--body);
  overflow-x: hidden;
}
a { color: var(--gold); }
img { max-width: 100%; display: block; }
h2 { font: 700 clamp(26px, 4vw, 40px)/1.15 var(--display); margin: 0 0 28px; letter-spacing: -.01em; }
h3 { font: 700 18px/1.3 var(--display); margin: 0 0 8px; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 620px; }
.muted { color: var(--muted); }

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

/* --- buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  font: 700 16px/1 var(--body); color: #fff;
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  padding: 16px 26px;
  box-shadow: 0 10px 30px -10px rgba(242, 107, 29, .8), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(242, 107, 29, .9), inset 0 1px 0 rgba(255,255,255,.25); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-lg { font-size: 18px; padding: 20px 34px; }
.btn-sm { font-size: 14px; padding: 10px 16px; }

/* --- top bar ------------------------------------------------------------------ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top));
  background: linear-gradient(to bottom, rgba(4,22,28,.85), rgba(4,22,28,0));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.brand img { border-radius: 50%; background: #fff; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font: 700 15px/1.1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.brand small { color: var(--orange-2); letter-spacing: .32em; text-transform: uppercase; font-size: 10px; font-weight: 700; margin-top: 3px; }

/* --- hero --------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 110px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 75% 10%, rgba(19,106,120,.55), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(242,107,29,.18), transparent 60%),
    linear-gradient(180deg, #021015 0%, var(--deep) 55%, var(--teal) 100%);
}
.sky { position: absolute; inset: 0; pointer-events: none; }
.sky::before { /* stars */
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 15%, #fff, transparent),
    radial-gradient(1px 1px at 35% 30%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 60% 12%, #fff, transparent),
    radial-gradient(1px 1px at 82% 25%, #fff, transparent),
    radial-gradient(1px 1px at 12% 42%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 48% 8%, #fff, transparent),
    radial-gradient(1px 1px at 92% 6%, #fff, transparent),
    radial-gradient(1px 1px at 70% 40%, #fff, transparent),
    radial-gradient(1px 1px at 5% 10%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 28% 5%, #fff, transparent);
  opacity: .8;
  animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .45; } to { opacity: .9; } }
.moon {
  position: absolute; right: 9%; top: 15%;
  width: clamp(90px, 14vw, 190px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffb37a, var(--orange) 60%, #c94f0d);
  box-shadow: 0 0 80px 20px rgba(242,107,29,.35), 0 0 200px 60px rgba(242,107,29,.15);
}
.peaks { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 42%; }
.peaks .far { fill: url(#g-far); opacity: .55; }
.peaks .near { fill: url(#g-near); }
.peaks .snowcap { fill: #f3efe7; }
.hero::after { /* blend peaks into the next section */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--night));
}

.garland { position: absolute; top: 64px; left: -2%; right: -2%; height: 60px; display: flex; justify-content: space-between; }
.garland::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40px;
  border-bottom: 1.5px solid rgba(255,246,234,.25); border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.garland i {
  position: relative; width: 10px; height: 14px; border-radius: 50% 50% 45% 45%;
  margin-top: calc(28px + 10px * sin(var(--i) * 0.35rad));
  background: var(--gold);
  box-shadow: 0 0 12px 3px rgba(255,210,138,.7);
  animation: blink 2.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.33s);
}
.garland i:nth-child(3n+1) { background: var(--orange-2); box-shadow: 0 0 12px 3px rgba(255,138,61,.7); }
.garland i:nth-child(3n+2) { background: #7fe0ee; box-shadow: 0 0 12px 3px rgba(127,224,238,.6); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero-inner { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; padding: 0 16px; width: 100%; }
.eyebrow {
  display: inline-block; margin: 0 0 18px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255,246,234,.08); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
}
h1 { margin: 0 0 18px; line-height: .95; }
.h1-top {
  display: block; font: 900 clamp(38px, 7.4vw, 96px)/1 var(--display);
  text-transform: uppercase; letter-spacing: -.02em;
  background: linear-gradient(180deg, #fff 30%, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 40px rgba(255,210,138,.15);
}
.h1-script {
  display: block; font: 400 clamp(52px, 9vw, 120px)/1 var(--script);
  color: var(--orange-2); margin-top: -.08em; margin-left: .4em;
  text-shadow: 0 6px 30px rgba(242,107,29,.45);
  transform: rotate(-4deg); transform-origin: left center;
}
.lead { max-width: 620px; font-size: clamp(16px, 2vw, 19px); color: var(--muted); margin: 0 0 26px; }

.deal {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px;
  max-width: 640px; padding: 18px 20px; margin-bottom: 26px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,246,234,.12), rgba(255,246,234,.04));
  border: 1px solid rgba(255,210,138,.35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.deal-price { display: flex; flex-direction: column; line-height: 1.1; }
.deal-label { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.deal-price strong { font: 900 34px/1.1 var(--display); color: var(--gold); }
.deal-until { font-size: 13px; color: var(--orange-2); font-weight: 600; }
.deal-text { flex: 1 1 260px; font-size: 15px; }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-bottom: 34px; }
.kids { font-size: 14px; color: var(--cream); padding: 8px 14px; border-radius: 0 999px 999px 0; border-left: 2px solid var(--orange); background: rgba(2,16,21,.6); }

.countdown { display: flex; gap: 10px; }
.countdown div {
  min-width: 70px; padding: 10px 8px; text-align: center; border-radius: 14px;
  background: rgba(2,16,21,.55); border: 1px solid var(--line);
}
.countdown b { display: block; font: 700 28px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.countdown span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.few { margin: 16px 0 0; color: var(--orange-2); font-weight: 700; }

/* --- sections ----------------------------------------------------------------- */
.section { position: relative; padding: 80px 0; }
.how { background: linear-gradient(180deg, var(--night), #052129); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { position: relative; padding: 26px 22px 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.steps p { margin: 0; color: var(--muted); }
.step-n {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%;
  font: 900 18px/1 var(--display); color: #fff; background: linear-gradient(135deg, var(--orange-2), var(--orange));
}

.program { background: radial-gradient(800px 400px at 90% 0%, rgba(19,106,120,.35), transparent 60%), #052129; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-x {
  padding: 24px 22px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(19,106,120,.35), rgba(6,42,51,.6));
  border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s ease;
}
.card-x:hover { transform: translateY(-4px); border-color: rgba(255,210,138,.5); }
.card-x svg { width: 42px; height: 42px; fill: var(--orange-2); stroke: var(--orange-2); margin-bottom: 14px; }
.card-x p { margin: 0; color: var(--muted); }

.gallery { background: #052129; }
.photos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.photos figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photos figure:hover img { transform: scale(1.05); }

/* --- purchase form -------------------------------------------------------------- */
.buy { background: linear-gradient(180deg, #052129, var(--teal) 140%); }
.panel {
  padding: 20px; margin-bottom: 14px; border-radius: var(--radius);
  background: var(--cream); color: var(--ink);
  box-shadow: 0 20px 50px -30px rgba(0,0,0,.7);
}
.panel h3 { color: var(--teal); }
.panel .muted, .panel .hint { color: #5b6b6f; }
.panel a { color: var(--orange); }
.notice h3 { margin-bottom: 6px; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 14px; color: #5b6b6f; margin-bottom: 6px; font-weight: 600; }
.field input {
  width: 100%; font: inherit; color: var(--ink); padding: 13px 14px; border-radius: 12px;
  border: 1.5px solid #d9d2c5; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input:focus { border-color: var(--teal-2); box-shadow: 0 0 0 4px rgba(19,106,120,.15); }
.field input[aria-invalid="true"] { border-color: #c0392b; }
.hint { display: block; font-size: 13px; margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-bottom: 10px; cursor: pointer; }
.check:last-child { margin-bottom: 0; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--orange); flex: none; }

.products { list-style: none; margin: 0; padding: 0; }
.product { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #ebe3d6; }
.product:last-child { border-bottom: 0; }
.product .name { font-weight: 700; }
.product .desc { font-size: 13px; color: #5b6b6f; }
.product .price { font: 700 18px/1.3 var(--display); color: var(--orange); margin-top: 4px; }
.product.off { opacity: .5; }
.stepper { display: flex; align-items: center; gap: 6px; flex: none; }
.stepper button {
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  font: 700 20px/1 var(--body); color: #fff; background: var(--teal);
}
.stepper button:disabled { background: #c9c3b8; cursor: not-allowed; }
.stepper output { min-width: 28px; text-align: center; font: 700 18px/1 var(--display); }

.error { background: #fde8e4; color: #8e2a1c; border-radius: 12px; padding: 12px 14px; font-size: 14px; margin: 0 0 14px; }

.paybar {
  position: sticky; bottom: 12px; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 14px 14px 20px; border-radius: 999px;
  background: rgba(2,16,21,.9); border: 1px solid rgba(255,210,138,.3);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.total { display: flex; flex-direction: column; line-height: 1.15; }
.total span { font-size: 12px; color: var(--muted); }
.total strong { font: 700 22px/1.2 var(--display); color: var(--gold); }

/* --- faq ------------------------------------------------------------------------ */
.faq { background: var(--teal); background: linear-gradient(180deg, var(--teal) -40%, var(--night)); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
  font-weight: 700; font-size: 17px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--orange-2); border-bottom: 2px solid var(--orange-2); transform: rotate(45deg);
  transition: transform .2s;
}
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details p { margin: 0 0 18px; color: var(--muted); }

/* --- footer ----------------------------------------------------------------------- */
.footer { padding: 48px 0 calc(110px + env(safe-area-inset-bottom)); background: var(--night); border-top: 1px solid var(--line); font-size: 14px; }
.foot-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; color: var(--muted); }
.foot-brand img { border-radius: 50%; background: #fff; }
.foot-brand b { color: var(--cream); font-family: var(--display); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 16px; }
.seller { color: var(--muted); margin: 0; }

.sticky-buy {
  position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 30;
  display: none; text-align: center; text-decoration: none; color: #fff;
  font: 700 17px/1 var(--body); padding: 18px; border-radius: 999px;
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  box-shadow: 0 12px 30px -8px rgba(242,107,29,.8);
  transform: translateY(150%); transition: transform .3s ease;
}
.sticky-buy.show { transform: none; }

/* --- reveal on scroll ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 720px) {
  .sticky-buy { display: block; }
  .topbar .btn { display: none; }
  .hero { padding-top: 96px; align-items: flex-start; }
  .h1-top { font-size: 9.2vw; }
  .peaks { height: 30%; }
  .garland { top: 58px; }
  .moon { top: 12%; right: -20px; opacity: .85; }
  .countdown div { min-width: 0; flex: 1; }
  .countdown b { font-size: 22px; }
  .section { padding: 60px 0; }
  .paybar { border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .garland i, .sky::before { animation: none; }
  #snow { display: none; }
}
