:root {
  --canvas-dark: #07080a;
  --surface-pane: #0d0f14;
  --surface-elevated: #141720;
  --surface-card: #181c26;
  --surface-glass: rgba(13, 15, 20, 0.85);

  --hairline-subtle: rgba(255, 255, 255, 0.08);
  --hairline-active: rgba(255, 255, 255, 0.2);
  --hairline-focus: #ffffff;

  --primary-blue: #0070d1;
  --primary-blue-pressed: #005bb5;
  --accent-electric: #38bdf8;
  --accent-victor: #10b981;
  --accent-victor-glow: rgba(16, 185, 129, 0.24);
  --accent-defeated: #ef4444;
  --accent-defeated-glow: rgba(239, 68, 68, 0.22);
  --accent-gold: #f59e0b;

  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --ease-tactile: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: var(--canvas-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  flex-direction: column;
}

/* Header */
.app-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  pointer-events: none;
}

.brand-group {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.roster-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.roster-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.pulse-beacon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-victor);
  box-shadow: 0 0 10px var(--accent-victor);
  animation: pulseBeacon 2.2s infinite ease-in-out;
}

@keyframes pulseBeacon {
  0%, 100% {
    opacity: 0.45;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

.brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.logo-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

/* Command-Palette Style Question Marquee (Raycast Inspired) */
.question-marquee {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--surface-glass);
  border: 1px solid var(--hairline-subtle);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 8px 26px;
  border-radius: var(--radius-pill);
  max-width: 620px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}

.category-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-electric);
  letter-spacing: 0.02em;
}

.question-heading {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-top: 1px;
}

/* Header Controls & Streak Counters */
.header-controls {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-glass);
  border: 1px solid var(--hairline-subtle);
  backdrop-filter: blur(20px);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.stat-label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  font-feature-settings: "tnum";
}

.best-pill .stat-number {
  color: var(--accent-gold);
}

.control-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-glass);
  border: 1px solid var(--hairline-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(20px);
  transition: transform 0.2s var(--ease-tactile), border-color 0.2s ease, background 0.2s ease;
}

.control-btn:hover {
  background: var(--surface-elevated);
  border-color: var(--hairline-active);
  transform: scale(1.06);
}

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

/* --------------------------------------------------------------------------
   BATTLE ARENA: 50/50 SPLIT SCREEN
   -------------------------------------------------------------------------- */
.battle-arena {
  flex: 1;
  width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
  background: var(--canvas-dark);
}

.fighter-pane {
  flex: 1;
  position: relative;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 44px 38px;
  background: var(--surface-pane);
  transition: filter 0.35s ease, opacity 0.35s ease, transform 0.25s var(--ease-tactile);
}

.fighter-pane:focus-visible {
  outline: 2px solid var(--hairline-focus);
  outline-offset: -2px;
}

/* Ambient Character Energy Glow */
.fighter-ambient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.65;
  background: radial-gradient(circle at 50% 45%, var(--fighter-ambient, rgba(56, 189, 248, 0.2)) 0%, transparent 68%);
  transition: opacity 0.5s ease;
}

.fighter-pane:hover .fighter-ambient {
  opacity: 1;
}

/* High-Resolution Character Showcase Stage (PlayStation Character Presentation) */
.fighter-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  overflow: hidden;
  padding-bottom: 95px;
  pointer-events: none;
}

.fighter-render {
  width: 100%;
  height: 100%;
  max-width: 88%;
  max-height: 74vh;
  min-height: 380px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.85));
  transition: transform 0.65s var(--ease-out), filter 0.35s ease, opacity 0.22s ease;
  transform: scale(1);
  opacity: 1;
  will-change: transform, opacity;
  image-rendering: -webkit-optimize-contrast;
}

.fighter-render.is-swapping {
  opacity: 0.15;
  transform: scale(0.97);
}

.fighter-render.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.fighter-pane:hover .fighter-render {
  transform: scale(1.035) translateY(-6px);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.95));
}

