/* =====================================================
   THE ORACLE v4 — AI Chat + Location-Based Fortune Teller
   Oracle character images, location themes, passport system,
   Zoltar cabinet frame, GSAP transitions, typewriter oracle,
   AI chat interface
   ===================================================== */

@import url('./base.css');

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Cinzel:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --font-display: 'Cinzel Decorative', 'Cinzel', 'Georgia', serif;
  --font-heading: 'Cinzel', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;

  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Dark Mystical Palette */
  --color-bg:             #06060c;
  --color-surface:        #0c0c16;
  --color-surface-2:      #12122a;
  --color-surface-offset: #0a0a18;
  --color-border:         rgba(212, 175, 55, 0.12);
  --color-border-strong:  rgba(212, 175, 55, 0.28);
  --color-border-glow:    rgba(212, 175, 55, 0.5);
  --color-divider:        rgba(255, 255, 255, 0.05);

  /* Text */
  --color-text:           #e8e4d9;
  --color-text-muted:     #9a9488;
  --color-text-faint:     #5a564d;

  /* Gold Accent */
  --color-gold:           #d4af37;
  --color-gold-light:     #f0d060;
  --color-gold-pale:      #e8cc6e;
  --color-gold-dim:       #9a7b1a;
  --color-gold-glow:      rgba(212, 175, 55, 0.5);

  /* Purple Mystical */
  --color-purple:         #6b3fa0;
  --color-purple-deep:    #2a1050;
  --color-purple-dim:     #3d2266;
  --color-purple-glow:    rgba(107, 63, 160, 0.35);

  /* Crystal */
  --color-crystal:        #7ec8e3;
  --color-crystal-glow:   rgba(126, 200, 227, 0.3);

  /* Spicy mode */
  --color-spicy:          #e63946;
  --color-spicy-glow:     rgba(230, 57, 70, 0.35);

  /* Location accent (overridden by JS for themed locations) */
  --color-accent:         var(--color-gold);
  --color-accent-glow:    var(--color-gold-glow);

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
}

/* ── Global ── */
body {
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  position: relative;
}

/* ── Particle Canvas (full-screen background) ── */
#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── App Container ── */
.app {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-4) var(--space-4) var(--space-6);
  max-width: 440px;
  margin: 0 auto;
}

/* ── Screens ── */
.screen {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  opacity: 0;
}

.screen.active {
  display: flex;
  opacity: 1;
}

/* ═════════════════════════════════════════
   ORACLE CHARACTER — Zoltar Cabinet Frame
   ═════════════════════════════════════════ */
.oracle-cabinet {
  position: relative;
  width: 240px;
  margin: var(--space-3) auto var(--space-2);
}

