/* ============================================
   TRUTH OR DARE – PREMIUM STYLESHEET
   ============================================ */

/* ---- CSS Variables & Reset ---- */
:root {
  --bg-dark:      #0d0d1a;
  --bg-card:      rgba(255,255,255,0.05);
  --bg-card-hover:rgba(255,255,255,0.09);
  --border:       rgba(255,255,255,0.12);
  --text-primary: #f0f0ff;
  --text-muted:   rgba(240,240,255,0.55);

  /* Brand Palette */
  --truth-primary:   #6c63ff;
  --truth-secondary: #9d95ff;
  --truth-glow:      rgba(108,99,255,0.45);

  --dare-primary:    #ff4e8a;
  --dare-secondary:  #ff82b0;
  --dare-glow:       rgba(255,78,138,0.45);

  --gold:  #ffd700;
  --green: #4ade80;
  --red:   #f87171;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-card: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-glow-truth: 0 0 40px rgba(108,99,255,0.3);
  --shadow-glow-dare:  0 0 40px rgba(255,78,138,0.3);

  --transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: all 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ---- Animated Gradient Background ---- */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(108,99,255,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(255,78,138,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(13,13,26,0.9) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* ---- Floating Particles ---- */
.particles {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatParticle linear infinite;
  opacity: 0;
}

@keyframes floatParticle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ---- Screens ---- */
.screen {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 30px 20px;
  position: relative;
  z-index: 1;
}

.screen.active {
  display: flex;
  animation: screenIn 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}

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

/* ============================================
   SCREEN 1 – SETUP
   ============================================ */
.logo-area {
  text-align: center;
  margin-bottom: 30px;
}

.flame-icon {
  font-size: 64px;
  display: block;
  margin-bottom: 6px;
  animation: flamePulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255,150,0,0.7));
}

@keyframes flamePulse {
  0%, 100% { transform: scale(1) rotate(-3deg); }
  50%       { transform: scale(1.12) rotate(3deg); }
}

.logo-title {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, var(--truth-secondary) 50%, var(--dare-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
  line-height: 1;
}

.logo-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ---- Glass Card ---- */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-card);
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

/* ---- Player Input ---- */
.player-input-row {
  display: flex;
  gap: 10px;
}

.name-input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  transition: var(--transition-fast);
}

.name-input::placeholder { color: var(--text-muted); }

.name-input:focus {
  border-color: var(--truth-primary);
  background: rgba(108,99,255,0.1);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.15);
}

.input-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
  margin-bottom: 20px;
}

kbd {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
}

/* ---- Player List ---- */
.player-list {
  min-height: 120px;
  max-height: 220px;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  padding-right: 4px;
  scroll-behavior: smooth;
}

.player-list::-webkit-scrollbar { width: 4px; }
.player-list::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 10px; }
.player-list::-webkit-scrollbar-thumb { background: var(--truth-primary); border-radius: 10px; }

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 120px;
  color: var(--text-muted);
  gap: 8px;
}

.empty-icon { font-size: 2rem; }

.player-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  animation: chipIn 0.35s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes chipIn {
  from { opacity: 0; transform: scale(0.8) translateX(-20px); }
  to   { opacity: 1; transform: scale(1) translateX(0); }
}

.player-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.player-chip-name {
  flex: 1;
  font-weight: 600;
  font-size: 0.95rem;
}

.player-chip-score {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
}

.remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  border-radius: 6px;
  transition: var(--transition-fast);
  line-height: 1;
}
.remove-btn:hover { color: var(--red); background: rgba(248,113,113,0.1); }

/* ---- Player Count ---- */
.player-count-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.count-dots { display: flex; gap: 5px; }

.count-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition-fast);
}

.count-dot.active { background: var(--truth-primary); box-shadow: 0 0 8px var(--truth-primary); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--truth-primary), var(--dare-primary));
  color: #fff;
  box-shadow: 0 6px 30px rgba(108,99,255,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(108,99,255,0.55);
}

.btn-primary:disabled,
.btn-primary[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  pointer-events: auto;
  filter: grayscale(0.3);
}

.btn-add {
  background: linear-gradient(135deg, var(--truth-primary), #8b80ff);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  min-width: 70px;
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.btn-secondary:hover { border-color: var(--truth-secondary); color: var(--text-primary); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.btn-ghost:hover { color: var(--text-primary); }

.btn-start { width: 100%; font-size: 1.05rem; padding: 16px; }

.btn-skip {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.btn-done {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 6px 25px rgba(34,197,94,0.35);
}
.btn-done:hover { transform: translateY(-2px); box-shadow: 0 10px 35px rgba(34,197,94,0.5); }

/* ============================================
   SCREEN 2 – SPIN WHEEL
   ============================================ */
.spin-header {
  text-align: center;
  margin-bottom: 24px;
}

.spin-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--truth-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.spin-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.wheel-container {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto 24px;
}

.wheel-outer-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--truth-primary), var(--dare-primary), var(--truth-primary),
    var(--dare-primary), var(--truth-primary), var(--dare-primary),
    var(--truth-primary)
  );
  animation: ringRotate 4s linear infinite;
  filter: blur(2px);
  opacity: 0.6;
}

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

#wheel-canvas {
  position: relative;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s;
  display: block;
}

.wheel-pointer {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  color: var(--gold);
  filter: drop-shadow(0 2px 8px rgba(255,215,0,0.8));
  z-index: 10;
  animation: pointerBounce 1.5s ease-in-out infinite;
}

@keyframes pointerBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-5px); }
}

.wheel-center-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff 0%, #e0e0ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 0 5px rgba(255,255,255,0.15), 0 8px 25px rgba(0,0,0,0.4);
  transition: var(--transition);
  z-index: 10;
}

