:root {
  --bg: #0a0c14;
  --bg-elevated: #11141f;
  --surface: #161b2a;
  --surface-2: #1d2336;
  --surface-3: #242b42;
  --border: #252c44;
  --border-strong: #3a4263;
  --text: #f3f4f8;
  --text-muted: #b0b6cd;
  --text-dim: #6d7596;

  --gold:        #ffb454;
  --gold-bright: #ffd98a;
  --gold-deep:   #b07b2e;
  --teal:        #5fe0c6;
  --teal-deep:   #2d8478;
  --plum:        #d49bf0;
  --plum-deep:   #8048a0;
  --rose:        #ff9bb3;
  --rose-deep:   #c4506e;
  --indigo:      #8a9bf0;
  --indigo-deep: #4f63c4;

  --gold-glow: rgba(255, 180, 84, 0.35);
  --teal-glow: rgba(95, 224, 198, 0.30);
  --plum-glow: rgba(212, 155, 240, 0.30);
  --rose-glow: rgba(255, 155, 179, 0.28);

  --danger:  #ff8e8e;
  --success: #74e0a8;

  --max-width: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  letter-spacing: -0.005em;
}

/* ============================================================
   Animated background
   ============================================================ */
.bg-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(80, 60, 130, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(140, 90, 60, 0.16) 0%, transparent 55%),
    var(--bg);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.orb-gold { width: 560px; height: 560px; top: -180px; right: -140px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  animation: drift-1 22s ease-in-out infinite; }
.orb-teal { width: 600px; height: 600px; bottom: -220px; left: -160px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
  animation: drift-2 28s ease-in-out infinite; }
.orb-plum { width: 480px; height: 480px; top: 40%; left: 50%;
  background: radial-gradient(circle, var(--plum-glow) 0%, transparent 70%);
  animation: drift-3 32s ease-in-out infinite; }
.orb-rose { width: 380px; height: 380px; top: 70%; right: 10%;
  background: radial-gradient(circle, var(--rose-glow) 0%, transparent 70%);
  animation: drift-4 26s ease-in-out infinite; }

@keyframes drift-1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-70px,50px) scale(1.1); } }
@keyframes drift-2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(90px,-60px) scale(1.15); } }
@keyframes drift-3 { 0%,100% { transform: translate(0,0) scale(1); opacity: .5; } 50% { transform: translate(-60px,-80px) scale(1.2); opacity: .7; } }
@keyframes drift-4 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(50px,40px) scale(1.1); } }

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* Cursor spotlight */
.spotlight {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 84, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 300ms;
  opacity: 0;
  filter: blur(20px);
  mix-blend-mode: screen;
}
.spotlight.active { opacity: 1; }

/* ============================================================
   Links + globals
   ============================================================ */
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-bright); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(10, 12, 20, 0.72);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), padding var(--transition);
}
.nav.scrolled { border-bottom-color: var(--border); padding-block: 0.85rem; }

.nav-brand {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--teal));
  box-shadow: 0 0 14px var(--gold);
  animation: pulse 2.4s ease-in-out infinite;
}
.brand-name {
  background: linear-gradient(135deg, var(--text) 0%, #c9cee0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
  position: relative;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.2rem;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  border-radius: 2px;
}
.nav-links a:not(.nav-cta):hover { color: var(--text); }
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  padding: 0.55rem 1.2rem !important;
  background: linear-gradient(135deg, var(--gold), var(--rose));
  color: #1a0e05 !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem !important;
  box-shadow: 0 6px 20px rgba(255, 180, 84, 0.25);
  transition: all var(--transition);
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 180, 84, 0.35);
}

/* ============================================================
   Layout helpers
   ============================================================ */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.section { padding: 5.5rem 0 2.5rem; scroll-margin-top: 80px; }

