@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Nunito:wght@300;400;600;700;800;900&family=Dancing+Script:wght@600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #FF6B9D;
  --primary-soft: #FFB3CC;
  --accent: #6B9DFF;
  --accent-soft: #B3C9FF;
  --gold: #FFD700;
  --bg: linear-gradient(135deg, #FFF0F5 0%, #F0F4FF 50%, #FFF5E0 100%);
  --text-dark: #2D1B33;
  --text-medium: #7B5C8A;
  --card-bg: rgba(255,255,255,0.88);
  --radius: 24px;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html, body {
  width: 100%; height: 100%;
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.34), rgba(255,255,255,0) 38%),
    repeating-linear-gradient(135deg, rgba(255,107,157,0.035) 0 1px, transparent 1px 18px);
}

/* Canvas */
#confettiCanvas {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 999;
}

/* Preview Badge */
.preview-badge {
  position: fixed; top: 16px; left: 50%;
  transform: translateX(-50%);
  background: rgba(255,75,139,0.9);
  color: white; font-size: 11px; font-weight: 800;
  padding: 4px 14px; border-radius: 20px;
  letter-spacing: 2px; z-index: 1000;
  backdrop-filter: blur(10px);
}
.preview-badge.hidden { display: none; }

/* Mute Button */
.mute-btn {
  position: fixed; top: 16px; right: 16px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,107,157,0.2);
  border-radius: 50%; cursor: pointer;
  font-size: 20px; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.mute-btn:hover { transform: scale(1.1); }

/* Heartbeat Indicator */
.heartbeat-indicator {
  position: fixed; bottom: 20px; right: 20px;
  font-size: 28px; z-index: 1000;
  animation: hb-slow 1.4s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(255,107,157,0.5));
  cursor: default; user-select: none;
}

@keyframes hb-slow {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.2); }
  28% { transform: scale(1); }
  42% { transform: scale(1.12); }
  56% { transform: scale(1); }
}

.heartbeat-indicator.fast {
  animation: hb-fast 0.5s ease-in-out infinite;
}

@keyframes hb-fast {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.35); }
}

/* BG Particles */
.bg-particles {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}

.bp {
  position: absolute;
  animation: bp-float linear infinite;
  user-select: none; font-size: 14px;
  opacity: 0.1;
}

@keyframes bp-float {
  0% { transform: translateY(110vh) rotate(0deg); }
  100% { transform: translateY(-100px) rotate(360deg); }
}

/* Glass Card */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(255,107,157,0.1), 0 2px 8px rgba(0,0,0,0.04);
}

/* SCREENS */
.screen {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 10; padding: 20px;
  overflow-y: auto;
}

.screen.hidden { display: none !important; }

/* ─── LOADING ─── */
.loading-content { text-align: center; }

.loading-heart {
  font-size: 64px;
  display: block; margin-bottom: 20px;
  animation: heartbeat 1.4s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.18); }
  28% { transform: scale(1); }
  42% { transform: scale(1.12); }
}

.loading-text {
  font-family: 'Dancing Script', cursive;
  font-size: 28px; color: var(--primary);
  margin-bottom: 16px;
}

.loading-dots { display: flex; gap: 8px; justify-content: center; }
.loading-dots span {
  width: 10px; height: 10px;
  background: var(--primary); border-radius: 50%;
  animation: dot-bounce 1.2s ease-in-out infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* ─── INTRO ─── */
.intro-card {
  max-width: 520px; width: 100%;
  padding: 40px 36px;
  text-align: center;
  animation: slideUp 0.6s var(--spring) forwards;
}

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

.intro-sender {
  font-size: 14px; color: var(--text-medium);
  font-weight: 600; letter-spacing: 1px;
  margin-bottom: 16px; text-transform: uppercase;
  min-height: 20px;
}

.intro-emoji {
  font-size: 64px; margin-bottom: 16px;
  display: block;
  animation: bounceIn 0.8s var(--spring) 0.3s both;
}

@keyframes bounceIn {
  from { opacity: 0; transform: scale(0) rotate(-10deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.intro-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700;
  color: var(--text-dark); margin-bottom: 16px;
  line-height: 1.3;
}

.intro-message {
  font-size: 16px; color: var(--text-medium);
  line-height: 1.6; margin-bottom: 24px;
  font-style: italic;
}

.intro-receiver {
  font-family: 'Dancing Script', cursive;
  font-size: 22px; color: var(--primary);
  margin-bottom: 28px;
}

.btn-start {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--primary), #FF4B8B);
  color: white; border: none; border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 18px; font-weight: 800;
  cursor: pointer; transition: all 0.3s var(--spring);
  box-shadow: 0 6px 24px rgba(255,107,157,0.45);
  letter-spacing: 0.3px;
}

.btn-start:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 36px rgba(255,107,157,0.55);
}

.btn-start:active {
  transform: translateY(-1px) scale(0.99);
}

/* ─── GAME ─── */
#screenGame {
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 16px;
  gap: 12px;
  overflow: hidden;
}

