/* ==========================================================================
   Kandi Kidz — Landing page styles
   Mobile-first. Neon palette pulled from the logo.
   ========================================================================== */

:root {
  --bg: #0d0420;
  --bg-2: #160831;
  --surface: rgba(32, 14, 66, 0.62);
  --surface-solid: #1c0b3a;
  --border: rgba(255, 255, 255, 0.12);
  --text: #f6f1ff;
  --muted: #c4b6e6;
  --pink: #ff3fa4;
  --cyan: #22e4f0;
  --purple: #8b3dff;
  --yellow: #ffd93b;
  --orange: #ff8a2b;
  --green: #3dff9a;
  --error: #ff6b8b;
  --grad: linear-gradient(90deg, var(--pink), var(--purple) 35%, var(--cyan) 70%, var(--yellow));
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Bungee", "Impact", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--cyan); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; }
[hidden] { display: none !important; }

main { overflow-x: hidden; overflow-x: clip; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 10px; background: var(--yellow); color: #1a0b33; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }

/* ---------- Background layers ---------- */
#bg-canvas {
  position: fixed; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  pointer-events: none;
}
.bg-glow {
  position: fixed; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 35% at 15% 10%, rgba(139, 61, 255, .45), transparent 70%),
    radial-gradient(35% 30% at 90% 20%, rgba(34, 228, 240, .22), transparent 70%),
    radial-gradient(45% 40% at 80% 95%, rgba(255, 63, 164, .30), transparent 70%),
    radial-gradient(40% 35% at 10% 85%, rgba(255, 138, 43, .14), transparent 70%),
    linear-gradient(180deg, #0d0420 0%, #12052a 50%, #0d0420 100%);
  animation: glowDrift 22s ease-in-out infinite alternate;
}
@keyframes glowDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(3%, -2%, 0) scale(1.05); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.02); }
}

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

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px var(--green);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .35; transform: scale(.8); } }

.grad-text {
  background: var(--grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradShift 6s linear infinite;
}
@keyframes gradShift { to { background-position: 200% center; } }

.section { position: relative; padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 6.4vw, 46px);
  line-height: 1.12;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-lead { color: var(--muted); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--pink);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px;
  border: 0; border-radius: 999px;
  font-weight: 700; font-size: 16px; line-height: 1.25; text-align: center; text-decoration: none;
  color: #fff; cursor: pointer;
  background: var(--btn-bg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--small { padding: 10px 18px; font-size: 14px; }
.btn--large { padding: 20px 34px; font-size: 18px; }

.btn--glow {
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--pink));
  background-size: 200% auto;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset, 0 10px 30px rgba(255, 63, 164, .45);
  animation: btnShift 4s linear infinite;
}
.btn--glow:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 14px 40px rgba(255, 63, 164, .65); }
@keyframes btnShift { to { background-position: 200% center; } }