.section-head {
  max-width: 760px;
  margin-bottom: 2.5rem;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.tag-gold { background: rgba(255, 180, 84, 0.12); color: var(--gold); border: 1px solid rgba(255, 180, 84, 0.35); }
.tag-teal { background: rgba(95, 224, 198, 0.12); color: var(--teal); border: 1px solid rgba(95, 224, 198, 0.35); }
.tag-plum { background: rgba(212, 155, 240, 0.12); color: var(--plum); border: 1px solid rgba(212, 155, 240, 0.35); }
.tag-rose { background: rgba(255, 155, 179, 0.12); color: var(--rose); border: 1px solid rgba(255, 155, 179, 0.35); }

.section-h {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #b8bdd0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub { color: var(--text-muted); font-size: 1.02rem; max-width: 680px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(255,180,84,0.10), rgba(95,224,198,0.08));
  border: 1px solid rgba(255,180,84,0.28);
  border-radius: 999px;
  margin-bottom: 1.75rem;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin-bottom: 1.75rem;
}
.grad-text-1 {
  background: linear-gradient(135deg, var(--gold-bright), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grad-text-2 {
  background: linear-gradient(135deg, var(--teal), var(--plum));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  max-width: 580px;
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-bottom: 2rem;
}

.hero-cta { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-strip {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.strip-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.strip-dot.gold { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.strip-dot.teal { background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.strip-dot.plum { background: var(--plum); box-shadow: 0 0 10px var(--plum); }

/* Hero name — editorial rise (gentle, refined) */
.hero-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1.5rem 0;
  text-align: center;
}

/* Thin accent lines, top and bottom of name */
.name-accent {
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.85;
}
.name-accent-top {
  margin-bottom: 36px;
  animation: draw-accent 800ms cubic-bezier(0.22, 1, 0.36, 1) 200ms forwards;
}
.name-accent-bottom {
  margin-top: 36px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  animation: draw-accent 800ms cubic-bezier(0.22, 1, 0.36, 1) 1700ms forwards;
}
@keyframes draw-accent {
  from { width: 0; }
  to   { width: 72px; }
}

.name-anim {
  font-size: clamp(3rem, 10vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
}
.space-break { flex-basis: 100%; height: 0; }

.letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  animation: gentle-rise 800ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  color: var(--text);
  padding: 0 0.01em;
  will-change: transform, opacity;
}

/* Only S and J get the warm gradient — subtle, not loud */
.letter.accent {
  background: linear-gradient(135deg, var(--gold-bright), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes gentle-rise {
  to { opacity: 1; transform: translateY(0); }
}

/* Stagger — 55ms between letters, starts after top accent draws */
.letter:nth-child(1)  { animation-delay:  700ms; }
.letter:nth-child(2)  { animation-delay:  755ms; }
.letter:nth-child(3)  { animation-delay:  810ms; }
.letter:nth-child(4)  { animation-delay:  865ms; }
.letter:nth-child(5)  { animation-delay:  920ms; }
.letter:nth-child(6)  { animation-delay:  975ms; }
.letter:nth-child(8)  { animation-delay: 1030ms; }
.letter:nth-child(9)  { animation-delay: 1085ms; }
.letter:nth-child(10) { animation-delay: 1140ms; }
.letter:nth-child(11) { animation-delay: 1195ms; }

/* Subtitle below — tracked-out caps */
.name-subtitle {
  margin-top: 22px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  animation: subtitle-in 800ms cubic-bezier(0.22, 1, 0.36, 1) 2200ms forwards;
  padding-left: 0.4em;
}
@keyframes subtitle-in {
  to { opacity: 0.85; transform: translateY(0); }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--rose));
  color: #1a0e05;
  box-shadow: 0 8px 26px rgba(255, 180, 84, 0.28);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--teal), var(--plum));
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(95, 224, 198, 0.35);
  color: #06140f;
}
.btn-primary:hover:not(:disabled)::before { opacity: 1; }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-arrow { transition: transform var(--transition); }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-ghost {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  color: var(--teal);
  border-color: var(--teal);
  background: rgba(95, 224, 198, 0.08);
  transform: translateY(-2px);
}
.btn-small { padding: 0.6rem 1.1rem; font-size: 0.85rem; }

/* ============================================================
   Games (Play)
   ============================================================ */
.corner-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  padding: 0.7rem 1.2rem;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 999px;
}
.tab .tab-icon { font-size: 1rem; }
.tab:hover { color: var(--text); }
.tab.active {
  color: #1a0e05;
  background: linear-gradient(135deg, var(--gold), var(--rose));
  box-shadow: 0 6px 18px rgba(255, 180, 84, 0.25);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.panel-hint { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.25rem; }

.game-wrap { max-width: 760px; }
.quiz-card, .quiz-results {
  background: linear-gradient(180deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.quiz-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--rose), var(--plum), var(--teal));
}
.quiz-progress {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.85rem;
}
#quiz-question {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.quiz-options { display: grid; gap: 0.6rem; }
.quiz-option {
  text-align: left;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.95rem;
}
.quiz-option:hover:not(:disabled):not(.correct):not(.wrong) {
  border-color: var(--gold);
  background: var(--surface-2);
  transform: translateX(4px);
}
.quiz-option .marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border: 1.5px solid var(--border-strong);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}
.quiz-option.correct { border-color: var(--success); background: rgba(116, 224, 168, 0.10); }
.quiz-option.correct .marker { border-color: var(--success); color: var(--success); background: rgba(116, 224, 168, 0.15); }
.quiz-option.wrong { border-color: var(--danger); background: rgba(255, 142, 142, 0.10); }
.quiz-option.wrong .marker { border-color: var(--danger); color: var(--danger); }
.quiz-option:disabled { cursor: default; }

.quiz-explain {
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  background: linear-gradient(90deg, rgba(255,180,84,0.08), transparent);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.quiz-explain strong { color: var(--text); font-weight: 600; }
.quiz-controls { margin-top: 1.5rem; display: flex; justify-content: flex-end; }

.quiz-results { text-align: center; }
.quiz-results h4 {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.score {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-bright), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.65rem;
  letter-spacing: -0.03em;
}
.score .of { color: var(--text-dim); font-size: 1.6rem; margin: 0 0.4rem; -webkit-text-fill-color: var(--text-dim); }
#quiz-verdict { color: var(--text-muted); margin-bottom: 1.5rem; }

/* Myths */
.myths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1rem;
  perspective: 1200px;
}
.myth-card {
  height: 230px;
  cursor: pointer;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.myth-card.flipped { transform: rotateY(180deg); }
.myth-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.myth-front { background: linear-gradient(135deg, rgba(255,142,142,0.10), var(--surface)); border-color: rgba(255,142,142,0.30); }
.myth-back  { background: linear-gradient(135deg, rgba(116,224,168,0.12), var(--surface-2)); transform: rotateY(180deg); border-color: rgba(116,224,168,0.35); }
.myth-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  width: fit-content;
  font-weight: 600;
}
.myth-front .myth-label { color: var(--danger); background: rgba(255,142,142,0.18); }
.myth-back .myth-label  { color: var(--success); background: rgba(116,224,168,0.18); }
.myth-text {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  letter-spacing: -0.01em;
}
.myth-back .myth-text { font-size: 0.93rem; font-weight: 400; color: var(--text-muted); line-height: 1.55; }
.myth-tip { font-size: 0.72rem; color: var(--text-dim); margin-top: 0.75rem; font-weight: 500; }

/* Memory */
.memory-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  font-weight: 500;
}
.memory-meta strong { color: var(--text); margin-left: 0.25rem; font-weight: 700; }
.memory-meta button { margin-left: auto; }

.memory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  max-width: 480px;
}
.mem-cell {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  perspective: 800px;
  transition: transform 0.18s;
}
.mem-cell:hover:not(.flipped):not(.matched) { transform: translateY(-3px); border-color: var(--gold); }
.mem-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.55s cubic-bezier(0.4,0,0.2,1); }
.mem-cell.flipped .mem-inner, .mem-cell.matched .mem-inner { transform: rotateY(180deg); }
.mem-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  border-radius: var(--radius-sm);
  font-size: 1.9rem;
  font-weight: 700;
}
.mem-front { background: linear-gradient(135deg, var(--surface-2), var(--bg-elevated)); color: var(--text-dim); }
.mem-back  { transform: rotateY(180deg); background: linear-gradient(135deg, rgba(255,180,84,0.16), rgba(95,224,198,0.12)); color: var(--gold-bright); }
.mem-cell.matched .mem-back { background: linear-gradient(135deg, rgba(116,224,168,0.18), rgba(95,224,198,0.12)); color: var(--success); }
.memory-win {
  margin-top: 1.25rem;
  padding: 1.1rem 1.3rem;
  background: linear-gradient(135deg, rgba(116,224,168,0.14), rgba(95,224,198,0.10));
  border: 1px solid var(--success);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}