/* Cinematic Scrim Vignette for High Text Legibility */
.fighter-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    to top,
    rgba(7, 8, 10, 0.98) 0%,
    rgba(7, 8, 10, 0.85) 18%,
    rgba(7, 8, 10, 0.22) 48%,
    rgba(7, 8, 10, 0.12) 75%,
    rgba(7, 8, 10, 0.5) 100%
  );
  pointer-events: none;
}

/* Fighter HUD Content */
.fighter-hud {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 520px;
}

.series-badge {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
}

.fighter-name {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.85);
}

.fighter-tagline {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-secondary);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

/* Metric Drawer (Revealed Post-Selection) */
.metric-drawer {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface-glass);
  border: 1px solid var(--hairline-subtle);
  backdrop-filter: blur(24px);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  width: fit-content;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.32s var(--ease-out), transform 0.32s var(--ease-out), border-color 0.3s ease;
}

.metric-drawer.show {
  opacity: 1;
  transform: translateY(0);
}

.metric-verdict {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.metric-data {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.metric-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  font-feature-settings: "tnum";
}

/* Selection Hint Pill */
.choose-prompt {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.65;
  transition: opacity 0.2s ease;
}

.fighter-pane:hover .choose-prompt {
  opacity: 1;
}

.prompt-kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 2px 7px;
  color: #ffffff;
}

.prompt-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   CENTER VS LASER DIVIDER & METALLIC BADGE
   -------------------------------------------------------------------------- */
.arena-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.16) 20%,
    rgba(255, 255, 255, 0.16) 80%,
    transparent 100%
  );
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.vs-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #101319;
  border: 1.5px solid var(--hairline-active);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
  transition: transform 0.3s var(--ease-tactile);
}