.btn--funnel {
  width: 100%;
  padding: 18px 22px;
  font-size: 16px;
  border-radius: 18px;
  justify-content: flex-start;
  text-align: left;
}
.btn--funnel .btn__icon {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 12px;
  font-size: 24px; background: rgba(255, 255, 255, .18);
}
.btn--green {
  background: linear-gradient(135deg, #18c472, #10a6a0);
  box-shadow: 0 10px 30px rgba(61, 255, 154, .28), 0 0 0 1px rgba(255, 255, 255, .15) inset;
  animation: pulseGreen 2.8s ease-in-out infinite;
}
.btn--purple {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 10px 30px rgba(139, 61, 255, .35), 0 0 0 1px rgba(255, 255, 255, .15) inset;
  animation: pulsePurple 2.8s ease-in-out 1.4s infinite;
}
@keyframes pulseGreen { 50% { box-shadow: 0 10px 44px rgba(61, 255, 154, .55), 0 0 0 1px rgba(255, 255, 255, .25) inset; } }
@keyframes pulsePurple { 50% { box-shadow: 0 10px 44px rgba(255, 63, 164, .55), 0 0 0 1px rgba(255, 255, 255, .25) inset; } }

/* Ripple (created by JS) */
.ripple {
  position: absolute; z-index: -1; border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  transform: scale(0); animation: ripple .7s ease-out forwards; pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav.is-scrolled {
  background: rgba(13, 4, 32, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--border), 0 10px 30px rgba(0, 0, 0, .3);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-width: 0; }
.nav__logo { width: 62px; height: auto; transition: transform .4s var(--ease); filter: drop-shadow(0 0 10px rgba(255, 63, 164, .35)); }
.nav__brand:hover .nav__logo { transform: rotate(-6deg) scale(1.06); }
.nav__tagline { display: none; font-weight: 600; font-size: 14px; color: var(--muted); white-space: nowrap; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 12px) 0 150px;
  overflow: hidden;
  text-align: center;
}
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero__logo-wrap { position: relative; width: min(64vw, 300px); margin-bottom: 10px; }
.hero__logo-wrap::before {
  content: ""; position: absolute; inset: 12% 8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 63, 164, .55), rgba(34, 228, 240, .25) 50%, transparent 70%);
  filter: blur(30px);
  animation: halo 4s ease-in-out infinite;
}
@keyframes halo { 50% { transform: scale(1.15); opacity: .7; } }
.hero__logo {
  width: 100%; height: auto;
  animation: logoIn 1.1s var(--ease) both, float 6s ease-in-out 1.1s infinite;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .5));
}
@keyframes logoIn { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { transform: translateY(-12px) rotate(1.5deg); } }

.hero__eyebrow { animation: fadeUp .8s var(--ease) .3s both; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(28px, 8.2vw, 64px);
  line-height: 1.08;
  letter-spacing: .01em;
  margin: 6px 0 18px;
  max-width: 980px;
}
.hero__title .line { display: block; }
.hero__title .line--accent {
  background: var(--grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradShift 6s linear infinite;
  filter: drop-shadow(0 0 18px rgba(255, 63, 164, .35));
}
/* Word-by-word entrance (spans injected by JS) */
.word { display: inline-block; white-space: pre; }
.js .hero__title .word { opacity: 0; transform: translateY(40px) rotateX(-60deg); }
.js .hero__title.is-in .word {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i) * 70ms + 400ms);
}
.js .hero__title .line--accent { opacity: 0; transform: translateY(30px) scale(.96); }
.js .hero__title.is-in .line--accent {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease) .75s, transform 1s var(--ease) .75s;
}

.hero__sub { max-width: 640px; font-size: clamp(16px, 4.2vw, 20px); color: var(--muted); margin-bottom: 28px; }

.funnel { width: 100%; max-width: 760px; }
.funnel__label { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; }
.funnel__buttons { display: grid; gap: 14px; }

