/* ── Hero Oracle (centered, full hero width) ─────────────── */
.hero__oracle {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
  width: 100%;
  max-width: 700px;
}

.hero__oracle-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Styled like a large heading but <p> tag — keeps h1 on the SEO headline below */
.hero__oracle-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--text);
}

.hero__oracle-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 460px;
  margin: 0;
}

.oracle-box {
  position: relative;
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(196,150,255,0.2);
  border-radius: 18px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.25s, box-shadow 0.25s;
  box-shadow:
    0 4px 32px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.oracle-box:focus-within {
  border-color: rgba(212,164,192,0.55);
  box-shadow:
    0 0 0 3px rgba(212,164,192,0.08),
    0 8px 48px rgba(0,0,0,0.36),
    0 0 80px rgba(124,58,237,0.14);
}

.oracle-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  padding: 1.4rem 5rem 1.4rem 1.75rem;
  resize: none;
  min-height: 120px;
  max-height: 260px;
  overflow-y: auto;
  box-sizing: border-box;
  border-radius: 18px;
}

.oracle-input::placeholder { color: var(--text-dim); }

.oracle-send {
  position: absolute;
  bottom: 1.1rem;
  right: 1.1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,58,237,0.45), rgba(196,122,149,0.4));
  border: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.oracle-send--ready {
  background: linear-gradient(135deg, var(--purple), var(--rose));
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.5);
}

.oracle-send--ready:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(124,58,237,0.65);
}

.hero__oracle-hint {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ── Hero tagline section + daily card ───────────────────── */
.hero-tagline {
  padding: 4rem 0 2.5rem;
  border-top: 1px solid var(--border);
}

.hero-tagline__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4rem;
}

.hero-tagline__copy { min-width: 0; }

.hero-tagline__headline {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-tagline__headline em {
  font-style: normal;
  color: var(--gold);
}

.hero-tagline__visual {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hero-tagline__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-tagline__visual { display: flex; justify-content: center; }
}

/* ── PWA install banner ───────────────────────────────── */
.pwa-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: linear-gradient(135deg, rgba(124,58,237,0.14), rgba(192,132,252,0.10));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196,150,255,0.22);
  padding: 0.75rem 0;
}

.pwa-banner__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pwa-banner__icon {
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
}