.cabinet-frame {
  position: relative;
  width: 100%;
  padding: 8px;
  background: linear-gradient(180deg, #c9a227 0%, #8a6914 20%, #d4af37 50%, #8a6914 80%, #c9a227 100%);
  border-radius: 16px;
  box-shadow:
    0 0 40px rgba(212, 175, 55, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

/* Decorative corners */
.cabinet-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 2;
}

.cabinet-corner::before {
  content: '✦';
  font-size: 14px;
  color: #f0d060;
  text-shadow: 0 0 8px rgba(240, 208, 96, 0.6);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cabinet-corner-tl { top: -4px; left: -4px; }
.cabinet-corner-tr { top: -4px; right: -4px; }
.cabinet-corner-bl { bottom: -4px; left: -4px; }
.cabinet-corner-br { bottom: -4px; right: -4px; }

.oracle-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0a14;
}

.oracle-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.6s ease;
}

.oracle-image-next {
  opacity: 0;
  z-index: 1;
}

/* Inner glow overlay on image */
.oracle-image-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
              linear-gradient(to bottom, transparent 60%, rgba(6, 6, 12, 0.7) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Animated glow pulse around cabinet */
.cabinet-frame::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 20px;
  background: transparent;
  box-shadow:
    0 0 30px rgba(212, 175, 55, 0.12),
    0 0 60px rgba(107, 63, 160, 0.06);
  animation: cabinetGlow 4s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes cabinetGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Cabinet base */
.cabinet-base {
  width: 70%;
  margin: 0 auto;
  height: 12px;
  position: relative;
}

.cabinet-base-gold {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #8a6914, #3d2d10);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ── Mini cabinet (question + result + chat screens) ── */
.oracle-cabinet-mini {
  width: 140px;
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.cabinet-frame-mini {
  padding: 5px;
  border-radius: 12px;
}

.oracle-cabinet-mini .cabinet-corner { display: none; }
.oracle-cabinet-mini .cabinet-base { display: none; }

.cabinet-frame-mini::after {
  inset: -4px;
  border-radius: 14px;
}

/* ── Location Badge ── */
.location-badge {
  display: none; /* shown only when location is set */
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: rgba(12, 12, 22, 0.7);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  margin-bottom: var(--space-2);
}

.location-badge.visible {
  display: flex;
}

.location-badge-icon {
  font-size: 0.85rem;
}

/* ── Ornate Decorative Borders ── */
.ornate-line {
  width: 100%;
  height: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--space-3) 0;
  opacity: 0.6;
}

.ornate-line::before,
.ornate-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.ornate-line svg {
  margin: 0 var(--space-3);
  width: 24px;
  height: 24px;
  fill: var(--color-gold);
  opacity: 0.7;
}

/* ── Logo ── */
.logo-section {
  text-align: center;
  margin-bottom: var(--space-1);
}

.logo-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.06em;
  text-shadow:
    0 0 20px rgba(212, 175, 55, 0.3),
    0 2px 4px rgba(0,0,0,0.5);
  margin-bottom: var(--space-1);
  line-height: 1.2;
}

.logo-subtitle {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* ── Mystical Tagline (the oracle "speaks") ── */
.oracle-speaks {
  text-align: center;
  min-height: 3.2em;
  margin-bottom: var(--space-3);
  padding: 0 var(--space-3);
}

.oracle-speaks-text {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: var(--color-gold-pale);
  font-style: italic;
  line-height: 1.6;
  opacity: 0.85;
}

.oracle-speaks-text .cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--color-gold);
  margin-left: 2px;
  animation: blink 0.8s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Adult Mode Toggle ── */
.mode-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-5);
  background: rgba(12, 12, 22, 0.6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  transition: all 0.4s var(--ease-out);
  backdrop-filter: blur(8px);
}

.mode-toggle-wrap.adult-active {
  border-color: rgba(230, 57, 70, 0.3);
  background: rgba(230, 57, 70, 0.06);
}

.toggle-track {
  width: 40px;
  height: 22px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-full);
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.toggle-track.on {
  background: var(--color-spicy);
  border-color: rgba(230, 57, 70, 0.5);
}

.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s var(--ease-out);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.toggle-track.on .toggle-thumb {
  transform: translateX(18px);
}

.mode-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ═════════════════════════════════════════
   READING OPTION CARDS
   ═════════════════════════════════════════ */
.reading-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-bottom: var(--space-4);
}

.reading-card {
  position: relative;
  padding: var(--space-4) var(--space-5);
  background: linear-gradient(135deg, rgba(12,12,22,0.9) 0%, rgba(18,18,42,0.7) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  overflow: hidden;
  backdrop-filter: blur(6px);
}

/* Gold shimmer sweep on hover */
.reading-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.06), transparent);
  transition: left 0.6s var(--ease-out);
  pointer-events: none;
}

.reading-card:hover::after {
  left: 120%;
}

.reading-card:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-3px);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.4),
    0 0 30px rgba(212, 175, 55, 0.06),
    inset 0 1px 0 rgba(212, 175, 55, 0.08);
}

.reading-card:active {
  transform: translateY(-1px);
}

.reading-card-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(107, 63, 160, 0.06) 100%);
  border: 1px solid rgba(212, 175, 55, 0.15);
  position: relative;
  z-index: 1;
}

.reading-card-content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.reading-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}

.reading-card-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.reading-card-price {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-gold-light);
  white-space: nowrap;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.reading-card.premium .reading-card-title {
  color: var(--color-spicy);
}

.reading-card.premium .reading-card-price {
  color: #ff6b7a;
}

.reading-card.premium .reading-card-icon {
  background: radial-gradient(circle, rgba(230, 57, 70, 0.1) 0%, rgba(107, 63, 160, 0.06) 100%);
  border-color: rgba(230, 57, 70, 0.2);
}

