/**
 * Neon Nebula — plain CSS port of the Tailwind design.
 * Palette names track the original Tailwind tokens (slate-950, indigo-600, ...).
 */

:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --indigo-600: #4f46e5;
  --indigo-500: #6366f1;
  --indigo-400: #818cf8;
  --indigo-300: #a5b4fc;
  --purple-700: #7e22ce;
  --emerald-800: #065f46;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --rose-600: #e11d48;
  --rose-500: #f43f5e;
  --rose-400: #fb7185;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --amber-400: #fbbf24;
  --font-display: "Orbitron", sans-serif;
  --font-sans: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  background: var(--slate-950);
  color: var(--slate-200);
  font-family: var(--font-sans);
  overflow: hidden;
}

.hidden {
  display: none !important;
}

.app {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--slate-950);
  user-select: none;
  touch-action: none;
}

/* --- Background --- */

.nebula {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
}

.nebula-blob {
  position: absolute;
  border-radius: 9999px;
  mix-blend-mode: screen;
  filter: blur(120px);
}

.nebula-indigo {
  top: -10%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: var(--indigo-600);
}

.nebula-purple {
  bottom: 10%;
  right: -5%;
  width: 50%;
  height: 50%;
  background: var(--purple-700);
}

.nebula-emerald {
  top: 40%;
  left: 30%;
  width: 40%;
  height: 40%;
  background: var(--emerald-800);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: radial-gradient(circle, #ffffff 1px, transparent 1px);
  background-size: 40px 40px;
}

.game-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #09090b;
  cursor: none;
  outline: none;
}

/* --- Shared surfaces --- */

.frosted-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.neon-text-cyan {
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
}

.neon-text-magenta {
  text-shadow: 0 0 8px rgba(255, 0, 255, 0.6);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}

.icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- HUD --- */

.hud {
  position: absolute;
  inset: 0;
  z-index: 10;
  padding: 1.5rem;
  pointer-events: none;
}

.hud-inner {
  max-width: 80rem;
  margin: 0 auto;
  height: 100%;
}

.hud-bar {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  border-radius: 1rem;
  pointer-events: auto;
}

.hud-group {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hud-group-tight {
  gap: 2rem;
}

.hud-group-right {
  gap: 1.5rem;
}

.hud-divider {
  width: 1px;
  height: 2rem;
  background: rgba(255, 255, 255, 0.1);
}

.stack {
  display: flex;
  flex-direction: column;
}

.label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--slate-400);
}

.label-indigo {
  color: var(--indigo-300);
}

.terminal-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
  color: #fff;
}

.stat-score {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cyan-400);
}

.stat-high {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--amber-400);
}

.hull {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  width: 12rem;
}

.hull-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-400);
}

.hull-ok {
  color: var(--emerald-400);
}

.hull-critical {
  color: var(--rose-500);
}

.hull-track {
  width: 100%;
  height: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
}

.hull-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(to right, var(--emerald-500), var(--cyan-500));
  transition: width 0.3s ease;
}

.hull-fill.critical {
  background: var(--rose-500);
}

.icon-button {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  display: flex;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* --- Settings launcher --- */

.settings-btn {
  position: fixed;
  top: 1.25rem;
  left: 1.25rem;
  /* Above the menu/pause overlays so flight controls stay reachable from any screen */
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--slate-200);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.settings-btn:hover {
  background: #1e293b;
  color: #fff;
}

.settings-btn .gear {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--cyan-400);
  transition: transform 0.3s ease;
}

.settings-btn:hover .gear {
  transform: rotate(45deg);
}

.settings-btn-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

@media (max-width: 640px) {
  .settings-btn-text {
    display: none;
  }
}

/* --- Overlays --- */

.overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fade-in 0.25s ease both;
}

.overlay-start {
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow-y: auto;
}

.overlay-gameover {
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}

.overlay-pause {
  z-index: 40;
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.overlay-settings {
  position: fixed;
  z-index: 70; /* above the settings launcher itself */
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.panel {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.panel-start {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 36rem;
  width: 100%;
  padding: 3rem;
  border-radius: 3rem;
  margin: auto;
}

.panel-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  background: rgba(6, 182, 212, 0.2);
  border-radius: 9999px;
  filter: blur(48px);
  transform: translate(50%, -50%);
}

.menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#menu-two-player,
#menu-cpu {
  animation: slide-in 0.3s ease both;
}

.title-block {
  position: relative;
}

.title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 4.5rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #fff;
  margin-bottom: 0.5rem;
}

