/* ============================================================
   Dear Santa — Definitely Not A Wishlist
   styles.css · dark-mode festive theme, glassmorphism, snow
   ============================================================ */

/* ---------- 1 · Tokens & reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0f;                    /* spec: dark-mode base */
  --ink: #f4f1ea;
  --muted: #9aa0ab;
  --red: #ff2e4d;
  --green: #22c55e;
  --gold: #f5c542;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-brd: rgba(255, 255, 255, 0.12);
  --font-display: 'Mountains of Christmas', cursive;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-hand: 'Caveat', cursive;
  /* Orb gradient colour stops — tweened by GSAP per slide */
  --c1: rgba(255, 46, 77, 0.55);
  --c2: rgba(34, 197, 94, 0.30);
  --c3: rgba(245, 197, 66, 0.22);
}

html { scroll-behavior: auto; }     /* Lenis / JS handle smoothing */

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
em { color: #ffd98a; font-style: italic; }
strong { color: #ffffff; font-weight: 600; }
::selection { background: var(--red); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0d0d13; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--red), var(--green)); border-radius: 8px; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

main { position: relative; z-index: 10; }

/* ---------- 2 · Morphing orb background ---------- */
.orb-wrap { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.orb {
  position: absolute;
  width: 64vmax;
  height: 64vmax;
  border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%;
  background: radial-gradient(circle at 32% 32%, var(--c1) 0%, var(--c2) 42%, var(--c3) 68%, transparent 76%);
  filter: blur(70px);
  opacity: 0.85;
  will-change: transform, border-radius;
}
.orb--main { left: 50%; top: 50%; translate: -50% -50%; }   /* CSS translate centres it; GSAP x/y drift relative to that */
.orb--mini {
  width: 22vmax; height: 22vmax;
  left: 20%; top: 16%; translate: -50% -50%;
  opacity: 0.5; filter: blur(50px);
  background: radial-gradient(circle, var(--c2) 0%, transparent 70%);
}

/* ---------- 3 · Emoji floaters & snow ---------- */
.floaters { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.floaters span {
  position: absolute;
  opacity: 0.16;
  animation: drift var(--d, 9s) ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translateY(0) rotate(-8deg); }
  to   { transform: translateY(-26px) rotate(10deg); }
}
#snow { position: fixed; inset: 0; z-index: 3; pointer-events: none; }

/* ---------- 4 · Christmas string lights ---------- */
.lights {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; justify-content: space-around; align-items: flex-start;
  padding: 0 6px; pointer-events: none;
  border-bottom: 2px solid rgba(58, 63, 71, 0.6);
  background: linear-gradient(rgba(10, 10, 15, 0.85), rgba(10, 10, 15, 0));
}
.lights span {
  width: 9px; height: 14px;
  border-radius: 50% 50% 60% 60%;
  background: currentColor;
  box-shadow: 0 0 10px 2px currentColor;
  position: relative;
  animation: twinkle 2s ease-in-out infinite alternate;
}
.lights span::before {
  content: '';
  position: absolute; top: -7px; left: 50%;
  width: 2px; height: 7px;
  background: #3a3f47;
  transform: translateX(-50%);
}
@keyframes twinkle {
  from { opacity: 0.35; filter: brightness(0.6); }
  to   { opacity: 1;    filter: brightness(1.5); }
}

/* ---------- 5 · Dot navigation ---------- */
.dots {
  position: fixed; right: 16px; top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex; flex-direction: column; gap: 12px;
}
.dots button {
  width: 11px; height: 11px;
  border-radius: 50%; border: none;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.dots button:hover { background: rgba(245, 197, 66, 0.7); }
.dots button.active {
  background: var(--gold);
  box-shadow: 0 0 12px 2px rgba(245, 197, 66, 0.55);
  transform: scale(1.35);
}

/* ---------- 6 · Slides & typography ---------- */
.slide {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 96px clamp(20px, 6vw, 80px) 72px;
  z-index: 10;
}
.slide-inner { max-width: 1150px; width: 100%; text-align: center; }

.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 500;
}
h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 8.5vw, 6.2rem);
  line-height: 1.05;
  margin-bottom: 22px;
}
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.08;
  margin-bottom: 26px;
}
.grad {
  background: linear-gradient(90deg, var(--red), var(--gold), var(--green), var(--red));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: slide-hue 8s linear infinite;
}
@keyframes slide-hue { to { background-position: 300% 0; } }

.sub { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); }