/* Progress */
.progress-bar-container {
  position: relative; z-index: 20;
  width: 100%; max-width: 600px;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 12px; padding: 0 4px;
}

.progress-hearts {
  display: flex; gap: 4px; flex-wrap: wrap;
  flex: 1;
}

.progress-heart {
  font-size: 20px; transition: all 0.3s var(--spring);
}

.progress-heart.filled { opacity: 1; transform: scale(1); }
.progress-heart.empty { opacity: 0.25; transform: scale(0.85); }

.question-counter {
  font-size: 14px; font-weight: 700;
  color: var(--text-medium); white-space: nowrap;
  background: rgba(255,255,255,0.8);
  padding: 4px 12px; border-radius: 20px;
  backdrop-filter: blur(10px);
}

/* Streak Badge */
.streak-badge {
  position: fixed; top: 70px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FF6B9D, #FFD700);
  color: white; font-size: 16px; font-weight: 800;
  padding: 8px 20px; border-radius: 30px;
  z-index: 200; animation: streakPop 0.5s var(--spring) both;
  box-shadow: 0 4px 20px rgba(255,107,157,0.4);
}

.streak-badge.hidden { display: none; }

@keyframes streakPop {
  from { transform: translateX(-50%) scale(0); }
  to { transform: translateX(-50%) scale(1); }
}

/* Question Wrapper */
.question-wrapper {
  width: 100%; max-width: 600px;
  position: relative; flex: 1;
  display: flex; align-items: center;
  justify-content: center;
}

.question-card {
  width: 100%; padding: 28px 24px 24px;
  position: relative;
  transform-origin: center;
}

/* Question Card themes */
.question-card.theme-night {
  background: rgba(30, 20, 60, 0.88);
  border-color: rgba(107, 157, 255, 0.3);
}
.question-card.theme-night .question-text { color: #e0d4f7; }
.question-card.theme-night .question-counter { color: #b3c9ff; }

.question-card.theme-flowers {
  background: rgba(255, 240, 248, 0.92);
  border-color: rgba(255, 107, 157, 0.25);
}

.question-card.theme-roses {
  background: rgba(255, 235, 240, 0.92);
  border-color: rgba(255, 75, 139, 0.2);
}

.question-card.theme-stars {
  background: rgba(240, 244, 255, 0.92);
  border-color: rgba(107, 157, 255, 0.2);
}

.question-card.theme-hearts {
  background: rgba(255, 240, 248, 0.92);
  border-color: rgba(255, 179, 204, 0.4);
}

/* Question Emoji */
.question-emoji {
  font-size: 48px; text-align: center;
  display: block; margin-bottom: 14px;
}

/* Question Text */
.question-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 600;
  color: var(--text-dark); text-align: center;
  line-height: 1.4; margin-bottom: 24px;
  min-height: 56px;
}

/* Options Grid */
.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: relative;
}

/* Option Button */
.option-btn {
  padding: 13px 16px;
  background: rgba(255,255,255,0.9);
  border: 2px solid rgba(255,107,157,0.2);
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px; font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  /* Faqat hover effektlari uchun transition — fleeing paytida overrride bo'ladi */
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease, transform 0.3s ease;
  position: relative;
  text-align: center;
  line-height: 1.3;
  user-select: none;
  -webkit-user-select: none;
  /* Tugmaning minimum o'lchamini belgilash */
  min-height: 46px;
}