.memory-win strong { color: var(--success); font-weight: 700; }

/* ============================================================
   About — interests chips
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  font-size: 1.04rem;
}
.about-text p:first-child::first-letter {
  font-size: 2.6rem;
  font-weight: 800;
  float: left;
  line-height: 1;
  margin-right: 0.5rem;
  background: linear-gradient(135deg, var(--gold), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.chips { display: grid; gap: 1rem; }
.chip {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 1.6rem;
  background: linear-gradient(135deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  overflow: hidden;
}
.chip::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--chip-color, var(--gold));
}
.chip::after {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--chip-color, var(--gold)) 0%, transparent 70%);
  opacity: 0.08;
  pointer-events: none;
  transition: opacity var(--transition);
}
.chip:hover { transform: translateY(-4px); border-color: var(--chip-color, var(--gold)); }
.chip:hover::after { opacity: 0.18; }

.chip-love    { --chip-color: var(--rose); }
.chip-curious { --chip-color: var(--teal); }
.chip-skeptic { --chip-color: var(--plum); }

.chip-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--chip-color, var(--gold));
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid currentColor;
  border-radius: 999px;
}
.chip ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  position: relative;
  z-index: 1;
}
.chip li {
  font-size: 0.96rem;
  color: var(--text);
  padding-left: 1.25rem;
  position: relative;
  font-weight: 500;
}
.chip li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--chip-color, var(--gold));
  box-shadow: 0 0 8px var(--chip-color, var(--gold));
}

/* ============================================================
   Chatbot
   ============================================================ */