/* ═════════════════════════════════════════
   FEATURED CHAT CARD — Gold Shimmer
   ═════════════════════════════════════════ */
.reading-card-featured {
  padding: var(--space-5) var(--space-5);
  background: linear-gradient(135deg, rgba(18, 14, 6, 0.95) 0%, rgba(30, 22, 8, 0.85) 50%, rgba(18, 14, 6, 0.95) 100%);
  border: 2px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-2xl);
  position: relative;
}

.reading-card-featured::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dim), var(--color-gold-light), var(--color-gold-dim), var(--color-gold));
  background-size: 300% 300%;
  animation: shimmerBorder 4s ease-in-out infinite;
  z-index: -1;
  opacity: 0.6;
}

@keyframes shimmerBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.reading-card-featured:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.5),
    0 0 40px rgba(212, 175, 55, 0.12),
    inset 0 1px 0 rgba(212, 175, 55, 0.15);
}

/* Animated shimmer inside featured card */
.reading-card-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.08), rgba(240,208,96,0.04), transparent);
  animation: cardShimmerSweep 3.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes cardShimmerSweep {
  0%, 60%, 100% { left: -100%; }
  30% { left: 150%; }
}

.reading-card-icon-featured {
  width: 58px;
  height: 58px;
  min-width: 58px;
  font-size: 1.8rem;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, rgba(107, 63, 160, 0.08) 100%);
  border: 2px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.08);
}

.reading-card-title-featured {
  font-size: var(--text-lg) !important;
  letter-spacing: 0.03em !important;
}

/* ═════════════════════════════════════════
   ORACLE PASSPORT — Venue Badge Grid
   ═════════════════════════════════════════ */
.passport-section {
  width: 100%;
  margin-bottom: var(--space-6);
}

.passport-header {
  text-align: center;
  margin-bottom: var(--space-5);
}

.passport-header-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: var(--space-2);
}

.passport-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-1);
}

.passport-subtitle {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.passport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.passport-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-2);
  background: rgba(12, 12, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.passport-badge.locked {
  opacity: 0.35;
  filter: grayscale(1);
}

.passport-badge.visited {
  border-color: var(--color-border-strong);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.06), rgba(12, 12, 22, 0.8));
  opacity: 1;
  filter: none;
}

.passport-badge.visited::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.passport-badge.current {
  border-color: var(--color-accent);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.12);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.08); }
  50% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.18); }
}

.passport-badge-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.passport-badge-name {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  line-height: 1.3;
  font-weight: 600;
}

.passport-badge.visited .passport-badge-name {
  color: var(--color-gold-pale);
}

.passport-badge-check {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 0.7rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.passport-badge.visited .passport-badge-check {
  opacity: 1;
}

/* Passport upsell */
.passport-upsell {
  text-align: center;
  padding: var(--space-4);
  background: linear-gradient(145deg, rgba(42, 16, 80, 0.15), rgba(12, 12, 22, 0.6));
  border: 1px solid rgba(107, 63, 160, 0.12);
  border-radius: var(--radius-xl);
}

.passport-upsell-label {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.passport-upsell-price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-crystal);
  margin-bottom: var(--space-3);
  text-shadow: 0 0 15px rgba(126, 200, 227, 0.2);
}

.btn-sm {
  padding: var(--space-2) var(--space-5);
  width: auto;
  display: inline-flex;
}

/* ── Subscription Upsell ── */
.sub-upsell {
  width: 100%;
  padding: var(--space-5);
  background: linear-gradient(145deg, rgba(42,16,80,0.2), rgba(12,12,22,0.8));
  border: 1px solid rgba(107, 63, 160, 0.15);
  border-radius: var(--radius-xl);
  text-align: center;
  margin-bottom: var(--space-6);
  position: relative;
  overflow: hidden;
}

.sub-upsell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-purple), var(--color-gold-dim), var(--color-purple), transparent);
}

.sub-upsell-title {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.sub-upsell-price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-crystal);
  margin-bottom: var(--space-1);
  text-shadow: 0 0 20px rgba(126,200,227,0.2);
}

.sub-upsell-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