.scroll-cue {
  margin-top: 44px;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.chevrons { font-size: 1.25rem; color: var(--gold); animation: bob 1.4s ease-in-out infinite; letter-spacing: 6px; }
@keyframes bob {
  0%, 100% { transform: translateY(0);    opacity: 0.5; }
  50%      { transform: translateY(8px);  opacity: 1; }
}

/* ---------- 7 · Slide 2 · split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  text-align: left;
}
.split .copy p { margin-bottom: 16px; color: #cfd3da; }
.aside-note {
  font-family: var(--font-hand);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: var(--gold);
  transform: rotate(-2deg);
  background: rgba(245, 197, 66, 0.06);
  border: 1px dashed rgba(245, 197, 66, 0.4);
  padding: 22px 26px;
  border-radius: 16px;
}

/* ---------- 8 · Slide 3 · steps ---------- */
.steps {
  list-style: none;
  text-align: left;
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.steps li {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 18px 22px;
  color: #cfd3da;
}
.step-num {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  color: #0a0a0f;
  background: linear-gradient(135deg, var(--gold), var(--red));
}
.footnote { margin-top: 18px; color: var(--muted); font-size: 0.85rem; font-style: italic; }

/* ---------- 9 · Slide 4 · Sejal + disclaimer ---------- */
.sejal-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin: 10px auto 26px;
  max-width: 920px;
  text-align: left;
}
.sejal-card { position: relative; width: min(280px, 72vw); justify-self: center; transform: rotate(-2deg); margin: 0; }
.sejal-card img {
  display: block;
  border-radius: 20px;
  border: 4px solid var(--gold);
  box-shadow: 0 0 0 3px var(--bg), 0 24px 60px rgba(255, 46, 77, 0.35);
  filter: saturate(1.25) contrast(1.05);          /* AI cartoon: gentle boost */
}
.sejal-card img.toon {
  filter: url(#toon) saturate(1.7) contrast(1.12) brightness(1.04);  /* photo fallback: posterise */
}
.sejal-card .ph {
  display: none;
  aspect-ratio: 1;
  border-radius: 20px;
  border: 4px dashed var(--gold);
  place-items: center;
  padding: 26px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
.sejal-card.no-img .ph { display: grid; }
.sejal-card.no-img img { display: none; }
.thumb {
  position: absolute; right: -18px; bottom: -14px;
  font-size: 3.2rem;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
  animation: thumbpop 2.2s ease-in-out infinite;
}
@keyframes thumbpop {
  0%, 100% { transform: rotate(-8deg) scale(1); }
  50%      { transform: rotate(6deg) scale(1.12); }
}
.badge {
  display: inline-block;
  margin-top: 14px;
  background: linear-gradient(135deg, var(--gold), #ffe38a);
  color: #1a1405;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(245, 197, 66, 0.35);
  transform: rotate(1.5deg);
}
.bubble {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 26px 30px;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #e8e4dc;
}
.bubble::before { content: '💬'; position: absolute; top: -20px; left: 26px; font-size: 1.9rem; }
.bubble cite { display: block; margin-top: 14px; color: var(--muted); font-style: normal; font-size: 0.85rem; }

.disclaimer {
  max-width: 860px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 46, 77, 0.08), rgba(34, 197, 94, 0.08));
  border: 1.5px dashed rgba(245, 197, 66, 0.5);
  border-radius: 18px;
  padding: 20px 26px;
  font-size: 0.92rem;
  color: #cfd3da;
}
.disclaimer strong { color: var(--gold); letter-spacing: 0.06em; }
.disclaimer p { margin-top: 10px; }

/* ---------- 10 · Rumour cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 26px);
  margin-top: 8px;
  text-align: left;
}
.card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: 20px;
  padding: 22px 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.06) 50%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
}
.card:hover::after { opacity: 1; }
.card-emoji { font-size: 2rem; margin-bottom: 10px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4)); }
.card h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 8px; letter-spacing: 0.02em; color: #fff; }
.card p { color: var(--muted); font-size: 0.88rem; line-height: 1.55; }
.qty {
  position: absolute; top: 16px; right: 18px;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(245, 197, 66, 0.4);
  padding: 3px 9px;
  border-radius: 999px;
}
.card .find {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(245, 197, 66, 0.25);
  color: var(--gold);
  font-size: 0.78rem;
}
.cards--two { max-width: 780px; margin-left: auto; margin-right: auto; }

/* Short desktop screens: keep the 4-card slides inside 100vh */
@media (min-width: 769px) and (max-height: 820px) {
  .card p { font-size: 0.84rem; }
  .cards { gap: 14px; }
  .card .find { margin-top: 8px; padding-top: 8px; }
}
.teaser { max-width: 780px; margin: 22px auto 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- 11 · Numbers slide ---------- */
.stats {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(18px, 3vw, 44px);
  margin: 26px 0 10px;
}
.stat { min-width: 150px; }
.num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
  background: linear-gradient(180deg, var(--gold), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .lbl { margin-top: 6px; color: var(--muted); font-size: 0.85rem; }
.statement { color: var(--muted); font-style: italic; margin-top: 10px; }

/* ---------- 12 · Closing slide ---------- */
.btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.btn {
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--glass-brd);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #e8e4dc;
}
.btn--primary {
  background: linear-gradient(135deg, var(--red), #ff5c3d);
  border: none;
  color: #fff;
  box-shadow: 0 12px 34px rgba(255, 46, 77, 0.4);
}
.secret-wrap { margin-top: 34px; }
.secret-link {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--muted);
  opacity: 0.45;
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
  transition: opacity 0.3s, color 0.3s;
}
.secret-link:hover { opacity: 1; color: var(--gold); animation: wiggle 0.5s ease; }
@keyframes wiggle { 25% { transform: rotate(1.5deg); } 75% { transform: rotate(-1.5deg); } }
.smallprint { margin-top: 22px; font-size: 0.72rem; color: #5c626d; }

/* ---------- 13 · Desktop pinning helpers ---------- */
@media (min-width: 769px) {
  .slide { height: 100vh; overflow: hidden; }
}

/* ---------- 14 · Mobile ---------- */
@media (max-width: 768px) {
  .slide { min-height: 100svh; padding: 110px 20px 80px; }
  .split, .sejal-row { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .cards--two { max-width: none; }
  .dots { right: 8px; gap: 10px; }
  .dots button { width: 9px; height: 9px; }
  .floaters span:nth-child(even) { display: none; }
  .orb { width: 90vmax; height: 90vmax; }
  .thumb { right: -8px; bottom: -10px; font-size: 2.6rem; }
}

/* ---------- 15 · Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
