/* ═══════════════════════════════════════════════════════════════
   Who's the Spy? — Stylesheet
   Theme: Playful Cyber-Arcade
   Palette: Neon Indigo · Electric Purple · Lime/Mint · Coral · Sunshine
   ═══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════
   HOME SCREEN — Full redesign to match reference layout
   ══════════════════════════════════════════════════════════════ */

/* Overall home container */
.home-screen {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 20%, #1a1060 0%, #0c0830 40%, #060420 100%);
}

/* ── Hero section (top half) ─────────────────────────────────── */
.home-hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: max(2rem, env(safe-area-inset-top, 0px));
  flex: 1;
  min-height: 0;
}

/* City skyline SVG at the bottom of the hero area */
.city-skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  pointer-events: none;
  z-index: 0;
}
.city-skyline svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Detective mascot */
.mascot-wrap {
  position: relative;
  z-index: 2;
  margin-top: 0.5rem;
}
.mascot-img {
  width: clamp(180px, 55vw, 240px);
  height: auto;
  /* Remove white/checker background from JPG — multiply blends white away */
  mix-blend-mode: lighten;
  filter: drop-shadow(0 12px 32px rgba(80, 40, 200, 0.5));
  display: block;
  margin: 0 auto;
}

/* Title */
.home-title {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: -0.5rem;
  padding: 0 1rem;
}
.hero-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 14vw, 4.5rem);
  line-height: 1.0;
  color: #ffffff;
  /* Comic-book thick stroke */
  -webkit-text-stroke: 4px #1a0a60;
  text-stroke: 4px #1a0a60;
  paint-order: stroke fill;
  letter-spacing: -0.01em;
  text-shadow:
    0 4px 24px rgba(120, 60, 255, 0.4),
    0 2px 0 #1a0a60;
}
.hero-title-spy {
  font-size: clamp(3.5rem, 16vw, 5rem);
  background: linear-gradient(180deg, #fff 30%, #e8d8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0;
  filter: drop-shadow(0 2px 8px rgba(168,85,247,0.6));
}

/* ── Bottom section ──────────────────────────────────────────── */
.home-bottom {
  width: 100%;
  padding: 1rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  z-index: 2;
  position: relative;
}

/* Subtitle card */
.home-subtitle-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  backdrop-filter: blur(8px);
}
.subtitle-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.subtitle-text {
  font-size: 0.82rem;
  color: #94A3B8;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}
.subtitle-highlight {
  color: #FACC15;
  font-weight: 800;
}

/* ── Home Buttons ────────────────────────────────────────────── */
.home-btn-host {
  background: linear-gradient(135deg, #D97706, #FACC15);
  color: #1a0800;
  font-size: 1.15rem;
  font-weight: 900;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(250,204,21,0.45), 0 2px 0 #92400e;
  letter-spacing: 0.01em;
  width: 100%;
}
.home-btn-host:hover { box-shadow: 0 6px 32px rgba(250,204,21,0.65), 0 2px 0 #92400e; }

.home-btn-join {
  background: linear-gradient(135deg, #059669, #34D399);
  color: #012a18;
  font-size: 1.15rem;
  font-weight: 900;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(52,211,153,0.4), 0 2px 0 #065f46;
  letter-spacing: 0.01em;
  width: 100%;
}
.home-btn-join:hover { box-shadow: 0 6px 32px rgba(52,211,153,0.6), 0 2px 0 #065f46; }

.home-btn-htp {
  background: rgba(255,255,255,0.07);
  color: #CBD5E1;
  border: 1.5px solid rgba(255,255,255,0.15);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  width: 100%;
}
.home-btn-htp:hover { background: rgba(255,255,255,0.12); color: #fff; }

.home-btn-icon {
  font-size: 1.4rem;
  line-height: 1;
}

/* ── Stats bar ───────────────────────────────────────────────── */
.home-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  backdrop-filter: blur(8px);
}
.home-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}
.stat-icon { font-size: 1.4rem; line-height: 1; }
.stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94A3B8;
  text-align: center;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.home-stat-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(255,255,255,0.1);
}

/* ── Floating decorative elements ────────────────────────────── */
.home-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.deco-item {
  position: absolute;
  font-weight: 900;
  user-select: none;
  opacity: 0.25;
}

/* Question marks */
.deco-q1  { top: 8%;  left: 8%;  font-size: 2.5rem; color: #FACC15; animation: decoFloat1 4.5s ease-in-out infinite; }
.deco-q2  { top: 20%; right: 7%; font-size: 1.6rem; color: #FACC15; animation: decoFloat2 3.8s ease-in-out infinite 0.7s; }
.deco-q3  { top: 5%;  right: 22%;font-size: 3.2rem; color: #FACC15; animation: decoFloat1 5.2s ease-in-out infinite 1.2s; opacity: 0.15; }
.deco-q4  { top: 35%; left: 5%;  font-size: 1.8rem; color: #FACC15; animation: decoFloat2 4.0s ease-in-out infinite 2.1s; }

/* Spy icons */
.deco-mag1   { top: 12%; right: 10%; font-size: 1.5rem; animation: decoFloat1 4.2s ease-in-out infinite 0.4s; }
.deco-mag2   { top: 42%; left:  9%;  font-size: 1.1rem; animation: decoFloat2 3.6s ease-in-out infinite 1.8s; }
.deco-bubble1{ top: 28%; right: 5%;  font-size: 1.3rem; animation: decoFloat1 5.0s ease-in-out infinite 0.9s; }
.deco-bubble2{ top: 48%; left: 12%;  font-size: 1.0rem; animation: decoFloat2 4.8s ease-in-out infinite 2.5s; }

@keyframes decoFloat1 {
  0%, 100% { transform: translateY(0px) rotate(-8deg); }
  50%      { transform: translateY(-12px) rotate(4deg); }
}
@keyframes decoFloat2 {
  0%, 100% { transform: translateY(0px) rotate(5deg); }
  50%      { transform: translateY(-10px) rotate(-6deg); }
}



/* ── Base ─────────────────────────────────────────────────────── */
* { box-sizing: border-box; }

body {
  font-family: 'Outfit', sans-serif;
  background: #0F172A;
  color: #F1F5F9;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* ── Animated Gradient Background ────────────────────────────── */
.bg-animated {
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 40%, #0F172A 70%, #1a0a2e 100%);
  background-size: 400% 400%;
  animation: gradShift 8s ease infinite;
}

/* ── Glassmorphism Cards ─────────────────────────────────────── */
.glass {
  background: rgba(30, 27, 75, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(168, 85, 247, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.glass-light {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── Neon Glow Effects ───────────────────────────────────────── */
.glow-purple { box-shadow: 0 0 20px rgba(168, 85, 247, 0.5), 0 0 40px rgba(168, 85, 247, 0.2); }
.glow-lime   { box-shadow: 0 0 20px rgba(74, 222, 128, 0.5), 0 0 40px rgba(74, 222, 128, 0.2); }
.glow-coral  { box-shadow: 0 0 20px rgba(244, 63, 94, 0.5),  0 0 40px rgba(244, 63, 94, 0.2);  }
.glow-yellow { box-shadow: 0 0 20px rgba(250, 204, 21, 0.5), 0 0 40px rgba(250, 204, 21, 0.2); }

.text-glow-purple { text-shadow: 0 0 20px rgba(168, 85, 247, 0.8); }
.text-glow-lime   { text-shadow: 0 0 20px rgba(74, 222, 128, 0.8);  }
.text-glow-coral  { text-shadow: 0 0 20px rgba(244, 63, 94, 0.8);   }

/* ── Chunky Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: 1rem;
  padding: 1rem 1.75rem;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: transform 0.12s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.15s ease,
              opacity 0.15s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: manipulation;
}
.btn:active   { transform: scale(0.93) !important; }
.btn:hover    { transform: scale(1.04); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: scale(1) !important; }

.btn-purple {
  background: linear-gradient(135deg, #7C3AED, #A855F7);
  color: #fff;
  box-shadow: 0 4px 24px rgba(168, 85, 247, 0.45);
}
.btn-purple:hover { box-shadow: 0 6px 32px rgba(168, 85, 247, 0.65); }

.btn-lime {
  background: linear-gradient(135deg, #10B981, #4ADE80);
  color: #0F172A;
  box-shadow: 0 4px 24px rgba(74, 222, 128, 0.4);
}
.btn-lime:hover { box-shadow: 0 6px 32px rgba(74, 222, 128, 0.6); }

.btn-coral {
  background: linear-gradient(135deg, #E11D48, #F43F5E);
  color: #fff;
  box-shadow: 0 4px 24px rgba(244, 63, 94, 0.45);
}
.btn-coral:hover { box-shadow: 0 6px 32px rgba(244, 63, 94, 0.65); }

.btn-yellow {
  background: linear-gradient(135deg, #EAB308, #FACC15);
  color: #0F172A;
  box-shadow: 0 4px 24px rgba(250, 204, 21, 0.45);
}
.btn-yellow:hover { box-shadow: 0 6px 32px rgba(250, 204, 21, 0.65); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  color: #CBD5E1;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ── Input Fields ───────────────────────────────────────────── */
.input-field {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(168, 85, 247, 0.3);
  border-radius: 0.875rem;
  padding: 0.9rem 1.2rem;
  color: #F1F5F9;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.input-field::placeholder { color: rgba(148, 163, 184, 0.5); }
.input-field:focus {
  border-color: #A855F7;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

/* ── View Management ────────────────────────────────────────── */
.view        { display: none; }
.view.active { display: flex; }

/* ── Timer Bar ──────────────────────────────────────────────── */
.timer-bar {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #4ADE80, #A855F7, #F43F5E);
  transition: width 1s linear;
}

/* ── Player Cards (Lobby) ───────────────────────────────────── */
.player-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 85, 247, 0.15);
  transition: all 0.2s;
  animation: slideUp 0.3s ease-out both;
}

/* ── Vote Cards ─────────────────────────────────────────────── */
.vote-card {
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s;
  border: 2px solid rgba(168, 85, 247, 0.2);
  background: rgba(30, 27, 75, 0.7);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.vote-card:hover  { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(168, 85, 247, 0.25); }
.vote-card:active { transform: scale(0.95); }
.vote-card.locked {
  border-color: #F43F5E;
  background: rgba(244, 63, 94, 0.12);
  cursor: default;
}
.vote-card.my-vote {
  border-color: #4ADE80;
  background: rgba(74, 222, 128, 0.1);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.25);
}

/* ── Secret Word Flip Card ──────────────────────────────────── */
.word-card { perspective: 800px; }

.word-card-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.word-card-inner.flipped { transform: rotateY(180deg); }

.word-card-front,
.word-card-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.word-card-back {
  transform: rotateY(180deg);
  position: absolute;
  inset: 0;
}

/* ── Shimmer / Gradient Text ────────────────────────────────── */
.shimmer-text {
  background: linear-gradient(90deg, #A855F7 0%, #FACC15 30%, #4ADE80 60%, #A855F7 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

/* ── Room Code Display ──────────────────────────────────────── */
.room-code {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  background: linear-gradient(135deg, #FACC15, #A855F7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Floating Particles ─────────────────────────────────────── */
.particle {
  position: fixed;
  border-radius: 50%;
  background: white;
  pointer-events: none;
  animation: floatUp 4s ease-in-out infinite;
}

/* ── Avatar Selector ────────────────────────────────────────── */
.avatar-btn {
  font-size: 2rem;
  padding: 0.6rem;
  border-radius: 0.75rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: rgba(255, 255, 255, 0.04);
  -webkit-tap-highlight-color: transparent;
}
.avatar-btn:hover { transform: scale(1.2); background: rgba(168, 85, 247, 0.15); }
.avatar-btn.selected {
  border-color: #A855F7;
  background: rgba(168, 85, 247, 0.2);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.4);
  transform: scale(1.15);
}

/* ── QR Code ────────────────────────────────────────────────── */
#qr-code canvas,
#qr-code img { border-radius: 0.5rem; }

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.03); }
::-webkit-scrollbar-thumb { background: rgba(168, 85, 247, 0.4); border-radius: 3px; }

/* ── Mobile Safe Area ───────────────────────────────────────── */
.safe-bottom { padding-bottom: env(safe-area-inset-bottom, 16px); }

/* ── Animation Utility Classes ──────────────────────────────── */
.bounce-in       { animation: bounceIn  0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.slide-up        { animation: slideUp   0.4s ease-out both; }
.float-anim      { animation: floatUp   3s ease-in-out infinite; }
.winner-pop      { animation: winnerPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.reveal-card-anim{ animation: revealCard 0.6s ease-out both; }

/* ── Keyframes ──────────────────────────────────────────────── */
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%;   }
  50%      { background-position: 100% 50%; }
}

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

@keyframes floatUp {
  0%, 100% { transform: translateY(0);    }
  50%      { transform: translateY(-8px); }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

@keyframes bounceIn {
  0%   { transform: scale(0.5); opacity: 0; }
  70%  { transform: scale(1.1); }
  100% { transform: scale(1);   opacity: 1; }
}

@keyframes countdownBoom {
  0%   { transform: scale(2); opacity: 0; }
  50%  { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes revealCard {
  from { transform: rotateY(90deg); opacity: 0; }
  to   { transform: rotateY(0deg); opacity: 1;  }
}

@keyframes winnerPop {
  0%   { transform: scale(0) rotate(-10deg); opacity: 0; }
  60%  { transform: scale(1.1) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg);   opacity: 1; }
}

/* ── Buy Me a Coffee — Floating Support Button ──────────────── */

.bmc-btn {
  /* Position: fixed bottom-right, above safe area */
  position: fixed;
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  right: 1.25rem;
  z-index: 90;

  /* Layout: pill that expands on hover */
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;

  /* Collapsed width shows icon only */
  max-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.7rem;
  border-radius: 999px;

  /* Colors */
  background: linear-gradient(135deg, #EAB308, #FACC15);
  color: #1a1000;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  white-space: nowrap;

  /* Glow & shadow */
  box-shadow: 0 4px 20px rgba(250,204,21,0.35), 0 2px 8px rgba(0,0,0,0.3);

  /* Smooth expand */
  transition:
    max-width 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    padding   0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.2s ease,
    transform  0.15s cubic-bezier(0.34, 1.56, 0.64, 1),
    gap        0.35s ease;

  /* Slide-in entrance after page load */
  animation: bmcEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s both;
}

@keyframes bmcEntrance {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0);   opacity: 1; }
}

.bmc-btn:hover,
.bmc-btn:focus-visible {
  max-width: 14rem;
  padding: 0 1.1rem;
  gap: 0.5rem;
  box-shadow: 0 6px 28px rgba(250,204,21,0.55), 0 2px 8px rgba(0,0,0,0.3);
  transform: translateY(-2px) scale(1.03);
  outline: none;
}

.bmc-btn:active {
  transform: scale(0.95);
}

.bmc-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1;
  /* Subtle float on the icon */
  animation: floatUp 3s ease-in-out 1.2s infinite;
}

.bmc-label {
  /* Hidden until expanded — clip via overflow on parent */
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease 0.1s, transform 0.25s ease 0.05s;
  letter-spacing: 0.01em;
  pointer-events: none;
}

.bmc-btn:hover .bmc-label,
.bmc-btn:focus-visible .bmc-label {
  opacity: 1;
  transform: translateX(0);
}

/* Hide during gameplay (any view other than home active) */
.bmc-btn.bmc-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(120%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ── How to Play Modal ──────────────────────────────────────── */

/* Animated modal entrance */
.htp-modal {
  animation: htpSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes htpSlideUp {
  from { transform: translateY(40px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0)    scale(1);    opacity: 1; }
}

/* Close button */
.htp-close-btn {
  width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: #94A3B8;
  font-size: 1rem; font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.12s;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}
.htp-close-btn:hover  { background: rgba(244,63,94,0.15); color: #F43F5E; transform: scale(1.1); }
.htp-close-btn:active { transform: scale(0.93); }

/* Role cards */
.htp-role-card {
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.htp-role-card:hover { transform: translateY(-3px); }

/* Step rows */
.htp-step {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  animation: slideUp 0.3s ease-out both;
}

/* Numbered step badge */
.htp-step-num {
  flex-shrink: 0;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.8rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  margin-top: 0.1rem;
}

.htp-step-title {
  font-weight: 800;
  font-size: 0.9rem;
  color: #F1F5F9;
  margin-bottom: 0.2rem;
}

.htp-step-desc {
  font-size: 0.78rem;
  color: #94A3B8;
  line-height: 1.5;
}

/* Scrollable body — hidden scrollbar on mobile */
.htp-body {
  scrollbar-width: thin;
  scrollbar-color: rgba(168,85,247,0.3) transparent;
}
.htp-body::-webkit-scrollbar       { width: 4px; }
.htp-body::-webkit-scrollbar-track { background: transparent; }
.htp-body::-webkit-scrollbar-thumb { background: rgba(168,85,247,0.3); border-radius: 2px; }

/* ── Reduced Motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration:  0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
