/* ==========================================================================
   Groove - Esports & Gaming UI Design System
   Inspired by Neon Chartreuse / Obsidian Cyber Aesthetic
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700;800;900&family=Inter:wght@400;500;600;700;800&family=Cabinet+Grotesk:wght@800;900&display=swap');

:root {
  /* Core Dark Theme Backgrounds */
  --bg-dark: #0A0C0F;
  --bg-surface: #12151B;
  --bg-surface-elevated: #1A1E26;
  --bg-card: rgba(26, 30, 38, 0.85);
  --border-cyber: rgba(255, 255, 255, 0.08);
  --border-cyber-active: rgba(204, 255, 0, 0.4);

  /* Signature Electric Neon Palette */
  --neon-lime: #D4FF00;
  --neon-lime-hover: #E2FF33;
  --neon-lime-glow: rgba(212, 255, 0, 0.35);
  --neon-lime-dim: rgba(212, 255, 0, 0.12);

  --neon-cyan: #00F0FF;
  --neon-yellow: #FFD600;
  --neon-magenta: #FF0055;
  --neon-orange: #FF6B00;

  /* High-Voltage 4 Game Tiles */
  --tile-red: #FF2A55;
  --tile-red-glow: rgba(255, 42, 85, 0.4);
  --tile-blue: #0088FF;
  --tile-blue-glow: rgba(0, 136, 255, 0.4);
  --tile-yellow: #FFB800;
  --tile-yellow-glow: rgba(255, 184, 0, 0.4);
  --tile-green: #00E676;
  --tile-green-glow: rgba(0, 230, 118, 0.4);

  /* Typography */
  --font-display: 'Space Grotesk', 'Cabinet Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --text-primary: #FFFFFF;
  --text-secondary: #9BA3AF;
  --text-muted: #646E7E;
  --text-dark: #0A0C0F;

  /* Asymmetric Radii inspired by Streamo UI */
  --radius-streamo: 28px 28px 8px 28px;
  --radius-card: 20px;
  --radius-button: 10px;
  --radius-pill: 8px;

  /* Shadows & Glows */
  --shadow-cyber: 0 12px 35px -8px rgba(0, 0, 0, 0.75);
  --shadow-neon: 0 0 25px var(--neon-lime-glow);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(212, 255, 0, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.04) 0%, transparent 40%);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ==========================================================================
   Header & Gaming Navigation
   ========================================================================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  background: rgba(10, 12, 15, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-cyber);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-glyph {
  width: 42px;
  height: 42px;
  background: var(--neon-lime);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-dark);
  box-shadow: 0 0 15px var(--neon-lime-glow);
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  text-transform: uppercase;
}

.brand-title span.accent {
  color: var(--neon-lime);
}

.nav-pill-group {
  display: flex;
  gap: 0.6rem;
  background: var(--bg-surface);
  padding: 0.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-cyber);
}

.nav-pill {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}

.nav-pill:hover {
  color: #fff;
}

.nav-pill.active {
  background: var(--neon-lime);
  color: var(--text-dark);
  box-shadow: 0 0 15px var(--neon-lime-glow);
}

/* ==========================================================================
   Asymmetric Cyber Cards (Streamo-Style)
   ========================================================================== */
.cyber-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-cyber);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-cyber);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.cyber-card.asymmetric {
  border-radius: var(--radius-streamo);
}

.cyber-card:hover {
  border-color: var(--border-cyber-active);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 255, 0, 0.15);
}

/* Featured Yellow/Lime Hero Card */
.cyber-card-hero {
  background: var(--neon-lime);
  color: var(--text-dark);
  border-radius: var(--radius-streamo);
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 15px 45px rgba(212, 255, 0, 0.25);
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.btn-cyber {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-button);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-cyber:active {
  transform: scale(0.97);
}

/* Signature Neon Lime Action Button */
.btn-lime {
  background: var(--neon-lime);
  color: var(--text-dark);
  box-shadow: 0 4px 20px var(--neon-lime-glow);
}

.btn-lime:hover {
  background: var(--neon-lime-hover);
  box-shadow: 0 6px 28px rgba(212, 255, 0, 0.5);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--bg-surface-elevated);
  color: #fff;
  border: 1px solid var(--border-cyber);
}