.option-btn:not(.correct):not(.fleeing):not(.disabled):hover {
  border-color: var(--primary);
  background: rgba(255,107,157,0.06);
  box-shadow: 0 4px 16px rgba(255,107,157,0.2);
}

.option-btn.correct {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  border-color: #2ecc71;
  color: white;
  animation: correctPulse 0.5s var(--spring);
  box-shadow: 0 0 0 4px rgba(46,204,113,0.3), 0 6px 20px rgba(46,204,113,0.4);
}

@keyframes correctPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.option-btn.wrong {
  border-color: rgba(255,107,157,0.4);
  background: rgba(255,107,157,0.05);
}

.option-btn.fleeing {
  position: fixed !important;
  z-index: 100;
  /* position va o'lcham o'zgarishi uchun transition yo'q, faqat harakat uchun */
  box-shadow: 0 6px 24px rgba(255,107,157,0.35);
  border-color: rgba(255,107,157,0.4) !important;
  background: rgba(255,240,245,0.95) !important;
  cursor: not-allowed;
  will-change: left, top, transform;
  animation: fleeGlow 1.1s ease-in-out infinite;
}

@keyframes fleeGlow {
  0%, 100% {
    box-shadow: 0 6px 24px rgba(255,107,157,0.32);
  }
  50% {
    box-shadow: 0 10px 34px rgba(255,107,157,0.48), 0 0 0 5px rgba(255,179,204,0.18);
  }
}

/* Grid qulab tushmasligi uchun yashirin placeholder */
.flee-placeholder {
  display: block;
  flex-shrink: 0;
  pointer-events: none;
  visibility: hidden;
  min-height: 46px;
}

.option-btn.disabled {
  pointer-events: none;
  opacity: 0.5;
}

/* Reaction Emoji floating over wrong button */
.reaction-emoji {
  position: fixed; z-index: 200;
  font-size: 24px; pointer-events: none;
  animation: reactionFloat 0.8s ease forwards;
}

@keyframes reactionFloat {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-40px) scale(1.3); }
}

/* Puff smoke for mobile teleport */
.puff-smoke {
  position: fixed; z-index: 150;
  font-size: 28px; pointer-events: none;
  animation: puffOut 0.5s ease forwards;
}

@keyframes puffOut {
  0% { opacity: 1; transform: scale(0.3); }
  50% { opacity: 0.7; transform: scale(1.2); }
  100% { opacity: 0; transform: scale(1.8); }
}

/* Feedback Message */
.feedback-msg {
  text-align: center; margin-top: 16px;
  font-size: 15px; font-weight: 700;
  padding: 10px 16px;
  border-radius: 14px;
  animation: fadeInPop 0.3s var(--spring);
}

.feedback-msg.success {
  background: rgba(46,204,113,0.12);
  color: #27ae60;
  border: 1px solid rgba(46,204,113,0.3);
}

.feedback-msg.error {
  background: rgba(255,107,157,0.1);
  color: #FF4B8B;
  border: 1px solid rgba(255,107,157,0.2);
}

.feedback-msg.hidden { display: none; }

@keyframes fadeInPop {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Hint Bubble */
.hint-bubble {
  background: rgba(107,157,255,0.12);
  border: 1px solid rgba(107,157,255,0.3);
  border-radius: 14px; padding: 10px 16px;
  text-align: center; color: #4B7BFF;
  font-size: 14px; font-weight: 600;
  margin-top: 12px;
  animation: fadeInPop 0.3s var(--spring);
}
.hint-bubble.hidden { display: none; }

/* Ghost Button */
.ghost-btn {
  position: fixed;
  padding: 10px 20px;
  background: rgba(50,50,80,0.85);
  color: #ccc; border: none;
  border-radius: 50px; font-size: 14px;
  font-family: 'Nunito', sans-serif; font-weight: 600;
  pointer-events: none; z-index: 500;
  animation: ghostFloat 3s ease-in-out infinite;
  backdrop-filter: blur(10px);
}

.ghost-btn.hidden { display: none; }

@keyframes ghostFloat {
  0%, 100% { transform: translateY(0px); opacity: 0.8; }
  50% { transform: translateY(-20px); opacity: 0.4; }
}

/* ─── REWARD ─── */
#screenReward {
  flex-direction: column;
  overflow-y: auto;
  padding: 30px 20px 60px;
  gap: 20px;
}