.chatbot {
  max-width: 680px;
  background: linear-gradient(180deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.chatbot::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--plum), var(--rose));
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.4rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.chat-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
  animation: pulse 2s ease-in-out infinite;
}
.chat-title { font-weight: 600; font-size: 0.95rem; }
.chat-meta { margin-left: auto; font-size: 0.78rem; color: var(--text-dim); font-weight: 500; }

.chat-body {
  padding: 1.5rem;
  min-height: 220px;
  max-height: 360px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.bubble-msg {
  max-width: 85%;
  padding: 0.85rem 1.1rem;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.5;
  animation: bubble-in 0.35s ease;
}
@keyframes bubble-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bubble-bot {
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  color: var(--text);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.bubble-user {
  background: linear-gradient(135deg, var(--teal), var(--plum));
  color: #0a1a16;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  font-weight: 500;
}

.chat-input {
  padding: 1rem 1.4rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.6rem;
  background: rgba(255,255,255,0.02);
}
.chat-input input, .chat-input textarea, .chat-input select {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  resize: none;
  transition: border-color var(--transition);
}
.chat-input input:focus, .chat-input textarea:focus, .chat-input select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(95,224,198,0.15);
}
.chat-input-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}
.chip-btn {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.chip-btn:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }

.chat-foot { padding: 0.9rem 1.4rem 1.1rem; background: rgba(255,255,255,0.015); }
.chat-progress {
  height: 4px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.65rem;
}
.chat-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--plum), var(--rose));
  border-radius: 999px;
  transition: width 0.4s ease;
}
.chat-note { font-size: 0.78rem; color: var(--text-dim); }

/* ============================================================
   Generic forms (PIL, ProBono, Friday, AMA)
   ============================================================ */
.form-card {
  max-width: 720px;
  background: linear-gradient(180deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  gap: 1.1rem;
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--form-accent, linear-gradient(90deg, var(--gold), var(--rose)));
}
.form-pil::before     { background: linear-gradient(90deg, var(--plum), var(--teal)); }
.form-probono::before { background: linear-gradient(90deg, var(--rose), var(--gold)); }
.form-friday::before  { background: linear-gradient(90deg, var(--teal), var(--gold)); }
.form-ama::before     { background: linear-gradient(90deg, var(--gold), var(--plum)); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.form-card label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.form-card input,
.form-card textarea,
.form-card select {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 0.85rem 1.05rem;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.96rem;
  font-weight: 500;
  resize: vertical;
  transition: all var(--transition);
}
.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,180,84,0.18);
}
.form-card button { justify-self: start; margin-top: 0.5rem; }
.form-foot {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-top: 0.25rem;
}