.btn-dark:hover {
  background: #252b36;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-cyber svg,
button svg {
  width: 1.25rem !important;
  height: 1.25rem !important;
  max-width: 1.25rem !important;
  max-height: 1.25rem !important;
  flex-shrink: 0 !important;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  display: inline-block;
  vertical-align: middle;
}

/* Hide legacy live-pill elements */
.live-pill {
  display: none !important;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-lime);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-lime);
  animation: live-blink 1.2s infinite;
}

@keyframes live-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ==========================================================================
   Input Controls
   ========================================================================== */
.form-input-cyber {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1.15rem;
  font-family: var(--font-body);
  background: var(--bg-surface);
  border: 2px solid var(--border-cyber);
  border-radius: var(--radius-button);
  color: #fff;
  outline: none;
  transition: all 0.2s ease;
}

.form-input-cyber:focus {
  border-color: var(--neon-lime);
  background: #181d26;
  box-shadow: 0 0 0 4px var(--neon-lime-dim);
}

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

/* ==========================================================================
   4 Gaming Answer Tiles (Asymmetric Cyber Cards)
   ========================================================================== */
.player-tiles-cyber {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  width: 100%;
  height: 100%;
}

.tile-cyber-btn {
  min-height: 120px;
  border: 2px solid transparent;
  border-radius: var(--radius-card);
  color: #fff;
  font-family: var(--font-display);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.1s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease, filter 0.2s ease;
  padding: 1.25rem;
}

.tile-cyber-btn:active {
  transform: scale(0.95);
}