/* ── Buttons ── */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #8a6914, var(--color-gold), #c9a227);
  color: #0a0a0f;
  border-color: var(--color-gold);
  box-shadow:
    0 0 20px rgba(212, 175, 55, 0.15),
    0 4px 16px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Animated shine sweep on primary button */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
  0%, 70%, 100% { left: -100%; }
  40% { left: 150%; }
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 40px rgba(212, 175, 55, 0.25),
    0 8px 32px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(12,12,22,0.8);
  color: var(--color-text);
  border-color: var(--color-border);
  backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  border-color: var(--color-border-strong);
  background: rgba(212, 175, 55, 0.06);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-gold-dim);
  border-color: transparent;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
}

.btn-ghost:hover {
  color: var(--color-gold);
  background: rgba(212, 175, 55, 0.06);
}

/* ── Question Input ── */
.question-section {
  width: 100%;
  margin-bottom: var(--space-5);
}

.question-label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-3);
  text-align: center;
}

.question-input {
  width: 100%;
  padding: var(--space-4);
  background: rgba(12,12,22,0.8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  font-size: var(--text-base);
  text-align: center;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  outline: none;
  backdrop-filter: blur(6px);
}

.question-input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.1), 0 0 0 1px rgba(212,175,55,0.15);
}

.question-input::placeholder {
  color: var(--color-text-faint);
  font-style: italic;
}

/* Names input for love */
.names-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-3);
  align-items: center;
  width: 100%;
  margin-bottom: var(--space-5);
}

.heart-divider {
  font-size: 1.4rem;
  color: var(--color-spicy);
  animation: heartBeat 1.5s ease-in-out infinite;
  text-shadow: 0 0 15px rgba(230,57,70,0.3);
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ── Fortune Reveal ── */
.fortune-reveal {
  width: 100%;
  text-align: center;
  padding: var(--space-4) 0;
  position: relative;
  overflow: hidden;
}

/* ── Reveal Orb (golden burst before fortune text) ── */
.reveal-orb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.8), rgba(107,63,160,0.4), transparent);
  box-shadow:
    0 0 40px rgba(212,175,55,0.6),
    0 0 80px rgba(212,175,55,0.3),
    0 0 120px rgba(107,63,160,0.15);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  z-index: 10;
}

/* ── Reveal Particles ── */
.reveal-particle {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  position: absolute;
  top: 50%;
  left: 50%;
  box-shadow: 0 0 6px rgba(212,175,55,0.6);
  pointer-events: none;
  z-index: 10;
}

/* ── Sound Toggle ── */
.sound-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(12,12,22,0.8);
  border: 1px solid rgba(212,175,55,0.2);
  color: var(--color-text-muted);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
  padding: 0;
  line-height: 1;
}

.sound-toggle:hover {
  border-color: rgba(212,175,55,0.4);
  background: rgba(12,12,22,0.95);
}

.fortune-answer {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-gold);
  text-shadow:
    0 0 30px rgba(212, 175, 55, 0.4),
    0 0 60px rgba(212, 175, 55, 0.15);
  margin-bottom: var(--space-3);
}

.fortune-text {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
  max-width: 34ch;
  margin: 0 auto var(--space-5);
  font-style: italic;
  opacity: 0.9;
}

/* Typewriter text inside fortune */
.typewriter-text {
  display: inline;
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--color-gold);
  margin-left: 1px;
  animation: blink 0.7s step-end infinite;
  vertical-align: text-bottom;
}

/* Lucky numbers */
.fortune-lucky-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}

.lucky-label {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-right: var(--space-1);
}

.lucky-number {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(12,12,22,0.8) 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-gold-light);
  text-shadow: 0 0 8px rgba(212,175,55,0.3);
}

/* Love compat */
.compat-section {
  width: 100%;
  margin-bottom: var(--space-5);
}

.compat-score {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-spicy), #ff6b7a, var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: var(--space-2);
  filter: drop-shadow(0 0 20px rgba(230,57,70,0.2));
  animation: scoreGlow 2s ease-in-out infinite;
}

@keyframes scoreGlow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3)); }
  50% { filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.6)) drop-shadow(0 0 80px rgba(230, 57, 70, 0.2)); }
}