/* Lasers */
.lasers { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.lasers span {
  position: absolute; bottom: -10%; left: 50%;
  width: 3px; height: 130%;
  transform-origin: bottom center;
  background: linear-gradient(to top, transparent, var(--c, var(--pink)) 30%, transparent);
  opacity: .35;
  filter: blur(1px);
  box-shadow: 0 0 12px var(--c, var(--pink));
  animation: sweep var(--d, 7s) ease-in-out infinite alternate;
}
.lasers span:nth-child(1) { --c: var(--pink); --a: -38deg; --b: -8deg; --d: 6s; left: 8%; }
.lasers span:nth-child(2) { --c: var(--cyan); --a: 30deg; --b: 4deg; --d: 7.5s; left: 92%; }
.lasers span:nth-child(3) { --c: var(--purple); --a: -20deg; --b: 25deg; --d: 9s; left: 30%; }
.lasers span:nth-child(4) { --c: var(--green); --a: 22deg; --b: -26deg; --d: 8s; left: 70%; }
.lasers span:nth-child(5) { --c: var(--yellow); --a: -50deg; --b: -20deg; --d: 10s; left: 0%; }
.lasers span:nth-child(6) { --c: var(--cyan); --a: 50deg; --b: 18deg; --d: 11s; left: 100%; }
@keyframes sweep { from { transform: rotate(var(--a)); } to { transform: rotate(var(--b)); } }
.lasers--soft span { opacity: .22; }

/* Skyline + Ferris wheel */
.skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 170px; z-index: 1; pointer-events: none; }
.mountains { position: absolute; bottom: 0; width: 100%; height: 90px; fill: #090216; }
.skyline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.ferris {
  position: absolute; bottom: 40px; right: 6%;
  width: 120px; height: auto;
  color: rgba(139, 61, 255, .55);
  filter: drop-shadow(0 0 8px rgba(255, 63, 164, .4));
}
.ferris__wheel { transform-origin: 100px 100px; animation: spin 40s linear infinite; }
.ferris__lights circle { fill: var(--pink); animation: twinkle 1.6s ease-in-out infinite; }
.ferris__lights circle:nth-child(3n) { fill: var(--cyan); animation-delay: .4s; }
.ferris__lights circle:nth-child(3n+1) { fill: var(--yellow); animation-delay: .8s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle { 50% { opacity: .25; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; z-index: 3; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 20px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--yellow); animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Ticker ---------- */
.ticker {
  position: relative; z-index: 2;
  overflow: hidden;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--cyan));
  transform: rotate(-1.5deg) scale(1.03);
  box-shadow: 0 10px 40px rgba(139, 61, 255, .4);
}
.ticker__track {
  display: flex; align-items: center; gap: 22px; width: max-content;
  padding: 12px 0;
  font-family: var(--font-display); font-size: 16px; text-transform: uppercase; color: #fff;
  animation: marquee 30s linear infinite;
}
.ticker__track i { font-style: normal; color: var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Join / form ---------- */
.join__grid { display: grid; gap: 40px; align-items: center; }
.join__desc { color: var(--muted); font-size: 16px; }
.join__desc strong { color: var(--text); }

.guides { display: grid; gap: 12px; margin-top: 24px; }
.guide {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.guide:hover { transform: translateX(6px); border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .07); }
.guide strong { display: block; font-size: 15px; }
.guide small { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; }
.guide__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; font-size: 22px; }
.guide__icon--pink { background: rgba(255, 63, 164, .18); box-shadow: 0 0 18px rgba(255, 63, 164, .25); }
.guide__icon--cyan { background: rgba(34, 228, 240, .16); box-shadow: 0 0 18px rgba(34, 228, 240, .22); }
.guide__icon--yellow { background: rgba(255, 217, 59, .16); box-shadow: 0 0 18px rgba(255, 217, 59, .2); }

.form-card { position: relative; border-radius: var(--radius); padding: 2px; }
.form-card__border {
  position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: 0;
}
.form-card__border::before {
  content: ""; position: absolute; inset: -50%;
  background: conic-gradient(from 0deg, var(--pink), var(--purple), var(--cyan), var(--yellow), var(--orange), var(--pink));
  animation: spin 6s linear infinite;
}
.form-card::after {
  content: ""; position: absolute; inset: 10px; z-index: -1; border-radius: inherit;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
  filter: blur(40px); opacity: .45;
}
.form-card__body {
  position: relative; z-index: 1;
  padding: 28px 20px 24px;
  border-radius: calc(var(--radius) - 2px);
  background: linear-gradient(160deg, #1e0b3f 0%, #150730 100%);
}
.form-card__cta {
  font-family: var(--font-display); font-size: clamp(17px, 4.6vw, 21px); line-height: 1.25; text-transform: uppercase;
  text-align: center; margin-bottom: 22px;
}

.field { position: relative; margin-bottom: 18px; }
.field input {
  width: 100%;
  padding: 24px 16px 10px;
  border: 2px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  font-size: 16px; /* prevents iOS zoom */
  outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field label {
  position: absolute; left: 18px; top: 17px;
  color: var(--muted); font-size: 16px; pointer-events: none;
  transform-origin: left top;
  transition: transform .2s var(--ease), color .2s;
}
/* Keep browser autofill on-theme (Chrome paints it white/blue otherwise) */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  -webkit-box-shadow: 0 0 0 100px #2a1650 inset;
  box-shadow: 0 0 0 100px #2a1650 inset;
  transition: background-color 9999s ease-out;
}
.field input:focus { border-color: var(--cyan); background: rgba(255, 255, 255, .09); box-shadow: 0 0 0 4px rgba(34, 228, 240, .15), 0 0 24px rgba(34, 228, 240, .2); }
.field input:focus + label,
.field input:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.75); color: var(--cyan); }
.field.has-error input { border-color: var(--error); box-shadow: 0 0 0 4px rgba(255, 107, 139, .15); animation: shake .4s; }
.field.has-error label { color: var(--error); }
.field__error { display: block; min-height: 0; margin-top: 6px; font-size: 13px; color: var(--error); }
.field__error:empty { display: none; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.hide-sm { display: none; }
.captcha { display: flex; flex-direction: column; align-items: center; margin: 4px 0 16px; min-height: 78px; }
.captcha .g-recaptcha { border-radius: 4px; transition: box-shadow .25s; }
.captcha.has-error .g-recaptcha { box-shadow: 0 0 0 2px var(--error), 0 0 18px rgba(255, 107, 139, .35); animation: shake .4s; }
.captcha .field__error { text-align: center; }
/* The widget is a fixed 304px wide; shrink it on very narrow phones */
@media (max-width: 360px) {
  .captcha .g-recaptcha { transform: scale(.86); transform-origin: center top; margin-bottom: -10px; }
}

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn--submit {
  width: 100%; margin-top: 6px; padding: 18px 20px;
  font-size: 16px; text-transform: uppercase; letter-spacing: .02em;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--cyan), var(--pink));
  background-size: 300% auto;
  box-shadow: 0 12px 34px rgba(255, 63, 164, .45);
  animation: btnShift 5s linear infinite;
}
.btn--submit:hover { box-shadow: 0 16px 44px rgba(255, 63, 164, .65); }
.btn--submit:disabled { cursor: progress; filter: saturate(.7); transform: none; }
.btn__spinner {
  display: none; width: 22px; height: 22px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff;
  animation: spin .8s linear infinite;
}
.btn--submit.is-loading .btn__label { opacity: .0; position: absolute; }
.btn--submit.is-loading .btn__spinner { display: inline-block; }