.pwa-banner__text {
  flex: 1;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.pwa-banner__text strong {
  color: var(--text);
  font-weight: 600;
}

.pwa-banner__install {
  flex-shrink: 0;
  padding: 0.45rem 1.1rem;
  background: linear-gradient(135deg, var(--purple), #7050a0);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity 0.2s;
}
.pwa-banner__install:hover { opacity: 0.85; }

.pwa-banner__dismiss {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  transition: color 0.2s;
}
.pwa-banner__dismiss:hover { color: var(--text-muted); }

@media (max-width: 480px) {
  .pwa-banner__text { font-size: 0.78rem; }
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  right: 5%;
  top: 10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Hero Cosmos (stars + moon + sparkles) ─────────────── */
.hero-cosmos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* Star field layer 1 */
.hero-cosmos::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1.5px 1.5px at 4% 12%,  rgba(255,255,255,0.90) 0%, transparent 100%),
    radial-gradient(1px   1px   at 14% 6%,   rgba(212,164,192,0.90) 0%, transparent 100%),
    radial-gradient(2px   2px   at 24% 20%,  rgba(255,255,255,0.80) 0%, transparent 100%),
    radial-gradient(1px   1px   at 34% 4%,   rgba(167,139,250,0.85) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 46% 15%,  rgba(255,255,255,0.85) 0%, transparent 100%),
    radial-gradient(1px   1px   at 58% 8%,   rgba(212,164,192,0.80) 0%, transparent 100%),
    radial-gradient(2px   2px   at 68% 18%,  rgba(255,255,255,0.70) 0%, transparent 100%),
    radial-gradient(1px   1px   at 80% 5%,   rgba(201,168,76, 0.80) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 90% 13%,  rgba(255,255,255,0.90) 0%, transparent 100%),
    radial-gradient(1px   1px   at 97% 7%,   rgba(212,164,192,0.70) 0%, transparent 100%),
    radial-gradient(1px   1px   at 2%  32%,  rgba(255,255,255,0.60) 0%, transparent 100%),
    radial-gradient(2px   2px   at 18% 38%,  rgba(212,164,192,0.80) 0%, transparent 100%),
    radial-gradient(1px   1px   at 40% 30%,  rgba(167,139,250,0.70) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 64% 35%,  rgba(255,255,255,0.70) 0%, transparent 100%),
    radial-gradient(1px   1px   at 84% 28%,  rgba(212,164,192,0.80) 0%, transparent 100%),
    radial-gradient(1px   1px   at 10% 55%,  rgba(255,255,255,0.50) 0%, transparent 100%),
    radial-gradient(2px   2px   at 30% 62%,  rgba(212,164,192,0.60) 0%, transparent 100%),
    radial-gradient(1px   1px   at 54% 50%,  rgba(167,139,250,0.70) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 76% 60%,  rgba(255,255,255,0.50) 0%, transparent 100%),
    radial-gradient(1px   1px   at 94% 54%,  rgba(212,164,192,0.70) 0%, transparent 100%),
    radial-gradient(3px   3px   at 22% 10%,  rgba(212,164,192,0.90) 0%, rgba(212,164,192,0.25) 55%, transparent 100%),
    radial-gradient(3px   3px   at 74% 16%,  rgba(201,168,76, 0.80) 0%, rgba(201,168,76, 0.20) 55%, transparent 100%),
    radial-gradient(4px   4px   at 50% 6%,   rgba(255,255,255,1.00) 0%, rgba(255,255,255,0.25) 60%, transparent 100%);
  animation: star-twinkle 5s ease-in-out infinite alternate;
}

/* Star field layer 2 — offset timing, different positions */
.hero-cosmos::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1px   1px   at 8%  22%,  rgba(255,255,255,0.70) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 20% 14%,  rgba(212,164,192,0.80) 0%, transparent 100%),
    radial-gradient(1px   1px   at 36% 25%,  rgba(167,139,250,0.60) 0%, transparent 100%),
    radial-gradient(2px   2px   at 52% 10%,  rgba(255,255,255,0.80) 0%, transparent 100%),
    radial-gradient(1px   1px   at 70% 22%,  rgba(212,164,192,0.70) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 86% 18%,  rgba(255,255,255,0.60) 0%, transparent 100%),
    radial-gradient(1px   1px   at 6%  48%,  rgba(212,164,192,0.50) 0%, transparent 100%),
    radial-gradient(2px   2px   at 26% 42%,  rgba(255,255,255,0.60) 0%, transparent 100%),
    radial-gradient(1px   1px   at 48% 45%,  rgba(167,139,250,0.60) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 72% 40%,  rgba(212,164,192,0.70) 0%, transparent 100%),
    radial-gradient(1px   1px   at 92% 46%,  rgba(255,255,255,0.50) 0%, transparent 100%),
    radial-gradient(1px   1px   at 16% 70%,  rgba(212,164,192,0.40) 0%, transparent 100%),
    radial-gradient(2px   2px   at 44% 72%,  rgba(255,255,255,0.40) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 62% 68%,  rgba(167,139,250,0.50) 0%, transparent 100%),
    radial-gradient(3px   3px   at 38% 18%,  rgba(201,168,76, 0.75) 0%, rgba(201,168,76, 0.20) 55%, transparent 100%);
  animation: star-twinkle 7s ease-in-out infinite alternate-reverse;
  opacity: 0.7;
}

/* Crescent moon — inset shadow carves the dark side, outer rings pulse */
.hero-moon {
  position: absolute;
  top: 5%;
  left: 3%;
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 32%,
    rgba(255, 240, 255, 0.72) 0%,
    rgba(200, 150, 255, 0.45) 25%,
    rgba(157,  92, 237, 0.18) 52%,
    transparent 72%);
  border: 2px solid rgba(196, 150, 255, 0.60);
  box-shadow:
    inset 42px 10px 55px 0px #120726,
    0 0   45px rgba(157,  92, 237, 0.55),
    0 0   90px rgba(124,  58, 237, 0.28),
    0 0  155px rgba(100,  40, 200, 0.16);
  animation: moon-ritual 4s ease-in-out infinite alternate;
}

/* Upper orbiting star */
.hero-moon::before {
  content: '';
  position: absolute;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,240,255,1) 0%, rgba(192,150,255,0.80) 55%, transparent 100%);
  box-shadow: 0 0 12px rgba(192,150,255,1), 0 0 26px rgba(157,92,237,0.70), 0 0 45px rgba(124,58,237,0.35);
  top: -7px; right: 26px;
  animation: orbit-star-a 4.5s ease-in-out infinite alternate;
}