/* ============================================================
   Steps (Friday)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.step {
  padding: 1.6rem 1.5rem;
  background: linear-gradient(180deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
}
.step:hover { transform: translateY(-3px); border-color: var(--teal); }
.step-num {
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}
.step h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.step p  { color: var(--text-muted); font-size: 0.92rem; line-height: 1.5; }

/* ============================================================
   Follow
   ============================================================ */
.follow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.follow-card {
  position: relative;
  padding: 1.8rem 1.5rem;
  background: linear-gradient(180deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: all var(--transition);
  overflow: hidden;
}
.follow-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--card-color, var(--gold)) 0%, transparent 60%);
  opacity: 0.08;
  transition: opacity var(--transition);
  pointer-events: none;
}
.follow-card:hover { transform: translateY(-5px); border-color: var(--card-color, var(--gold)); color: var(--text); }
.follow-card:hover::before { opacity: 0.2; }
.follow-ig { --card-color: var(--rose); }
.follow-yt { --card-color: var(--gold); }
.follow-li { --card-color: var(--teal); }

.follow-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--card-color, var(--gold));
  background: rgba(255,255,255,0.04);
  border: 1px solid currentColor;
  border-radius: 10px;
  margin-bottom: 0.85rem;
}
.follow-icon svg { width: 22px; height: 22px; }
.follow-label { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.follow-handle { font-size: 0.88rem; color: var(--text-muted); font-weight: 500; }
.follow-cta {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--card-color, var(--gold));
  letter-spacing: 0.05em;
}
.follow-note {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-top: 1.5rem;
  font-weight: 500;
}

/* ============================================================
   Legal / privacy page content
   ============================================================ */
.legal-content {
  max-width: 760px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}
.legal-content p { margin-bottom: 1rem; }
.legal-content strong { color: var(--text); font-weight: 600; }
.legal-content code {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.88em;
  color: var(--gold);
}
.legal-content a { color: var(--gold); }
.legal-content a:hover { color: var(--gold-bright); }
.legal-content em { font-style: italic; color: var(--text); }

.legal-lede {
  font-size: 1.08rem;
  color: var(--text);
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, var(--surface), var(--bg-elevated));
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 2rem;
}

.legal-h {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 0.85rem;
}
.legal-h::before {
  content: '';
  position: absolute;
  left: 0; top: 0.4em;
  width: 3px;
  height: 0.8em;
  background: linear-gradient(180deg, var(--gold), var(--rose));
  border-radius: 2px;
}

.legal-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: 0.5rem 0 1rem;
}
.legal-list li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--text-muted);
}
.legal-list li strong { color: var(--text); }
.legal-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold);
}
.legal-contact li::before { background: var(--teal); box-shadow: 0 0 6px var(--teal); }

.legal-back {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .legal-content { font-size: 0.95rem; line-height: 1.65; }
  .legal-lede { padding: 1rem 1.15rem; font-size: 1rem; }
  .legal-h { font-size: 1.1rem; margin-top: 1.85rem; }
}

/* ============================================================
   FAQ — accordion dropdowns
   ============================================================ */
.faq-list {
  max-width: 820px;
  display: grid;
  gap: 0.75rem;
}
.faq-item {
  background: linear-gradient(180deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.faq-item[open] {
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.faq-item:hover:not([open]) { border-color: var(--border-strong); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }
.faq-item:hover summary { color: var(--gold-bright); }

.faq-q {
  flex: 1;
  line-height: 1.4;
}

.faq-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--rose));
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: #1a0e05;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-icon::before {
  width: 12px;
  height: 2px;
}
.faq-icon::after {
  width: 2px;
  height: 12px;
}
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }

.faq-a {
  padding: 0 1.4rem 1.3rem 1.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  animation: faq-open 0.35s ease;
}
.faq-a p { margin-bottom: 0.6rem; }
.faq-a p:last-child { margin-bottom: 0; }
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .faq-item summary { padding: 1rem 1.15rem; font-size: 0.95rem; gap: 0.75rem; }
  .faq-icon { width: 26px; height: 26px; }
  .faq-icon::before { width: 11px; }
  .faq-icon::after { height: 11px; }
  .faq-a { padding: 0 1.15rem 1.1rem; font-size: 0.9rem; line-height: 1.6; }
}

/* ============================================================
   Contact closer
   ============================================================ */
