/* ============================================
   HAPPINESS HOSTAGE — STYLES
   Tone: Maximalist Chaos / Playful Toy-like
   Palette: Acid Neon + Warm Chaos
   Fonts: Bricolage Grotesque + Space Mono
   ============================================ */

:root {
  --neon-yellow: #CCFF00;
  --hot-pink: #FF3CAC;
  --deep-black: #0D0D0D;
  --dark-purple: #1A1A2E;
  --electric-blue: #00D4FF;
  --orange-zest: #FF6B2B;
  --lime-green: #39FF14;
  --white: #FFFFFF;
  --card-bg: #16213E;
  --card-border: #FF3CAC;
  --text-primary: #FFFFFF;
  --text-muted: #A0A0C0;
  --happiness-color: #CCFF00;
  --danger-red: #FF2D55;
  --gold: #FFD700;

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-pill: 999px;

  --shadow-neon-pink: 0 0 20px rgba(255, 60, 172, 0.6), 0 0 40px rgba(255, 60, 172, 0.3);
  --shadow-neon-yellow: 0 0 20px rgba(204, 255, 0, 0.6), 0 0 40px rgba(204, 255, 0, 0.3);
  --shadow-neon-blue: 0 0 20px rgba(0, 212, 255, 0.6), 0 0 40px rgba(0, 212, 255, 0.3);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-display);
  background: var(--deep-black);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: default;
}

/* Animated background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255, 60, 172, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(204, 255, 0, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: bgPulse 8s ease-in-out infinite alternate;
}

@keyframes bgPulse {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

/* ===== CONFETTI CANVAS ===== */
#confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

/* ===== EMOJI RAIN ===== */
#emoji-rain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.rain-emoji {
  position: absolute;
  top: -60px;
  font-size: 2rem;
  animation: emojifall linear infinite;
  opacity: 0.4;
  user-select: none;
}

@keyframes emojifall {
  0% { transform: translateY(-60px) rotate(0deg); opacity: 0.4; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* ===== AD BANNER ===== */
.ad-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #1a1a2e, #16213e);
  border-bottom: 2px solid var(--hot-pink);
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.ad-label {
  background: var(--hot-pink);
  color: white;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.ad-text { color: var(--text-muted); flex: 1; }
.ad-link { color: var(--neon-yellow); text-decoration: none; font-weight: 700; }
.ad-link:hover { text-decoration: underline; }

.ad-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  transition: color 0.2s;
}
.ad-close:hover { color: white; }

/* ===== APP WRAPPER ===== */
#app {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding-top: 40px;
}

/* ===== SCREENS ===== */
.screen {
  display: none;
  min-height: calc(100vh - 40px);
  padding: 20px;
  animation: screenIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.screen.active { display: flex; flex-direction: column; align-items: center; justify-content: center; }

@keyframes screenIn {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ===== LANDING SCREEN ===== */
.landing-inner {
  max-width: 680px;
  width: 100%;
  text-align: center;
  padding: 40px 20px;
}

.logo-badge {
  display: inline-block;
  background: var(--danger-red);
  color: white;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  animation: badgePulse 1s ease-in-out infinite alternate;
}

@keyframes badgePulse {
  from { box-shadow: 0 0 10px rgba(255, 45, 85, 0.5); }
  to { box-shadow: 0 0 30px rgba(255, 45, 85, 0.9), 0 0 60px rgba(255, 45, 85, 0.4); }
}

.game-title {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
  margin-bottom: 24px;
}

.title-line1 {
  font-size: clamp(3.5rem, 12vw, 7rem);
  font-weight: 800;
  color: var(--neon-yellow);
  text-shadow: var(--shadow-neon-yellow);
  letter-spacing: -2px;
  animation: titleWobble 3s ease-in-out infinite;
}

.title-line2 {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 800;
  color: var(--hot-pink);
  text-shadow: var(--shadow-neon-pink);
  letter-spacing: -2px;
  animation: titleWobble 3s ease-in-out infinite 0.3s;
}

@keyframes titleWobble {
  0%, 100% { transform: rotate(-1deg) skewX(-1deg); }
  50% { transform: rotate(1deg) skewX(1deg); }
}

.tagline {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.highlight-smile {
  color: var(--neon-yellow);
  font-weight: 800;
  font-size: 1.3em;
  text-shadow: var(--shadow-neon-yellow);
  animation: smilePop 0.5s ease-in-out infinite alternate;
}

@keyframes smilePop {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

.warning-box {
  background: rgba(255, 107, 43, 0.15);
  border: 2px dashed var(--orange-zest);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  color: #FFB088;
  line-height: 1.6;
}

.stats-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stat-pill span { color: var(--neon-yellow); font-weight: 700; }

/* ===== BUTTONS ===== */
.btn-start {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--hot-pink), #c026d3);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  padding: 20px 48px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 1px;
  box-shadow: var(--shadow-neon-pink);
  transition: all 0.2s;
  animation: btnFloat 2s ease-in-out infinite;
  margin-bottom: 16px;
}

.btn-start:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(255, 60, 172, 0.8), 0 0 80px rgba(255, 60, 172, 0.4);
}

.btn-start:active { transform: scale(0.97); }

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

.btn-icon { font-size: 1.4em; animation: iconSpin 3s linear infinite; }
@keyframes iconSpin {
  0%, 80%, 100% { transform: rotate(0deg); }
  90% { transform: rotate(20deg); }
}

.fine-print {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  opacity: 0.6;
}

/* ===== HUD ===== */
.hud {
  width: 100%;
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(22, 33, 62, 0.9);
  border: 1px solid rgba(255, 60, 172, 0.3);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
}

.hud-left, .hud-right {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hud-center { flex-shrink: 0; }

.hud-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hud-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hud-value {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--neon-yellow);
}

.hud-value.streak { color: var(--orange-zest); }

.happiness-bar-wrap {
  position: relative;
  width: 160px;
  height: 20px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1px solid rgba(204, 255, 0, 0.3);
}

.happiness-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--lime-green), var(--neon-yellow));
  border-radius: var(--radius-pill);
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 10px rgba(204, 255, 0, 0.5);
}