/* Lower orbiting star */
.hero-moon::after {
  content: '';
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,171,252,1) 0%, rgba(192,80,210,0.80) 55%, transparent 100%);
  box-shadow: 0 0 9px rgba(240,171,252,1), 0 0 20px rgba(192,80,210,0.70);
  bottom: 6px; left: -11px;
  animation: orbit-star-b 6s ease-in-out infinite alternate-reverse;
}

/* Floating sparkle dots */
.sparkle {
  position: absolute;
  border-radius: 50%;
  animation: sparkle-pulse 4s ease-in-out infinite;
}

.sparkle.s1 { width:3px; height:3px; top:20%; left:18%; background:rgba(212,164,192,0.85); box-shadow:0 0 7px rgba(212,164,192,0.9); animation-delay:0s; }
.sparkle.s2 { width:2px; height:2px; top:38%; left:11%; background:rgba(201,168,76, 0.80); box-shadow:0 0 6px rgba(201,168,76, 0.9); animation-delay:-1.5s; }
.sparkle.s3 { width:4px; height:4px; top:14%; left:44%; background:rgba(255,255,255, 0.90); box-shadow:0 0 8px rgba(255,255,255,0.8); animation-delay:-3.0s; }
.sparkle.s4 { width:2px; height:2px; top:58%; left:20%; background:rgba(167,139,250,0.85); box-shadow:0 0 6px rgba(167,139,250,0.9); animation-delay:-2.0s; }
.sparkle.s5 { width:3px; height:3px; top:44%; left:7%;  background:rgba(212,164,192,0.70); box-shadow:0 0 7px rgba(212,164,192,0.8); animation-delay:-4.2s; }
.sparkle.s6 { width:2px; height:2px; top:26%; left:32%; background:rgba(201,168,76, 0.75); box-shadow:0 0 6px rgba(201,168,76, 0.8); animation-delay:-1.0s; }

@keyframes sparkle-pulse {
  0%,100% { opacity:0.3; transform:scale(1); }
  50%      { opacity:1;   transform:scale(1.6); }
}
@keyframes moon-ritual {
  from {
    box-shadow:
      inset 42px 10px 55px 0px #120726,
      0 0   38px rgba(157,  92, 237, 0.42),
      0 0   75px rgba(124,  58, 237, 0.20),
      0 0  128px rgba(100,  40, 200, 0.11);
    border-color: rgba(196, 150, 255, 0.38);
    transform: scale(1);
    filter: brightness(1);
  }
  to {
    box-shadow:
      inset 42px 10px 55px 0px #120726,
      0 0   70px rgba(192, 132, 252, 1.00),
      0 0  140px rgba(157,  92, 237, 0.72),
      0 0  240px rgba(124,  58, 237, 0.46),
      0 0  380px rgba(100,  40, 200, 0.24),
      0 0  520px rgba( 80,  20, 160, 0.12);
    border-color: rgba(220, 180, 255, 0.90);
    transform: scale(1.06);
    filter: brightness(1.18);
  }
}
@keyframes orbit-star-a {
  0%   { transform: translate(0px,   0px) scale(1);    opacity: 0.75; }
  50%  { transform: translate(5px,  -8px) scale(1.40); opacity: 1.00; }
  100% { transform: translate(-3px, -4px) scale(0.85); opacity: 0.55; }
}
@keyframes orbit-star-b {
  0%   { transform: translate(0px,  0px) scale(1);    opacity: 0.70; }
  50%  { transform: translate(-6px, 5px) scale(1.35); opacity: 1.00; }
  100% { transform: translate(4px,  3px) scale(0.80); opacity: 0.50; }
}
@keyframes star-twinkle {
  from { opacity:0.45; }
  to   { opacity:1; }
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 52vh;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 1rem;
}

.hero__headline {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 1.2rem;
}

.hero__headline em {
  font-style: normal;
  color: var(--gold);
}