.section-contact { padding-bottom: 4rem; }
.contact-card-final {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.contact-card-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,180,84,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(95,224,198,0.10) 0%, transparent 50%);
  pointer-events: none;
}
.contact-card-final h3 {
  position: relative;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.contact-card-final p { position: relative; color: var(--text-muted); margin-bottom: 1.75rem; }
.contact-buttons {
  position: relative;
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  text-align: center;
  padding: 2.5rem 2rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  font-weight: 500;
}
.footer .disclaimer {
  max-width: 720px;
  margin: 1rem auto 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-dim);
  font-weight: 400;
}

/* ============================================================
   Disclaimer modal (BCI Rule 36)
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: modal-in 0.4s ease;
}
.modal[hidden] { display: none; }
@keyframes modal-in { from { opacity: 0; } to { opacity: 1; } }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.modal-card {
  position: relative;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(255,180,84,0.15);
  animation: modal-card-in 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes modal-card-in {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
.modal-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--rose), var(--plum), var(--teal));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.modal-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose);
  padding: 0.35rem 0.85rem;
  background: rgba(255,155,179,0.12);
  border: 1px solid rgba(255,155,179,0.35);
  border-radius: 999px;
  margin-bottom: 1rem;
}
.modal-card h2 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
  background: linear-gradient(135deg, var(--gold-bright), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.modal-lede { color: var(--text-muted); margin-bottom: 1.1rem; font-size: 0.96rem; line-height: 1.6; }
.modal-lede strong { color: var(--text); font-weight: 600; }
.modal-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
}
.modal-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.modal-list li strong { color: var(--text); font-weight: 600; }
.modal-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}
#disclaimer-accept { width: 100%; }

/* ============================================================
   Not-advertising inline banner
   ============================================================ */
.not-ad-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(255,155,179,0.10), rgba(255,180,84,0.06));
  border: 1px solid rgba(255,155,179,0.35);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 2rem;
  max-width: 760px;
}
.not-ad-banner strong { color: var(--rose); font-weight: 700; }
.not-ad-icon {
  font-size: 1.15rem;
  color: var(--rose);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   Featured — medium appearance card with embedded video
   ============================================================ */
.appearance-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 980px;
  position: relative;
  overflow: hidden;
}
.appearance-card::before {
  content: '';
  position: absolute;
  top: -160px; right: -160px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, var(--plum-glow) 0%, transparent 70%);
  opacity: 0.45;
  pointer-events: none;
}
.appearance-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.appearance-video iframe { width: 100%; height: 100%; display: block; border: 0; }
.appearance-info { position: relative; z-index: 1; }
.appearance-show {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 0.75rem;
}
.appearance-h {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 0.9rem;
  color: var(--text);
}
.appearance-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

@media (max-width: 880px) {
  .appearance-card { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ============================================================
   Step CTA (Friday step 3)
   ============================================================ */
.step-final { display: flex; flex-direction: column; }
.step-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  margin-top: 1rem;
  padding: 0.6rem 1.1rem;
  background: linear-gradient(135deg, var(--rose), var(--gold));
  color: #1a0e05;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 20px rgba(255, 155, 179, 0.28);
  transition: all var(--transition);
}
.step-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 155, 179, 0.4);
  color: #1a0e05;
}
.step-cta-arrow { transition: transform var(--transition); }
.step-cta:hover .step-cta-arrow { transform: translateX(3px); }

