/* =====================================================================
   Rex Flubber Adult Pleasures — teaser/presale
   Retro × premium: 70s sunburst motifs executed with boutique restraint.
   Palette lifted from the logo:
     ink #0a0910 · cream #f5efe6 · chartreuse #d6f229 · magenta #c2479e
     violet #7b2d8e · coral #e86a5e · orange #f5a05a
   ===================================================================== */

:root {
  --ink: #0a0910;
  --ink-2: #12101a;
  --panel: #15121e;
  --panel-2: #1a1626;
  --line: rgba(214, 242, 41, 0.16);
  --cream: #f5efe6;
  --muted: #a99fbb;
  --chart: #d6f229;
  --magenta: #c2479e;
  --violet: #7b2d8e;
  --coral: #e86a5e;
  --orange: #f5a05a;
  --display: "Shrikhand", "Georgia", serif;
  --body: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle top vignette so the sunburst never fights the type */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, transparent 55%, rgba(10, 9, 16, 0.9) 100%);
  z-index: 1;
}
main, header, footer { position: relative; z-index: 2; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
a { color: var(--chart); }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--chart);
  margin: 0 0 14px;
  font-weight: 600;
}

/* --------------------------------------------------------------------- */
/* Buttons                                                                */
/* --------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font: 600 15px/1 var(--body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn--primary {
  background: var(--chart);
  color: var(--ink);
  box-shadow: 0 0 0 0 rgba(214, 242, 41, 0);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -8px rgba(214, 242, 41, 0.55), 0 0 0 1px rgba(214, 242, 41, 0.35);
}
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 239, 230, 0.28);
}
.btn--ghost:hover { border-color: var(--chart); color: var(--chart); transform: translateY(-2px); }

/* --------------------------------------------------------------------- */
/* Header                                                                 */
/* --------------------------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 9, 16, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245, 239, 230, 0.07);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.brandmark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream);
}
.brandmark img { height: 44px; width: auto; display: block; }
.site-head .btn { padding: 10px 20px; font-size: 13px; }

/* --------------------------------------------------------------------- */
/* Hero                                                                   */
/* --------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 88px 0 64px;
  text-align: center;
  overflow: hidden;
}
/* concentric ring echo of the logo + slow rotating sunburst rays */
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -220px;
  width: 1400px;
  height: 1400px;
  transform: translateX(-50%);
  background:
    repeating-radial-gradient(circle at center,
      rgba(214, 242, 41, 0.10) 0 2px, transparent 2px 96px),
    radial-gradient(circle at center,
      rgba(123, 45, 142, 0.34) 0%, rgba(194, 71, 158, 0.16) 34%, transparent 62%);
  border-radius: 50%;
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -320px;
  width: 1600px;
  height: 1600px;
  transform: translateX(-50%);
  background: repeating-conic-gradient(
    from 0deg,
    rgba(245, 160, 90, 0.05) 0deg 6deg,
    transparent 6deg 12deg);
  border-radius: 50%;
  animation: slow-spin 140s linear infinite;
  z-index: -2;
}
@keyframes slow-spin { to { transform: translateX(-50%) rotate(360deg); } }

.hero-logo {
  width: min(300px, 62vw);
  height: auto;
  display: block;
  margin: 0 auto 30px;
  filter: drop-shadow(0 18px 60px rgba(123, 45, 142, 0.45));
}
.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  max-width: 15ch;
  margin: 0 auto 0.35em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--chart) 10%, var(--orange) 55%, var(--magenta) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto 30px;
}
.hero .lede strong { color: var(--cream); font-weight: 500; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }

/* Countdown */
.countdown { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cd-cell {
  min-width: 92px;
  padding: 14px 12px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.cd-num {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 40px);
  color: var(--chart);
  font-variant-numeric: tabular-nums;
  display: block;
  line-height: 1;
}
.cd-label {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
  display: block;
}
.countdown-note { margin-top: 14px; font-size: 14px; color: var(--muted); letter-spacing: 0.08em; }

/* --------------------------------------------------------------------- */
/* Retro ticker strip                                                     */
/* --------------------------------------------------------------------- */
.ticker {
  border-block: 1px solid rgba(245, 239, 230, 0.08);
  background: linear-gradient(90deg, rgba(123, 45, 142, 0.22), rgba(194, 71, 158, 0.16), rgba(123, 45, 142, 0.22));
  overflow: hidden;
  padding: 13px 0;
}
.ticker-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: ticker 36s linear infinite;
}
.ticker span {
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}
.ticker span::after { content: "✦"; color: var(--chart); margin-left: 56px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------- */
/* Sections                                                               */
/* --------------------------------------------------------------------- */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p { color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------- */
/* Product cards                                                          */
/* --------------------------------------------------------------------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(214, 242, 41, 0.45);
  box-shadow: 0 24px 60px -24px rgba(123, 45, 142, 0.55);
}
/* mini ring motif watermark */
.card::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -110px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center,
    rgba(214, 242, 41, 0.10) 0 1.5px, transparent 1.5px 26px);
  pointer-events: none;
}
.card--bundle {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background:
    linear-gradient(100deg, rgba(123, 45, 142, 0.30), rgba(194, 71, 158, 0.16) 45%, var(--panel) 80%),
    var(--panel);
}
.card--bundle .card-copy { max-width: 56ch; }
.card h3 { font-size: 26px; margin: 0; }
.card .tagline { color: var(--muted); font-size: 15.5px; margin: 0; flex-grow: 1; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(194, 71, 158, 0.55);
  color: #eeb7dc;
  background: rgba(123, 45, 142, 0.18);
}
.chip--lime { border-color: rgba(214, 242, 41, 0.5); color: var(--chart); background: rgba(214, 242, 41, 0.08); }
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}
.price { font-family: var(--display); font-size: 30px; color: var(--cream); }
.price s { color: var(--muted); font-size: 19px; margin-right: 8px; }
.price-row small { color: var(--muted); font-size: 13px; }
.card .btn { justify-self: stretch; text-align: center; margin-top: 4px; }
.ships-note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 6px 0 0; letter-spacing: 0.06em; }