.happiness-pct {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--deep-black);
  mix-blend-mode: difference;
}

.round-badge {
  background: linear-gradient(135deg, var(--electric-blue), #0066ff);
  color: white;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-neon-blue);
}

/* ===== ESCAPE BUTTON ===== */
.btn-escape {
  position: fixed;
  top: 60px;
  right: 20px;
  z-index: 500;
  background: rgba(255, 45, 85, 0.15);
  border: 2px solid var(--danger-red);
  color: var(--danger-red);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.2s;
  animation: escapeWiggle 4s ease-in-out infinite;
}

.btn-escape:hover {
  background: var(--danger-red);
  color: white;
  transform: scale(1.05);
}

@keyframes escapeWiggle {
  0%, 90%, 100% { transform: rotate(0deg); }
  92% { transform: rotate(-3deg); }
  94% { transform: rotate(3deg); }
  96% { transform: rotate(-2deg); }
  98% { transform: rotate(2deg); }
}

/* ===== CHALLENGE ARENA ===== */
.challenge-arena {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== CHALLENGE CARDS ===== */
.challenge-card {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-neon-pink);
  animation: cardEntrance 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.challenge-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255,60,172,0.05) 60deg, transparent 120deg);
  animation: cardSpin 8s linear infinite;
  pointer-events: none;
}

@keyframes cardSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes cardEntrance {
  from { opacity: 0; transform: scale(0.8) rotate(-3deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.challenge-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.challenge-icon { font-size: 2rem; animation: iconBounce 1s ease-in-out infinite alternate; }
@keyframes iconBounce {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-8px) scale(1.1); }
}

.challenge-title {
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  font-weight: 800;
  color: var(--neon-yellow);
  letter-spacing: 1px;
  text-shadow: var(--shadow-neon-yellow);
}

/* ===== DAD JOKE ===== */
.joke-setup {
  font-size: clamp(1rem, 3vw, 1.3rem);
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--electric-blue);
  font-style: italic;
}

