/* ==========================================================================
   HALAT ÇEKMECE - TACTILE SKEUOMORPHIC / COZY PUZZLE UI STYLES
   Colors:
     - Leather Mat: #4A2E1B (Dark rich leather)
     - Wood Accents: #8C5528, #5A3617, #3D220E
     - Fuchsia Pink: #D9366E (Oyna Butonu)
     - Mustard Yellow: #E5A823 (Menü Butonları)
     - Cream: #F7F4EB (1. Takım Karakterleri & Objeler)
     - Pastel Purple: #7D8BE6 (2. Takım Karakterleri & Objeler)
     - Grey Icon Box: #3C3F46, #2E3035
   Typography: 'Nunito' (okunaklı, net gövde ve sorular) & 'Baloo 2' (başlıklar)
   ========================================================================== */

/* --- RESET & FOUNDATION --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #1A110B;
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  font-weight: 500;
  color: #F7F4EB;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Cozy Room Background */
.ambient-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: 
    radial-gradient(circle at 50% 35%, rgba(229, 168, 35, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(125, 139, 230, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(217, 54, 110, 0.12) 0%, transparent 50%),
    repeating-linear-gradient(45deg, #160E08, #160E08 18px, #1F140D 18px, #1F140D 36px);
  pointer-events: none;
}

/* --- 16:9 RESPONSIVE VIEWPORT SCALER --- */
:root {
  --game-scale: 1;
}

#viewport-scaler {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  background-color: #1A110B;
}

.game-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1600px;
  height: 900px;
  transform: translate(-50%, -50%) scale(var(--game-scale, 1));
  transform-origin: center center;
  border-radius: 28px;
  overflow: hidden;
  background: #2A1A0F;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.8),
    0 6px 16px rgba(0, 0, 0, 0.6),
    inset 0 2px 4px rgba(255, 235, 205, 0.2);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

/* Screen Transitions */
.game-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  display: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: scale(0.98);
}

.game-screen.active {
  opacity: 1;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  transform: scale(1);
}

/* ==========================================================================
   SKEUOMORPHIC LEATHER MAT & WOOD FLOORING (CORE UI)
   ========================================================================== */

/* Dark Brown Leather Mat (#4A2E1B) with Stitched Seams */
.leather-mat {
  position: relative;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 50% 30%, #5E3A22 0%, #4A2E1B 60%, #352012 100%);
  background-color: #4A2E1B;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 0),
    radial-gradient(rgba(0, 0, 0, 0.15) 1px, transparent 0);
  background-size: 12px 12px;
  background-position: 0 0, 6px 6px;
  border: 10px solid #362012;
  border-radius: 28px;
  box-shadow: 
    inset 0 0 30px rgba(0, 0, 0, 0.7),
    inset 0 3px 6px rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 24px 36px;
}

/* Saddle Stitching along borders */
.leather-mat::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 2px dashed rgba(240, 215, 175, 0.5);
  border-radius: 20px;
  pointer-events: none;
  box-shadow: 0 0 1px rgba(0,0,0,0.6);
}

/* Brass Rivets on Corners */
.brass-rivet {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFEAA7, #E5A823 45%, #9E6B08 85%, #5E3C00 100%);
  box-shadow: 
    0 3px 6px rgba(0,0,0,0.6),
    inset 0 1px 2px rgba(255,255,255,0.7),
    inset 0 -1px 2px rgba(0,0,0,0.4);
  z-index: 5;
}
.brass-rivet::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(35deg);
  width: 9px;
  height: 2px;
  background: rgba(80, 50, 10, 0.7);
  box-shadow: 0 1px 1px rgba(255,255,255,0.3);
}
.brass-rivet.top-left { top: 14px; left: 14px; }
.brass-rivet.top-right { top: 14px; right: 14px; }
.brass-rivet.bottom-left { bottom: 14px; left: 14px; }
.brass-rivet.bottom-right { bottom: 14px; right: 14px; }