.wheel-center-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 0 8px rgba(255,255,255,0.2), 0 12px 35px rgba(0,0,0,0.5);
}

.spin-text {
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--bg-dark);
  letter-spacing: 1px;
}

.current-players-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 500px;
  margin-bottom: 20px;
}

.player-mini-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

/* ============================================
   SCREEN 3 – CHOICE
   ============================================ */
.player-turn-banner {
  text-align: center;
  margin-bottom: 30px;
}

.avatar-large {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  border: 3px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  animation: avatarPop 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes avatarPop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.player-turn-name {
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  font-weight: 800;
  animation: slideUp 0.4s ease both 0.1s;
}

.player-turn-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  animation: slideUp 0.4s ease both 0.2s;
}

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

.choose-label {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  animation: slideUp 0.4s ease both 0.3s;
}

.choice-cards {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: slideUp 0.4s ease both 0.35s;
  width: 100%;
  max-width: 520px;
}

.choice-card {
  flex: 1;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.choice-card:hover {
  transform: translateY(-6px) scale(1.02);
}

.truth-card:hover {
  border-color: var(--truth-primary);
  box-shadow: var(--shadow-glow-truth);
  background: rgba(108,99,255,0.12);
}

.dare-card:hover {
  border-color: var(--dare-primary);
  box-shadow: var(--shadow-glow-dare);
  background: rgba(255,78,138,0.12);
}

.choice-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
  display: block;
  animation: iconWiggle 3s ease infinite;
}

@keyframes iconWiggle {
  0%, 100% { transform: rotate(0deg); }
  25%       { transform: rotate(-8deg); }
  75%       { transform: rotate(8deg); }
}

.choice-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.truth-card .choice-name { color: var(--truth-secondary); }
.dare-card  .choice-name { color: var(--dare-secondary); }

.choice-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.choice-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.05) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: rotate(45deg);
  pointer-events: none;
}

.choice-divider {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ============================================
   SCREEN 4 – QUESTION
   ============================================ */
.question-header {
  text-align: center;
  margin-bottom: 24px;
}

.question-type-badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: badgePop 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes badgePop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.question-type-badge.truth {
  background: rgba(108,99,255,0.2);
  border: 1px solid var(--truth-primary);
  color: var(--truth-secondary);
}

.question-type-badge.dare {
  background: rgba(255,78,138,0.2);
  border: 1px solid var(--dare-primary);
  color: var(--dare-secondary);
}

.question-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.question-player {
  font-size: 1.2rem;
  font-weight: 700;
}

.question-card {
  width: 100%;
  max-width: 500px;
  position: relative;
  margin-bottom: 28px;
  animation: cardFlip 0.5s ease both;
}

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

.question-card-inner {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.question-text {
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  color: var(--text-primary);
}

.question-card-glow {
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  z-index: 0;
}

.question-card.truth .question-card-glow  {
  background: linear-gradient(135deg, var(--truth-primary), transparent);
  opacity: 0.3;
  filter: blur(8px);
}
.question-card.dare .question-card-glow {
  background: linear-gradient(135deg, var(--dare-primary), transparent);
  opacity: 0.3;
  filter: blur(8px);
}

.action-buttons {
  display: flex;
  gap: 14px;
  width: 100%;
  max-width: 500px;
}

.action-buttons .btn { flex: 1; }

.skip-counter {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   SCREEN 5 – SCORE
   ============================================ */
.score-header {
  text-align: center;
  margin-bottom: 28px;
}

.score-title {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), #ffb347);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.score-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.leaderboard {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.leaderboard-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  transition: var(--transition-fast);
  animation: rowSlide 0.4s ease both;
}

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

.leaderboard-row:nth-child(1) { border-color: rgba(255,215,0,0.4); }
.leaderboard-row:nth-child(2) { border-color: rgba(192,192,192,0.3); }
.leaderboard-row:nth-child(3) { border-color: rgba(205,127,50,0.3); }

.lb-rank {
  font-size: 1.3rem;
  font-weight: 900;
  width: 30px;
  text-align: center;
  flex-shrink: 0;
}

.lb-name {
  flex: 1;
  font-weight: 600;
  font-size: 1rem;
}

.lb-score {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
}

.lb-badge {
  font-size: 1.1rem;
}

.score-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 480px;
}

/* ============================================
   CELEBRATION OVERLAY
   ============================================ */
.celebration-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
}

.celebration-overlay.active { display: flex; }

.confetti-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  top: -20px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  animation: confettiFall linear forwards;
}

@keyframes confettiFall {
  0%   { top: -20px; opacity: 1; transform: rotate(0deg) translateX(0); }
  100% { top: 110vh; opacity: 0; transform: rotate(720deg) translateX(var(--drift)); }
}

.celebration-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(30px);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 380px;
  animation: celebrationPop 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes celebrationPop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.celebration-emoji {
  font-size: 5rem;
  display: block;
  margin-bottom: 16px;
  animation: emojiSpin 0.6s cubic-bezier(0.34,1.56,0.64,1) both 0.2s;
}

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

.celebration-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #fff, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.celebration-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 28px;
}

/* ============================================
   TOAST
   ============================================ */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 200;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  white-space: nowrap;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 480px) {
  .card { padding: 24px 18px; }
  .choice-cards { flex-direction: column; gap: 12px; }
  .choice-divider { transform: rotate(90deg); }
  .wheel-container { width: 280px; height: 280px; }
  #wheel-canvas { width: 280px !important; height: 280px !important; }
  .action-buttons { flex-direction: column; }
  .score-actions .btn { width: 100%; }
}