.btn-punchline {
  background: linear-gradient(135deg, var(--electric-blue), #0066ff);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 1px;
  box-shadow: var(--shadow-neon-blue);
  transition: all 0.2s;
  margin-bottom: 16px;
}

.btn-punchline:hover { transform: scale(1.05); }

.joke-punchline {
  font-size: clamp(1.1rem, 3.5vw, 1.5rem);
  font-weight: 800;
  color: var(--neon-yellow);
  padding: 20px;
  background: rgba(204, 255, 0, 0.08);
  border-radius: var(--radius-md);
  border: 2px solid rgba(204, 255, 0, 0.3);
  margin-bottom: 20px;
  animation: punchlineReveal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes punchlineReveal {
  from { transform: scale(0.5) rotate(-5deg); opacity: 0; }
  to { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* ===== ROAST ===== */
.roast-text {
  font-size: clamp(1rem, 3vw, 1.3rem);
  color: var(--orange-zest);
  line-height: 1.7;
  padding: 24px;
  background: rgba(255, 107, 43, 0.1);
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 107, 43, 0.3);
  margin-bottom: 16px;
  font-style: italic;
  font-weight: 700;
}

.roast-disclaimer {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ===== MEME ===== */
.meme-container { margin-bottom: 24px; }

.meme-frame {
  background: #000;
  border: 4px solid var(--neon-yellow);
  border-radius: var(--radius-md);
  padding: 20px;
  display: inline-block;
  min-width: 280px;
  box-shadow: var(--shadow-neon-yellow);
}

.meme-top-text, .meme-bottom-text {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 black, -2px -2px 0 black, 2px -2px 0 black, -2px 2px 0 black;
  padding: 8px 0;
}

.meme-emoji-art {
  font-size: clamp(3rem, 10vw, 5rem);
  padding: 16px 0;
  line-height: 1.2;
  letter-spacing: 4px;
}

/* ===== TONGUE TWISTER ===== */
.tongue-instruction {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.tongue-text {
  font-size: clamp(1.1rem, 3.5vw, 1.5rem);
  font-weight: 800;
  color: var(--hot-pink);
  padding: 24px;
  background: rgba(255, 60, 172, 0.1);
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 60, 172, 0.3);
  margin-bottom: 20px;
  line-height: 1.5;
  text-shadow: var(--shadow-neon-pink);
}

.tongue-timer-wrap { margin-bottom: 16px; }

.tongue-timer {
  font-family: var(--font-mono);
  font-size: 4rem;
  font-weight: 700;
  color: var(--neon-yellow);
  text-shadow: var(--shadow-neon-yellow);
  line-height: 1;
}

.tongue-timer-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.btn-tongue-go {
  background: linear-gradient(135deg, var(--hot-pink), #c026d3);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-neon-pink);
  transition: all 0.2s;
  margin-bottom: 16px;
}

.btn-tongue-go:hover { transform: scale(1.05); }

/* ===== WOULD YOU RATHER ===== */
.wyr-options {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.wyr-option {
  flex: 1;
  min-width: 140px;
  max-width: 220px;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.wyr-option:hover {
  border-color: var(--neon-yellow);
  background: rgba(204, 255, 0, 0.08);
  transform: scale(1.03);
  box-shadow: var(--shadow-neon-yellow);
}

.wyr-option.selected-a {
  border-color: var(--electric-blue);
  background: rgba(0, 212, 255, 0.1);
  box-shadow: var(--shadow-neon-blue);
}

.wyr-option.selected-b {
  border-color: var(--hot-pink);
  background: rgba(255, 60, 172, 0.1);
  box-shadow: var(--shadow-neon-pink);
}

.wyr-letter {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neon-yellow);
}

.wyr-text {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-primary);
}

.wyr-vs {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--danger-red);
  flex-shrink: 0;
}

.wyr-result {
  font-size: 1rem;
  color: var(--neon-yellow);
  padding: 16px;
  background: rgba(204, 255, 0, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-weight: 700;
  animation: punchlineReveal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== DANCE ===== */
.dance-instruction {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.dance-move-display {
  font-size: clamp(2rem, 8vw, 3.5rem);
  padding: 24px;
  background: rgba(57, 255, 20, 0.08);
  border-radius: var(--radius-md);
  border: 2px solid rgba(57, 255, 20, 0.3);
  margin-bottom: 20px;
  font-weight: 800;
  color: var(--lime-green);
  text-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
  animation: danceShake 0.5s ease-in-out infinite;
}

@keyframes danceShake {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

.dance-countdown { margin-bottom: 16px; }

.dance-timer {
  font-family: var(--font-mono);
  font-size: 4rem;
  font-weight: 700;
  color: var(--lime-green);
  text-shadow: 0 0 20px rgba(57, 255, 20, 0.6);
  line-height: 1;
}

.btn-dance-start {
  background: linear-gradient(135deg, var(--lime-green), #00aa00);
  color: var(--deep-black);
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 16px;
}

.btn-dance-start:hover { transform: scale(1.05); }

/* ===== COMPLIMENT ===== */
.compliment-intro {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.compliment-shower {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.compliment-item {
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
  animation: complimentSlide 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes complimentSlide {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===== CHAOS BUTTON ===== */
.chaos-instruction {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.chaos-button-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.btn-chaos {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff0000, #cc0000);
  border: 6px solid #ff6666;
  color: white;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 1px;
  box-shadow: 0 0 30px rgba(255,0,0,0.5), 0 0 60px rgba(255,0,0,0.3), inset 0 -4px 8px rgba(0,0,0,0.3);
  transition: all 0.1s;
  animation: chaosGlow 2s ease-in-out infinite alternate;
  line-height: 1.3;
}

.btn-chaos:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(255,0,0,0.8), 0 0 100px rgba(255,0,0,0.4);
}

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

@keyframes chaosGlow {
  from { box-shadow: 0 0 20px rgba(255,0,0,0.4), 0 0 40px rgba(255,0,0,0.2); }
  to { box-shadow: 0 0 40px rgba(255,0,0,0.8), 0 0 80px rgba(255,0,0,0.4); }
}

.chaos-result {
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 800;
  color: var(--neon-yellow);
  padding: 20px;
  background: rgba(204, 255, 0, 0.08);
  border-radius: var(--radius-md);
  border: 2px solid rgba(204, 255, 0, 0.3);
  margin-bottom: 20px;
  animation: punchlineReveal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== REACTION BUTTONS ===== */
.reaction-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.reaction-prompt {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.btn-reaction {
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 220px;
  letter-spacing: 0.5px;
}

.btn-yes {
  background: linear-gradient(135deg, var(--neon-yellow), #aadd00);
  color: var(--deep-black);
  box-shadow: var(--shadow-neon-yellow);
}

.btn-yes:hover { transform: scale(1.05); }

.btn-no {
  background: rgba(255,255,255,0.08);
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.15);
}

.btn-no:hover {
  background: rgba(255, 45, 85, 0.15);
  border-color: var(--danger-red);
  color: var(--danger-red);
  transform: scale(1.02);
}

/* ===== NEXT CHALLENGE ===== */
.next-challenge-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.btn-next {
  background: transparent;
  border: 2px solid var(--electric-blue);
  color: var(--electric-blue);
  border-radius: var(--radius-pill);
  padding: 12px 32px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 2px;
  transition: all 0.2s;
  box-shadow: var(--shadow-neon-blue);
}

.btn-next:hover {
  background: var(--electric-blue);
  color: var(--deep-black);
  transform: scale(1.05);
}

/* ===== MID-GAME AD ===== */
.ad-midgame {
  width: 100%;
  max-width: 700px;
  background: rgba(22, 33, 62, 0.8);
  border: 1px solid rgba(255, 60, 172, 0.2);
  border-radius: var(--radius-md);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-top: 8px;
  margin-bottom: 20px;
}

/* ===== ESCAPE SCREEN ===== */
.escape-inner {
  max-width: 500px;
  text-align: center;
  padding: 40px 20px;
}

.escape-emoji {
  font-size: 5rem;
  margin-bottom: 20px;
  animation: escapeAlarm 0.5s ease-in-out infinite alternate;
}

@keyframes escapeAlarm {
  from { transform: scale(1) rotate(-5deg); }
  to { transform: scale(1.1) rotate(5deg); }
}

.escape-title {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--danger-red);
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(255, 45, 85, 0.6);
}

.escape-msg {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.escape-penalty {
  background: rgba(255, 45, 85, 0.1);
  border: 2px solid var(--danger-red);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  font-size: 1rem;
  color: var(--danger-red);
  font-weight: 700;
  margin-bottom: 24px;
  min-height: 60px;
}

.btn-back-game {
  background: linear-gradient(135deg, var(--danger-red), #cc0033);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  padding: 16px 40px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-back-game:hover { transform: scale(1.05); }

/* ===== VICTORY SCREEN ===== */
.victory-inner {
  max-width: 680px;
  width: 100%;
  text-align: center;
  padding: 40px 20px;
}

.victory-emoji {
  font-size: 4rem;
  margin-bottom: 16px;
  animation: victoryBounce 0.6s ease-in-out infinite alternate;
}

@keyframes victoryBounce {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.1) translateY(-10px); }
}

.victory-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  color: var(--neon-yellow);
  text-shadow: var(--shadow-neon-yellow);
  letter-spacing: -2px;
  margin-bottom: 8px;
}

.victory-subtitle {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--lime-green);
  letter-spacing: 4px;
  margin-bottom: 32px;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.victory-stats {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.v-stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
}

.v-stat-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--neon-yellow);
}

.v-stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.victory-certificate {
  background: rgba(255, 215, 0, 0.06);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 2;
}

.cert-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* ===== SHARE BUTTONS ===== */
.share-section { margin-bottom: 32px; }

.share-prompt {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.share-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-share {
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-twitter { background: #1DA1F2; color: white; }
.btn-whatsapp { background: #25D366; color: white; }
.btn-copy { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.2); }

.btn-share:hover { transform: scale(1.05); opacity: 0.9; }

.btn-play-again {
  background: linear-gradient(135deg, var(--hot-pink), #c026d3);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  padding: 16px 40px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-neon-pink);
  transition: all 0.2s;
  margin-bottom: 32px;
}

.btn-play-again:hover { transform: scale(1.05); }

/* ===== PREMIUM UPSELL ===== */
.premium-upsell {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 107, 43, 0.08));
  border: 2px solid rgba(255, 215, 0, 0.4);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
}

.premium-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #ff8c00);
  color: var(--deep-black);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.premium-upsell h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 16px;
}

.premium-features {
  list-style: none;
  text-align: left;
  display: inline-block;
  margin-bottom: 24px;
}

.premium-features li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.btn-premium {
  background: linear-gradient(135deg, var(--gold), #ff8c00);
  color: var(--deep-black);
  border: none;
  border-radius: var(--radius-pill);
  padding: 16px 40px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  margin-bottom: 12px;
}

.btn-premium:hover { transform: scale(1.05); }

.premium-note {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--card-bg);
  border: 2px solid var(--hot-pink);
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  z-index: 9000;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  white-space: nowrap;
  box-shadow: var(--shadow-neon-pink);
}

.toast.show { transform: translateX(-50%) translateY(0); }

/* ===== SCORE POP ===== */
.score-pop {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--neon-yellow);
  text-shadow: var(--shadow-neon-yellow);
  pointer-events: none;
  z-index: 9000;
  transition: all 0.1s;
}

.score-pop.show {
  animation: scorePop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scorePop {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  50% { transform: translate(-50%, -80%) scale(1.2); opacity: 1; }
  100% { transform: translate(-50%, -120%) scale(0.8); opacity: 0; }
}

/* ===== UTILITIES ===== */
.hidden { display: none !important; }

/* ===== SCREEN: GAME (flex column) ===== */
#screen-game {
  flex-direction: column;
  align-items: center;
  padding: 20px;
  gap: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .hud { flex-direction: column; gap: 12px; }
  .hud-left, .hud-right { justify-content: center; }
  .happiness-bar-wrap { width: 200px; }
  .wyr-options { flex-direction: column; align-items: center; }
  .wyr-option { max-width: 100%; width: 100%; }
  .challenge-card { padding: 20px 16px; }
  .btn-escape { top: 50px; right: 10px; font-size: 0.6rem; padding: 6px 12px; }
  .victory-stats { flex-direction: column; align-items: center; }
  .share-buttons { flex-direction: column; align-items: center; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--deep-black); }
::-webkit-scrollbar-thumb { background: var(--hot-pink); border-radius: 3px; }