.form-status { min-height: 1.4em; margin: 12px 0 0; text-align: center; font-size: 14px; font-weight: 600; }
.form-status.is-error { color: var(--error); }
.form-note { margin: 4px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

/* Success state */
.success { text-align: center; padding: 10px 4px; outline: none; animation: popIn .7s var(--ease) both; }
.success p { color: var(--muted); }
.success__badge { width: 86px; height: 86px; margin: 0 auto 18px; }
.success__badge svg { width: 100%; height: 100%; fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.success__badge svg { filter: drop-shadow(0 0 8px rgba(61, 255, 154, .7)); }
.success__badge circle { stroke: var(--green); stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .8s var(--ease) .1s forwards; }
.success__badge path { stroke: #fff; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s var(--ease) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes popIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
.success__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 5.4vw, 26px); text-transform: uppercase; margin-bottom: 14px; color: var(--text); }
#success-name { color: var(--yellow); }
.success__hint { font-size: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px dashed var(--border); }
.success__plur { margin: 16px 0 0; font-weight: 700; color: var(--pink) !important; }

/* ---------- Inventory ---------- */
.inventory__cols { display: grid; gap: 34px; }
.col { position: relative; display: grid; gap: 16px; padding: 22px 16px; border-radius: calc(var(--radius) + 6px); border: 1px solid transparent; transition: border-color .5s, box-shadow .5s, background .5s; }
.col.is-highlight { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .04); animation: colFlash 1.6s var(--ease); }
.col--camp.is-highlight { box-shadow: 0 0 0 2px rgba(61, 255, 154, .5), 0 0 60px rgba(61, 255, 154, .25); }
.col--strip.is-highlight { box-shadow: 0 0 0 2px rgba(255, 63, 164, .5), 0 0 60px rgba(255, 63, 164, .25); }
@keyframes colFlash { 0% { transform: scale(.98); } 40% { transform: scale(1.01); } 100% { transform: none; } }