.hero__desc {
  font-size: 0.97rem;
  color: var(--text-muted);
  max-width: 400px;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.hero__desc em {
  font-style: normal;
  color: var(--gold);
  font-weight: 500;
}

.hero__desc--short { display: none; }

@media (max-width: 640px) {
  .hero__desc--full  { display: none; }
  .hero__desc--short { display: block; }
}

/* ── Hero Visual / Tarot cards ────────────────────────── */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.hero-cards {
  width: 340px;
  height: 390px;
}

.hero-tarot {
  width: 340px;
  height: 390px;
  filter: drop-shadow(0 0 30px rgba(212,112,140,0.20));
}

/* Individual card float animations */
.hero-card--c {
  animation: hcard-float 4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center bottom;
}
.hero-card--l {
  animation: hcard-side-l 5.5s ease-in-out infinite -1.5s;
  transform-box: fill-box;
  transform-origin: center bottom;
}
.hero-card--r {
  animation: hcard-side-r 6s ease-in-out infinite -3s;
  transform-box: fill-box;
  transform-origin: center bottom;
}

/* Center card: levitates high, glows at peak like it's being revealed */
@keyframes hcard-float {
  0%, 100% {
    transform: translateY(0px) scale(1) rotate(0deg);
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.65))
            drop-shadow(0 0  8px rgba(212,164,192,0.15));
  }
  45%, 55% {
    transform: translateY(-28px) scale(1.05) rotate(0.6deg);
    filter: drop-shadow(0 24px 36px rgba(0,0,0,0.45))
            drop-shadow(0 0  35px rgba(212,164,192,0.90))
            drop-shadow(0 0  60px rgba(212,112,140,0.50));
  }
}

/* Left card: rises and fans counter-clockwise (straightens toward center) */
@keyframes hcard-side-l {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    filter: drop-shadow(0 5px 14px rgba(0,0,0,0.60))
            drop-shadow(0 0  5px rgba(157,110,192,0.12));
  }
  45%, 55% {
    transform: translateY(-20px) rotate(3.5deg) scale(1.04);
    filter: drop-shadow(0 18px 28px rgba(0,0,0,0.42))
            drop-shadow(0 0  28px rgba(157,110,192,0.82))
            drop-shadow(0 0  48px rgba(157,110,192,0.40));
  }
}

/* Right card: rises and fans clockwise (straightens toward center) */
@keyframes hcard-side-r {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    filter: drop-shadow(0 5px 14px rgba(0,0,0,0.60))
            drop-shadow(0 0  5px rgba(212,112,140,0.12));
  }
  45%, 55% {
    transform: translateY(-20px) rotate(-3.5deg) scale(1.04);
    filter: drop-shadow(0 18px 28px rgba(0,0,0,0.42))
            drop-shadow(0 0  28px rgba(212,112,140,0.82))
            drop-shadow(0 0  48px rgba(212,112,140,0.40));
  }
}

/* ── Prop card 1 — oracle card float + AI orb pulse ───── */
.pc1-card-float {
  animation: pc1-float 4.5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.pc1-orb-pulse {
  animation: pc1-orb 3s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes pc1-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes pc1-orb {
  0%, 100% { opacity: 0.80; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.18); filter: drop-shadow(0 0 8px rgba(236,160,188,0.8)); }
}

/* ── Prop card 2 — animated constellation lines ──────── */
.pc2-spoke {
  animation: dash-flow 2.5s linear infinite;
}
.pc2-hex {
  animation: dash-flow 4s linear infinite reverse;
}
@keyframes dash-flow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -24; }
}

/* Pulsing mini card nodes */
.pc2-card-n {
  animation: card-node 3.5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.pc2-card-1 { animation-delay:  0.0s; }
.pc2-card-2 { animation-delay:  0.6s; }
.pc2-card-3 { animation-delay:  1.2s; }
.pc2-card-4 { animation-delay:  1.8s; }
.pc2-card-5 { animation-delay:  2.4s; }
.pc2-card-6 { animation-delay:  3.0s; }
@keyframes card-node {
  0%, 100% { opacity: 0.78; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.10); }
}