.title-sm {
  font-size: 3rem;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .title {
    font-size: 6rem;
  }
  .title-sm {
    font-size: 3.75rem;
  }
}

.title-rule {
  height: 4px;
  width: 6rem;
  margin: 0 auto 1.5rem;
}

.title-sm + .title-rule {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.title-rule-cyan {
  background: linear-gradient(to right, var(--cyan-500), var(--indigo-600));
}

.title-rule-indigo {
  background: linear-gradient(to right, var(--indigo-500), #a855f7);
}

.title-rule-rose {
  background: linear-gradient(to right, var(--rose-500), #f59e0b);
}

.subtitle {
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

#menu-two-player .subtitle,
#menu-cpu .subtitle {
  letter-spacing: 0.25em;
  margin-bottom: 2.5rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  padding: 0 1rem;
  margin-bottom: 4rem;
}

.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  animation: rise-in 0.4s ease both;
}

.pillar:nth-child(2) {
  animation-delay: 0.1s;
}

.pillar:nth-child(3) {
  animation-delay: 0.2s;
}

.pillar-icon {
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  display: flex;
}

.pillar-icon .icon {
  width: 2rem;
  height: 2rem;
}

.pillar-indigo {
  background: rgba(99, 102, 241, 0.1);
  color: var(--indigo-400);
}

.pillar-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald-400);
}

.pillar-amber {
  background: rgba(251, 191, 36, 0.1);
  color: var(--amber-400);
}

.pillar-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-500);
  font-weight: 900;
}

/* Compact the start panel so every mode button fits on short viewports */
@media (max-height: 1000px) {
  .panel-start {
    padding: 2rem;
    border-radius: 2rem;
  }

  .title {
    font-size: 3.5rem;
  }

  .title-sm {
    font-size: 2.25rem;
  }

  .subtitle {
    margin-bottom: 1.5rem;
  }

  #menu-two-player .subtitle,
  #menu-cpu .subtitle {
    margin-bottom: 1.5rem;
  }

  .pillars {
    gap: 1rem;
    margin-bottom: 1.75rem;
  }

  .pillar-icon {
    padding: 0.875rem;
  }

  .pillar-icon .icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .btn-stack,
  .difficulty-buttons {
    gap: 0.625rem;
  }

  .btn {
    padding: 0.75rem 2.5rem;
    font-size: 1rem;
  }

  .btn-medium,
  .btn-super {
    padding: 0.875rem 2.5rem;
    font-size: 1.125rem;
  }
}

/* --- Buttons --- */

.btn-stack,
.difficulty-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 2.5rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.125rem;
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: scale(1.02);
}

.btn:active {
  transform: scale(0.98);
}

.btn-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 1s ease;
  pointer-events: none;
}

.btn:hover .btn-sheen {
  transform: translateX(100%);
}

.btn-emerald {
  background: var(--emerald-600);
  border-color: rgba(52, 211, 153, 0.3);
  box-shadow: 0 20px 25px -5px rgba(2, 44, 34, 0.3);
}

.btn-emerald:hover {
  background: rgba(16, 185, 129, 0.9);
}

.btn-indigo {
  background: var(--indigo-600);
  border-color: rgba(129, 140, 248, 0.3);
  box-shadow: 0 25px 50px -12px rgba(30, 27, 75, 0.5);
}

.btn-indigo:hover {
  background: rgba(79, 70, 229, 0.9);
}

.btn-rose {
  background: var(--rose-600);
  border-color: rgba(251, 113, 133, 0.3);
  box-shadow: 0 20px 25px -5px rgba(76, 5, 25, 0.3);
}

.btn-rose:hover {
  background: rgba(225, 29, 72, 0.9);
}

.btn-super {
  background: #09090b;
  color: var(--rose-600);
  font-size: 1.25rem;
  border: 2px solid var(--rose-600);
  box-shadow: 0 25px 50px -12px rgba(136, 19, 55, 0.5);
}

.btn-super:hover {
  background: rgb(30, 0, 0);
  transform: scale(1.05);
}

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

.btn-super .btn-sheen {
  background: rgba(225, 29, 72, 0.1);
  transform: none;
  transition: background 0.2s ease;
}

.btn-super:hover .btn-sheen {
  background: rgba(225, 29, 72, 0.3);
  transform: none;
}