/* ============================================================
   Toast
   ============================================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  border: 1px solid var(--teal);
  color: var(--text);
  padding: 1rem 1.4rem;
  border-radius: 14px;
  font-size: 0.93rem;
  font-weight: 500;
  box-shadow: 0 14px 36px rgba(0,0,0,0.4), 0 0 30px rgba(95,224,198,0.2);
  z-index: 100;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  max-width: 360px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive — mobile-first refinements
   ============================================================ */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 1.25rem; padding-top: 1.5rem; }
  .hero-name { order: -1; padding: 0.5rem 0; }
  .name-anim { font-size: clamp(2.6rem, 13vw, 4.5rem); }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  body { font-size: 15.5px; line-height: 1.55; }

  /* Background — quieter on mobile */
  .orb { opacity: 0.35; filter: blur(60px); }
  .orb-gold { width: 320px; height: 320px; top: -100px; right: -80px; }
  .orb-teal { width: 360px; height: 360px; bottom: -120px; left: -100px; }
  .orb-plum { display: none; }
  .orb-rose { display: none; }
  .spotlight { display: none; }
  .grid-overlay { display: none; }

  /* Nav — compact */
  .nav { padding: 0.75rem 1rem; }
  .nav-brand { font-size: 0.95rem; gap: 0.5rem; }
  .nav-links { gap: 0.85rem; }
  .nav-links a { font-size: 0.8rem; padding: 0.3rem 0; }

  /* Layout */
  main { padding: 0 1rem; }
  .section { padding: 3.25rem 0 1.5rem; }
  .section-thin { padding: 2rem 0 1rem; }
  .section-head { margin-bottom: 1.5rem; }

  /* Typography — varied scale for hierarchy */
  .hero h1 { font-size: clamp(2.2rem, 11vw, 3rem); line-height: 1.02; margin-bottom: 1.1rem; }
  .lede { font-size: 0.95rem; margin-bottom: 1.4rem; line-height: 1.55; }
  .hero-strip { gap: 0.65rem; padding-top: 1rem; }
  .strip-item { font-size: 0.75rem; }
  .section-h { font-size: clamp(1.55rem, 6.5vw, 2rem); line-height: 1.1; }
  .section-sub { font-size: 0.9rem; line-height: 1.55; }
  .section-tag { font-size: 0.66rem; padding: 0.28rem 0.65rem; }

  /* Step cards smaller heading */
  .step h4 { font-size: 0.98rem; }
  .step p { font-size: 0.85rem; line-height: 1.5; }
  .step-cta { font-size: 0.76rem; padding: 0.5rem 0.9rem; }

  /* Featured shrinks more */
  .appearance-card { padding: 1rem; gap: 1rem; max-width: 100%; }
  .appearance-show { font-size: 0.66rem; margin-bottom: 0.5rem; }
  .appearance-h { font-size: 1.05rem; line-height: 1.3; margin-bottom: 0.6rem; }
  .appearance-desc { font-size: 0.86rem; line-height: 1.55; margin-bottom: 0.85rem; }

  /* Hero spacing */
  .hero { min-height: auto; padding: 1.25rem 0 0.5rem; }
  .name-anim { font-size: clamp(2.4rem, 14vw, 3.8rem); }
  .name-underline { height: 2px; margin-top: 0.65rem; }
  .eyebrow { font-size: 0.68rem; margin-bottom: 1rem; padding: 0.3rem 0.75rem; }

  /* Buttons */
  .btn { padding: 0.85rem 1.4rem; font-size: 0.92rem; }
  .hero-cta { gap: 0.7rem; }
  .hero-cta .btn { flex: 1; min-width: 0; }

  /* Games */
  .corner-tabs {
    padding: 0.3rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    max-width: 100%;
    scrollbar-width: none;
  }
  .corner-tabs::-webkit-scrollbar { display: none; }
  .tab { padding: 0.55rem 0.9rem; font-size: 0.8rem; white-space: nowrap; }
  .quiz-card, .quiz-results { padding: 1.4rem; }
  #quiz-question { font-size: 1.2rem; }
  .quiz-option { padding: 0.85rem 1rem; font-size: 0.92rem; gap: 0.7rem; }
  .quiz-option .marker { width: 26px; height: 26px; }
  .myths-grid { grid-template-columns: 1fr 1fr; gap: 0.55rem; }
  .myth-card { height: 145px; }
  .myth-face { padding: 0.85rem 0.9rem; }
  .myth-label { font-size: 0.62rem; padding: 0.18rem 0.45rem; margin-bottom: 0.45rem; }
  .myth-text { font-size: 0.82rem; font-weight: 600; line-height: 1.3; }
  .myth-back .myth-text { font-size: 0.74rem; line-height: 1.4; }
  .myth-tip { display: none; }

  .memory-grid { gap: 0.4rem; max-width: 100%; }
  .mem-face { font-size: 1.35rem; }
  .memory-meta { font-size: 0.8rem; gap: 0.85rem; }

  /* About chips */
  .chips { gap: 0.75rem; }
  .chip { padding: 1.2rem 1.2rem 1.2rem 1.3rem; }
  .chip-tag { font-size: 0.68rem; padding: 0.25rem 0.6rem; }
  .chip li { font-size: 0.92rem; }

  /* Forms */
  .form-card { padding: 1.4rem; gap: 0.9rem; }
  .form-row { grid-template-columns: 1fr; gap: 0.9rem; }
  .form-card input, .form-card textarea, .form-card select { font-size: 16px; padding: 0.8rem 1rem; }
  .form-card button { width: 100%; justify-content: center; }

  /* Chatbot */
  .chatbot { border-radius: var(--radius); }
  .chat-header { padding: 0.85rem 1.1rem; }
  .chat-title { font-size: 0.88rem; }
  .chat-meta { font-size: 0.72rem; }
  .chat-body { padding: 1.1rem; max-height: 320px; }
  .bubble-msg { font-size: 0.92rem; padding: 0.75rem 1rem; max-width: 90%; }
  .chat-input { padding: 0.85rem 1.1rem; flex-direction: column; gap: 0.5rem; }
  .chat-input input, .chat-input textarea, .chat-input select { font-size: 16px; width: 100%; }
  .chat-input .btn { width: 100%; }
  .chat-input-choices { gap: 0.4rem; }
  .chip-btn { font-size: 0.82rem; padding: 0.55rem 0.85rem; }

  /* Steps */
  .steps { grid-template-columns: 1fr; gap: 0.7rem; margin-bottom: 1.5rem; }
  .step { padding: 1.2rem 1.3rem; }
  .step-num { font-size: 1.65rem; }

  /* Featured row */
  .appearance-row { padding: 0.7rem 0.85rem 0.7rem 0.7rem; gap: 0.85rem; }
  .appearance-thumb { width: 92px; border-radius: 6px; }
  .appearance-title { font-size: 0.9rem; }
  .appearance-show { font-size: 0.66rem; letter-spacing: 0.1em; }
  .appearance-cta { font-size: 0.78rem; }

  /* Follow */
  .follow-grid { gap: 0.7rem; }
  .follow-card { padding: 1.4rem; }

  /* Banners + disclaimer */
  .not-ad-banner { font-size: 0.85rem; padding: 0.85rem 1rem; gap: 0.7rem; margin-bottom: 1.5rem; }
  .modal { padding: 1rem; }
  .modal-card { padding: 1.5rem; max-height: 88vh; }
  .modal-card h2 { font-size: 1.45rem; }
  .modal-lede { font-size: 0.9rem; }
  .modal-list li { font-size: 0.85rem; }

  /* Contact closer */
  .contact-card-final { padding: 2rem 1.4rem; }
  .contact-card-final h3 { font-size: 1.4rem; }
  .contact-buttons { gap: 0.6rem; }
  .contact-buttons .btn { flex: 1; width: 100%; }

  /* Footer */
  .footer { padding: 2rem 1.25rem; font-size: 0.78rem; }
  .footer .disclaimer { font-size: 0.72rem; }
}