/* ── Prop card 3 — cards drift toward each other, axis pulses ── */
.pc3-card-l {
  animation: pc3-drift-l 5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.pc3-card-r {
  animation: pc3-drift-r 5s ease-in-out infinite -2.5s;
  transform-box: fill-box;
  transform-origin: center;
}
.pc3-axis {
  animation: axis-pulse 3s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes pc3-drift-l {
  0%, 100% { transform: translateX(0px) translateY(0px); }
  50%       { transform: translateX(6px)  translateY(-4px); }
}
@keyframes pc3-drift-r {
  0%, 100% { transform: translateX(0px)  translateY(0px); }
  50%       { transform: translateX(-6px) translateY(-4px); }
}
@keyframes axis-pulse {
  0%, 100% { opacity: 0.65; }
  50%       { opacity: 1; }
}

/* ── Category pill icons — gentle float ──────────────── */
.cat-pill__icon {
  animation: pill-icon-float 3.5s ease-in-out infinite;
  will-change: transform, filter;
}
.cat-grid .cat-pill:nth-child(1) .cat-pill__icon { animation-delay: 0.0s; }
.cat-grid .cat-pill:nth-child(2) .cat-pill__icon { animation-delay: 0.6s; }
.cat-grid .cat-pill:nth-child(3) .cat-pill__icon { animation-delay: 1.2s; }
.cat-grid .cat-pill:nth-child(4) .cat-pill__icon { animation-delay: 1.8s; }
.cat-grid .cat-pill:nth-child(5) .cat-pill__icon { animation-delay: 2.4s; }
@keyframes pill-icon-float {
  0%, 100% { transform: translateY(0px) scale(1); filter: drop-shadow(0 0 2px currentColor); }
  50%       { transform: translateY(-5px) scale(1.06); filter: drop-shadow(0 0 10px currentColor); }
}

/* ── Spreads strip ────────────────────────────────────── */
.spreads-section {
  padding: 1rem 0 3rem;
}

.spreads-section__label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.spreads-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.spread-chip {
  background: linear-gradient(180deg, rgba(190,140,255,0.08), rgba(120,80,200,0.03));
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: all 0.2s;
  text-decoration: none;
}

.spread-chip:hover {
  border-color: var(--gold);
  background: var(--gold-dim);
  transform: translateY(-2px);
}

.spread-chip__name { font-family: var(--font-heading); font-size: 0.9rem; color: var(--text); }
.spread-chip__desc { font-size: 0.75rem; color: var(--text-muted); }

/* ── Feature tiles ───────────────────────────────────── */
.features-section {
  padding: 2rem 0 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-tile {
  background: linear-gradient(160deg, rgba(190,140,255,0.07), rgba(120,80,200,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.25s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}

.feature-tile--reading::before   { background: linear-gradient(90deg, var(--purple), var(--purple-light)); }
.feature-tile--community::before { background: linear-gradient(90deg, #c47a95, #eca0bc); }
.feature-tile--exchange::before  { background: linear-gradient(90deg, #b89340, var(--gold)); }

.feature-tile:hover {
  border-color: var(--border-2);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(124,58,237,0.12);
}

.feature-tile__glyph {
  font-size: 1.4rem;
  line-height: 1;
}

.feature-tile--reading .feature-tile__glyph   { color: var(--purple-light); }
.feature-tile--community .feature-tile__glyph { color: #eca0bc; }
.feature-tile--exchange .feature-tile__glyph  { color: var(--gold); }

.feature-tile__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--text);
}

.feature-tile__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.72;
  flex: 1;
}

.feature-tile__cta {
  align-self: flex-start;
  margin-top: 0.25rem;
}

/* ── Divider ──────────────────────────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto 1.25rem;
  font-size: 0.65rem;
  color: var(--gold);
  filter: drop-shadow(0 0 5px rgba(212,164,192,0.7));
  letter-spacing: 0.05em;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 0 0 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.55;
}

/* ── Categories ───────────────────────────────────────── */
.categories {
  padding: 3rem 0 4rem;
}

.categories__header {
  text-align: center;
  margin-bottom: 2rem;
}

.categories__header p {
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.cat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.4rem 0.75rem;
  background: linear-gradient(180deg, rgba(190,140,255,0.07), rgba(120,80,200,0.02));
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all 0.3s;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-ui);
  letter-spacing: 0.04em;
}

.cat-pill:hover {
  transform: translateY(-3px);
}

.cat-pill[href*="relationship"]:hover {
  border-color: var(--rose);
  color: var(--rose-light);
  background: var(--rose-dim);
  box-shadow: 0 0 22px rgba(212,112,140,0.20), 0 6px 20px rgba(0,0,0,0.3);
}
.cat-pill[href*="career"]:hover {
  border-color: var(--purple-light);
  color: var(--purple-light);
  background: var(--purple-dim);
  box-shadow: 0 0 22px rgba(157,110,192,0.22), 0 6px 20px rgba(0,0,0,0.3);
}
.cat-pill[href*="finance"]:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: var(--gold-dim);
  box-shadow: 0 0 22px rgba(212,164,192,0.22), 0 6px 20px rgba(0,0,0,0.3);
}
.cat-pill[href*="health"]:hover {
  border-color: #6abf9e;
  color: #6abf9e;
  background: rgba(106,191,158,0.10);
  box-shadow: 0 0 22px rgba(106,191,158,0.18), 0 6px 20px rgba(0,0,0,0.3);
}
.cat-pill[href*="spirituality"]:hover {
  border-color: #c4b5fd;
  color: #c4b5fd;
  background: rgba(196,181,253,0.10);
  box-shadow: 0 0 22px rgba(196,181,253,0.20), 0 6px 20px rgba(0,0,0,0.3);
}

.cat-pill__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  transition: transform 0.3s, filter 0.3s;
  filter: drop-shadow(0 0 2px currentColor);
  color: var(--text-muted);
}

.cat-pill__icon svg {
  width: 100%;
  height: 100%;
}

.cat-pill:hover .cat-pill__icon {
  transform: scale(1.14);
  filter: drop-shadow(0 0 9px currentColor);
}

.cat-pill[href*="relationship"] .cat-pill__icon { color: var(--rose-light); }
.cat-pill[href*="career"]       .cat-pill__icon { color: var(--purple-light); }
.cat-pill[href*="finance"]      .cat-pill__icon { color: var(--gold-light); }
.cat-pill[href*="health"]       .cat-pill__icon { color: #6ee7b7; }
.cat-pill[href*="spirituality"] .cat-pill__icon { color: #c4b5fd; }

/* ── CTA Banner ───────────────────────────────────────── */
.cta-banner {
  padding: 4rem 0 5rem;
}

.cta-banner__inner {
  background: linear-gradient(180deg, rgba(190,140,255,0.10), rgba(120,80,200,0.04));
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 60px rgba(157,110,192,0.10),
    0 0 120px rgba(212,112,140,0.06),
    inset 0 0 80px rgba(157,110,192,0.04);
}

.cta-banner__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(124,58,237,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(240,171,252,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__inner > * { position: relative; }
.cta-banner h2 { margin-bottom: 0.75rem; }
.cta-banner p  { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── Preview sections (community + exchanges) ─────────── */
.preview-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.preview-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.preview-section__header h2 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

.preview-section__more {
  font-size: 0.85rem;
  color: var(--gold);
  white-space: nowrap;
}
.preview-section__more:hover { color: var(--gold-light); }

.preview-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

/* Preview card */
.preview-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: linear-gradient(180deg, rgba(190,140,255,0.08), rgba(120,80,200,0.03));
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.15s;
  min-width: 0;
}
.preview-card:hover {
  border-color: rgba(212,164,192,0.50);
  transform: translateY(-6px) !important;
  color: var(--text);
  box-shadow: 0 12px 32px rgba(0,0,0,0.40), 0 0 18px rgba(212,164,192,0.14);
  animation-play-state: paused;
}

/* ── Preview card float animation ────────────────────── */
.preview-card {
  animation: preview-float 4s ease-in-out infinite;
  will-change: transform;
}

/* Stagger delays so cards ripple like a wave */
.preview-row .preview-card:nth-child(1) { animation-delay: 0.0s; }
.preview-row .preview-card:nth-child(2) { animation-delay: 0.6s; }
.preview-row .preview-card:nth-child(3) { animation-delay: 1.2s; }
.preview-row .preview-card:nth-child(4) { animation-delay: 1.8s; }
.preview-row .preview-card:nth-child(5) { animation-delay: 2.4s; }

@keyframes preview-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-5px); }
}

.preview-card__badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  align-self: flex-start;
  animation: badge-glow 4s ease-in-out infinite;
  will-change: filter;
}
.preview-row .preview-card:nth-child(1) .preview-card__badge { animation-delay: 0.0s; }
.preview-row .preview-card:nth-child(2) .preview-card__badge { animation-delay: 0.6s; }
.preview-row .preview-card:nth-child(3) .preview-card__badge { animation-delay: 1.2s; }
.preview-row .preview-card:nth-child(4) .preview-card__badge { animation-delay: 1.8s; }
.preview-row .preview-card:nth-child(5) .preview-card__badge { animation-delay: 2.4s; }
@keyframes badge-glow {
  0%, 100% { filter: none; }
  50%       { filter: brightness(1.3) drop-shadow(0 0 4px currentColor); }
}
.preview-card__badge--relationship { background: rgba(196,122,149,.15); color: var(--rose-light); }
.preview-card__badge--career       { background: rgba(124,58,237,.15);  color: var(--purple-light); }
.preview-card__badge--finance      { background: rgba(201,168,76,.15);  color: var(--gold-light); }
.preview-card__badge--health       { background: rgba(16,185,129,.15);  color: #6ee7b7; }
.preview-card__badge--spirituality { background: rgba(167,139,250,.15); color: #c4b5fd; }

.preview-card__spread {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.preview-card__question {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.preview-card__status {
  font-size: 0.72rem;
  font-weight: 500;
  margin-top: auto;
}
.preview-card__status--available { color: var(--success); }
.preview-card__status--taken     { color: var(--gold); }

.preview-empty {
  color: var(--text-dim);
  font-size: 0.9rem;
  grid-column: 1 / -1;
  padding: 1.5rem 0;
}

/* Skeleton loading */
.preview-skeleton {
  height: 140px;
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Hero CTA row ─────────────────────────────────────────── */
.hero__cta-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ── Hero daily card widget ───────────────────────────────── */
.hero-daily-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-daily-widget__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(240, 171, 252, 0.55);
}

/* Larger card for hero — width only, height auto-derives from card aspect ratio */
.hero-daily-flip .daily-flip__inner {
  width: 200px;
  aspect-ratio: 400 / 680;
  transform-style: preserve-3d; /* ensures backface-visibility fully suppresses box-shadow */
}

/* Bolder back face — more glow, more contrast */
.hero-daily-flip .daily-flip__back {
  background: linear-gradient(155deg, #4d1a88 0%, #200f42 60%, #130829 100%);
  border: 2px solid rgba(240, 171, 252, 0.50);
  box-shadow:
    0 20px 70px rgba(0,0,0,0.70),
    0 0   60px rgba(124, 58, 237, 0.40),
    0 0  100px rgba(157, 92, 237, 0.20);
  animation: hero-back-pulse 2.8s ease-in-out infinite;
  will-change: transform;
}

@keyframes hero-back-pulse {
  0%, 100% {
    box-shadow:
      0 20px 70px rgba(0,0,0,0.70),
      0 0   40px rgba(124, 58, 237, 0.28),
      0 0   80px rgba(157, 92, 237, 0.14);
    border-color: rgba(240, 171, 252, 0.38);
  }
  50% {
    box-shadow:
      0 20px 70px rgba(0,0,0,0.60),
      0 0  110px rgba(157, 92, 255, 0.80),
      0 0  180px rgba(124, 58, 237, 0.42),
      0 0  260px rgba(100, 40, 200, 0.18);
    border-color: rgba(240, 171, 252, 0.90);
  }
}

/* Stop all hero back-face animations and glow when revealed */
.hero-daily-flip.daily-flip--revealed .daily-flip__back,
.daily-flip--revealed .hero-daily-flip .daily-flip__back {
  animation: none;
  box-shadow: none;
}
.hero-daily-flip.daily-flip--revealed .daily-back-design::before,
.hero-daily-flip.daily-flip--revealed .daily-back-design::after {
  animation: none;
}

/* Hover lift on the hero card — only before reveal */
.hero-daily-flip:not(.daily-flip--revealed):hover .daily-flip__back {
  transform: translateY(-8px) scale(1.02);
}

/* Bolder inner design */
/* Hero card — larger inner design with glowing crescent moon */
.hero-daily-flip .daily-back-design {
  width: 85%;
  height: 85%;
  border-radius: 14px;
}

/* Glowing crescent — warm rose-gold on deep violet, centred */
.hero-daily-flip .daily-back-design::after {
  content: '☽';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5.5rem;
  line-height: 1;
  color: rgba(248, 210, 185, 0.82);
  pointer-events: none;
  z-index: 1;
  animation: hero-crescent-pulse 3s ease-in-out infinite;
  will-change: filter;
}

@keyframes hero-crescent-pulse {
  0%, 100% {
    opacity: 0.55;
    filter: drop-shadow(0 0 12px rgba(248, 190, 150, 0.60))
            drop-shadow(0 0 30px rgba(220, 140, 100, 0.35));
  }
  50% {
    opacity: 0.92;
    filter: drop-shadow(0 0 22px rgba(248, 200, 160, 0.95))
            drop-shadow(0 0 55px rgba(220, 150, 110, 0.65))
            drop-shadow(0 0 80px rgba(200, 100, 80, 0.30));
  }
}

@keyframes hero-star-pulse {
  0%, 100% { opacity: 0.50; transform: scale(1);    filter: none; }
  50%       { opacity: 1.00; transform: scale(1.10); filter: drop-shadow(0 0 16px rgba(240,171,252,0.90)); }
}

/* Larger, glowing hint text */
.hero-daily-flip .daily-flip__hint {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(240, 171, 252, 0.70);
  animation: hero-hint-pulse 2.8s ease-in-out infinite;
}

@keyframes hero-hint-pulse {
  0%, 100% { opacity: 0.55; text-shadow: none; }
  50%       { opacity: 1;    text-shadow: 0 0 18px rgba(240,171,252,0.65); }
}

.hero-daily-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.hero-signin-error {
  font-size: 0.82rem;
  color: var(--rose);
  margin-top: 0.25rem;
}

.daily-flip--static {
  cursor: default;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-section {
  padding: 4rem 0 5rem;
  border-top: 1px solid var(--border);
}

.faq-section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  background: linear-gradient(180deg, rgba(190,140,255,0.06), rgba(120,80,200,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:has(.faq-item__q[aria-expanded="true"]) {
  border-color: var(--border-2);
}

.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1.35;
}

.faq-item__q:hover { color: var(--gold-light); }
.faq-item__q[aria-expanded="true"] { color: var(--gold-light); }

.faq-item__icon {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-dim);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
  user-select: none;
}

.faq-item__q[aria-expanded="true"] .faq-item__icon {
  transform: rotate(45deg);
  color: var(--gold);
}

/* Smooth expand via CSS grid trick */
.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item__a.is-open {
  grid-template-rows: 1fr;
}

.faq-item__a-inner {
  overflow: hidden;
  padding: 0 1.5rem;
}

.faq-item__a.is-open .faq-item__a-inner {
  padding-bottom: 1.25rem;
}

.faq-item__a p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.78;
}

.faq-item__a p strong {
  color: var(--text);
  font-weight: 500;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; }
  .spreads-row   { grid-template-columns: repeat(2, 1fr); }
  .cat-grid      { grid-template-columns: repeat(3, 1fr); }
  .preview-row   { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .preview-row  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* ── Hero ───────────────────────────────────────────── */
  .hero { padding: 6.5rem 0 3rem; }
  .hero__inner { min-height: auto; }
  /* Allow moon glow to render fully without clipping at top edge */
  .hero-cosmos { overflow: visible; }

  /* Oracle — comfortable spacing */
  .hero__oracle { gap: 1.1rem; max-width: 100%; }
  .hero__oracle-heading { font-size: 1.9rem; line-height: 1.18; }
  .hero__oracle-hint { display: none; }
  .oracle-input { font-size: 0.95rem; }

  /* ── Tagline + daily card ───────────────────────────── */
  .hero-tagline { padding: 3rem 0 0; }
  .hero-tagline__inner { grid-template-columns: 1fr; gap: 0; }
  .hero-tagline__headline { font-size: 2rem; }
  .hero__desc  { margin-left: auto; margin-right: auto; }
  .hero__cta-row { justify-content: center; margin-bottom: 3rem; }

  /* Daily card — clear visual separation from the tagline copy above */
  .hero-tagline__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid var(--border);
    padding: 2.5rem 0 3rem;
    width: 100%;
  }
  .hero-daily-flip .daily-flip__inner { width: 150px; }

  /* ── Categories ─────────────────────────────────────── */
  .cat-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── Moon — 100px, positioned well below top so glow never clips ── */
  .hero-moon {
    width: 100px; height: 100px;
    top: 80px; left: 12px;
    box-shadow:
      inset 28px 7px 36px 0px #120726,
      0 0 24px rgba(157,92,237,0.65),
      0 0 50px rgba(124,58,237,0.38),
      0 0 72px rgba(100,40,200,0.22);
    border-color: rgba(196,150,255,0.62);
  }
  .hero-moon::before, .hero-moon::after { display: none; }
  .sparkle.s3, .sparkle.s6 { display: none; }
}