.btn-super .icon {
  color: var(--rose-500);
  fill: currentColor;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.btn-medium {
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
}

.btn-ghost-indigo {
  background: rgba(99, 102, 241, 0.2);
  color: var(--indigo-400);
  border-color: rgba(129, 140, 248, 0.3);
  box-shadow: 0 20px 25px -5px rgba(30, 27, 75, 0.2);
}

.btn-ghost-indigo:hover {
  background: rgba(99, 102, 241, 0.9);
  color: #fff;
}

.btn-ghost-rose {
  background: rgba(244, 63, 94, 0.2);
  color: var(--rose-400);
  border-color: rgba(251, 113, 133, 0.3);
  box-shadow: 0 20px 25px -5px rgba(76, 5, 25, 0.2);
}

.btn-ghost-rose:hover {
  background: rgba(244, 63, 94, 0.9);
  color: #fff;
}

.btn-muted {
  background: rgba(255, 255, 255, 0.05);
  color: var(--slate-400);
  border-color: rgba(255, 255, 255, 0.1);
  font-weight: 700;
}

.btn-muted:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-cyan {
  background: var(--cyan-500);
  color: var(--slate-950);
  box-shadow: 0 10px 15px -3px rgba(8, 51, 68, 0.5);
}

.btn-cyan:hover {
  background: var(--cyan-400);
}

.btn-lg {
  padding: 1.25rem 4rem;
  font-size: 1.25rem;
}

.btn-sm {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  border-radius: 0.75rem;
}

.btn-flex-1 {
  flex: 1;
}

.btn-flex-2 {
  flex: 2;
}

.back-btn {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--slate-400);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease;
}

.back-btn:hover {
  color: #fff;
}

.back-btn .icon {
  width: 1rem;
  height: 1rem;
}

/* --- Game Over --- */

.panel-gameover {
  text-align: center;
  padding: 3rem;
  border-radius: 2.5rem;
  border-color: rgba(244, 63, 94, 0.3);
  max-width: 32rem;
  width: 100%;
}

.panel-topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, transparent, rgba(244, 63, 94, 0.5), transparent);
}

.gameover-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  color: #fff;
  margin-bottom: 0.5rem;
}

.gameover-sub {
  color: rgba(251, 113, 133, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.score-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.3);
}

.score-card-label {
  color: var(--slate-500);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.score-card-value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.75rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(to bottom, #fff, var(--slate-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.score-card-rule {
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.score-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.score-card-key {
  color: var(--slate-500);
  font-weight: 700;
}

.score-card-peak {
  color: var(--cyan-400);
  font-weight: 900;
}

.button-row {
  display: flex;
  gap: 1rem;
}

/* Tighter than the menu buttons so both labels stay on one line */
.button-row .btn {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  gap: 0.75rem;
  font-size: 0.9375rem;
  white-space: nowrap;
}

/* --- Pause --- */

.panel-pause {
  text-align: center;
  padding: 4rem;
  border-radius: 3rem;
}

.pause-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 4.5rem;
  letter-spacing: -0.05em;
  color: #fff;
  margin-bottom: 1rem;
}

.pause-sub {
  color: var(--indigo-300);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 3rem;
}

/* --- Settings modal --- */

.panel-settings {
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 32rem;
  width: 100%;
  animation: rise-in 0.25s ease both;
}

.settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.settings-header-icon {
  padding: 0.625rem;
  border-radius: 0.75rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--cyan-400);
  display: flex;
}

.settings-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: #fff;
  text-align: left;
}

.settings-subtitle {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-400);
  font-weight: 700;
  text-align: left;
}

.close-btn {
  padding: 0.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--slate-400);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  display: flex;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.settings-section {
  margin-bottom: 2rem;
}

.settings-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-300);
  margin-bottom: 0.75rem;
}

.control-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.control-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 1rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--slate-400);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.control-option:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--slate-200);
}

.control-option.selected {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--cyan-400);
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(8, 51, 68, 0.4), 0 0 0 1px rgba(34, 211, 238, 0.5);
}

.control-option-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.control-option-icon {
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--slate-400);
  display: flex;
}

.control-option.selected .control-option-icon {
  background: var(--cyan-500);
  color: var(--slate-950);
}

.control-option-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.control-option-title span {
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
}

.control-option-badge {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  background: rgba(6, 182, 212, 0.2);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.control-option-desc {
  font-size: 0.75rem;
  color: var(--slate-400);
  margin-top: 0.125rem;
}

.control-option-check {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: var(--cyan-400);
  color: var(--slate-950);
  display: none;
  align-items: center;
  justify-content: center;
}

.control-option.selected .control-option-check {
  display: flex;
}

.control-option-check .icon {
  width: 1rem;
  height: 1rem;
  stroke-width: 3;
}

.settings-footer {
  display: flex;
  justify-content: flex-end;
}