@media (max-width: 480px) {
  /* Brand only nav under 480px */
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 0.45rem 0.9rem !important; font-size: 0.78rem !important; }

  .hero h1 { font-size: clamp(1.9rem, 12vw, 2.6rem); }
  .name-anim { font-size: clamp(2.1rem, 15vw, 3.2rem); }
  .grad-text-1, .grad-text-2 { display: inline; }

  .corner-tabs { width: 100%; }

  /* Buttons stack on hero */
  .hero-cta { flex-direction: column; gap: 0.55rem; }
  .hero-cta .btn { width: 100%; }

  /* Tighter section spacing */
  .section { padding: 2.5rem 0 1rem; }

  /* Hero strip vertical */
  .hero-strip { flex-direction: column; gap: 0.55rem; align-items: flex-start; }

  /* Myth single column at very small */
  .myths-grid { grid-template-columns: 1fr; gap: 0.5rem; }
  .myth-card { height: 130px; }
}

/* Disable expensive animations on prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .orb { animation: none; }
  .scales-svg { animation: none; }
}

/* Touch devices — disable hover-only effects */
@media (hover: none) {
  .spotlight { display: none; }
  .quiz-option:hover { transform: none; }
  .follow-card:hover { transform: none; }
  .practice-card:hover { transform: none; }
  .chip:hover { transform: none; }
  .step:hover { transform: none; }
}