.compat-bar-track {
  width: 80%;
  margin: 0 auto var(--space-4);
  height: 6px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.compat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-spicy), #ff6b7a, var(--color-gold));
  border-radius: var(--radius-full);
  transition: width 2s var(--ease-out);
  width: 0;
  box-shadow: 0 0 12px rgba(230,57,70,0.3);
}

/* ── Share Card ── */
.share-card {
  width: 100%;
  margin-bottom: var(--space-4);
}

.share-card-capture {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto var(--space-4);
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(145deg, #0c0c1a 0%, #12102a 40%, #1a0e2a 70%, #0c0c1a 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.share-card-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(107, 63, 160, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.share-card-inner {
  position: relative;
  text-align: center;
}

.share-card-oracle-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-3);
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.5));
}

.share-card-brand {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-gold);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.share-card-number {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-5);
}

.share-card-fortune {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-5);
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}

.share-card-location {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
}

.share-actions {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
}

.share-actions .btn { flex: 1; }

/* ── Price Display ── */
.price-display {
  text-align: center;
  margin-bottom: var(--space-5);
}

.price-amount {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-gold);
  text-shadow: 0 0 20px rgba(212,175,55,0.25);
}

.price-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
  letter-spacing: 0.04em;
}

/* ── Loading / Channeling ── */
.loading-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-16) 0;
  width: 100%;
}

.loading-orb-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: var(--space-8);
}

.loading-orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--color-gold);
  border-right-color: rgba(212,175,55,0.3);
  animation: orbRingSpin 1.2s linear infinite;
}

.loading-orb-ring:nth-child(2) {
  inset: 8px;
  border-top-color: var(--color-purple);
  border-right-color: rgba(107,63,160,0.3);
  animation-direction: reverse;
  animation-duration: 1.8s;
}

.loading-orb-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-gold) 0%, rgba(212,175,55,0.2) 60%, transparent 100%);
  animation: coreGlow 2s ease-in-out infinite;
}

@keyframes orbRingSpin {
  to { transform: rotate(360deg); }
}

@keyframes coreGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(212,175,55,0.3); transform: translate(-50%,-50%) scale(1); }
  50% { box-shadow: 0 0 25px rgba(212,175,55,0.5); transform: translate(-50%,-50%) scale(1.15); }
}

.loading-text {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
  letter-spacing: 0.08em;
  animation: loadingFade 2.5s ease-in-out infinite;
}

@keyframes loadingFade {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ── Back button ── */
.back-btn {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(12,12,22,0.7);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  z-index: 10;
  backdrop-filter: blur(8px);
}

.back-btn:hover {
  border-color: var(--color-border-strong);
  color: var(--color-gold);
  box-shadow: 0 0 15px rgba(212,175,55,0.1);
}

/* ── Age Gate ── */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 12, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: var(--space-6);
}

.age-gate-overlay.hidden { display: none; }

.age-gate-box {
  max-width: 340px;
  text-align: center;
}

.age-gate-icon { font-size: 2.5rem; margin-bottom: var(--space-4); }

.age-gate-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-spicy);
  margin-bottom: var(--space-3);
}

.age-gate-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* ── Footer ── */
.site-footer {
  margin-top: auto;
  padding-top: var(--space-6);
  text-align: center;
  width: 100%;
}

.site-footer a {
  color: var(--color-text-faint);
  text-decoration: none;
  font-size: var(--text-xs);
  transition: color 0.2s var(--ease-out);
  letter-spacing: 0.04em;
}

.site-footer a:hover { color: var(--color-text-muted); }

/* ═════════════════════════════════════════
   CHAT SCREEN — Screen 5
   ═════════════════════════════════════════ */

/* Chat screen uses compact mini cabinet */
#screenChat .oracle-cabinet-mini {
  margin-top: var(--space-10);
  margin-bottom: var(--space-2);
  width: 100px;
}

.chat-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: var(--color-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  text-align: center;
}

/* Chat messages container */
.chat-messages {
  width: 100%;
  flex: 1;
  overflow-y: auto;
  padding: var(--space-3) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-height: 200px;
  max-height: 50vh;
  background: radial-gradient(ellipse at 50% 50%, rgba(12, 12, 26, 0.3) 0%, rgba(6, 6, 12, 0.1) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-3) var(--space-2);
  margin-bottom: var(--space-3);
  /* Custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.2) transparent;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.2);
  border-radius: 4px;
}

/* Message bubbles */
.chat-bubble {
  max-width: 85%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  line-height: 1.6;
  position: relative;
  animation: bubbleIn 0.3s var(--ease-out);
}

@keyframes bubbleIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Oracle messages — left aligned */
.chat-bubble-oracle {
  align-self: flex-start;
  background: linear-gradient(135deg, rgba(12, 12, 26, 0.95), rgba(18, 18, 42, 0.85));
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  color: var(--color-text);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) var(--radius-sm);
}