.tile-cyber-btn .tile-cyber-glyph {
  font-size: 3.2rem;
  line-height: 1;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.tile-cyber-btn .tile-cyber-label {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1.25;
}

/* Asymmetric corner styling for gaming feel */
.tile-cyber-0 {
  background: linear-gradient(135deg, #FF2A55 0%, #D81B43 100%);
  border-radius: 28px 12px 12px 12px;
  box-shadow: 0 8px 24px var(--tile-red-glow);
}

.tile-cyber-1 {
  background: linear-gradient(135deg, #0088FF 0%, #0066CC 100%);
  border-radius: 12px 28px 12px 12px;
  box-shadow: 0 8px 24px var(--tile-blue-glow);
}

.tile-cyber-2 {
  background: linear-gradient(135deg, #FFB800 0%, #D49A00 100%);
  border-radius: 12px 12px 12px 28px;
  box-shadow: 0 8px 24px var(--tile-yellow-glow);
}

.tile-cyber-3 {
  background: linear-gradient(135deg, #00E676 0%, #00B359 100%);
  border-radius: 12px 12px 28px 12px;
  box-shadow: 0 8px 24px var(--tile-green-glow);
}

.tile-cyber-btn.selected {
  outline: 4px solid #FFFFFF;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.8);
  transform: scale(1.02);
}

.tile-cyber-btn.correct-cyber {
  outline: 5px solid var(--neon-lime);
  box-shadow: 0 0 40px var(--neon-lime);
  animation: pulse-cyber 1s infinite alternate;
}

.tile-cyber-btn.dimmed {
  opacity: 0.25;
  filter: grayscale(0.7);
  pointer-events: none;
}

@keyframes pulse-cyber {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}

/* ==========================================================================
   Streamo Curved Bottom Navigation Tray
   ========================================================================== */
.bottom-cyber-bar {
  background: var(--neon-lime);
  color: var(--text-dark);
  border-radius: 36px 36px 0 0;
  padding: 1.25rem 2rem 1.5rem 2rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
  z-index: 50;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.bottom-cyber-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-dark);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform 0.15s ease;
}

.bottom-cyber-item:active {
  transform: scale(0.9);
}

.bottom-cyber-icon {
  font-size: 1.4rem;
  line-height: 1;
}

/* ==========================================================================
   Timer Clock & Badges
   ========================================================================== */
.cyber-timer-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 3px solid var(--neon-lime);
  color: var(--neon-lime);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px var(--neon-lime-glow);
  transition: all 0.3s ease;
}

.cyber-timer-ring.hurry {
  border-color: var(--tile-red);
  color: var(--tile-red);
  box-shadow: 0 0 35px var(--tile-red-glow);
  animation: timer-alarm 0.5s infinite alternate;
}

@keyframes timer-alarm {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

/* ==========================================================================
   Podium 3D Component with Neon Accents
   ========================================================================== */
.cyber-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.25rem;
  height: 380px;
  max-width: 650px;
  margin: 2rem auto;
}

.podium-pillar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.podium-box {
  width: 100%;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-dark);
  box-shadow: var(--shadow-cyber);
}

.podium-rank-1 .podium-box {
  height: 220px;
  background: var(--neon-lime);
  box-shadow: 0 0 35px var(--neon-lime-glow);
}

.podium-rank-2 .podium-box {
  height: 160px;
  background: #E0E6ED;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

.podium-rank-3 .podium-box {
  height: 110px;
  background: #FF9F43;
  box-shadow: 0 0 25px rgba(255, 159, 67, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }
  .player-tiles-cyber {
    grid-template-columns: 1fr;
  }
  .tile-cyber-btn {
    min-height: 85px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 1rem 1.5rem;
    gap: 1rem;
  }
  .tile-cyber-btn .tile-cyber-glyph {
    font-size: 2.2rem;
    margin-bottom: 0;
  }
  .tile-cyber-btn .tile-cyber-label {
    text-align: left;
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   Modern SVG Icons System (Replacing Emojis)
   ========================================================================== */
.icon-svg {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.18em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon-svg.filled {
  fill: currentColor;
  stroke: none;
}

.icon-svg-sm {
  width: 0.95em;
  height: 0.95em;
}

.icon-svg-lg {
  width: 1.8rem;
  height: 1.8rem;
}

.icon-svg-xl {
  width: 3.25rem;
  height: 3.25rem;
}

/* ==========================================================================
   Esports Cyber Leaderboard & Data Table Design System
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 0.75rem;
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

.table-responsive::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 3px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: rgba(212, 255, 0, 0.35);
  border-radius: 3px;
}

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.5rem;
  margin: 0;
  text-align: left;
}

.data-table thead th {
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.75rem 1.15rem;
  border: none;
  white-space: nowrap;
}

.data-table tbody tr.row-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-cyber);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.data-table tbody tr.row-card:hover {
  background: rgba(26, 30, 38, 0.95);
  border-color: rgba(212, 255, 0, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 255, 0, 0.08);
  transform: translateX(4px);
}

.data-table tbody tr.row-card.highlight-me {
  background: rgba(212, 255, 0, 0.09) !important;
  border: 2px solid var(--neon-lime) !important;
  box-shadow: 0 0 20px rgba(212, 255, 0, 0.2) !important;
}

.data-table td {
  padding: 1rem 1.15rem;
  vertical-align: middle;
  font-size: 0.95rem;
  color: #fff;
  border: none;
  white-space: nowrap;
}

.data-table td:first-child {
  border-top-left-radius: var(--radius-button);
  border-bottom-left-radius: var(--radius-button);
  border-left: 1px solid var(--border-cyber);
}

.data-table td:last-child {
  border-top-right-radius: var(--radius-button);
  border-bottom-right-radius: var(--radius-button);
  border-right: 1px solid var(--border-cyber);
}

.data-table tbody tr.row-card td {
  border-top: 1px solid var(--border-cyber);
  border-bottom: 1px solid var(--border-cyber);
}

.data-table tbody tr.row-card:hover td {
  border-color: rgba(212, 255, 0, 0.35);
}

/* Rank Badges */
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.55rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.95rem;
  gap: 0.35rem;
  line-height: 1;
}

.rank-badge.rank-1 {
  background: linear-gradient(135deg, #FFD700 0%, #FF9500 100%);
  color: #0A0C0F;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.5);
  border: 1px solid #FFE680;
}

.rank-badge.rank-2 {
  background: linear-gradient(135deg, #F0F3F7 0%, #9AA5B1 100%);
  color: #0A0C0F;
  box-shadow: 0 0 14px rgba(240, 243, 247, 0.35);
  border: 1px solid #FFFFFF;
}

.rank-badge.rank-3 {
  background: linear-gradient(135deg, #FF9F43 0%, #CD7F32 100%);
  color: #0A0C0F;
  box-shadow: 0 0 14px rgba(255, 159, 67, 0.4);
  border: 1px solid #FFAE66;
}

.rank-badge.rank-other {
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-cyber);
}

/* Contender Display */
.contender-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.contender-avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-cyber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.contender-name-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
  color: #fff;
}

.score-cyber {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--neon-lime);
  text-shadow: 0 0 12px var(--neon-lime-glow);
  letter-spacing: 0.5px;
}

.accuracy-pill {
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  display: inline-block;
  line-height: 1;
}

.accuracy-pill.accuracy-high {
  background: rgba(0, 230, 118, 0.15);
  color: #00E676;
  border: 1px solid rgba(0, 230, 118, 0.35);
}

.accuracy-pill.accuracy-mid {
  background: rgba(255, 184, 0, 0.15);
  color: #FFB800;
  border: 1px solid rgba(255, 184, 0, 0.35);
}

.accuracy-pill.accuracy-low {
  background: rgba(255, 42, 85, 0.15);
  color: #FF2A55;
  border: 1px solid rgba(255, 42, 85, 0.35);
}

.streak-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: #FFA502;
}

/* Modal Overlay & Card Enhancements */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  padding: 1.5rem;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

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

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-cyber-active);
  border-radius: var(--radius-card);
  padding: 2.25rem;
  width: 100%;
  max-width: 980px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(212, 255, 0, 0.1);
  position: relative;
  animation: popIn 0.25s ease;
}

/* ==========================================================================
   Lobby & Stadium QR Code Styles (Esports Arena)
   ========================================================================== */
.lobby-join-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(26, 30, 38, 0.95) 0%, rgba(18, 21, 27, 0.98) 100%);
  border: 2px solid var(--neon-lime);
  box-shadow: 0 0 35px rgba(212, 255, 0, 0.15), var(--shadow-cyber);
  border-radius: var(--radius-streamo);
  padding: 2.25rem;
  margin-bottom: 2rem;
  align-items: center;
}