.col__title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 5.4vw, 26px); text-transform: uppercase;
  padding-bottom: 6px;
}
.col__title span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 24px; background: rgba(255, 255, 255, .08); }
.col--camp .col__title { color: var(--green); text-shadow: 0 0 20px rgba(61, 255, 154, .4); }
.col--strip .col__title { color: var(--pink); text-shadow: 0 0 20px rgba(255, 63, 164, .4); }

.card {
  --glow: var(--pink);
  position: relative;
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform-style: preserve-3d;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  will-change: transform;
}
.card::before {
  /* Spotlight following the pointer (vars set in JS) */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .10), transparent 60%);
  transition: opacity .3s;
}
.card:hover { border-color: rgba(255, 255, 255, .28); box-shadow: 0 18px 50px rgba(0, 0, 0, .4), 0 0 30px color-mix(in srgb, var(--glow) 35%, transparent); }
.card:hover::before { opacity: 1; }
.card__icon {
  flex: none; display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 18px;
  color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--c) 30%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent);
  transition: transform .4s var(--ease);
}
.card__icon svg { width: 34px; height: 34px; filter: drop-shadow(0 0 6px var(--c)); overflow: visible; }
.card:hover .card__icon { transform: translateZ(30px) rotate(-6deg) scale(1.08); }
.card__icon--green { --c: var(--green); }
.card__icon--pink { --c: var(--pink); }
.card__icon--orange { --c: var(--orange); }
.card__icon--cyan { --c: var(--cyan); }
.card__icon--yellow { --c: var(--yellow); }
.card__icon--purple { --c: #b38aff; }
.col--camp .card { --glow: var(--green); }
.card__body { min-width: 0; }
.card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 6px; }
.card h4 { font-size: 17px; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
}
.tag--green { --c: var(--green); } .tag--pink { --c: var(--pink); } .tag--orange { --c: var(--orange); }
.tag--cyan { --c: var(--cyan); } .tag--yellow { --c: var(--yellow); } .tag--purple { --c: #b38aff; }

/* Icon micro-animations */
.anim-spin { transform-origin: 24px 24px; animation: spin 12s linear infinite; }
.anim-spin-slow { transform-origin: 24px 24px; animation: spin 20s linear infinite; }
.anim-z { animation: zzz 2.4s ease-in-out infinite; }
.anim-swing { transform-origin: 24px 39px; animation: swing 2.2s ease-in-out infinite; }
.anim-drip { animation: drip 2s ease-in-out infinite; }
@keyframes zzz { 0%, 100% { opacity: .2; transform: translate(0, 4px); } 50% { opacity: 1; transform: translate(2px, -2px); } }
@keyframes swing { 50% { transform: rotate(14deg); } }
@keyframes drip { 0%, 100% { opacity: 1; } 50% { opacity: .3; transform: translateY(2px); } }
.card:hover .anim-spin { animation-duration: 3s; }

.col__cta {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 4px; padding: 10px 4px;
  font-weight: 700; text-decoration: none;
}
.col--camp .col__cta { color: var(--green); }
.col--strip .col__cta { color: var(--pink); }
.col__cta span { transition: transform .3s var(--ease); }
.col__cta:hover span { transform: translateX(6px); }

/* ---------- About / manifesto ---------- */
.manifesto {
  position: relative;
  max-width: 900px; margin: 0 auto;
  padding: 34px 20px;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(139, 61, 255, .16), rgba(255, 63, 164, .08) 60%, rgba(34, 228, 240, .08));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  text-align: center;
}
.manifesto::before {
  content: "“"; position: absolute; top: -34px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-size: 110px; line-height: 1; color: var(--pink);
  text-shadow: 0 0 30px rgba(255, 63, 164, .6);
}
.manifesto__text { font-size: 17px; line-height: 1.8; color: var(--muted); }
.manifesto__text strong { color: var(--text); }
.manifesto__text p:last-child { margin-bottom: 0; }
.sig { display: block; margin-top: 12px; font-family: var(--font-display); font-size: 18px; color: var(--yellow); text-transform: uppercase; }