/* --------------------------------------------------------------------- */
/* Ingredients                                                            */
/* --------------------------------------------------------------------- */
.decks { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.deck {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 28px;
}
.deck h3 { font-size: 24px; }
.deck .deck-sub { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; letter-spacing: 0.04em; }
.deck ul { list-style: none; margin: 0; padding: 0; }
.deck li {
  padding: 11px 2px;
  border-bottom: 1px dashed rgba(245, 239, 230, 0.10);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16.5px;
}
.deck li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--chart);
  box-shadow: 0 0 12px rgba(214, 242, 41, 0.7);
  flex: none;
}
.deck--sensitive li::before { background: var(--orange); box-shadow: 0 0 12px rgba(245, 160, 90, 0.7); }
.deck-note { margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }
.ingredients-lede {
  text-align: center;
  color: var(--muted);
  max-width: 62ch;
  margin: -18px auto 42px;
}
.ingredients-lede strong { color: var(--cream); font-weight: 500; }

/* --------------------------------------------------------------------- */
/* Notify signup                                                          */
/* --------------------------------------------------------------------- */
.notify {
  text-align: center;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(123, 45, 142, 0.28), transparent 70%),
    var(--ink-2);
  border-block: 1px solid rgba(245, 239, 230, 0.07);
}
.notify h2 { font-size: clamp(30px, 4vw, 44px); }
.notify p { color: var(--muted); max-width: 52ch; margin: 0 auto 30px; }
.notify form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 560px;
  margin: 0 auto;
}
.notify input[type="email"], .notify input[type="text"] {
  flex: 1 1 240px;
  padding: 15px 20px;
  border-radius: 999px;
  border: 1px solid rgba(245, 239, 230, 0.22);
  background: var(--ink);
  color: var(--cream);
  font: 400 16px var(--body);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.notify input:focus {
  border-color: var(--chart);
  box-shadow: 0 0 0 3px rgba(214, 242, 41, 0.18);
}
.notify input.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-msg { margin-top: 16px; font-size: 15px; min-height: 24px; letter-spacing: 0.03em; }
.form-msg.ok { color: var(--chart); }
.form-msg.err { color: var(--coral); }

/* --------------------------------------------------------------------- */
/* Footer                                                                 */
/* --------------------------------------------------------------------- */
.site-foot { padding: 46px 0 54px; border-top: 1px solid rgba(245, 239, 230, 0.07); }
.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
}
.site-foot img { height: 54px; width: auto; }
.site-foot ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; font-size: 14px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--chart); }
.legal { flex-basis: 100%; color: #7d7492; font-size: 12.5px; line-height: 1.7; }

/* --------------------------------------------------------------------- */
/* Age gate                                                               */
/* --------------------------------------------------------------------- */
.agegate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 9, 16, 0.88);
  backdrop-filter: blur(14px);
}
.agegate[hidden] { display: none; }
.agegate-card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 44px 40px;
  max-width: 430px;
  text-align: center;
  box-shadow: 0 40px 120px -30px rgba(123, 45, 142, 0.7);
}
.agegate-card img { width: 130px; height: auto; margin-bottom: 20px; }
.agegate-card h2 { font-size: 27px; }
.agegate-card p { color: var(--muted); font-size: 15.5px; }
.agegate-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

/* --------------------------------------------------------------------- */
/* Reveal-on-scroll                                                       */
/* --------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------- */
/* Mini pages (checkout 503 / sandbox / thanks)                            */
/* --------------------------------------------------------------------- */
body.mini-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}
.mini-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 46px 44px;
  max-width: 470px;
  text-align: center;
}
.mini-logo { width: 140px; height: auto; margin-bottom: 18px; }
.mini-card h1 { font-size: 27px; }
.mini-card p { color: var(--muted); }
.mini-card code {
  background: var(--ink);
  border: 1px solid rgba(245, 239, 230, 0.14);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.9em;
  color: var(--chart);
}
.sandbox-tag {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px dashed rgba(245, 160, 90, 0.5);
  border-radius: 999px;
  padding: 7px 14px;
  display: inline-block;
  margin-bottom: 20px;
}
.sandbox-summary { text-align: left; margin: 0 0 26px; }
.sandbox-summary div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 2px;
  border-bottom: 1px dashed rgba(245, 239, 230, 0.12);
}
.sandbox-summary dt { color: var(--muted); }
.sandbox-summary dd { margin: 0; font-weight: 500; }
.sandbox-actions { display: flex; flex-direction: column; gap: 10px; }
.fineprint { font-size: 12.5px !important; color: #7d7492 !important; margin-top: 22px; }

/* --------------------------------------------------------------------- */
/* Responsive                                                             */
/* --------------------------------------------------------------------- */
@media (max-width: 760px) {
  section { padding: 60px 0; }
  .hero { padding: 56px 0 48px; }
  .card--bundle { flex-direction: column; align-items: stretch; }
  .cd-cell { min-width: 74px; }
}