/* Wooden Plaque / Frames */
.wood-plaque {
  position: relative;
  background: 
    linear-gradient(180deg, #A86938 0%, #875128 40%, #6E3F1D 80%, #563014 100%);
  border: 4px solid #3E210E;
  border-radius: 20px;
  box-shadow: 
    0 10px 22px rgba(0,0,0,0.55),
    inset 0 2px 3px rgba(255, 230, 180, 0.5),
    inset 0 -3px 5px rgba(0,0,0,0.4);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.plaque-screw {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #F0D080, #A87818);
  box-shadow: 0 2px 3px rgba(0,0,0,0.5);
}
.plaque-screw.left { left: 18px; }
.plaque-screw.right { right: 18px; }

.title-plaque {
  padding: 16px 64px;
  min-width: 660px;
  max-width: 90%;
}

.plaque-tag {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #FFE6A8;
}

.main-title {
  font-family: 'Baloo 2', cursive, sans-serif;
  font-weight: 800;
  font-size: 52px;
  line-height: 1.1;
  color: #FFF6E5;
  letter-spacing: 2px;
  text-shadow: 0 3px 6px rgba(0,0,0,0.6);
}

.plaque-sub {
  font-family: 'Nunito', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #FFEAA7;
  margin-top: 4px;
  letter-spacing: 0.3px;
  max-width: 800px;
  line-height: 1.3;
}

/* ==========================================================================
   3D EMBOSSED DUAL-COMPARTMENT BUTTONS (HARMONIOUS PALETTE)
   ========================================================================== */
.btn-3d {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 18px;
  padding: 0;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.15s ease;
  overflow: hidden;
  height: 60px;
  user-select: none;
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.35);
}

.btn-3d:hover {
  filter: brightness(1.08);
}

.btn-icon-box {
  background: rgba(0, 0, 0, 0.22);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-size: 24px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset -1px 0 2px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.btn-label {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  font-size: 19px;
  letter-spacing: 0.8px;
  font-weight: 800;
  color: #FFFFFF;
  text-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.45);
}

/* 1. Teal / Turkuaz Buton (Kurallar & Ana Menü) */
.btn-teal {
  background: linear-gradient(180deg, #14B8A6 0%, #0D9488 50%, #0F766E 100%);
  border: 2px solid #042F2E;
  box-shadow: 
    0 6px 0 #042F2E,
    0 10px 16px rgba(0, 0, 0, 0.45);
}
.btn-teal:active {
  transform: translateY(5px);
  box-shadow: 0 1px 0 #042F2E, 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* 2. Indigo / Asil Mor Buton (Liderler Tablosu) */
.btn-indigo {
  background: linear-gradient(180deg, #6366F1 0%, #4F46E5 50%, #4338CA 100%);
  border: 2px solid #1E1B4B;
  box-shadow: 
    0 6px 0 #1E1B4B,
    0 10px 16px rgba(79, 70, 229, 0.45);
}
.btn-indigo:active {
  transform: translateY(5px);
  box-shadow: 0 1px 0 #1E1B4B, 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* 3. Canlı Mercan Turuncu (#FA5A21) Oyna Butonu */
.btn-coral,
.btn-fuchsia {
  background: linear-gradient(180deg, #FA5A21 0%, #EA580C 50%, #C2410C 100%);
  border: 2px solid #7C2D12;
  box-shadow: 
    0 6px 0 #7C2D12,
    0 12px 20px rgba(234, 88, 12, 0.45);
}
.btn-coral:active,
.btn-fuchsia:active {
  transform: translateY(5px);
  box-shadow: 0 1px 0 #7C2D12, 0 4px 8px rgba(0, 0, 0, 0.35);
}

.pulse-ready {
  animation: playPulse 2s infinite ease-in-out;
}

@keyframes playPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); filter: brightness(1.12); }
}

/* 4. Kehribar / Altın Hardal Buton (Ses Açık/Kapalı) */
.btn-amber,
.btn-mustard {
  background: linear-gradient(180deg, #F5BA36 0%, #E5A823 50%, #C48B12 100%);
  border: 2px solid #78350F;
  box-shadow: 
    0 6px 0 #78350F,
    0 10px 16px rgba(0, 0, 0, 0.45);
}
.btn-amber:active,
.btn-mustard:active {
  transform: translateY(5px);
  box-shadow: 0 1px 0 #78350F, 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   MAIN MENU CONFIGURATION CARD
   ========================================================================== */
.menu-config-card {
  width: 94%;
  max-width: 1140px;
  background: linear-gradient(180deg, #3A2314 0%, #2E1B0F 100%);
  border: 4px solid #5C381E;
  border-radius: 28px;
  padding: 30px 44px;
  box-shadow: 
    0 16px 36px rgba(0,0,0,0.6),
    inset 0 2px 3px rgba(255,255,255,0.15),
    inset 0 -2px 4px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.teams-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
}

.team-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border-radius: 24px;
  border: 3px solid rgba(0,0,0,0.25);
  box-shadow: 
    0 10px 20px rgba(0,0,0,0.35),
    inset 0 2px 3px rgba(255,255,255,0.4),
    inset 0 -3px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.team-cream-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F7F4EB 50%, #E3DEC8 100%);
  color: #382B1B;
}

.team-purple-card {
  background: linear-gradient(135deg, #9FAEF5 0%, #7D8BE6 50%, #606FC9 100%);
  color: #171E4A;
}

.team-avatar-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.avatar-head {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 3px solid rgba(0,0,0,0.18);
  box-shadow: 
    0 6px 12px rgba(0,0,0,0.25),
    inset 0 2px 3px rgba(255,255,255,0.6);
}

.cream-head { background: #F7F4EB; }
.purple-head { background: #7D8BE6; }

.avatar-eye {
  width: 8px;
  height: 11px;
  background: #20150E;
  border-radius: 50%;
  position: absolute;
  top: 24px;
}
.avatar-eye.left { left: 18px; }
.avatar-eye.right { right: 18px; }

.avatar-smile {
  position: absolute;
  bottom: 16px;
  width: 18px;
  height: 9px;
  border-bottom: 4px solid #20150E;
  border-radius: 0 0 12px 12px;
}

.team-flag-badge {
  font-size: 13.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9px;
  background: rgba(0,0,0,0.15);
  letter-spacing: 0.5px;
}

.input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group label {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.input-group input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  font-family: 'Nunito', sans-serif;
  font-size: 20px;
  font-weight: 800;
  border-radius: 14px;
  border: 2px solid rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.92);
  color: #2E1B0F;
  outline: none;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}

.input-group input:focus {
  background: #FFFFFF;
  border-color: #E5A823;
  box-shadow: 0 0 0 4px rgba(229, 168, 35, 0.45);
}

.vs-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 2px;
}

.vs-text {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 34px;
  color: #FFEAA7;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  letter-spacing: 1px;
}

.rope-mini-icon {
  font-size: 28px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

/* Quiz Information Badge Row (Replaces mode & question length selectors) */
.menu-quiz-info-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
}

.quiz-info-badge {
  flex: 1;
  max-width: 480px;
  background: rgba(18, 9, 4, 0.5);
  border: 2px solid #5C381E;
  border-radius: 18px;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 
    inset 0 2px 6px rgba(0,0,0,0.6),
    0 4px 10px rgba(0,0,0,0.25);
}

.info-badge-icon {
  font-size: 32px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
  flex-shrink: 0;
}

.info-badge-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-badge-label {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #D4B28C;
  letter-spacing: 0.8px;
}

.info-badge-value {
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #FFF6E5;
  letter-spacing: 0.3px;
}

.menu-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.menu-actions-row .btn-3d {
  height: 66px;
}

.menu-actions-row .btn-3d .btn-icon-box {
  padding: 0 18px;
  font-size: 24px;
}

.menu-actions-row .btn-3d .btn-label {
  padding: 0 24px;
  font-size: 20px;
  font-weight: 800;
}

.menu-actions-row .btn-coral,
.menu-actions-row .btn-fuchsia {
  height: 72px;
  min-width: 240px;
}

.menu-actions-row .btn-coral .btn-label,
.menu-actions-row .btn-fuchsia .btn-label {
  font-size: 25px;
  font-weight: 900;
  padding: 0 32px;
}

/* ==========================================================================
   GAME ARENA SCREEN (WIDE RECTANGLE ARENA & DUAL PODS)
   ========================================================================== */

#screen-game {
  background: 
    radial-gradient(ellipse at 50% 10%, #5E3A22 0%, #4A2E1B 65%, #301C0E 100%);
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* Top Skeuomorphic Header */
.arena-header {
  width: 98%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 20;
}

.arena-center-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.arena-quick-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-icon-chip {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 2.5px solid #5C381E;
  background: #3A2314;
  color: #FFF;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 4px 10px rgba(0,0,0,0.45),
    inset 0 1px 2px rgba(255,255,255,0.25);
  transition: all 0.15s ease;
}

.btn-icon-chip:hover {
  background: #55331C;
  border-color: #8C5528;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.5), inset 0 1px 2px rgba(255,255,255,0.3);
}

.btn-icon-chip:active {
  transform: translateY(1px) scale(0.98);
}

.team-score-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px;
  border-radius: 20px;
  border: 3px solid rgba(0,0,0,0.25);
  box-shadow: 
    0 6px 14px rgba(0,0,0,0.4),
    inset 0 2px 2px rgba(255,255,255,0.4);
  flex: 0 1 290px;
  min-width: 180px;
  max-width: 330px;
  position: relative;
  transition: all 0.3s ease;
}

.cream-badge {
  background: linear-gradient(135deg, #FFFFFF 0%, #F7F4EB 60%, #E0DAC0 100%);
  color: #382B1B;
}

.purple-badge {
  background: linear-gradient(135deg, #9FAEF5 0%, #7D8BE6 60%, #5D6DC9 100%);
  color: #171E4A;
}

.score-avatar {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 2px solid rgba(0,0,0,0.2);
  box-shadow: 0 3px 6px rgba(0,0,0,0.25);
}

.cream-mini {
  background: #F7F4EB;
  position: relative;
}
.cream-mini::after {
  content: '🦁';
  font-size: 28px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.purple-mini {
  background: #7D8BE6;
  position: relative;
}
.purple-mini::after {
  content: '🚀';
  font-size: 28px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.score-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.score-details.right-align {
  align-items: flex-end;
  text-align: right;
}

.hud-team-name {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.hud-score-val {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.pull-lead-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #444;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}

.pull-lead-indicator.leading {
  background: #00FF88;
  box-shadow: 0 0 12px #00FF88, inset 0 1px 1px #FFF;
}

/* Center Match Status Plaque */
.match-status-plaque {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.round-counter-pill {
  background: #2E1B0F;
  border: 2px solid #5C381E;
  border-radius: 12px;
  padding: 2px 16px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #FFE6A8;
}

.turn-announcer {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 16.5px;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}

.turn-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E5A823;
  box-shadow: 0 0 8px #E5A823;
  animation: beaconPulse 1s infinite alternate;
}

@keyframes beaconPulse {
  from { opacity: 0.4; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1.3); }
}



/* ==========================================================================
   WIDE RECTANGULAR TUG STAGE (GENİŞLETİLMİŞ DİKDÖRTGEN AHŞAP ZEMİN)
   ========================================================================== */
.tug-stage-container {
  width: 98%;
  margin: 8px auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
}

.wood-floor {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  border: 4px solid #361E0E;
  background: 
    repeating-linear-gradient(
      90deg,
      #7A4822 0px,
      #8C5528 45px,
      #73431D 80px,
      #613716 120px,
      #4D2B11 122px
    );
  box-shadow: 
    inset 0 8px 18px rgba(0,0,0,0.65),
    inset 0 -8px 18px rgba(0,0,0,0.65),
    0 12px 28px rgba(0,0,0,0.6);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wood-floor::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(
      180deg,
      transparent 0px,
      transparent 42px,
      rgba(0,0,0,0.4) 43px,
      rgba(255,255,255,0.08) 44px
    );
  pointer-events: none;
}

/* Center Line with Engraved Brass Text */
.center-line-marker {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
  pointer-events: none;
}

.line-beam {
  flex: 1;
  width: 6px;
  background: linear-gradient(180deg, #FFEAA7, #E5A823 50%, #9E6B08 100%);
  box-shadow: 
    0 0 12px rgba(229, 168, 35, 0.85),
    0 0 3px rgba(255,255,255,0.9);
  border-radius: 4px;
}

.center-line-marker .line-rivet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFF, #E5A823 60%, #7B5204);
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.line-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  color: #FFE6A8;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
  white-space: nowrap;
  transform: rotate(-90deg);
  margin: 6px 0;
}

/* Distance stepping notches across the floor */
.step-notches {
  position: absolute;
  width: 92%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  top: 10px;
  z-index: 4;
}

.notch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255, 230, 180, 0.3);
  box-shadow: inset 0 2px 3px rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.notch.center-notch {
  width: 20px;
  height: 20px;
  background: #E5A823;
  color: #3B230C;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(229, 168, 35, 0.85);
}

.notch.win-zone {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(0,0,0,0.65);
  font-size: 20px;
  border: 2px dashed #E5A823;
  box-shadow: 0 0 14px rgba(229, 168, 35, 0.6);
}

/* ==========================================================================
   DYNAMIC CONTINUOUS ROPE & MOVING CHARACTERS
   ========================================================================== */
.arena-pull-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
}

/* Continuous Rope Track */
.continuous-rope-track {
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  transform: translateY(-50%);
  height: 24px;
  display: flex;
  align-items: center;
  z-index: 13;
  pointer-events: none;
  transition: left 0.65s cubic-bezier(0.25, 1, 0.5, 1), right 0.65s cubic-bezier(0.25, 1, 0.5, 1), transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.rope-frayed-tail {
  width: 26px;
  height: 20px;
  background: repeating-linear-gradient(45deg, #B5884B, #946933 4px, #D4AC72 6px);
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  flex-shrink: 0;
}
.rope-frayed-tail.left-tail {
  clip-path: polygon(100% 20%, 0% 0%, 25% 50%, 0% 100%, 100% 80%);
  margin-right: -4px;
}
.rope-frayed-tail.right-tail {
  clip-path: polygon(0% 20%, 100% 0%, 75% 50%, 100% 100%, 0% 80%);
  margin-left: -4px;
}

.full-braided-rope {
  position: relative;
  flex: 1;
  height: 20px;
  border-radius: 10px;
  background: 
    repeating-linear-gradient(
      65deg,
      #C29B63 0px,
      #D9B67C 6px,
      #9C7741 12px,
      #78582B 16px
    );
  box-shadow: 
    0 6px 14px rgba(0,0,0,0.55),
    inset 0 2px 2px rgba(255,255,255,0.45),
    inset 0 -2px 3px rgba(0,0,0,0.4);
}

/* Center Ribbon Knot - Permanently locked to center line */
.rope-center-knot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 16;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.knot-ring {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFF, #FF4757 60%, #A31220);
  box-shadow: 0 4px 8px rgba(0,0,0,0.6);
  border: 2px solid #FFF;
}

.knot-ribbon {
  width: 12px;
  height: 40px;
  background: linear-gradient(180deg, #FF4757 0%, #D9366E 60%, #87183C 100%);
  border-radius: 4px;
  margin-top: -6px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.5);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
  animation: ribbonFlutter 1.5s infinite ease-in-out;
}

@keyframes ribbonFlutter {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(8deg); }
}

/* Team Characters Groups */
.team-pullers {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 14;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.left-team-pullers {
  left: 20px;
}

.right-team-pullers {
  right: 20px;
}

/* Animated Tactile Characters */
.character {
  position: relative;
  width: 86px;
  height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
}

.left-team-pullers .character {
  transform: rotate(-12deg);
}

.right-team-pullers .character {
  transform: rotate(12deg);
}

.char-body {
  position: relative;
  width: 76px;
  height: 84px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 10px 18px rgba(0,0,0,0.45),
    inset 0 3px 4px rgba(255,255,255,0.7),
    inset 0 -4px 6px rgba(0,0,0,0.25);
  border: 3px solid rgba(0,0,0,0.18);
  z-index: 12;
}

.cream-char .char-body {
  background: linear-gradient(145deg, #FFFFFF 0%, #F7F4EB 60%, #E3DEC8 100%);
}

.purple-char .char-body {
  background: linear-gradient(145deg, #9FAEF5 0%, #7D8BE6 60%, #5E6EC7 100%);
}

.char-head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.char-face {
  position: relative;
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.char-face .eye {
  width: 8px;
  height: 11px;
  background: #20150E;
  border-radius: 50%;
}

.char-face .mouth.grrr {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 5px;
  background: #20150E;
  border-radius: 3px;
}

.char-face .mouth.ooh {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  background: #20150E;
  border-radius: 50%;
}

/* BOTH HANDS FIRMLY VISIBLE OVER THE ROPE */
.char-hands.gripping-rope {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFF, #E5A823 60%, #855905);
  border: 2px solid #573305;
  box-shadow: 0 3px 6px rgba(0,0,0,0.45);
  z-index: 20;
}

/* Sol takım elleri sağda (halata doğru) */
.left-team-pullers .char-hands.hand-back {
  top: 48px;
  right: -6px;
}

.left-team-pullers .char-hands.hand-front {
  top: 54px;
  right: 14px;
}

/* Sağ takım elleri solda (halata doğru) */
.right-team-pullers .char-hands.hand-back {
  top: 48px;
  left: -6px;
  right: auto;
}

.right-team-pullers .char-hands.hand-front {
  top: 54px;
  left: 14px;
  right: auto;
}

.char-feet {
  position: absolute;
  bottom: -8px;
  display: flex;
  gap: 18px;
}
.char-feet::before, .char-feet::after {
  content: '';
  width: 18px;
  height: 10px;
  background: #3B2412;
  border-radius: 6px;
}

.char-dust {
  position: absolute;
  bottom: 0;
  width: 22px;
  height: 12px;
  background: rgba(229, 168, 35, 0.4);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
}

/* Strain heaves */
.heave-left {
  animation: heaveLeft 0.7s ease-in-out;
}
.heave-right {
  animation: heaveRight 0.7s ease-in-out;
}

@keyframes heaveLeft {
  0% { transform: rotate(-12deg); }
  40% { transform: rotate(-24deg) translateX(-18px); }
  70% { transform: rotate(-8deg) translateX(-4px); }
  100% { transform: rotate(-12deg); }
}

@keyframes heaveRight {
  0% { transform: rotate(12deg); }
  40% { transform: rotate(24deg) translateX(18px); }
  70% { transform: rotate(8deg) translateX(4px); }
  100% { transform: rotate(12deg); }
}

/* ==========================================================================
   SHARED QUESTION PLAQUE (CENTER) - OKUNAKLI, İNCELTİLMİŞ NET TİPOGRAFİ
   ========================================================================== */
.shared-question-plaque {
  position: relative;
  width: 98%;
  margin: 8px auto;
  background: 
    linear-gradient(180deg, #382112 0%, #29180C 100%);
  border: 3px solid #573319;
  border-radius: 20px;
  padding: 14px 28px;
  min-height: 130px;
  box-shadow: 
    0 10px 24px rgba(0,0,0,0.5),
    inset 0 2px 3px rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  z-index: 20;
}

.question-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rule-badge {
  background: linear-gradient(180deg, #F5BA36 0%, #E5A823 100%);
  color: #2E1B0F;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  border: 1px solid #7B5204;
}

.battle-prompt-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #FFE6A8;
  letter-spacing: 0.3px;
}

.rule-hint-pill {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #E0D4C3;
  background: rgba(0,0,0,0.35);
  padding: 5px 16px;
  border-radius: 8px;
}

.question-text-box {
  background: #1E1107;
  border: 2px solid #452813;
  border-radius: 14px;
  padding: 12px 22px;
  box-shadow: inset 0 3px 6px rgba(0,0,0,0.6);
  text-align: center;
}

.question-text-box p {
  font-family: 'Nunito', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #FFF8EB;
  line-height: 1.45;
  letter-spacing: 0.3px;
}

.question-text-box strong {
  color: #FFEAA7;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 32px;
  margin: 0 4px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* ==========================================================================
   DUAL SPLIT ANSWERING PODS (SOL TAKIM VS SAĞ TAKIM AYNI ANDA)
   ========================================================================== */
.dual-answering-arena {
  width: 98%;
  margin: 8px auto 14px;
  display: flex;
  align-items: stretch;
  gap: 16px;
  z-index: 20;
}

.team-answer-pod {
  flex: 1;
  border-radius: 22px;
  padding: 14px 18px;
  min-height: 160px;
  border: 3px solid rgba(0,0,0,0.3);
  box-shadow: 
    0 10px 22px rgba(0,0,0,0.45),
    inset 0 2px 3px rgba(255,255,255,0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: all 0.2s ease;
}

.cream-pod {
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F4EB 60%, #E3DEC8 100%);
  color: #382B1B;
}

.purple-pod {
  background: linear-gradient(180deg, #9FAEF5 0%, #7D8BE6 60%, #5E6EC7 100%);
  color: #171E4A;
}

.pod-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid rgba(0,0,0,0.12);
  padding-bottom: 6px;
}

.pod-team-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 20px;
}

.pod-status-badge {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 8px;
  background: rgba(0,0,0,0.12);
}

.pod-status-badge.locked {
  background: #FF4757;
  color: #FFF;
}

.pod-status-badge.won-pull {
  background: #2ED573;
  color: #FFF;
}

/* Center Duel Divider */
.duel-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.duel-lightning {
  font-size: 28px;
  filter: drop-shadow(0 0 8px #FFEAA7);
  animation: pulseLight 1s infinite alternate;
}

@keyframes pulseLight {
  from { transform: scale(0.9); }
  to { transform: scale(1.15); }
}

.duel-vs-tag {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #FFE6A8;
}

.duel-vs-sub {
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #B5A593;
}

/* POD BUTTONS WRAPPER */
.pod-buttons-wrap {
  display: flex;
  gap: 14px;
  flex: 1;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.pod-buttons-wrap.dy-grid {
  display: flex;
  gap: 14px;
  width: 100%;
}

/* ==========================================================================
   DOĞRU / YANLIŞ & ÇOKTAN SEÇMELİ 3D SKEUOMORPHIC ANSWER BUTTONS
   ========================================================================== */
.answer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  font-weight: 800;
  cursor: pointer;
  outline: none;
  border: none;
  text-decoration: none;
  transition: transform 0.08s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.08s cubic-bezier(0.4, 0, 0.2, 1), filter 0.15s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  letter-spacing: 0.5px;
}

/* 1. DOĞRU BUTTON (.btn-true / .pod-dy-true) */
.answer-btn.btn-true,
.pod-dy-btn.pod-dy-true {
  flex: 1;
  width: 100%;
  height: 66px;
  min-height: 66px;
  border-radius: 18px;
  background: linear-gradient(180deg, #10B981 0%, #059669 50%, #047857 100%);
  border: 3px solid #065F46;
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 
    0 6px 0 #064E3B,
    0 10px 18px rgba(0, 0, 0, 0.4),
    inset 0 2px 2px rgba(255, 255, 255, 0.4);
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.35);
}

.answer-btn.btn-true:hover,
.pod-dy-btn.pod-dy-true:hover {
  filter: brightness(1.08);
}

.answer-btn.btn-true:active,
.pod-dy-btn.pod-dy-true:active {
  transform: translateY(4px);
  box-shadow: 
    0 2px 0 #064E3B,
    0 4px 8px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

/* 2. YANLIŞ BUTTON (.btn-false / .pod-dy-false) */
.answer-btn.btn-false,
.pod-dy-btn.pod-dy-false {
  flex: 1;
  width: 100%;
  height: 66px;
  min-height: 66px;
  border-radius: 18px;
  background: linear-gradient(180deg, #F43F5E 0%, #E11D48 50%, #BE123C 100%);
  border: 3px solid #9F1239;
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 
    0 6px 0 #881337,
    0 10px 18px rgba(0, 0, 0, 0.4),
    inset 0 2px 2px rgba(255, 255, 255, 0.4);
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.35);
}

.answer-btn.btn-false:hover,
.pod-dy-btn.pod-dy-false:hover {
  filter: brightness(1.08);
}

.answer-btn.btn-false:active,
.pod-dy-btn.pod-dy-false:active {
  transform: translateY(4px);
  box-shadow: 
    0 2px 0 #881337,
    0 4px 8px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  font-size: 20px;
  font-weight: 900;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 3. MULTIPLE CHOICE BUTTONS (.btn-mc / .pod-mc-btn) */
.pod-buttons-wrap.mc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
}

.answer-btn.btn-mc,
.pod-mc-btn {
  height: 60px;
  min-height: 60px;
  border-radius: 14px;
  background: #FFFFFF;
  color: #2E1B0F;
  border: 3px solid rgba(0,0,0,0.22);
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  box-shadow: 
    0 5px 0 rgba(0,0,0,0.22),
    0 8px 14px rgba(0,0,0,0.2);
  font-size: 19px;
  font-weight: 800;
  text-align: left;
}

.purple-pod .answer-btn.btn-mc {
  background: #F3F5FF;
}

.answer-btn.btn-mc:active,
.pod-mc-btn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 rgba(0,0,0,0.22);
}

.opt-letter, .pod-mc-letter {
  background: #3B230C;
  color: #FFE6A8;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 17px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.2);
}

.opt-text, .pod-mc-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Lock state for pod */
.team-answer-pod.locked-pod {
  opacity: 0.55;
  pointer-events: none;
  filter: grayscale(0.5);
}

/* Highlight states */
.answer-btn.correct-choice,
.pod-dy-btn.correct-choice,
.pod-mc-btn.correct-choice {
  background: linear-gradient(180deg, #10B981 0%, #059669 100%) !important;
  color: #FFFFFF !important;
  border-color: #047857 !important;
  box-shadow: 0 5px 0 #064E3B, 0 0 20px rgba(16, 185, 129, 0.7) !important;
  transform: scale(1.03) !important;
}

.answer-btn.wrong-choice,
.pod-dy-btn.wrong-choice,
.pod-mc-btn.wrong-choice {
  background: linear-gradient(180deg, #F43F5E 0%, #E11D48 100%) !important;
  color: #FFFFFF !important;
  border-color: #9F1239 !important;
  box-shadow: 0 5px 0 #881337, 0 0 20px rgba(244, 63, 94, 0.7) !important;
  animation: shakeWrong 0.4s ease;
  opacity: 0.85;
}

/* Reserved Feedback Slot - Directly ABOVE options with 0px layout shift */
.feedback-reserved-slot {
  width: 98%;
  height: 42px;
  margin: 3px auto 1px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 25;
}

.explanation-banner {
  background: linear-gradient(180deg, #2E1B0F 0%, #1A0E07 100%);
  border: 2px solid #E5A823;
  border-radius: 14px;
  padding: 6px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #FFF8EB;
  box-shadow: 
    0 8px 24px rgba(0,0,0,0.85),
    0 0 16px rgba(229, 168, 35, 0.45);
  margin: 0;
  width: auto;
  min-width: 440px;
  max-width: 90%;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.explanation-banner.hidden {
  opacity: 0;
  transform: scale(0.92);
  visibility: hidden;
  pointer-events: none;
}

@keyframes bannerPop {
  0% { transform: translateX(-50%) scale(0.85); opacity: 0; }
  100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

.banner-icon {
  font-size: 19px;
  font-weight: 700;
  flex-shrink: 0;
}

.banner-text {
  letter-spacing: 0.2px;
  line-height: 1.3;
}

/* ==========================================================================
   VICTORY & GAME OVER SCREEN
   ========================================================================== */
.victory-mat {
  justify-content: center;
  gap: 20px;
}

.trophy-plaque {
  background: linear-gradient(180deg, #3A2314 0%, #29180C 100%);
  border: 4px solid #5C381E;
  border-radius: 28px;
  padding: 20px 36px 28px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 
    0 16px 36px rgba(0,0,0,0.7),
    inset 0 2px 4px rgba(255,255,255,0.2);
  max-width: 800px;
  width: 90%;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.trophy-icon-3d {
  font-size: 56px;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.5));
  animation: bounceTrophy 2s infinite ease-in-out;
}

.victory-headline {
  font-family: 'Baloo 2', cursive;
  font-weight: 600;
  font-size: 28px;
  color: #FFE6A8;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.winner-team-display {
  background: linear-gradient(90deg, transparent, rgba(229, 168, 35, 0.3), transparent);
  padding: 4px 28px;
  border-radius: 12px;
}

#winner-team-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #FFFFFF;
}

.victory-reason {
  font-family: 'Nunito', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: #D6CBB8;
}

.stats-summary-card {
  display: flex;
  align-items: center;
  gap: 36px;
  background: #1E1208;
  border: 2px solid #4D2D16;
  border-radius: 16px;
  padding: 8px 28px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.6);
}

.stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 140px;
}

.stat-col-time .stat-team-title {
  color: #38BDF8;
}

.stat-time-val {
  color: #38BDF8 !important;
  font-size: 26px;
  letter-spacing: 1px;
}

.stat-team-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #FFE6A8;
}

.stat-number {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #FFF;
}

.stat-label {
  font-size: 12.5px;
  font-weight: 500;
  color: #B5A593;
}

.stat-divider {
  width: 2px;
  height: 44px;
  background: #4D2D16;
}

/* ==========================================================================
   IN-SCREEN GAMEOVER LEADERBOARD & MODAL STYLES
   ========================================================================== */
.gameover-leaderboard-box {
  width: 100%;
  max-width: 680px;
  background: rgba(18, 9, 4, 0.75);
  border: 2px solid #5C381E;
  border-radius: 18px;
  padding: 10px 18px 12px 18px;
  box-shadow: 
    inset 0 2px 6px rgba(0, 0, 0, 0.6),
    0 8px 18px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lb-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid rgba(255, 230, 168, 0.15);
  padding-bottom: 5px;
}

.lb-box-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 18px;
  color: #FFE6A8;
  letter-spacing: 0.5px;
}

.lb-box-icon {
  font-size: 20px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.lb-box-subtitle {
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #D4B28C;
}

/* Leaderboard Table Structure */
.lb-table-container {
  width: 100%;
  max-height: 180px;
  overflow-y: auto;
  border-radius: 10px;
}

.lb-table-container::-webkit-scrollbar {
  width: 6px;
}

.lb-table-container::-webkit-scrollbar-thumb {
  background: #5C381E;
  border-radius: 4px;
}

.lb-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-family: 'Nunito', sans-serif;
}

.lb-table th {
  background: rgba(46, 27, 15, 0.95);
  color: #FFE6A8;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 12px 18px;
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 2px solid rgba(92, 56, 30, 0.9);
}

.lb-table td {
  padding: 12px 18px;
  font-size: 18px;
  font-weight: 700;
  color: #F7F4EB;
  border-bottom: 1px solid rgba(92, 56, 30, 0.45);
}

.lb-table tbody tr {
  transition: background 0.15s ease;
}

.lb-table tbody tr:hover {
  background: rgba(229, 168, 35, 0.12);
}

/* Columns */
.lb-table .col-rank {
  width: 14%;
  text-align: center;
}

.lb-table .col-team {
  width: 38%;
  text-align: left;
}

.lb-table .col-score {
  width: 16%;
  text-align: center;
}

.lb-table .col-lost {
  width: 16%;
  text-align: center;
}

.lb-table .col-time {
  width: 16%;
  text-align: center;
}

/* Badges & Pills */
.rank-pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 16px;
  background: rgba(0,0,0,0.35);
  color: #D4B28C;
  letter-spacing: 0.5px;
}

.rank-gold {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #1A0D03;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.5);
}

.rank-silver {
  background: linear-gradient(135deg, #E2E8F0, #94A3B8);
  color: #0F172A;
  box-shadow: 0 2px 6px rgba(148, 163, 184, 0.5);
}

.rank-bronze {
  background: linear-gradient(135deg, #D97706, #B45309);
  color: #FFF;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.5);
}

.team-cell-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.team-mini-icon {
  font-size: 26px;
  flex-shrink: 0;
}

.team-name-text {
  font-size: 19px;
  font-weight: 800;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 360px;
  letter-spacing: 0.3px;
}

.score-pill {
  display: inline-block;
  font-weight: 800;
  font-size: 17px;
  color: #10B981;
  background: rgba(16, 185, 129, 0.18);
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  padding: 5px 14px;
  border-radius: 10px;
}

.lost-rounds-badge {
  display: inline-block;
  font-weight: 900;
  font-size: 17px;
  color: #EF4444;
  background: rgba(239, 68, 68, 0.18);
  border: 1.5px solid rgba(239, 68, 68, 0.45);
  padding: 4px 14px;
  border-radius: 10px;
  min-width: 32px;
  text-align: center;
}

.lost-rounds-none {
  display: inline-block;
  font-weight: 800;
  font-size: 18px;
  color: #94A3B8;
  padding: 4px 10px;
}

.time-pill {
  display: inline-block;
  font-weight: 800;
  font-size: 16px;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.18);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  padding: 5px 14px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}

.lb-empty-msg {
  padding: 32px 14px !important;
  color: #D4B28C !important;
  font-style: italic;
  font-size: 17px !important;
}

/* Modal Leaderboard Specific Styles (Slide Down, Large & Scrollable for 20 Players) */
@keyframes modalSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-50px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-slide-down {
  animation: modalSlideDown 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-leaderboard-card {
  max-width: 880px !important;
  width: 94% !important;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  padding: 24px 28px !important;
  border-radius: 28px !important;
  border: 4px solid #5C381E !important;
}

.modal-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-header-title h3 {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #FFE6A8 !important;
  font-family: 'Baloo 2', cursive, sans-serif !important;
  letter-spacing: 0.5px;
}

.modal-header-icon {
  font-size: 32px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.modal-leaderboard-body {
  padding: 16px 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
  overflow: hidden;
}

.modal-leaderboard-body .lb-table-container.lb-modal-scroller {
  max-height: 440px !important;
  overflow-y: auto !important;
  background: rgba(15, 8, 3, 0.7);
  border: 2.5px solid #5C381E;
  border-radius: 18px;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.65);
}

.modal-leaderboard-body .lb-table-container.lb-modal-scroller::-webkit-scrollbar {
  width: 10px;
}

.modal-leaderboard-body .lb-table-container.lb-modal-scroller::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

.modal-leaderboard-body .lb-table-container.lb-modal-scroller::-webkit-scrollbar-thumb {
  background: #A86938;
  border-radius: 8px;
}

.modal-leaderboard-body .lb-table-container.lb-modal-scroller::-webkit-scrollbar-thumb:hover {
  background: #D97706;
}

.modal-leaderboard-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px 6px 20px;
  border-top: 2px solid #4D2D16;
  width: 100%;
}

.modal-leaderboard-footer .btn-3d {
  min-width: 240px;
  height: 64px;
}

.modal-leaderboard-footer .btn-label {
  font-size: 22px;
  font-weight: 800;
  padding: 0 36px;
}

.gameover-actions-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
  width: 100%;
}

.gameover-actions-row .btn-3d {
  height: 58px;
  min-width: 210px;
  padding: 0 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}

.gameover-actions-row .btn-3d .btn-icon-box {
  background: transparent !important;
  border-right: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-size: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.gameover-actions-row .btn-3d .btn-label {
  flex: 0 0 auto !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  font-size: 18px !important;
  letter-spacing: 0.5px !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* ==========================================================================
   RULES & CHEAT SHEET MODAL
   ========================================================================== */
.cozy-modal {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cozy-modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  width: 90%;
  max-width: 860px;
  background: 
    radial-gradient(ellipse at 50% 20%, #4A2E1B 0%, #352012 100%);
  border: 4px solid #6E3F1D;
  border-radius: 26px;
  padding: 22px 26px;
  box-shadow: 
    0 20px 50px rgba(0,0,0,0.8),
    inset 0 2px 4px rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 90%;
  overflow-y: auto;
  z-index: 105;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #5C381E;
  padding-bottom: 10px;
}

.modal-header h3 {
  font-family: 'Baloo 2', cursive;
  font-weight: 600;
  font-size: 24px;
  color: #FFE6A8;
}

.btn-close-modal {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #855905;
  background: #E5A823;
  color: #2E1B0F;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.4);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.rule-card {
  background: #24140A;
  border: 2px solid #4D2D16;
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: inset 0 2px 3px rgba(0,0,0,0.5);
}

.rule-digit {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #E5A823;
  color: #2A1705;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.rule-info h4 {
  font-size: 15.5px;
  font-weight: 600;
  color: #FFE6A8;
  margin-bottom: 2px;
}

.rule-info p {
  font-size: 13.5px;
  font-weight: 400;
  color: #D6CBB8;
  line-height: 1.4;
}

.rule-info strong {
  color: #FFF;
  font-weight: 600;
}

.rule-info .example {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: #A89582;
  margin-top: 4px;
}

.modal-footer {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

/* ==========================================================================
   ORIENTATION WARNING OVERLAY
   ========================================================================== */
.orientation-warning {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #1F120A;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
}

@media (orientation: portrait) and (max-width: 900px) {
  .orientation-warning {
    display: flex;
  }
}

.device-rotate-card {
  background: #3A2314;
  border: 4px solid #5C381E;
  border-radius: 28px;
  padding: 36px 28px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 400px;
}

.phone-rotate-anim {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-body {
  width: 44px;
  height: 76px;
  border: 4px solid #E5A823;
  border-radius: 10px;
  position: relative;
  background: #180D05;
  animation: phoneRotate 2.5s infinite ease-in-out;
}

.phone-screen {
  position: absolute;
  inset: 4px;
  background: rgba(229, 168, 35, 0.2);
  border-radius: 4px;
}

.rotate-arrow {
  position: absolute;
  font-size: 40px;
  color: #D9366E;
  animation: spinArrow 2.5s infinite linear;
}

@keyframes phoneRotate {
  0%, 20% { transform: rotate(0deg); }
  60%, 100% { transform: rotate(90deg); }
}

@keyframes spinArrow {
  0% { transform: rotate(0deg); opacity: 0.3; }
  50% { transform: rotate(180deg); opacity: 1; }
  100% { transform: rotate(360deg); opacity: 0.3; }
}

.device-rotate-card h2 {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 22px;
  color: #FFE6A8;
}

.device-rotate-card p {
  font-size: 15px;
  font-weight: 500;
  color: #D6CBB8;
  line-height: 1.4;
}

.btn-dismiss-rotate {
  background: transparent;
  border: 1px solid rgba(229, 168, 35, 0.45);
  color: #FFE6A8;
  padding: 6px 18px;
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 6px;
}

.btn-dismiss-rotate:hover {
  background: rgba(229, 168, 35, 0.15);
  border-color: #E5A823;
}

.confetti-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 100;
}

/* ==========================================================================
   RESPONSIVE ASPECT RATIO SYSTEM: 16:9 (Desktop) | 4:3 (Tablet) | 1:1 (Mobile)
   ========================================================================== */

/* 1. TABLET ASPECT 4:3 (1200 x 900) */
.game-stage.aspect-4-3 {
  width: 1200px;
  height: 900px;
  border-radius: 22px;
}

.game-stage.aspect-4-3 .leather-mat {
  padding: 22px 30px;
  gap: 24px;
}

.game-stage.aspect-4-3 .title-plaque {
  padding: 14px 48px;
  min-width: 580px;
}

.game-stage.aspect-4-3 .main-title {
  font-size: 46px;
}

.game-stage.aspect-4-3 .plaque-sub {
  font-size: 19px;
}

.game-stage.aspect-4-3 .menu-config-card {
  max-width: 1020px;
  padding: 26px 36px;
  gap: 22px;
}

.game-stage.aspect-4-3 .teams-input-row {
  gap: 20px;
}

.game-stage.aspect-4-3 .team-card {
  padding: 16px 20px;
}

.game-stage.aspect-4-3 .avatar-head {
  width: 64px;
  height: 64px;
}

.game-stage.aspect-4-3 .input-group input {
  height: 50px;
  font-size: 18px;
}

.game-stage.aspect-4-3 .menu-quiz-info-row {
  gap: 18px;
}

.game-stage.aspect-4-3 .quiz-info-badge {
  padding: 12px 18px;
}

.game-stage.aspect-4-3 .info-badge-value {
  font-size: 20px;
}

.game-stage.aspect-4-3 .menu-actions-row {
  gap: 20px;
}

.game-stage.aspect-4-3 .btn-3d {
  height: 66px;
  padding: 0;
  font-size: 20px;
}

.game-stage.aspect-4-3 .btn-fuchsia {
  height: 74px;
  min-width: 240px;
  font-size: 24px;
}

/* Arena in Tablet 4:3 Mode */
.game-stage.aspect-4-3 #screen-game {
  padding: 14px 20px;
}

.game-stage.aspect-4-3 .arena-header {
  width: 98%;
  gap: 12px;
}

.game-stage.aspect-4-3 .team-score-badge {
  flex: 0 1 250px;
  min-width: 170px;
  max-width: 260px;
  padding: 8px 14px;
}

.game-stage.aspect-4-3 .hud-team-name {
  font-size: 15px;
}

.game-stage.aspect-4-3 .hud-score-val {
  font-size: 20px;
}

.game-stage.aspect-4-3 .score-avatar {
  width: 40px;
  height: 40px;
}

.game-stage.aspect-4-3 .arena-center-header {
  flex: 1 1 auto;
  max-width: 520px;
  gap: 4px;
}

.game-stage.aspect-4-3 .round-counter-pill {
  font-size: 13.5px;
  padding: 4px 14px;
  white-space: nowrap;
}

.game-stage.aspect-4-3 .turn-announcer {
  font-size: 13.5px;
  white-space: nowrap;
}

.game-stage.aspect-4-3 .tug-stage-container {
  height: 230px;
  margin: 6px auto;
}

.game-stage.aspect-4-3 .shared-question-plaque {
  margin: 6px auto;
  min-height: 120px;
  padding: 12px 24px;
}

.game-stage.aspect-4-3 .question-text-box p {
  font-size: 26px;
  line-height: 1.35;
}

.game-stage.aspect-4-3 .dual-answering-arena {
  margin: 6px auto 12px;
  gap: 14px;
}

.game-stage.aspect-4-3 .team-answer-pod {
  padding: 12px 16px;
  min-height: 150px;
}

.game-stage.aspect-4-3 .pod-team-title {
  font-size: 20px;
}

.game-stage.aspect-4-3 .answer-btn {
  min-height: 64px;
  height: 64px;
  font-size: 23px;
}

/* 2. MOBILE ASPECT 1:1 (900 x 900) */
.game-stage.aspect-1-1 {
  width: 900px;
  height: 900px;
  border-radius: 18px;
}

.game-stage.aspect-1-1 .leather-mat {
  padding: 18px 22px;
  justify-content: center;
  gap: 18px;
}

.game-stage.aspect-1-1 .title-plaque {
  padding: 12px 36px;
  min-width: 480px;
}

.game-stage.aspect-1-1 .plaque-tag {
  font-size: 12.5px;
}

.game-stage.aspect-1-1 .main-title {
  font-size: 42px;
  letter-spacing: 2px;
}

.game-stage.aspect-1-1 .plaque-sub {
  font-size: 16px;
  max-width: 600px;
}

.game-stage.aspect-1-1 .menu-config-card {
  max-width: 820px;
  padding: 18px 22px;
  gap: 16px;
}

.game-stage.aspect-1-1 .teams-input-row {
  gap: 14px;
}

.game-stage.aspect-1-1 .team-card {
  padding: 12px 14px;
  gap: 12px;
  border-radius: 18px;
}

.game-stage.aspect-1-1 .team-avatar-preview .avatar-head {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

.game-stage.aspect-1-1 .avatar-eye {
  width: 6px;
  height: 9px;
  top: 18px;
}

.game-stage.aspect-1-1 .avatar-smile {
  width: 14px;
  height: 7px;
  bottom: 12px;
}

.game-stage.aspect-1-1 .team-flag-badge {
  font-size: 11px;
  padding: 2px 7px;
}

.game-stage.aspect-1-1 .input-group label {
  font-size: 13.5px;
}

.game-stage.aspect-1-1 .input-group input {
  height: 46px;
  font-size: 16px;
  padding: 0 12px;
  border-radius: 10px;
}

.game-stage.aspect-1-1 .vs-emblem .vs-text {
  font-size: 26px;
}

.game-stage.aspect-1-1 .vs-emblem .rope-mini-icon {
  font-size: 22px;
}

.game-stage.aspect-1-1 .menu-quiz-info-row {
  gap: 12px;
}

.game-stage.aspect-1-1 .quiz-info-badge {
  padding: 8px 14px;
  gap: 10px;
  border-radius: 12px;
}

.game-stage.aspect-1-1 .info-badge-icon {
  font-size: 24px;
}

.game-stage.aspect-1-1 .info-badge-label {
  font-size: 11px;
}

.game-stage.aspect-1-1 .info-badge-value {
  font-size: 17px;
}

.game-stage.aspect-1-1 .menu-actions-row {
  gap: 14px;
}

.game-stage.aspect-1-1 .btn-3d {
  height: 60px;
  font-size: 18px;
}

.game-stage.aspect-1-1 .btn-3d .btn-icon-box {
  padding: 0 16px;
  font-size: 20px;
}

.game-stage.aspect-1-1 .btn-3d .btn-label {
  padding: 0 20px;
  font-size: 18px;
}

.game-stage.aspect-1-1 .btn-fuchsia {
  height: 68px;
  min-width: 200px;
}

.game-stage.aspect-1-1 .btn-fuchsia .btn-label {
  font-size: 22px;
}

/* Arena in 1:1 Square Mode */
.game-stage.aspect-1-1 #screen-game {
  padding: 10px 14px;
}

.game-stage.aspect-1-1 .arena-header {
  width: 98%;
  gap: 8px;
  padding: 4px 6px;
}

.game-stage.aspect-1-1 .team-score-badge {
  flex: 0 1 190px;
  min-width: 135px;
  max-width: 200px;
  padding: 6px 10px;
  border-radius: 14px;
  gap: 8px;
}

.game-stage.aspect-1-1 .hud-team-name {
  font-size: 13px;
}

.game-stage.aspect-1-1 .hud-score-val {
  font-size: 17px;
}

.game-stage.aspect-1-1 .score-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.game-stage.aspect-1-1 .arena-center-header {
  flex: 1 1 auto;
  max-width: 400px;
  gap: 3px;
}

.game-stage.aspect-1-1 .round-counter-pill {
  font-size: 12px;
  padding: 3px 10px;
  white-space: nowrap;
}

.game-stage.aspect-1-1 .turn-announcer {
  font-size: 12px;
  white-space: nowrap;
}

.game-stage.aspect-1-1 .btn-icon-chip {
  width: 32px;
  height: 32px;
  font-size: 14px;
  border-radius: 9px;
}

.game-stage.aspect-1-1 .tug-stage-container {
  height: 200px;
  margin: 4px auto;
}

.game-stage.aspect-1-1 .arena-pull-stage {
  transform: scale(0.85);
  transform-origin: center center;
}

.game-stage.aspect-1-1 .step-notches .notch {
  width: 24px;
  height: 24px;
  font-size: 14px;
}

.game-stage.aspect-1-1 .shared-question-plaque {
  margin: 4px auto;
  padding: 10px 18px;
  min-height: 110px;
}

.game-stage.aspect-1-1 .battle-prompt-text {
  font-size: 13px;
}

.game-stage.aspect-1-1 .question-text-box p {
  font-size: 23px;
  line-height: 1.35;
}

.game-stage.aspect-1-1 .dual-answering-arena {
  margin: 4px auto 10px;
  gap: 10px;
}

.game-stage.aspect-1-1 .team-answer-pod {
  padding: 10px 12px;
  border-radius: 18px;
  min-height: 135px;
}

.game-stage.aspect-1-1 .pod-team-title {
  font-size: 16px;
}

.game-stage.aspect-1-1 .pod-status-badge {
  font-size: 12px;
  padding: 3px 8px;
}

.game-stage.aspect-1-1 .duel-divider {
  width: 50px;
}

.game-stage.aspect-1-1 .duel-lightning {
  font-size: 24px;
}

.game-stage.aspect-1-1 .duel-vs-tag {
  font-size: 10px;
}

.game-stage.aspect-1-1 .duel-vs-sub {
  font-size: 11px;
}

.game-stage.aspect-1-1 .answer-btn {
  min-height: 56px;
  height: 56px;
  font-size: 20px;
  padding: 8px 12px;
  border-radius: 14px;
}

.game-stage.aspect-1-1 .pod-buttons-wrap.mc-grid .answer-btn {
  min-height: 50px;
  height: 50px;
  font-size: 16px;
  padding: 6px 10px;
}

/* ==========================================================================
   CONFIRMATION MODAL (MENÜYE DÖNÜŞ ONAYI) & INTERACTION STATES
   ========================================================================== */
.modal-confirm-card {
  max-width: 520px;
  text-align: center;
  padding: 24px 28px;
  background: radial-gradient(ellipse at 50% 20%, #442817 0%, #29170C 100%);
  border: 4px solid #855905;
}

.modal-confirm-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 8px 12px;
}

.confirm-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFEAA7, #E5A823 60%, #9E6B08);
  border: 3px solid #5C381E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.5), inset 0 2px 3px rgba(255,255,255,0.7);
  animation: pulseConfirm 1.8s infinite ease-in-out;
}

@keyframes pulseConfirm {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); box-shadow: 0 0 22px rgba(229, 168, 35, 0.75); }
}

.modal-confirm-body h4 {
  font-family: 'Baloo 2', cursive;
  font-size: 23px;
  font-weight: 700;
  color: #FFE6A8;
  margin: 0;
  line-height: 1.25;
}

.modal-confirm-body p {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  color: #D6CBB8;
  line-height: 1.5;
  margin: 0;
}

.modal-confirm-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  width: 100%;
}

.btn-confirm-modal {
  flex: 1;
  height: 52px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.12s ease;
  user-select: none;
  letter-spacing: 0.5px;
  outline: none;
}

.btn-confirm-cancel {
  background: linear-gradient(180deg, #F8D349 0%, #E5A823 50%, #B87E0E 100%);
  color: #2E1B0F;
  border: 2px solid #855905;
  box-shadow: 
    0 4px 0 #704703,
    0 6px 14px rgba(0,0,0,0.4),
    inset 0 2px 2px rgba(255,255,255,0.6);
  text-shadow: 0 1px 1px rgba(255,255,255,0.4);
}

.btn-confirm-cancel:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-confirm-cancel:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #704703, 0 3px 6px rgba(0,0,0,0.3);
}

.btn-confirm-ok {
  background: linear-gradient(180deg, #F04C85 0%, #D9366E 50%, #B82455 100%);
  color: #FFFFFF;
  border: 2px solid #8A153D;
  box-shadow: 
    0 4px 0 #6B0E2E,
    0 6px 14px rgba(0,0,0,0.4),
    inset 0 2px 2px rgba(255,255,255,0.5);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.btn-confirm-ok:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-confirm-ok:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #6B0E2E, 0 3px 6px rgba(0,0,0,0.3);
}

.confirm-btn-icon {
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Locked Pod during rounds & penalties */
.team-answer-pod.locked-pod {
  opacity: 0.6;
  pointer-events: none;
  filter: grayscale(0.2);
}

.team-answer-pod.locked-pod .answer-btn {
  pointer-events: none;
}

/* Active Notch Highlight */
.notch.active-step {
  background: #E5A823 !important;
  box-shadow: 0 0 14px #E5A823, inset 0 1px 1px #FFF !important;
  transform: scale(1.3);
  border-color: #FFF !important;
  z-index: 10;
}

/* Leaderboard Responsive Adaptations */
.game-stage.aspect-1-1 .gameover-leaderboard-box {
  max-width: 520px;
  padding: 8px 12px;
  gap: 5px;
}

.game-stage.aspect-1-1 .gameover-leaderboard-box .lb-table-container {
  max-height: 140px;
}

.game-stage.aspect-1-1 .stats-summary-card {
  gap: 16px;
  padding: 6px 16px;
}

.game-stage.aspect-1-1 .stat-col {
  min-width: 90px;
}

.game-stage.aspect-1-1 .stat-number {
  font-size: 22px;
}

.game-stage.aspect-1-1 .stat-time-val {
  font-size: 20px;
}

.game-stage.aspect-4-3 .gameover-leaderboard-box {
  max-width: 600px;
}