@media (max-width: 860px) {
  .lobby-join-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.lobby-access-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lobby-pin-banner {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-cyber-active);
  border-radius: var(--radius-button);
  padding: 1.25rem 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.lobby-pin-value {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 8px;
  color: var(--neon-lime);
  text-shadow: 0 0 25px var(--neon-lime-glow);
  line-height: 1;
}

.lobby-qr-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 0 30px rgba(212, 255, 0, 0.35), 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
}

.lobby-qr-card canvas,
.lobby-qr-card img {
  display: block;
  border-radius: 6px;
}

.lobby-qr-caption {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: #0A0C0F;
  margin-top: 8px;
  text-transform: uppercase;
}

/* Stadium Top HUD QR Badge */
.stadium-qr-badge {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-cyber-active);
  border-radius: var(--radius-button);
  padding: 0.4rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #FFFFFF;
}

.stadium-qr-badge:hover {
  border-color: var(--neon-lime);
  box-shadow: 0 0 18px var(--neon-lime-glow);
  transform: translateY(-1px);
}

.stadium-mini-qr {
  background: #FFFFFF;
  padding: 3px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
}

.stadium-mini-qr canvas,
.stadium-mini-qr img {
  display: block;
  width: 32px;
  height: 32px;
}

/* Multi-session Tournament Card QR Box */
.deck-card-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-surface-elevated);
  border: 1.5px solid var(--border-cyber-active);
  border-radius: var(--radius-button);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.deck-card-qr {
  background: #FFFFFF;
  padding: 6px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(212, 255, 0, 0.25);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.deck-card-qr canvas,
.deck-card-qr img {
  display: block;
  border-radius: 4px;
}