.plur { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 900px; margin: 30px auto 0; }
.plur__item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 20px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .04);
  transition: transform .35s var(--ease), background .35s;
}
.plur__item:hover { transform: translateY(-6px) rotate(-1deg); background: rgba(255, 255, 255, .08); }
.plur__emoji { font-size: 30px; animation: float 4s ease-in-out infinite; }
.plur__item:nth-child(2) .plur__emoji { animation-delay: .5s; }
.plur__item:nth-child(3) .plur__emoji { animation-delay: 1s; }
.plur__item:nth-child(4) .plur__emoji { animation-delay: 1.5s; }
.plur__word {
  font-family: var(--font-display); font-size: 18px; text-transform: uppercase;
  background: var(--grad); background-size: 300% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradShift 5s linear infinite;
}

/* ---------- Final CTA ---------- */
.final-cta { position: relative; padding: 90px 0; overflow: hidden; text-align: center; }
.final-cta__inner { position: relative; z-index: 1; max-width: 760px; }
.final-cta h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 7vw, 50px); text-transform: uppercase; margin-bottom: 16px; }
.final-cta p { color: var(--muted); font-size: 17px; margin-bottom: 30px; }
.final-cta .btn { width: 100%; max-width: 460px; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  padding: 50px 0 34px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(13, 4, 32, .4), #07010f);
  text-align: center;
}
.footer::before {
  content: ""; position: absolute; top: -1px; left: 10%; right: 10%; height: 2px;
  background: var(--grad); background-size: 200% auto; animation: gradShift 6s linear infinite;
  box-shadow: 0 0 20px var(--pink);
}
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.footer__logo { width: 110px; height: auto; margin-bottom: 14px; }
.footer__loc { font-weight: 600; margin-bottom: 6px; }
.footer__tagline { font-family: var(--font-display); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--pink); text-shadow: 0 0 16px rgba(255, 63, 164, .45); animation: footerPulse 3s ease-in-out infinite; }
@keyframes footerPulse { 50% { text-shadow: 0 0 26px rgba(255, 63, 164, .8); } }
.footer__contact a { color: var(--muted); text-decoration: none; }
.footer__contact a:hover { color: var(--cyan); }
.footer__copy { margin: 10px 0 0; font-size: 13px; color: rgba(196, 182, 230, .6); }
.footer__credit { margin: 4px 0 0; font-size: 12px; color: rgba(196, 182, 230, .5); }
.footer__credit a { color: var(--muted); font-weight: 600; text-decoration: none; transition: color .2s; }
.footer__credit a:hover { color: var(--cyan); text-decoration: underline; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; }
.js .reveal[data-delay="4"] { transition-delay: .4s; }
.js .hero .reveal[data-delay="2"] { transition-delay: 1.1s; }
.js .hero .reveal[data-delay="3"] { transition-delay: 1.3s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 560px) {
  .container { padding: 0 24px; }
  .nav__tagline { display: inline; }
  .hide-sm { display: inline; }
  .plur { grid-template-columns: repeat(4, 1fr); }
  .form-card__body { padding: 36px 32px 30px; }
}

@media (min-width: 760px) {
  :root { --nav-h: 76px; }
  .nav__logo { width: 72px; }
  .funnel__buttons { grid-template-columns: 1fr 1fr; }
  .hero__logo-wrap { width: 320px; }
  .ferris { width: 170px; }
  .section { padding: 110px 0; }
  .manifesto { padding: 54px 56px; }
  .card { padding: 24px 22px; }
}

@media (min-width: 1000px) {
  .join__grid { grid-template-columns: 1.05fr .95fr; gap: 64px; }
  .inventory__cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .col { padding: 26px 22px; }
  .hero__logo-wrap { width: 340px; }
  .ferris { width: 210px; right: 8%; }
}

@media (min-width: 1000px) and (min-height: 820px) {
  .hero__logo-wrap { width: 380px; }
}

/* Short landscape phones */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; padding-bottom: 120px; }
  .hero__logo-wrap { width: 160px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal, .js .hero__title .word, .js .hero__title .line--accent { opacity: 1 !important; transform: none !important; }
  .lasers { display: none; }
}