.chat-bubble-oracle-name {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  color: var(--color-gold);
  letter-spacing: 0.06em;
  font-weight: 600;
}

.chat-bubble-oracle-name::before {
  content: '🔮';
  font-size: 0.75rem;
}

.chat-bubble-oracle-text {
  font-family: var(--font-body);
}

/* User messages — right aligned */
.chat-bubble-user {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-sm) var(--radius-lg);
}

/* Typing indicator */
.chat-typing {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: linear-gradient(135deg, rgba(12, 12, 26, 0.95), rgba(18, 18, 42, 0.85));
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) var(--radius-sm);
  animation: bubbleIn 0.3s var(--ease-out);
}

.chat-typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  animation: typingPulse 1.4s ease-in-out infinite;
}

.chat-typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingPulse {
  0%, 60%, 100% {
    opacity: 0.25;
    transform: scale(0.8);
  }
  30% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Chat input bar */
.chat-input-bar {
  width: 100%;
  display: flex;
  gap: var(--space-2);
  padding: var(--space-2);
  background: rgba(12, 12, 22, 0.8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
  margin-bottom: var(--space-2);
}

.chat-input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.chat-input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.08);
}

.chat-input::placeholder {
  color: var(--color-text-faint);
  font-style: italic;
}

.chat-send-btn {
  width: 46px;
  height: 46px;
  min-width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-gold-dim), var(--color-gold));
  border: none;
  border-radius: var(--radius-lg);
  color: #0a0a0f;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.chat-send-btn svg {
  width: 20px;
  height: 20px;
}

.chat-send-btn:hover {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.2);
}

.chat-send-btn:active {
  transform: translateY(0);
}

.chat-send-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* Chat footer needs to be at the bottom */
.site-footer-chat {
  padding-top: var(--space-2);
}

/* ═════════════════════════════════════════
   SPICY MODE — Red accent overrides
   ═════════════════════════════════════════ */