.reward-container {
  width: 100%; max-width: 560px;
  animation: slideUp 0.7s var(--spring) forwards;
}

/* Letter Reward */
.reward-letter {
  background: linear-gradient(135deg, #FFF8E8 0%, #FFF0D8 100%);
  border: 2px solid rgba(200, 160, 100, 0.3);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: center; position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(200,160,100,0.2);
}

.wax-seal {
  font-size: 48px; display: block;
  margin-bottom: 20px;
  animation: sealDrop 0.8s var(--spring) 0.3s both;
}

@keyframes sealDrop {
  from { opacity: 0; transform: scale(0) rotate(-30deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.letter-headline {
  font-family: 'Dancing Script', cursive;
  font-size: 30px; color: #8B4513;
  margin-bottom: 20px; line-height: 1.3;
  animation: slideUp 0.6s var(--spring) 0.5s both;
}

.letter-body {
  font-family: 'Dancing Script', cursive;
  font-size: 18px; color: #6B4226;
  line-height: 1.8; margin-bottom: 20px;
  text-align: left;
  animation: slideUp 0.6s var(--spring) 0.7s both;
}

.letter-signoff {
  font-family: 'Dancing Script', cursive;
  font-size: 20px; color: #FF6B9D;
  text-align: right;
  animation: slideUp 0.6s var(--spring) 0.9s both;
}

.letter-bonus {
  margin-top: 24px; padding: 16px 20px;
  background: rgba(255,107,157,0.08);
  border: 1px dashed rgba(255,107,157,0.3);
  border-radius: 14px; font-size: 15px;
  color: var(--text-medium); line-height: 1.5;
  animation: slideUp 0.6s var(--spring) 1.1s both;
}

/* Ticket Reward */
.reward-ticket {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  animation: ticketSlide 0.8s var(--spring) forwards;
}

@keyframes ticketSlide {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

.ticket-top {
  background: linear-gradient(135deg, var(--primary), #FF4B8B);
  padding: 32px 28px; color: white; text-align: center;
}

.ticket-logo { font-size: 40px; margin-bottom: 8px; }
.ticket-event {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 700; margin-bottom: 4px;
}
.ticket-sub { font-size: 14px; opacity: 0.85; }

.ticket-divider {
  display: flex; align-items: center;
  padding: 0 16px;
  background: white;
}

.ticket-divider::before,
.ticket-divider::after {
  content: '';
  flex: 1; border-top: 2px dashed rgba(255,107,157,0.3);
}

.ticket-hole {
  width: 28px; height: 28px;
  background: var(--bg); border-radius: 50%;
  margin: 0 8px; flex-shrink: 0;
}

.ticket-bottom {
  padding: 24px 28px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ticket-field { text-align: left; }
.ticket-label { font-size: 11px; color: var(--text-medium); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.ticket-value { font-size: 16px; font-weight: 800; color: var(--text-dark); margin-top: 3px; }

.ticket-qr-decor {
  grid-column: 1 / -1; text-align: center;
  font-size: 60px; letter-spacing: -4px; color: var(--text-dark);
  font-family: monospace; opacity: 0.15; margin-top: 8px;
  font-size: 14px; letter-spacing: 2px; opacity: 0.5;
}

/* Gift Reward */
.reward-gift {
  text-align: center; padding: 40px 28px;
}

.gift-box-wrapper {
  perspective: 1000px;
  display: inline-block; margin-bottom: 28px;
}

.gift-box {
  font-size: 96px; cursor: pointer;
  transition: transform 0.3s;
  display: inline-block;
  animation: giftWiggle 2s ease-in-out infinite;
}

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

.gift-box:hover { transform: scale(1.15) rotate(0deg) !important; animation: none; }

.gift-click-hint {
  font-size: 14px; color: var(--text-medium);
  margin-bottom: 24px;
}

.gift-content {
  display: none; /* shown after click */
  animation: slideUp 0.5s var(--spring) forwards;
}

.gift-headline {
  font-family: 'Playfair Display', serif;
  font-size: 26px; color: var(--text-dark);
  margin-bottom: 16px;
}

.gift-body {
  font-size: 16px; color: var(--text-medium);
  line-height: 1.7; margin-bottom: 16px;
}

.gift-bonus {
  padding: 14px 20px;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.4);
  border-radius: 14px; font-size: 15px; color: var(--text-dark);
}

/* Countdown Reward */
.reward-countdown {
  text-align: center; padding: 40px 28px;
}

.countdown-headline {
  font-family: 'Dancing Script', cursive;
  font-size: 28px; color: var(--primary);
  margin-bottom: 24px;
}

.countdown-display {
  display: flex; justify-content: center; gap: 16px;
  margin: 24px 0; flex-wrap: wrap;
}

.countdown-unit {
  background: rgba(255,255,255,0.9);
  border: 2px solid rgba(255,107,157,0.2);
  border-radius: 16px; padding: 20px 16px;
  min-width: 80px; text-align: center;
  box-shadow: 0 4px 16px rgba(255,107,157,0.1);
}

.countdown-num {
  font-family: 'Playfair Display', serif;
  font-size: 40px; font-weight: 700;
  color: var(--primary); display: block;
}

.countdown-label {
  font-size: 11px; color: var(--text-medium);
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}

.countdown-body {
  font-size: 16px; color: var(--text-medium);
  line-height: 1.7; margin-top: 16px;
}

/* Stars Display */
.stars-display {
  display: flex; gap: 8px; justify-content: center;
  font-size: 32px;
  animation: slideUp 0.5s var(--spring) 0.8s both;
}

.star-filled { animation: starPop 0.4s var(--spring) both; }
.star-empty { opacity: 0.2; }

@keyframes starPop {
  from { transform: scale(0) rotate(-30deg); }
  to { transform: scale(1) rotate(0deg); }
}

/* Reward Actions */
.reward-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center;
  animation: slideUp 0.5s var(--spring) 1s both;
}

.btn-share-result, .btn-screenshot {
  padding: 13px 24px;
  border: none; border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all 0.3s var(--spring);
}

.btn-share-result {
  background: linear-gradient(135deg, var(--primary), #FF4B8B);
  color: white;
  box-shadow: 0 4px 16px rgba(255,107,157,0.35);
}
.btn-share-result:hover { transform: translateY(-2px) scale(1.03); }

.btn-screenshot {
  background: rgba(255,255,255,0.9);
  color: var(--text-dark);
  border: 2px solid rgba(255,107,157,0.2);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.btn-screenshot:hover { transform: translateY(-2px); border-color: var(--primary); }

/* Ghost trail effect */
.ghost-trail {
  position: fixed; z-index: 99;
  pointer-events: none;
  border-radius: 50px;
  background: rgba(255,107,157,0.15);
  animation: trailFade 0.4s ease forwards;
}

@keyframes trailFade {
  from { opacity: 0.5; }
  to { opacity: 0; transform: scale(0.8); }
}

/* Transition animations */
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px) scale(0.95); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

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

.slide-in { animation: slideInRight 0.5s var(--spring) forwards; }
.slide-out { animation: slideOutLeft 0.3s ease forwards; }

/* Typewriter cursor */
.typewriter::after {
  content: '|';
  animation: blink 0.7s step-end infinite;
  color: var(--primary);
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Responsive */
@media (max-width: 480px) {
  .question-text { font-size: 17px; }
  .options-grid { grid-template-columns: 1fr; }
  .option-btn { padding: 14px 16px; font-size: 15px; }
  .intro-card { padding: 28px 20px; }
  .intro-title { font-size: 22px; }
  .ticket-bottom { grid-template-columns: 1fr; }
  .countdown-display { gap: 10px; }
  .countdown-unit { min-width: 65px; padding: 14px 10px; }
  .countdown-num { font-size: 30px; }
}

@media (max-height: 600px) {
  #screenGame { justify-content: flex-start; padding-top: 8px; }
  .question-card { padding: 18px 16px; }
  .question-emoji { font-size: 36px; margin-bottom: 8px; }
  .question-text { font-size: 17px; margin-bottom: 16px; }
}

/* Fireworks for anniversary */
.firework {
  position: fixed; z-index: 998;
  pointer-events: none;
  font-size: 20px;
  animation: fireworkBurst 1.2s ease-out forwards;
}

@keyframes fireworkBurst {
  0% { transform: scale(0); opacity: 1; }
  60% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.6) translateY(-80px); opacity: 0; }
}