.vs-badge span {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   RESOLVE STATES: VICTOR VS DEFEATED
   -------------------------------------------------------------------------- */
.fighter-pane.is-disabled {
  pointer-events: none;
}

.fighter-pane.is-victor {
  border-color: var(--accent-victor);
}

.fighter-pane.is-victor .metric-drawer {
  border-color: var(--accent-victor);
  box-shadow: 0 0 25px var(--accent-victor-glow);
}

.fighter-pane.is-victor .metric-verdict {
  background: var(--accent-victor);
  color: #07080a;
}

.fighter-pane.is-defeated {
  filter: grayscale(0.7) brightness(0.65);
}

.fighter-pane.is-defeated .metric-drawer {
  border-color: var(--accent-defeated);
}

.fighter-pane.is-defeated .metric-verdict {
  background: var(--accent-defeated);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   SCIENTIFIC VERDICT BOTTOM BANNER (Raycast Command Drawer Inspired)
   -------------------------------------------------------------------------- */
.verdict-banner {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(45px);
  z-index: 45;
  background: rgba(13, 16, 22, 0.96);
  border: 1px solid var(--hairline-active);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  max-width: 680px;
  width: calc(100% - 48px);
  overflow: hidden;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.36s var(--ease-out), opacity 0.3s ease;
}

.verdict-banner.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.verdict-content {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.verdict-status-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.verdict-chip {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

.verdict-chip.correct {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid var(--accent-victor);
  color: var(--accent-victor);
}

.verdict-chip.wrong {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid var(--accent-defeated);
  color: var(--accent-defeated);
}

.verdict-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.verdict-body {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.verdict-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.verdict-progress-bar {
  width: 100%;
  height: 100%;
  background: var(--accent-electric);
  transform-origin: left center;
  transform: scaleX(1);
}

/* Game Over Modal */
.gameover-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 6, 8, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gameover-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.gameover-modal {
  background: var(--surface-card);
  border: 1px solid var(--hairline-active);
  border-radius: var(--radius-lg);
  max-width: 420px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 32px 85px rgba(0, 0, 0, 0.95);
  transform: scale(0.95);
  transition: transform 0.34s var(--ease-out);
}

.gameover-backdrop.show .gameover-modal {
  transform: scale(1);
}

.modal-poster-wrap {
  width: 100%;
  height: 220px;
  position: relative;
  background: #000000;
  overflow: hidden;
}

.modal-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.modal-poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--surface-card) 0%, rgba(24, 28, 38, 0.2) 60%, transparent 100%);
}

.modal-rank-badge {
  position: absolute;
  bottom: 14px;
  left: 20px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--hairline-active);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.modal-body {
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.modal-heading {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.modal-quote {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-secondary);
}

/* Scoreboard Matrix */
.score-scoreboard {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline-subtle);
  border-radius: var(--radius-md);
  padding: 12px 0;
}

.scoreboard-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.scoreboard-lbl {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.scoreboard-val {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  font-feature-settings: "tnum";
}

.scoreboard-val.current-val {
  color: #ffffff;
}

.scoreboard-val.best-val {
  color: var(--accent-gold);
}

.scoreboard-divider {
  width: 1px;
  height: 36px;
  background: var(--hairline-subtle);
}

/* Modal Actions */
.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-primary-action {
  width: 100%;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  background: var(--primary-blue);
  color: #ffffff;
  border: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 112, 209, 0.35);
  transition: transform 0.2s var(--ease-tactile), background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary-action:hover {
  background: var(--primary-blue-pressed);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 112, 209, 0.5);
}

.btn-primary-action:active {
  transform: translateY(0);
}

.btn-secondary-action {
  width: 100%;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hairline-subtle);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s var(--ease-tactile), background 0.2s ease;
}

.btn-secondary-action:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-kbd {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: inherit;
}

/* --------------------------------------------------------------------------
   TOAST NOTIFICATION
   -------------------------------------------------------------------------- */
.toast-card {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: #ffffff;
  color: #07080a;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  transition: transform 0.25s var(--ease-out), opacity 0.25s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

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

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (MOBILE & TABLET)
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .app-header {
    height: auto;
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 10px;
    background: linear-gradient(to bottom, rgba(7, 8, 10, 0.95), transparent);
  }

  .question-marquee {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin-top: 4px;
    padding: 6px 14px;
  }

  .question-heading {
    font-size: 14px;
  }

  .battle-arena {
    flex-direction: column;
  }

  .arena-divider {
    top: 50%;
    bottom: auto;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
    transform: translateY(-50%);
  }

  .fighter-pane {
    padding: 20px 18px;
  }

  .fighter-render {
    width: 100%;
    height: 38vh;
    max-height: 38vh;
    min-height: 180px;
    object-fit: contain;
  }

  .fighter-name {
    font-size: 22px;
  }

  .choose-prompt {
    display: none;
  }

  .metric-value {
    font-size: 16px;
  }
}


/* --------------------------------------------------------------------------
   INFO & HOW-TO-PLAY MODAL (Glassmorphic)
   -------------------------------------------------------------------------- */
.info-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 4, 7, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.info-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.info-modal {
  width: 100%;
  max-width: 580px;
  max-height: 85vh;
  background: var(--surface-card);
  border: 1px solid var(--hairline-active);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.3s var(--ease-out);
}

.info-backdrop.show .info-modal {
  transform: scale(1);
}

.info-modal-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--hairline-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
}

.info-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-electric);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-heading {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
}

.info-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background-color 0.2s;
}

.info-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.info-modal-scroll {
  padding: 22px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.6;
}

.info-modal-scroll::-webkit-scrollbar {
  width: 6px;
}

.info-modal-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
}

.info-section h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-section p {
  color: var(--text-secondary);
}

.info-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
}

.info-feature-list li {
  padding-left: 4px;
}

.info-feature-list strong {
  color: #ffffff;
}

.info-keys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
}

.key-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 12px;
}

.key-item kbd {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--hairline-active);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 11px;
  color: #ffffff;
}

.key-item span {
  color: var(--text-secondary);
}

.info-footer-text {
  font-size: 12px;
  color: var(--text-muted);
}

.info-footer-text a {
  color: var(--accent-electric);
  text-decoration: none;
}

.info-footer-text a:hover {
  text-decoration: underline;
}
