/* ==========================================================================
   Big-Screen TV Jeopardy Board & Stage Styles
   With Color-Coded Rows (Red, Yellow, Blue, Green, Purple)
   ========================================================================== */

.tv-stage {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 1rem 2rem 1.5rem;
  max-width: 1850px;
  margin: 0 auto;
}

/* Header Bar */
.tv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.75);
  transition: all 0.25s ease;
}

.tv-header-controls {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* Clean Player View (Top Bar Hidden) */
body.topbar-hidden .tv-header {
  display: none;
}

.restore-topbar-btn {
  display: none;
  position: fixed;
  top: 0.65rem;
  right: 0.85rem;
  z-index: 90;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.22;
  transition: opacity 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.restore-topbar-btn:hover {
  opacity: 1;
  color: #fff;
  border-color: var(--electric-blue);
}

body.topbar-hidden .restore-topbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #f59e0b 0%, #ec4899 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
}

.game-title-display {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  max-width: 500px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Room Code & Remote Connect Info */
.room-code-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(24, 32, 58, 0.9);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.room-code-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.room-code-value {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--electric-blue);
  letter-spacing: 0.1em;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

.host-qr-button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.host-qr-button:hover {
  color: #fff;
}

/* Main Jeopardy Board Grid */
.board-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.board-grid {
  display: grid;
  gap: 1rem;
  width: 100%;
  height: 100%;
  min-height: 540px;
}

.category-column {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Category Header Card */
.category-header {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 2px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  padding: 1.1rem 0.75rem;
  text-align: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: #f8fafc;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Base Category Tile Card */
.tile-card {
  flex: 1;
  background: linear-gradient(135deg, rgba(20, 30, 58, 0.95) 0%, rgba(13, 20, 42, 0.95) 100%);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  min-height: 85px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  user-select: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.tile-points {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Color Row Label Badge */
.tile-color-pill {
  position: absolute;
  top: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ==========================================================================
   Color-Coded Rows (Red, Yellow, Blue, Green, Purple)
   ========================================================================== */

/* 1. RED ROW */
.tile-card.color-red {
  background: linear-gradient(135deg, rgba(60, 18, 26, 0.95) 0%, rgba(28, 10, 15, 0.98) 100%);
  border-color: rgba(239, 68, 68, 0.45);
}
.tile-card.color-red .tile-points { color: #f87171; text-shadow: 0 0 18px rgba(239, 68, 68, 0.5); }
.tile-card.color-red .tile-color-pill { background: rgba(239, 68, 68, 0.25); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.4); }
.tile-card.color-red:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #ef4444;
  box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.5);
}

/* 2. YELLOW ROW */
.tile-card.color-yellow {
  background: linear-gradient(135deg, rgba(58, 45, 15, 0.95) 0%, rgba(28, 22, 8, 0.98) 100%);
  border-color: rgba(234, 179, 8, 0.45);
}
.tile-card.color-yellow .tile-points { color: #facc15; text-shadow: 0 0 18px rgba(234, 179, 8, 0.5); }
.tile-card.color-yellow .tile-color-pill { background: rgba(234, 179, 8, 0.25); color: #fde047; border: 1px solid rgba(234, 179, 8, 0.4); }
.tile-card.color-yellow:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #eab308;
  box-shadow: 0 10px 25px -5px rgba(234, 179, 8, 0.5);
}

/* 3. BLUE ROW */
.tile-card.color-blue {
  background: linear-gradient(135deg, rgba(16, 38, 68, 0.95) 0%, rgba(8, 20, 42, 0.98) 100%);
  border-color: rgba(56, 189, 248, 0.45);
}
.tile-card.color-blue .tile-points { color: #38bdf8; text-shadow: 0 0 18px rgba(56, 189, 248, 0.5); }
.tile-card.color-blue .tile-color-pill { background: rgba(56, 189, 248, 0.25); color: #bae6fd; border: 1px solid rgba(56, 189, 248, 0.4); }
.tile-card.color-blue:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #38bdf8;
  box-shadow: 0 10px 25px -5px rgba(56, 189, 248, 0.5);
}

/* 4. GREEN ROW */
.tile-card.color-green {
  background: linear-gradient(135deg, rgba(14, 45, 32, 0.95) 0%, rgba(7, 25, 18, 0.98) 100%);
  border-color: rgba(16, 185, 129, 0.45);
}
.tile-card.color-green .tile-points { color: #34d399; text-shadow: 0 0 18px rgba(16, 185, 129, 0.5); }
.tile-card.color-green .tile-color-pill { background: rgba(16, 185, 129, 0.25); color: #a7f3d0; border: 1px solid rgba(16, 185, 129, 0.4); }
.tile-card.color-green:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #10b981;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.5);
}

/* 5. PURPLE ROW */
.tile-card.color-purple {
  background: linear-gradient(135deg, rgba(42, 20, 68, 0.95) 0%, rgba(22, 10, 38, 0.98) 100%);
  border-color: rgba(168, 85, 247, 0.45);
}
.tile-card.color-purple .tile-points { color: #c084fc; text-shadow: 0 0 18px rgba(168, 85, 247, 0.5); }
.tile-card.color-purple .tile-color-pill { background: rgba(168, 85, 247, 0.25); color: #e9d5ff; border: 1px solid rgba(168, 85, 247, 0.4); }
.tile-card.color-purple:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #a855f7;
  box-shadow: 0 10px 25px -5px rgba(168, 85, 247, 0.5);
}

/* Spent / Completed Tile */
.tile-card.spent {
  background: rgba(15, 20, 32, 0.4) !important;
  border-color: rgba(255, 255, 255, 0.04) !important;
  cursor: default;
  transform: none !important;
  box-shadow: none !important;
}

.tile-card.spent .tile-points {
  color: rgba(148, 163, 184, 0.15) !important;
  text-shadow: none !important;
}

.tile-card.spent .tile-color-pill {
  display: none;
}

/* Live Team Scoreboard Footer Bar */
.tv-scoreboard {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.team-score-card {
  flex: 1;
  min-width: 200px;
  background: rgba(26, 36, 64, 0.7);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
}

.team-score-card.active-turn {
  border-color: var(--primary-gold);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
  background: rgba(35, 48, 86, 0.9);
}

.team-info {
  display: flex;
  flex-direction: column;
}

.team-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.team-turn-indicator {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: none;
}

.team-score-card.active-turn .team-turn-indicator {
  display: block;
}

.team-score-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 900;
  color: var(--electric-blue);
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
  transition: transform 0.2s ease;
}

.team-score-value.bump-up {
  animation: score-bump-up 0.4s ease;
  color: var(--vibrant-green);
}

.team-score-value.bump-down {
  animation: score-bump-down 0.4s ease;
  color: var(--danger-red);
}

@keyframes score-bump-up {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); color: #34d399; }
  100% { transform: scale(1); }
}

@keyframes score-bump-down {
  0% { transform: scale(1); }
  50% { transform: scale(0.85); color: #f87171; }
  100% { transform: scale(1); }
}

/* QR Code Modal for Phone Connecting */
.qr-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.qr-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.qr-modal-card {
  background: #111827;
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  max-width: 440px;
  width: 90%;
  animation: popIn 0.3s ease;
}

.qr-code-box {
  background: white;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin: 1.5rem auto;
  display: inline-block;
}

.qr-code-box img {
  display: block;
}

/* ==========================================================================
   Virtual Test Remote Simulator (Side-by-Side Local Play & Testing)
   ========================================================================== */

.test-remote-btn {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
  border: 1px solid rgba(236, 72, 153, 0.55);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.test-remote-btn:hover {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.35) 0%, rgba(139, 92, 246, 0.35) 100%);
  border-color: var(--neon-magenta);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.45);
  transform: translateY(-1px);
}

.test-remote-btn.active {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--electric-blue);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.45);
}

/* Test Remote Section inside QR Modal */
.qr-test-mode-card {
  margin-top: 1.25rem;
  padding: 1.1rem;
  background: rgba(30, 41, 59, 0.6);
  border: 1px dashed rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  text-align: center;
}

/* Floating / Docked Simulator Drawer */
.simulator-drawer {
  position: fixed;
  right: 1.25rem;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 420px;
  max-width: calc(100vw - 2.5rem);
  background: #090d1a;
  border: 2px solid rgba(56, 189, 248, 0.45);
  border-radius: 26px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(56, 189, 248, 0.25);
  z-index: 700;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(calc(100% + 2.5rem));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.simulator-drawer.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* Simulator Top Bar */
.simulator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.simulator-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
}

.simulator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vibrant-green);
  box-shadow: 0 0 8px var(--vibrant-green);
}

.simulator-tag {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(236, 72, 153, 0.2);
  color: var(--neon-magenta);
  border: 1px solid rgba(236, 72, 153, 0.4);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.simulator-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.simulator-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 6px;
  padding: 0.25rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.simulator-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

.simulator-btn.simulator-close:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: var(--danger-red);
  color: #fca5a5;
}

/* Phone Bezel Body */
.simulator-phone-bezel {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #0a0c16;
  overflow: hidden;
}

.simulator-phone-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 14px;
  background: #04060c;
  border-radius: 8px;
  z-index: 10;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.simulator-iframe {
  width: 100%;
  height: 100%;
  border: none;
  flex: 1;
  display: block;
  background: #0a0c16;
}

.simulator-drawer {
  z-index: 1850;
}

/* ==========================================================================
   1. UNASSUMING PASSWORD GATE SCREEN
   ========================================================================== */
body.gate-locked .tv-stage,
body.gate-locked .restore-topbar-btn,
body.gate-locked .simulator-drawer {
  display: none !important;
}

body.splash-open .tv-stage,
body.splash-open .restore-topbar-btn {
  display: none !important;
}

body.intro-playing .tv-stage,
body.intro-playing .restore-topbar-btn {
  display: none !important;
}

/* ==========================================================================
   3. FULL-SCREEN INTRO VIDEO STAGE
   ========================================================================== */
.intro-video-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1600;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.intro-video-player {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  background: #000;
  display: block;
}

.intro-video-overlay-bar {
  position: fixed;
  bottom: 1.25rem;
  right: 1.5rem;
  z-index: 1610;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(9, 13, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  opacity: 0.28;
  transition: opacity 0.25s ease;
}

.intro-video-overlay-bar:hover {
  opacity: 1;
}

.intro-video-hint {
  font-size: 0.78rem;
  color: #cbd5e1;
}

.intro-tv-begin-btn {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.auth-gate-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #0c0e14;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.auth-gate-card {
  width: 100%;
  max-width: 340px;
  background: #131722;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.auth-gate-icon {
  font-size: 1.5rem;
  margin-bottom: 0.65rem;
  opacity: 0.7;
}

.auth-gate-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.02em;
}

.auth-gate-subtitle {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.25rem;
  margin-bottom: 1.25rem;
}

.auth-gate-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: #090c12;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #f8fafc;
  font-size: 0.95rem;
  text-align: center;
  outline: none;
  transition: border-color 0.15s ease;
}

.auth-gate-input:focus {
  border-color: #475569;
}

.auth-gate-error {
  color: #f87171;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.auth-gate-btn {
  margin-top: 0.85rem;
  width: 100%;
  padding: 0.65rem 1rem;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.auth-gate-btn:hover {
  background: #334155;
}

/* ==========================================================================
   2. MAIN OPENING MENU & GAME SETUP SPLASH SCREEN
   ========================================================================== */
.splash-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: radial-gradient(circle at top, #172038 0%, #090d16 75%);
  overflow-y: auto;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.splash-menu-container {
  width: 100%;
  max-width: 1180px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.splash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.splash-brand {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.splash-bolt {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #f59e0b 0%, #ec4899 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.splash-title {
  font-size: 1.55rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
}

.splash-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.splash-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 920px) {
  .splash-grid {
    grid-template-columns: 1fr;
  }
}

.splash-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.splash-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.splash-step-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.splash-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--electric-blue), #3b82f6);
  color: #090d16;
  font-weight: 900;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.splash-step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

/* Pack List Cards */
.splash-pack-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.splash-pack-item {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(30, 41, 59, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.splash-pack-item:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(30, 41, 59, 0.85);
}

.splash-pack-item.selected {
  border-color: var(--electric-blue);
  background: rgba(56, 189, 248, 0.12);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.18);
}

.splash-pack-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.splash-pack-name {
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
}

.splash-pack-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.splash-pack-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.2rem;
}

.splash-cat-pill {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.splash-pack-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* Team Count & Team Inputs */
.splash-team-count-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.splash-field-label {
  font-size: 0.9rem;
  font-weight: 800;
  color: #cbd5e1;
}

.splash-count-pills {
  display: flex;
  gap: 0.45rem;
}

.count-pill {
  width: 40px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.8);
  color: #cbd5e1;
  font-weight: 900;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.count-pill:hover {
  border-color: var(--electric-blue);
  color: #fff;
}

.count-pill.active {
  background: var(--electric-blue);
  border-color: var(--electric-blue);
  color: #090d16;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.splash-team-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 600px) {
  .splash-team-inputs-grid {
    grid-template-columns: 1fr;
  }
}

.splash-team-input-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.splash-team-input-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.splash-team-input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  background: rgba(9, 13, 22, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.splash-team-input:focus {
  border-color: var(--primary-gold);
}

/* Splash Remote Connect Card */
.splash-remote-connect-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem;
  background: rgba(9, 13, 22, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.splash-qr-wrapper {
  background: #fff;
  padding: 0.45rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.splash-qr-wrapper img {
  display: block;
  width: 115px;
  height: 115px;
}

.splash-room-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.splash-room-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.splash-room-code {
  font-family: var(--font-mono);
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--electric-blue);
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.45);
}

.splash-direct-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-gold);
  text-decoration: none;
  margin-top: 0.2rem;
}

.splash-direct-link:hover {
  text-decoration: underline;
}

.splash-test-remote-box {
  padding: 0.85rem 1rem;
  background: rgba(56, 189, 248, 0.06);
  border: 1px dashed rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
}

.splash-launch-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border-color: rgba(245, 158, 11, 0.35);
}

.splash-launch-btn {
  width: 100%;
  padding: 1.05rem;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.splash-resume-btn {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.92rem;
  font-weight: 800;
}