body.spicy-mode .cabinet-frame {
  background: linear-gradient(180deg, #c92727 0%, #8a1414 20%, #e63946 50%, #8a1414 80%, #c92727 100%);
  box-shadow:
    0 0 40px rgba(230, 57, 70, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body.spicy-mode .cabinet-frame::after {
  box-shadow:
    0 0 30px rgba(230, 57, 70, 0.15),
    0 0 60px rgba(230, 57, 70, 0.06);
}

body.spicy-mode .cabinet-corner::before {
  color: #ff6b7a;
  text-shadow: 0 0 8px rgba(255, 107, 122, 0.6);
}

body.spicy-mode .cabinet-base-gold {
  background: linear-gradient(180deg, #8a1414, #3d1010);
}

body.spicy-mode .oracle-image-glow {
  background: radial-gradient(ellipse at 50% 30%, rgba(230, 57, 70, 0.1) 0%, transparent 60%),
              linear-gradient(to bottom, transparent 60%, rgba(6, 6, 12, 0.7) 100%);
}

body.spicy-mode .ornate-line::before,
body.spicy-mode .ornate-line::after {
  background: linear-gradient(90deg, transparent, var(--color-spicy), transparent);
}

body.spicy-mode .ornate-line svg {
  fill: var(--color-spicy);
}

body.spicy-mode .logo-title {
  color: var(--color-spicy);
  text-shadow:
    0 0 20px rgba(230, 57, 70, 0.3),
    0 2px 4px rgba(0,0,0,0.5);
}

body.spicy-mode .oracle-speaks-text {
  color: #ff8a93;
}

body.spicy-mode .oracle-speaks-text .cursor {
  background: var(--color-spicy);
}

/* Spicy mode chat overrides */
body.spicy-mode .chat-bubble-oracle {
  border-left-color: var(--color-spicy);
}

body.spicy-mode .chat-bubble-oracle-name {
  color: #ff6b7a;
}

body.spicy-mode .chat-typing {
  border-left-color: var(--color-spicy);
}

body.spicy-mode .chat-typing-dot {
  background: var(--color-spicy);
}

body.spicy-mode .chat-send-btn {
  background: linear-gradient(135deg, #8a1414, var(--color-spicy));
}

body.spicy-mode .chat-send-btn:hover {
  background: linear-gradient(135deg, var(--color-spicy), #ff6b7a);
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.2);
}

body.spicy-mode .chat-input:focus {
  border-color: var(--color-spicy);
  box-shadow: 0 0 15px rgba(230, 57, 70, 0.08);
}

body.spicy-mode .reading-card-featured {
  border-color: rgba(230, 57, 70, 0.35);
}

body.spicy-mode .reading-card-featured::before {
  background: linear-gradient(135deg, var(--color-spicy), #8a1414, #ff6b7a, #8a1414, var(--color-spicy));
  background-size: 300% 300%;
  animation: shimmerBorder 4s ease-in-out infinite;
}

body.spicy-mode .reading-card-featured:hover {
  border-color: var(--color-spicy);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.5),
    0 0 40px rgba(230, 57, 70, 0.12);
}

body.spicy-mode .chat-title {
  color: #ff6b7a;
}

/* ── Utilities ── */
.text-center { text-align: center; }
.w-full { width: 100%; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }

/* ═════════════════════════════════════════
   LOCATION THEMES — Dodgers
   ═════════════════════════════════════════ */
body.loc-dodgers {
  --color-accent: #005A9C;
  --color-accent-glow: rgba(0, 90, 156, 0.35);
}

body.loc-dodgers .cabinet-frame {
  background: linear-gradient(180deg, #005A9C 0%, #003d6b 20%, #0070c0 50%, #003d6b 80%, #005A9C 100%);
  box-shadow:
    0 0 40px rgba(0, 90, 156, 0.2),
    0 8px 32px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

body.loc-dodgers .cabinet-frame::after {
  box-shadow:
    0 0 30px rgba(0, 90, 156, 0.15),
    0 0 60px rgba(0, 90, 156, 0.06);
}

body.loc-dodgers .cabinet-corner::before {
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

body.loc-dodgers .cabinet-base-gold {
  background: linear-gradient(180deg, #003d6b, #001a33);
}

body.loc-dodgers .logo-title {
  color: #fff;
  text-shadow:
    0 0 20px rgba(0, 90, 156, 0.5),
    0 2px 4px rgba(0,0,0,0.5);
}

body.loc-dodgers .logo-subtitle {
  color: #6bb4e8;
}

body.loc-dodgers .location-badge {
  border-color: rgba(0, 90, 156, 0.3);
  color: #6bb4e8;
}

body.loc-dodgers .reading-card-title {
  color: #6bb4e8;
}

body.loc-dodgers .reading-card-price {
  color: #fff;
}

body.loc-dodgers .reading-card:hover {
  border-color: rgba(0, 90, 156, 0.4);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.4),
    0 0 30px rgba(0, 90, 156, 0.1);
}

body.loc-dodgers .ornate-line::before,
body.loc-dodgers .ornate-line::after {
  background: linear-gradient(90deg, transparent, #005A9C, transparent);
}

body.loc-dodgers .ornate-line svg {
  fill: #005A9C;
}

body.loc-dodgers .passport-badge.current {
  border-color: #005A9C;
  box-shadow: 0 0 20px rgba(0, 90, 156, 0.15);
}

/* Dodgers + Spicy overrides spicy colors */
body.loc-dodgers.spicy-mode .cabinet-frame {
  background: linear-gradient(180deg, #c92727 0%, #8a1414 20%, #e63946 50%, #8a1414 80%, #c92727 100%);
}

/* ═════════════════════════════════════════
   CHAT STARTER CHIPS
   ═════════════════════════════════════════ */
.chat-starters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-1);
  justify-content: center;
}

.chat-starter-chip {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-gold-pale);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-interactive);
  white-space: nowrap;
  line-height: 1.3;
}

.chat-starter-chip:hover {
  background: var(--color-surface);
  border-color: var(--color-gold-dim);
  color: var(--color-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.12);
}

.chat-starter-chip:active {
  transform: scale(0.97);
}

/* Spicy mode chip styling */
.spicy-mode .chat-starter-chip {
  border-color: rgba(230, 57, 70, 0.2);
  color: #f0a0a8;
}

.spicy-mode .chat-starter-chip:hover {
  border-color: rgba(230, 57, 70, 0.4);
  color: #f5c5ca;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.12);
}

.share-card-location:empty {
  display: none;
}

/* ═════════════════════════════════════════
   VENUE ACCENT COLOR SYSTEM
   ═════════════════════════════════════════ */
.has-accent .location-badge {
  border-color: var(--color-accent-loc);
  box-shadow: 0 0 15px color-mix(in srgb, var(--color-accent-loc) 20%, transparent);
}

.has-accent .location-badge-icon {
  color: var(--color-accent-loc);
}

.has-accent .cabinet-frame {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--color-accent-loc) 70%, #000) 0%,
    color-mix(in srgb, var(--color-accent-loc) 40%, #000) 20%,
    var(--color-accent-loc) 50%,
    color-mix(in srgb, var(--color-accent-loc) 40%, #000) 80%,
    color-mix(in srgb, var(--color-accent-loc) 70%, #000) 100%
  );
}

.has-accent .cabinet-corner::before {
  background: var(--color-accent-loc);
}

.has-accent .cabinet-base-gold {
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--color-accent-loc) 60%, #000),
    var(--color-accent-loc),
    color-mix(in srgb, var(--color-accent-loc) 60%, #000)
  );
}

.has-accent .ornate-line::before,
.has-accent .ornate-line::after {
  background: linear-gradient(90deg, transparent, var(--color-accent-loc), transparent);
}

.has-accent .ornate-line svg {
  fill: var(--color-accent-loc);
}

.has-accent .reading-card:hover {
  border-color: color-mix(in srgb, var(--color-accent-loc) 40%, transparent);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.4),
    0 0 30px color-mix(in srgb, var(--color-accent-loc) 10%, transparent);
}

.has-accent .reading-card-featured {
  border-color: color-mix(in srgb, var(--color-accent-loc) 30%, transparent);
}

.has-accent .reading-card-featured:hover {
  border-color: color-mix(in srgb, var(--color-accent-loc) 50%, transparent);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.5),
    0 0 40px color-mix(in srgb, var(--color-accent-loc) 15%, transparent);
}

.has-accent .passport-badge.current {
  border-color: var(--color-accent-loc);
  box-shadow: 0 0 20px color-mix(in srgb, var(--color-accent-loc) 15%, transparent);
}

.has-accent .share-card-capture {
  border-color: color-mix(in srgb, var(--color-accent-loc) 40%, transparent);
}

.has-accent .share-card-brand {
  color: var(--color-accent-loc);
}

/* Spicy mode overrides accent */
.has-accent.spicy-mode .cabinet-frame {
  background: linear-gradient(180deg, #c92727 0%, #8a1414 20%, #e63946 50%, #8a1414 80%, #c92727 100%);
}

/* ═════════════════════════════════════════
   EASTER EGG TOAST
   ═════════════════════════════════════════ */
.easter-egg-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 320px;
  padding: 16px 24px;
  background: linear-gradient(135deg, rgba(107, 63, 160, 0.9), rgba(42, 16, 80, 0.95));
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 16px;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-style: italic;
  text-align: center;
  line-height: 1.5;
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 20px rgba(107, 63, 160, 0.3);
  pointer-events: none;
}

/* ═════════════════════════════════════════
   LOVE ORACLE — Heart Particles
   ═════════════════════════════════════════ */
.love-particle {
  position: absolute;
  font-size: 1.2rem;
  pointer-events: none;
  z-index: 10;
  filter: drop-shadow(0 0 4px rgba(230, 57, 70, 0.5));
}

/* ── Desktop ── */
@media (min-width: 600px) {
  .app { padding: var(--space-8) var(--space-6) var(--space-10); }
  .oracle-cabinet { width: 280px; }
  .oracle-cabinet-mini { width: 160px; }
  #screenChat .oracle-cabinet-mini { width: 120px; }
  .chat-messages { max-height: 55vh; }
}
