/* Variables */
:root {
  --primary: #d4a855;
  --primary-dark: #b8922f;
  --secondary: #2c1810;
  --accent: #e67e22;
  --bg-dark: #1a0f0a;
  --bg-medium: #2c1810;
  --bg-light: #3d2317;
  --text-light: #f4e6d8;
  --text-muted: #a89080;
  --success: #27ae60;
  --danger: #c0392b;
  --neon-glow: #ffd700;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--secondary) 100%);
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Bar Ambiance Background */
.bar-ambiance {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.bar-lights {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  display: flex;
  justify-content: space-around;
  padding-top: 20px;
}

.light {
  width: 80px;
  height: 60px;
  background: radial-gradient(ellipse at center, rgba(255, 200, 100, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: lightFlicker 3s ease-in-out infinite;
}

.light-1 { animation-delay: 0s; }
.light-2 { animation-delay: 1s; }
.light-3 { animation-delay: 2s; }

@keyframes lightFlicker {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.bottles-shelf {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
  opacity: 0.4;
}

.bottle {
  width: 20px;
  height: 60px;
  border-radius: 5px 5px 10px 10px;
}

.bottle-1 { background: linear-gradient(to bottom, #3d1e0a, #5a2d0f); }
.bottle-2 { background: linear-gradient(to bottom, #1a3d1a, #2d5a2d); }
.bottle-3 { background: linear-gradient(to bottom, #3d3d0a, #5a5a0f); }
.bottle-4 { background: linear-gradient(to bottom, #0a1a3d, #0f2d5a); }
.bottle-5 { background: linear-gradient(to bottom, #3d0a1a, #5a0f2d); }

/* Container */
.container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  text-align: center;
  padding: 20px 0;
}

.neon-text {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--neon-glow);
  text-shadow: 
    0 0 10px var(--neon-glow),
    0 0 20px var(--neon-glow),
    0 0 30px var(--accent),
    0 0 40px var(--accent);
  animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
}

/* Barman Zone */
.barman-zone {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  min-height: 200px;
}

/* Barman Character */
.barman {
  position: relative;
  width: 150px;
  height: 200px;
}

.barman-body {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Head */
.barman-head {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 80px;
}

.barman-hair {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 65px;
  height: 25px;
  background: #2c1810;
  border-radius: 50% 50% 0 0;
}

.barman-face {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 65px;
  background: #deb887;
  border-radius: 30px 30px 25px 25px;
}

.eye {
  position: absolute;
  top: 20px;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
}

.left-eye { left: 12px; }
.right-eye { right: 12px; }

.pupil {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 6px;
  height: 6px;
  background: #2c1810;
  border-radius: 50%;
  animation: lookAround 4s ease-in-out infinite;
}

@keyframes lookAround {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(2px, 0); }
  50% { transform: translate(2px, 2px); }
  75% { transform: translate(-1px, 1px); }
}

.eyebrow {
  position: absolute;
  top: 14px;
  width: 14px;
  height: 4px;
  background: #2c1810;
  border-radius: 2px;
}

.left-eyebrow { left: 11px; transform: rotate(-5deg); }
.right-eyebrow { right: 11px; transform: rotate(5deg); }

.nose {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 12px;
  background: #c9a167;
  border-radius: 50%;
}

.mouth {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 8px;
  background: #8b4513;
  border-radius: 0 0 10px 10px;
  transition: all 0.3s ease;
}

.mouth.smile {
  border-radius: 0 0 15px 15px;
  height: 10px;
}

.mouth.thinking {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  left: 60%;
}

.mouth.annoyed {
  width: 15px;
  height: 3px;
  border-radius: 0;
  background: #5a3d2b;
}

.mustache {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 8px;
  background: #2c1810;
  border-radius: 0 0 15px 15px;
}

.mustache::before,
.mustache::after {
  content: '';
  position: absolute;
  top: 0;
  width: 8px;
  height: 4px;
  background: #2c1810;
}

.mustache::before { left: -5px; transform: rotate(20deg); }
.mustache::after { right: -5px; transform: rotate(-20deg); }

/* Torso */
.barman-torso {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 120px;
}

.shirt {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 100px;
  background: white;
  border-radius: 10px 10px 0 0;
}

.vest {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 75px;
  height: 95px;
  background: var(--secondary);
  border-radius: 8px 8px 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 60% 100%, 50% 30%, 40% 100%, 0 100%);
}

.bowtie {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 10px;
  background: var(--danger);
}

.bowtie::before,
.bowtie::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 12px;
  height: 16px;
  background: var(--danger);
  border-radius: 50%;
}

.bowtie::before { left: -8px; }
.bowtie::after { right: -8px; }

/* Arms */
.arm {
  position: absolute;
  bottom: 30px;
  width: 20px;
  height: 60px;
  background: white;
  border-radius: 10px;
  transform-origin: top center;
}

.left-arm {
  left: -5px;
  transform: rotate(-20deg);
}

.right-arm {
  right: -5px;
  transform: rotate(20deg);
  animation: wipeBar 3s ease-in-out infinite;
}

@keyframes wipeBar {
  0%, 100% { transform: rotate(20deg); }
  50% { transform: rotate(35deg); }
}

.hand {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 15px;
  background: #deb887;
  border-radius: 50%;
}

.towel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 25px;
  height: 8px;
  background: var(--text-light);
  border-radius: 2px;
}

/* Speech Bubble */
.speech-bubble {
  position: relative;
  background: var(--bg-light);
  border: 2px solid var(--primary);
  border-radius: 20px;
  padding: 20px;
  max-width: 350px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease;
}

.speech-bubble::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 30px;
  border: 10px solid transparent;
  border-right-color: var(--primary);
}

.speech-bubble::after {
  content: '';
  position: absolute;
  left: -10px;
  top: 32px;
  border: 8px solid transparent;
  border-right-color: var(--bg-light);
}

#speechText {
  font-size: 1rem;
  line-height: 1.5;
  min-height: 60px;
}

/* Bar Counter */
.bar-counter {
  position: relative;
  margin: 20px 0;
}

.counter-top {
  height: 20px;
  background: linear-gradient(to bottom, #5a3d2b, #3d2817);
  border-radius: 5px 5px 0 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.counter-front {
  height: 40px;
  background: linear-gradient(to bottom, #3d2817, #2c1810);
  border-radius: 0 0 5px 5px;
}

/* ==========================================
   OZZIE LE CARLIN
   ========================================== */
.ozzie-container {
  position: absolute;
  top: -55px;
  left: 30px;
  z-index: 5;
}

.ozzie {
  position: relative;
  width: 70px;
  height: 50px;
}

/* Corps d'Ozzie */
.ozzie-body {
  position: absolute;
  bottom: 0;
  left: 10px;
}

.ozzie-torso {
  width: 40px;
  height: 25px;
  background: #1a1a1a;
  border-radius: 50% 50% 40% 40%;
  position: relative;
}

.ozzie-front-leg {
  position: absolute;
  bottom: -8px;
  width: 8px;
  height: 12px;
  background: #1a1a1a;
  border-radius: 3px 3px 4px 4px;
}

.ozzie-front-leg.left { left: 5px; }
.ozzie-front-leg.right { left: 22px; }

.ozzie-back-leg {
  position: absolute;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: #151515;
  border-radius: 5px 5px 4px 4px;
}

.ozzie-back-leg.left { left: -3px; }
.ozzie-back-leg.right { left: 33px; }

/* Queue d'Ozzie */
.ozzie-tail {
  position: absolute;
  top: 2px;
  left: -8px;
  width: 12px;
  height: 8px;
  background: #1a1a1a;
  border-radius: 50%;
  transform-origin: right center;
  animation: tailWag 0.5s ease-in-out infinite;
}

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

.ozzie.sleeping .ozzie-tail {
  animation: none;
  transform: rotate(0deg);
}

/* Tête d'Ozzie */
.ozzie-head {
  position: absolute;
  top: -5px;
  right: 0;
  width: 35px;
  height: 32px;
  transition: transform 0.3s ease;
}

.ozzie-face {
  position: relative;
  width: 32px;
  height: 30px;
  background: #1a1a1a;
  border-radius: 50% 50% 45% 45%;
}

.ozzie-ear {
  position: absolute;
  top: -2px;
  width: 12px;
  height: 10px;
  background: #0d0d0d;
  border-radius: 50% 50% 20% 20%;
}

.ozzie-ear.left { left: 0; transform: rotate(-15deg); }
.ozzie-ear.right { right: 0; transform: rotate(15deg); }

.ozzie-eye {
  position: absolute;
  top: 10px;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  overflow: hidden;
}

.ozzie-eye.left { left: 4px; }
.ozzie-eye.right { right: 4px; }

.ozzie-pupil {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 6px;
  height: 6px;
  background: #1a1a1a;
  border-radius: 50%;
  animation: ozzieLoook 4s ease-in-out infinite;
}

@keyframes ozzieLoook {
  0%, 100% { transform: translate(0, 0); }
  30% { transform: translate(2px, 0); }
  60% { transform: translate(-1px, 1px); }
}

.ozzie.sleeping .ozzie-eye {
  height: 2px;
  top: 14px;
  background: #0d0d0d;
}

.ozzie.sleeping .ozzie-pupil {
  display: none;
}

/* Rides du carlin */
.ozzie-wrinkles {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 6px;
  border-top: 2px solid #0d0d0d;
  border-bottom: 1px solid #0d0d0d;
}

/* Museau */
.ozzie-snout {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 10px;
  background: #252525;
  border-radius: 40% 40% 50% 50%;
}

.ozzie-nose {
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 5px;
  background: #0d0d0d;
  border-radius: 50% 50% 40% 40%;
}

.ozzie-mouth {
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 2px;
  background: #3d2317;
  border-radius: 0 0 50% 50%;
}

/* Langue (visible quand content) */
.ozzie-tongue {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 8px;
  background: #ff6b6b;
  border-radius: 40% 40% 50% 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ozzie.happy .ozzie-tongue {
  opacity: 1;
  animation: tonguePant 0.4s ease-in-out infinite;
}

@keyframes tonguePant {
  0%, 100% { height: 8px; }
  50% { height: 10px; }
}

/* ZZZ quand il dort */
.ozzie-zzz {
  position: absolute;
  top: -15px;
  right: -5px;
  display: none;
  font-family: 'Playfair Display', serif;
  color: var(--text-muted);
  font-style: italic;
}

.ozzie-zzz span {
  display: inline-block;
  animation: floatZ 1.5s ease-in-out infinite;
}

.ozzie-zzz span:nth-child(1) { font-size: 8px; animation-delay: 0s; }
.ozzie-zzz span:nth-child(2) { font-size: 10px; animation-delay: 0.2s; }
.ozzie-zzz span:nth-child(3) { font-size: 12px; animation-delay: 0.4s; }

@keyframes floatZ {
  0%, 100% { transform: translateY(0) rotate(-10deg); opacity: 0.5; }
  50% { transform: translateY(-5px) rotate(5deg); opacity: 1; }
}

.ozzie.sleeping .ozzie-zzz {
  display: block;
}

/* WOUF quand il aboie */
.ozzie-bark {
  position: absolute;
  top: -25px;
  right: -20px;
  display: none;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--primary);
  background: var(--bg-light);
  padding: 3px 8px;
  border-radius: 10px;
  border: 2px solid var(--primary);
  animation: barkPop 0.3s ease-out;
}

.ozzie.barking .ozzie-bark {
  display: block;
}

@keyframes barkPop {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* États d'Ozzie */
.ozzie.alert .ozzie-head {
  transform: rotate(15deg);
}

.ozzie.alert .ozzie-ear {
  animation: earPerk 0.5s ease-in-out;
}

@keyframes earPerk {
  0%, 100% { transform: rotate(-15deg); }
  50% { transform: rotate(-25deg) translateY(-2px); }
}

.ozzie.alert .ozzie-ear.right {
  animation: earPerkRight 0.5s ease-in-out;
}

@keyframes earPerkRight {
  0%, 100% { transform: rotate(15deg); }
  50% { transform: rotate(25deg) translateY(-2px); }
}

/* Ozzie regarde vers le haut (vers Nico) */
.ozzie.looking-up .ozzie-pupil {
  animation: none;
  transform: translateY(-2px);
}

/* Ozzie perplexe (quand Nico se trompe) */
.ozzie.perplexed .ozzie-head {
  transform: rotate(-20deg);
  transition: transform 0.3s ease;
}

.ozzie.perplexed .ozzie-ear.left {
  transform: rotate(-30deg);
}

.ozzie.perplexed .ozzie-ear.right {
  transform: rotate(5deg);
}

.ozzie.perplexed .ozzie-pupil {
  animation: none;
  transform: translate(2px, -1px);
}

.ozzie.perplexed .ozzie-mouth {
  width: 8px;
  height: 3px;
  border-radius: 50%;
  background: #2a1a10;
}

/* Ozzie s'endort (partie qui traîne) */
.ozzie.drowsy .ozzie-eye {
  height: 6px;
  top: 12px;
}

.ozzie.drowsy .ozzie-pupil {
  animation: none;
  height: 4px;
  top: 1px;
}

.ozzie.drowsy .ozzie-head {
  animation: headNod 3s ease-in-out infinite;
}

@keyframes headNod {
  0%, 100% { transform: rotate(0deg); }
  30% { transform: rotate(5deg) translateY(2px); }
  60% { transform: rotate(-3deg) translateY(1px); }
}

.ozzie.drowsy .ozzie-tail {
  animation: tailWagSlow 2s ease-in-out infinite;
}

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

/* Ozzie très intéressé (Nico confiant) */
.ozzie.interested .ozzie-head {
  transform: translateY(-3px);
}

.ozzie.interested .ozzie-ear {
  animation: earsUp 0.5s ease-out forwards;
}

@keyframes earsUp {
  to { transform: rotate(0deg) translateY(-3px); }
}

.ozzie.interested .ozzie-pupil {
  animation: none;
  width: 7px;
  height: 7px;
  top: 2px;
  left: 2px;
}

.ozzie.interested .ozzie-tail {
  animation: tailWagFast 0.3s ease-in-out infinite;
}

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

/* Ozzie très excité (juste avant la victoire) */
.ozzie.excited {
  animation: ozzieJump 0.4s ease-in-out infinite;
}

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

.ozzie.excited .ozzie-tongue {
  opacity: 1;
  animation: tonguePant 0.2s ease-in-out infinite;
}

.ozzie.excited .ozzie-tail {
  animation: tailWagCrazy 0.15s ease-in-out infinite;
}

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

/* Glass Animation */
.glass-container {
  position: absolute;
  top: -60px;
  right: 50px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.glass-container.visible {
  opacity: 1;
}

.glass {
  position: relative;
  width: 40px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px 3px 8px 8px;
  overflow: hidden;
}

.beer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(to top, #d4a017, #f4c430);
  transition: height 1s ease;
}

.beer.filling {
  height: 80%;
}

.foam {
  position: absolute;
  top: -5px;
  left: -2px;
  right: -2px;
  height: 15px;
  background: #fff8dc;
  border-radius: 5px 5px 50% 50%;
  opacity: 0;
  transition: opacity 0.5s ease 0.8s;
}

.foam.visible {
  opacity: 1;
}

.bubbles {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  opacity: 0;
}

.bubbles.active {
  opacity: 1;
}

.bubble {
  position: absolute;
  bottom: 10px;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: bubbleRise 2s ease-in infinite;
}

.bubble:nth-child(1) { left: 20%; animation-delay: 0s; }
.bubble:nth-child(2) { left: 40%; animation-delay: 0.3s; }
.bubble:nth-child(3) { left: 60%; animation-delay: 0.6s; }
.bubble:nth-child(4) { left: 30%; animation-delay: 0.9s; }
.bubble:nth-child(5) { left: 70%; animation-delay: 1.2s; }

@keyframes bubbleRise {
  0% { transform: translateY(0) scale(1); opacity: 0.6; }
  100% { transform: translateY(-50px) scale(0.5); opacity: 0; }
}

/* Game Zone */
.game-zone {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.screen {
  width: 100%;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

.hidden {
  display: none !important;
}

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

/* Buttons */
.btn {
  position: relative;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--secondary);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(212, 168, 85, 0.4);
}

.btn-success {
  background: linear-gradient(135deg, var(--success), #1e8449);
  color: white;
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger), #922b21);
  color: white;
}

.btn-secondary {
  background: var(--bg-light);
  color: var(--text-light);
  border: 1px solid var(--text-muted);
}

.btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

/* Answer Buttons */
.answer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.btn-answer {
  padding: 12px 20px;
  font-size: 1rem;
  min-width: 180px;
}

.btn-yes { background: linear-gradient(135deg, #27ae60, #1e8449); color: white; }
.btn-probably-yes { background: linear-gradient(135deg, #52be80, #45b97c); color: white; }
.btn-dont-know { background: linear-gradient(135deg, #7f8c8d, #6c7a7b); color: white; }
.btn-probably-no { background: linear-gradient(135deg, #e67e22, #d35400); color: white; }
.btn-no { background: linear-gradient(135deg, #c0392b, #922b21); color: white; }

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

/* Question Screen */
.question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.question-number {
  background: var(--primary);
  color: var(--secondary);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
}

.confidence-bar {
  position: relative;
  width: 200px;
  height: 25px;
  background: var(--bg-dark);
  border-radius: 15px;
  overflow: hidden;
}

.confidence-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--success), var(--primary));
  width: 0%;
  transition: width 0.5s ease;
}

.confidence-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 600;
  font-size: 0.9rem;
}

.question-text {
  font-size: 1.3rem;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 15px;
  border-left: 4px solid var(--primary);
}

/* Guess Screen */
.guess-container {
  padding: 30px;
  background: var(--bg-light);
  border-radius: 20px;
  border: 2px solid var(--primary);
}

.guess-name {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--primary);
  margin: 20px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.guess-description {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 15px;
}

.guess-confidence {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.guess-confidence span {
  color: var(--primary);
  font-weight: 700;
}

.guess-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Victory Screen */
.victory-container {
  position: relative;
  padding: 40px;
}

.victory-container h2 {
  font-size: 2.5rem;
  color: var(--neon-glow);
  text-shadow: 0 0 20px var(--neon-glow);
  animation: victoryPulse 0.5s ease infinite alternate;
}

@keyframes victoryPulse {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

/* Confetti */
.confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
  0% {
    transform: translateY(-100%) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(300px) rotate(720deg);
    opacity: 0;
  }
}

/* Learn Screen */
.learn-container {
  padding: 30px;
  background: var(--bg-light);
  border-radius: 20px;
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-muted);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  background: var(--bg-dark);
  border: 1px solid var(--text-muted);
  border-radius: 8px;
  color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.radio-group {
  display: flex;
  gap: 20px;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.form-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.stats {
  margin-top: 10px;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 600px) {
  .neon-text {
    font-size: 1.8rem;
  }
  
  .barman-zone {
    flex-direction: column;
    align-items: center;
  }
  
  .speech-bubble::before,
  .speech-bubble::after {
    display: none;
  }
  
  .btn-answer {
    min-width: 140px;
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .question-text {
    font-size: 1.1rem;
  }
  
  .guess-name {
    font-size: 1.8rem;
  }
}
