@import url("https://fonts.googleapis.com/css2?family=Audiowide&family=Inter:wght@400;700&display=swap");

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

:root {
  --bg-color: #050508;
  --panel-bg: rgba(20, 20, 30, 0.9);
  --accent-cyan: #00f3ff;
  --accent-pink: #ff00ff;
  --text-gray: rgba(156, 163, 175, 1);
  --text-gray-light: rgba(156, 163, 175, 0.8);
}

/* Utility Classes - Replace Tailwind */
.text-xs {
  font-size: 0.5625rem; /* 9px */
  line-height: 1.2;
}

.text-white {
  color: white;
}

.text-gray-500 {
  color: var(--text-gray);
}

.text-gray-400 {
  color: var(--text-gray-light);
}

.text-cyan-400 {
  color: var(--accent-cyan);
}

.text-pink-400 {
  color: var(--accent-pink);
}

.text-yellow-400 {
  color: #fbbf24;
}

.text-green-400 {
  color: #34d399;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.font-bold {
  font-weight: 700;
}

.text-lg {
  font-size: 1.125rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

/* Canvas sizing - must be inline for proper rendering */
#gameCanvas {
  display: block;
}

/* Progress bar width - use CSS custom properties */
.mode-progress-fill {
  transition: width 0.3s ease;
  width: var(--progress, 0%);
}

#spawnBar {
  transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: var(--progress, 0%);
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg-color);
  color: white;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  margin: 0;
  padding: 0;
}

.font-audiowide {
  font-family: "Audiowide", cursive;
}

#game-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background: url('../img/bg.png') center center / cover no-repeat;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#floor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: none;
}

/* Top Bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 12px;
  pointer-events: none;
  box-sizing: border-box;
}

.top-left {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  pointer-events: auto;
  flex: 1;
}

.top-center {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
  pointer-events: auto;
}

.top-right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 6px;
  flex: 1;
  pointer-events: auto;
}

.top-right-stats {
  display: none;
  flex-direction: row;
  gap: 6px;
  align-items: flex-start;
}

.score-section-landscape,
.goal-section-landscape {
  display: none;
}

.level-info {
  background: rgba(20, 20, 30, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 8px 12px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.game-control-btn {
  width: 40px;
  height: 40px;
  background: rgba(20, 20, 30, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-control-btn:hover {
  background: rgba(20, 20, 30, 1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
  transform: scale(1.05);
}

.score-section {
  background: rgba(20, 20, 30, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 12px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 4px;
  box-sizing: border-box;
  overflow: hidden;
}

.goal-section {
  background: rgba(20, 20, 30, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 12px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 4px;
  box-sizing: border-box;
  overflow: hidden;
}

/* Game Section - Wraps game board and energy flux */
#game-section {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  z-index: 10;
}

/* Container to keep HUD and Canvas together */
#game-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-shrink: 0;
}

/* Energy Flux Container - Below Game Board */
.energy-flux-container {
  position: relative;
  z-index: 20;
  pointer-events: none;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 0;
  flex-shrink: 0;
}

canvas {
  z-index: 10;
  border-radius: 16px;
  background: transparent;
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  cursor: pointer;
}


.score-val {
  font-size: 1rem;
  color: var(--accent-cyan);
  text-shadow: 0 0 15px rgba(0, 243, 255, 0.6);
  line-height: 1.2;
}

.goal-section #goalDisplay {
  font-size: 1rem;
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  text-align: center;
}

.spawn-indicator {
  width: 260px;
  text-align: center;
  margin: 0 auto;
  pointer-events: none;
}

.bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink));
  box-shadow: 0 0 15px var(--accent-cyan);
  transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal.active {
  opacity: 1;
  pointer-events: auto;
}

/* Fullscreen for start modal */
#startModal.active {
  background: transparent;
  backdrop-filter: none;
}

#startModal.active .level-select-modal {
  max-width: 100% !important;
  max-height: 100vh !important;
  width: 100vw !important;
  height: 100vh !important;
}


.modal-box {
  background: rgba(11, 27, 38, 0.85); /* #0B1B26 at 85% opacity */
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  padding: 24px;
  border-radius: 32px;
  text-align: center;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

/* Glass effect overlays for modal-box */
.modal-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.1) 30%,
    rgba(255, 255, 255, 0.05) 60%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

.modal-box::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.25) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
}

.modal-box > * {
  position: relative;
  z-index: 2;
}

/* Modal close button - top-right */
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 0;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}

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

/* Modal title styling */
.modal-box h1 {
  font-family: "Audiowide", cursive;
  font-weight: 900;
  color: white;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 2px 16px rgba(0, 0, 0, 0.6);
  letter-spacing: 1-2px;
}

.btn-action {
  background: var(--accent-cyan); /* #00F3FF */
  color: #000;
  padding: 16px 48px;
  border-radius: 14px;
  font-family: "Audiowide", cursive;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  width: 100%;
  font-size: 0.9rem;
}
.btn-action:hover {
  background: #00d9e6;
  box-shadow: 0 0 15px var(--accent-cyan);
  transform: translateY(-3px);
}


/* Level Selection Modal Styles - Home Screen (not a pop-up) */
.level-select-modal {
  max-width: 100% !important;
  max-height: 100vh !important;
  width: 100vw !important;
  height: 100vh !important;
  overflow-y: auto;
  position: fixed !important;
  inset: 0 !important;
  padding: 0;
  margin: 0;
  background-image: url('../img/bg.png') !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  border: none !important;
  border-radius: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.level-select-modal::before,
.level-select-modal::after {
  display: none !important;
}

.level-select-modal > * {
  position: relative;
  z-index: 1;
}

/* Level Complete Modal Styles */
.level-complete-modal {
  max-width: 420px;
  padding: 32px 28px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.7);
  background: rgba(11, 27, 38, 0.85); /* #0B1B26 at 85% opacity */
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.level-complete-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 243, 255, 0.2);
  flex-shrink: 0;
}

.level-complete-title {
  font-family: "Audiowide", cursive;
  font-size: 2rem;
  color: white;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 2px 16px rgba(0, 0, 0, 0.6);
  margin: 0;
  letter-spacing: 2px;
  font-weight: 900;
}

.level-complete-content {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-bottom: 28px;
  flex-shrink: 0;
}

.level-complete-objective {
  flex: 1;
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.level-complete-efficiency {
  flex: 1;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.level-complete-objective .stat-label,
.level-complete-efficiency .stat-label {
  font-family: "Audiowide", cursive;
  font-size: 0.875rem; /* 14px */
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.8),
    0 2px 12px rgba(0, 0, 0, 0.6);
}

.level-complete-objective .stat-value,
.level-complete-efficiency .stat-value {
  font-family: "Audiowide", cursive;
  font-size: 1.5rem; /* 24px */
  font-weight: 700;
  line-height: 1.2;
  color: white;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 2px 16px rgba(0, 0, 0, 0.6);
}

.level-complete-objective .stat-value {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.6);
}

.level-complete-efficiency .stat-value {
  color: #ffffff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.level-complete-buttons {
  display: flex;
  gap: 10px;
  width: 100%;
  flex-shrink: 0;
  margin-top: auto;
}

.btn-level-complete {
  flex: 1;
  padding: 14px 24px;
  border-radius: 10px;
  font-family: "Audiowide", cursive;
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-level-complete::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-level-complete:hover::before {
  left: 100%;
}

.btn-home {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  text-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.8),
    0 2px 12px rgba(0, 0, 0, 0.6);
}

.btn-home:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-next {
  background: var(--accent-cyan);
  color: #000;
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

.btn-next:hover {
  background: #00d9e6;
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.7), 0 0 40px rgba(0, 243, 255, 0.4);
  transform: translateY(-2px);
}

/* Game Over Modal Styles */
.game-over-modal {
  max-width: 420px;
  padding: 32px 28px 28px 28px;
  border: 2.5px solid #ff4444; /* Error state - red accent */
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.7);
  background: rgba(11, 27, 38, 0.85); /* #0B1B26 at 85% opacity */
  display: flex;
  flex-direction: column;
}

.game-over-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 68, 68, 0.2);
  flex-shrink: 0;
}

.game-over-title {
  font-family: "Audiowide", cursive;
  font-size: 2rem;
  color: #ff4444;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 2px 16px rgba(0, 0, 0, 0.6);
  margin: 0;
  letter-spacing: 2px;
  font-weight: 900;
}

.game-over-content {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.game-over-objective {
  flex: 1;
  background: rgba(255, 68, 68, 0.08);
  border: 1px solid rgba(255, 68, 68, 0.3);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100px;
}

.game-over-efficiency {
  flex: 1;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100px;
}

.game-over-objective .stat-label,
.game-over-efficiency .stat-label {
  font-family: "Audiowide", cursive;
  font-size: 0.875rem; /* 14px */
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.8),
    0 2px 12px rgba(0, 0, 0, 0.6);
}

.game-over-objective .stat-value,
.game-over-efficiency .stat-value {
  font-family: "Audiowide", cursive;
  font-size: 1.5rem; /* 24px */
  font-weight: 700;
  line-height: 1.2;
  color: white;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 2px 16px rgba(0, 0, 0, 0.6);
}

.game-over-objective .stat-value {
  color: #ff4444; /* Red accent for error state */
}

.game-over-buttons {
  display: flex;
  gap: 10px;
  width: 100%;
  flex-shrink: 0;
}

.btn-game-over {
  flex: 1;
  padding: 14px 24px;
  border-radius: 10px;
  font-family: "Audiowide", cursive;
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-game-over::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-game-over:hover::before {
  left: 100%;
}

.btn-game-over.btn-home {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  text-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.8),
    0 2px 12px rgba(0, 0, 0, 0.6);
}

.btn-game-over.btn-home:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-game-over.btn-play-again {
  background: #ff4444;
  color: #000;
  border: 1px solid #ff4444;
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.4);
}

.btn-game-over.btn-play-again:hover {
  background: #ff6666;
  box-shadow: 0 0 25px rgba(255, 68, 68, 0.7), 0 0 40px rgba(255, 68, 68, 0.4);
  transform: translateY(-2px);
}

.game-logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  flex-shrink: 0;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

.level-select-modal .game-logo-section {
  margin-bottom: 40px;
  padding: 20px 16px 0;
}

.game-logo-image {
  max-width: 338px;
  width: 338px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.game-modes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px;
  width: 100%;
  max-width: 382px;
  margin: 0 auto;
  justify-items: stretch;
  align-items: stretch;
  padding: 0 16px;
  box-sizing: border-box;
}

.mode-card {
  border-radius: 20px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  aspect-ratio: 1;
  min-height: 0;
}

/* Gradient backgrounds for each rank */
.mode-card.green {
  background: linear-gradient(135deg, #2dfa6a 0%, #11E951 60%, #0eb83d 100%);
  --card-color: #11E951;
}

.mode-card.cyan {
  background: linear-gradient(135deg, #2a7eff 0%, #0864FB 60%, #064cc9 100%);
  --card-color: #0864FB;
}

.mode-card.magenta {
  background: linear-gradient(135deg, #ff4d4d 0%, #F42D2D 60%, #c22323 100%);
  --card-color: #F42D2D;
}

.mode-card.yellow {
  background: linear-gradient(135deg, #fff733 0%, #FFF700 60%, #ccc600 100%);
  --card-color: #FFF700;
}

/* Box shadows - first row or fast mode cards (index <= 2) */
.mode-card:nth-child(1),
.mode-card:nth-child(2) {
  box-shadow: 0 3px 6px rgba(17, 233, 81, 0.25);
}

.mode-card.cyan:nth-child(1),
.mode-card.cyan:nth-child(2) {
  box-shadow: 0 3px 6px rgba(8, 100, 251, 0.25);
}

.mode-card.magenta:nth-child(1),
.mode-card.magenta:nth-child(2) {
  box-shadow: 0 3px 6px rgba(244, 45, 45, 0.25);
}

.mode-card.yellow:nth-child(1),
.mode-card.yellow:nth-child(2) {
  box-shadow: 0 3px 6px rgba(255, 247, 0, 0.25);
}

/* Box shadows - other cards (double shadow) */
.mode-card:nth-child(n+3) {
  box-shadow: 
    0 4px 10px rgba(17, 233, 81, 0.2),
    0 6px 15px rgba(17, 233, 81, 0.15);
}

.mode-card.cyan:nth-child(n+3) {
  box-shadow: 
    0 4px 10px rgba(8, 100, 251, 0.2),
    0 6px 15px rgba(8, 100, 251, 0.15);
}

.mode-card.magenta:nth-child(n+3) {
  box-shadow: 
    0 4px 10px rgba(244, 45, 45, 0.2),
    0 6px 15px rgba(244, 45, 45, 0.15);
}

.mode-card.yellow:nth-child(n+3) {
  box-shadow: 
    0 4px 10px rgba(255, 247, 0, 0.2),
    0 6px 15px rgba(255, 247, 0, 0.15);
}

/* Glass effect overlay - Full card linear gradient */
.mode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.1) 30%,
    rgba(255, 255, 255, 0.05) 60%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Radial gradient overlay - using a wrapper div */
.mode-card {
  position: relative;
}

.mode-card .glass-overlay {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.25) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 2;
}

/* Corner accent */
.mode-card .corner-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
  border-radius: 0 20px 0 34px; /* Top-right matches card, bottom-left is 1.67x */
  pointer-events: none;
  z-index: 2;
}

.mode-card:hover {
  transform: translateY(-5px);
}

.mode-card.locked {
  opacity: 0.4;
  cursor: not-allowed;
}

.mode-card.locked:hover {
  transform: none;
}

.mode-icon,
.mode-icon-inline {
  font-size: 2.55rem; /* ~41px, ~15% smaller than 48px */
  margin-bottom: 10px;
  color: white;
  display: inline-block;
  line-height: 1;
  position: relative;
  z-index: 3;
}

.mode-name {
  font-family: "Audiowide", cursive;
  font-size: 1.275rem; /* ~20px, ~15% smaller than 24px */
  color: white;
  margin-bottom: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
  line-height: 1.2;
  max-lines: 2;
  position: relative;
  z-index: 3;
  text-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.54),
    0 2px 12px rgba(0, 0, 0, 0.38);
}

.mode-progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1.5px;
  margin-bottom: 8px;
  overflow: hidden;
  position: relative;
  z-index: 3;
}

.mode-progress-fill {
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 1.5px;
  transition: width 0.3s;
}

.mode-progress-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  position: relative;
  z-index: 3;
}

/* Help Modal Styles */
.help-modal {
  max-width: 600px;
  max-height: 85vh;
  overflow: hidden;
  text-align: left;
}

.help-title {
  font-family: "Audiowide", cursive;
  font-size: 1.75rem; /* 28px */
  font-weight: 700;
  color: white;
  margin: 0 0 32px 0;
  text-align: center;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.8),
    0 2px 16px rgba(0, 0, 0, 0.6);
}

.help-content {
  margin: 0;
  padding: 0;
}

.help-instruction-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.help-instruction-item:last-child {
  margin-bottom: 0;
}

.help-icon-container {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 8px;
}

.help-icon-container i {
  font-size: 1.5rem; /* 24px */
  color: white;
}

.help-instruction-text {
  flex: 1;
}

.help-instruction-title {
  font-family: "Audiowide", cursive;
  font-size: 1.125rem; /* 18px */
  font-weight: 700;
  color: white;
  margin: 0 0 4px 0;
  text-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.8),
    0 2px 12px rgba(0, 0, 0, 0.6);
}

.help-instruction-description {
  font-size: 1rem; /* 16px */
  color: white;
  line-height: 1.5;
  margin: 0;
}

/* Help modal close button icon size */
.help-modal .modal-close-btn i {
  font-size: 1.75rem; /* 28px */
}

.tile-levels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.tile-level-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.tile-level-item i {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}


/* ============================================
   RESPONSIVE DESIGN - ALL BREAKPOINTS
   ============================================ */

/* Small Mobile (≤480px) */
@media screen and (max-width: 480px) {
  #game-section {
    transform: translate(-50%, -50%);
    padding: 0 8px;
    margin-top: 0;
  }

  #game-container {
    gap: 12px;
    padding: 8px;
    width: 100%;
    max-width: 100%;
  }

  .top-bar {
    padding: 6px 8px;
    flex-wrap: nowrap;
    align-items: center;
    min-height: 50px;
  }

  .top-left {
    flex: 0 0 auto;
    gap: 6px;
    min-width: 0;
  }

  .top-center {
    flex: 1 1 auto;
    gap: 6px;
    justify-content: center;
    min-width: 0;
    flex-wrap: nowrap;
  }

  .top-right {
    flex: 0 0 auto;
    gap: 6px;
    min-width: 0;
  }


  .level-info {
    padding: 5px 8px;
    height: 32px;
  }

  .level-info .text-lg {
    font-size: 0.8rem;
  }

  .game-control-btn {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .score-section,
  .goal-section {
    padding: 6px 8px;
    gap: 2px;
    min-width: 0;
    flex-shrink: 1;
  }

  .score-section .text-[9px],
  .goal-section .text-[9px] {
    font-size: 6px;
    line-height: 1.2;
  }

  .score-val {
    font-size: 0.85rem;
    line-height: 1.1;
  }

  .goal-section #goalDisplay {
    font-size: 0.8rem;
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .energy-flux-container {
    padding-top: 12px;
    width: 100%;
  }

  .spawn-indicator {
    width: 100%;
    max-width: 260px;
    margin: 6px auto 0;
  }

  .spawn-indicator .text-[9px] {
    font-size: 6px;
  }


  .bar-bg {
    height: 4px;
    margin-top: 4px;
  }

  .modal-box {
    padding: 20px 16px;
    border-radius: 20px;
    max-width: 95%;
    margin: 10px;
  }

  .level-complete-modal {
    padding: 24px 18px;
    max-width: 90%;
  }

  .level-complete-title {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }

  .level-complete-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .level-complete-content {
    flex-direction: row;
    gap: 10px;
    margin-bottom: 24px;
  }

  .level-complete-objective,
  .level-complete-efficiency {
    padding: 12px;
  }

  .level-complete-objective .stat-value,
  .level-complete-efficiency .stat-value {
    font-size: 1.25rem;
  }

  .btn-level-complete {
    padding: 12px 20px;
    font-size: 0.75rem;
  }

  .level-complete-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .game-over-modal {
    padding: 24px 18px;
    max-width: 90%;
  }

  .game-over-title {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }

  .game-over-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .game-over-content {
    flex-direction: row;
    gap: 10px;
    margin-bottom: 20px;
  }

  .game-over-objective,
  .game-over-efficiency {
    padding: 12px;
    min-height: 80px;
  }

  .game-over-objective .stat-value,
  .game-over-efficiency .stat-value {
    font-size: 1.25rem;
  }

  .btn-game-over {
    padding: 12px 20px;
    font-size: 0.75rem;
  }

  .game-over-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .modal-box h1 {
    font-size: 1.5rem !important;
  }

  .modal-box .text-5xl {
    font-size: 1.75rem !important;
  }

  .modal-box .text-4xl {
    font-size: 1.5rem !important;
  }

  .modal-box .text-3xl {
    font-size: 1.25rem !important;
  }

  .modal-box .text-6xl {
    font-size: 2rem !important;
  }

  .modal-box p {
    font-size: 0.7rem !important;
    margin-bottom: 16px !important;
  }

  /* Help Modal Responsive */
  .help-title {
    font-size: 1.25rem !important; /* 20px */
    margin-bottom: 24px;
  }

  .help-instruction-item {
    gap: 12px;
    margin-bottom: 16px;
  }

  .help-icon-container {
    width: 36px;
    height: 36px;
    padding: 6px;
  }

  .help-icon-container i {
    font-size: 1.25rem; /* 20px */
  }

  .help-instruction-title {
    font-size: 0.9375rem; /* 15px */
  }

  .help-instruction-description {
    font-size: 0.875rem; /* 14px */
  }

  .help-modal .modal-close-btn i {
    font-size: 1.25rem; /* 20px */
  }


  .btn-action {
    padding: 10px 24px;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
  }

  .level-select-modal {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    max-height: 100vh !important;
  }

  .game-modes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 100%;
    margin: 0 auto;
    justify-items: stretch;
    align-items: stretch;
    width: 100%;
    padding: 0 8px;
    box-sizing: border-box;
  }
  
  .game-logo-section {
    margin-bottom: 20px;
    padding: 20px 16px 0;
    box-sizing: border-box;
  }

  .mode-card {
    padding: 8px;
    border-radius: 18px;
    width: 100%;
    aspect-ratio: 1;
    min-height: 0;
    margin: 0;
  }

  .mode-icon {
    font-size: 2.5rem; /* 40px equivalent */
  }

  .mode-name {
    font-size: 1.375rem; /* 22px base */
    font-weight: 900;
  }
  
  .mode-card .corner-accent {
    width: 45px;
    height: 45px;
    border-radius: 0 18px 0 30px;
  }

  .game-logo-image {
    max-width: 320px;
    width: 320px;
  }
  
  .game-modes-grid {
    max-width: 100%;
    margin: 0 auto;
    justify-items: stretch;
    align-items: stretch;
    padding: 0 8px;
  }
  
  .mode-card {
    aspect-ratio: 1;
    min-height: 0;
  }
}

/* Mobile (≤640px) */
@media screen and (min-width: 481px) and (max-width: 640px) {
  #game-section {
    transform: translate(-50%, -50%);
    padding: 0 10px;
  }

  #game-container {
    gap: 14px;
    padding: 10px;
    width: 100%;
    max-width: 100%;
  }

  .top-bar {
    padding: 7px 10px;
    flex-wrap: nowrap;
    align-items: center;
    min-height: 52px;
  }

  .top-left {
    flex: 0 0 auto;
    gap: 7px;
    min-width: 0;
  }

  .top-center {
    flex: 1 1 auto;
    gap: 8px;
    justify-content: center;
    min-width: 0;
    flex-wrap: nowrap;
  }

  .top-right {
    flex: 0 0 auto;
    gap: 8px;
    min-width: 0;
  }

  .game-control-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .level-info {
    padding: 6px 10px;
    height: 36px;
  }

  .level-info .text-lg {
    font-size: 0.9rem;
  }

  .score-section,
  .goal-section {
    padding: 8px 10px;
    gap: 3px;
    min-width: 0;
    flex-shrink: 1;
  }

  .score-section .text-[9px],
  .goal-section .text-[9px] {
    font-size: 7px;
    line-height: 1.2;
  }

  .score-val {
    font-size: 0.9rem;
    line-height: 1.1;
  }

  .goal-section #goalDisplay {
    font-size: 0.85rem;
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .energy-flux-container {
    padding-top: 16px;
    width: 100%;
  }

  .spawn-indicator {
    width: 100%;
    max-width: 290px;
  }

  .spawn-indicator .text-[9px] {
    font-size: 7px;
  }

  .control-hint {
    font-size: 7px;
  }

  .bar-bg {
    height: 5px;
  }

  .modal-box {
    padding: 24px 20px;
    max-width: 90%;
    margin: 15px;
  }

  .level-complete-modal {
    padding: 28px 22px;
    max-width: 90%;
  }

  .level-complete-title {
    font-size: 1.75rem;
    letter-spacing: 2.5px;
  }

  .level-complete-header {
    margin-bottom: 22px;
    padding-bottom: 18px;
  }

  .level-complete-content {
    flex-direction: row;
    gap: 12px;
    margin-bottom: 26px;
  }

  .level-complete-objective,
  .level-complete-efficiency {
    padding: 14px;
  }

  .level-complete-objective .stat-value,
  .level-complete-efficiency .stat-value {
    font-size: 1.4rem;
  }

  .btn-level-complete {
    padding: 13px 22px;
    font-size: 0.8rem;
  }

  .level-complete-buttons {
    gap: 10px;
  }

  .game-over-modal {
    padding: 28px 22px;
    max-width: 90%;
  }

  .game-over-title {
    font-size: 1.75rem;
    letter-spacing: 2.5px;
  }

  .game-over-header {
    margin-bottom: 22px;
    padding-bottom: 18px;
  }

  .game-over-content {
    flex-direction: row;
    gap: 12px;
    margin-bottom: 20px;
  }

  .game-over-objective,
  .game-over-efficiency {
    padding: 14px;
    min-height: 90px;
  }

  .game-over-objective .stat-value,
  .game-over-efficiency .stat-value {
    font-size: 1.4rem;
  }

  .btn-game-over {
    padding: 13px 22px;
    font-size: 0.8rem;
  }

  .modal-box h1 {
    font-size: 1.75rem !important;
  }

  .modal-box .text-5xl {
    font-size: 2rem !important;
  }

  .modal-box .text-4xl {
    font-size: 1.75rem !important;
  }

  .modal-box .text-3xl {
    font-size: 1.5rem !important;
  }

  .modal-box .text-6xl {
    font-size: 2.5rem !important;
  }

  .tier-icons {
    gap: 10px;
    font-size: 1.1rem;
  }

  /* Help Modal Responsive */
  .help-title {
    font-size: 1.5rem !important; /* 24px */
    margin-bottom: 28px;
  }

  .help-instruction-item {
    gap: 14px;
    margin-bottom: 18px;
  }

  .help-icon-container {
    width: 38px;
    height: 38px;
    padding: 7px;
  }

  .help-icon-container i {
    font-size: 1.375rem; /* 22px */
  }

  .help-instruction-title {
    font-size: 1rem; /* 16px */
  }

  .help-instruction-description {
    font-size: 0.9375rem; /* 15px */
  }

  .help-modal .modal-close-btn i {
    font-size: 1.5rem; /* 24px */
  }

  .btn-action {
    padding: 12px 32px;
    font-size: 0.8rem;
  }

  .level-select-modal {
    padding: 20px 16px;
    max-width: 90%;
    max-height: 90vh;
  }

  .game-modes-grid {
    gap: 14px;
    justify-items: stretch;
    align-items: stretch;
    padding: 0 10px;
  }
  
  .mode-card {
    aspect-ratio: 1;
    min-height: 0;
  }

  .game-logo-image {
    max-width: 350px;
    width: 350px;
  }
}

/* Medium screens (641px-920px) - Fix overlap issue */
@media screen and (min-width: 641px) and (max-width: 920px) {
  #game-section {
    transform: translate(-50%, -50%);
    margin-top: 0;
  }

  #game-container {
    gap: 18px;
  }

  .top-bar {
    padding: 8px 10px;
    flex-wrap: nowrap;
    align-items: center;
  }

  .top-left {
    flex: 0 0 auto;
    min-width: auto;
  }

  .top-center {
    flex: 1 1 auto;
    gap: 8px;
    justify-content: center;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .top-right {
    flex: 0 0 auto;
    min-width: auto;
  }

  .level-info {
    padding: 6px 10px;
    height: 36px;
  }

  .level-info .text-lg {
    font-size: 0.85rem;
  }

  .game-control-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .score-section,
  .goal-section {
    padding: 8px 10px;
    gap: 2px;
    min-width: 0;
    flex-shrink: 1;
  }

  .score-section .text-[9px],
  .goal-section .text-[9px] {
    font-size: 7px;
  }

  .score-val {
    font-size: 0.9rem;
  }

  .goal-section #goalDisplay {
    font-size: 0.85rem;
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .energy-flux-container {
    padding-top: 16px;
  }

  .spawn-indicator {
    width: 100%;
    max-width: 320px;
  }

  .modal-box {
    padding: 28px 22px;
    max-width: 85%;
  }

  .modal-box .text-4xl {
    font-size: 2rem !important;
  }

  .modal-box .text-3xl {
    font-size: 1.75rem !important;
  }

  .modal-box .text-6xl {
    font-size: 3rem !important;
  }

  .tier-icons {
    font-size: 1.2rem;
  }
}

/* Tablet Landscape (921px-1024px) */
@media screen and (min-width: 921px) and (max-width: 1024px) {
  #game-section {
    transform: translate(-50%, -50%);
  }

  #game-container {
    gap: 20px;
  }

  .top-bar {
    padding: 10px 14px;
  }

  .top-center {
    gap: 16px;
  }

  .spawn-indicator {
    max-width: 340px;
  }

  .modal-box {
    max-width: 70%;
  }
}

/* Desktop (≥1025px) - Default styles apply */
@media screen and (min-width: 1025px) {
  /* Desktop styles are already defined as defaults */
}

/* Landscape Mobile (orientation: landscape) */
@media screen and (orientation: landscape) and (max-height: 640px) {
  #game-section {
    transform: translate(-50%, -50%);
  }

  #game-container {
    flex-direction: row;
    gap: 20px;
    padding: 10px;
  }

  .top-bar {
    padding: 8px 12px;
  }


  .level-info {
    padding: 6px 10px;
    height: 32px;
  }

  .level-info .text-lg {
    font-size: 0.85rem;
  }

  .game-control-btn {
    width: 32px;
    height: 32px;
  }

  /* Move efficiency and objective to right side */
  .top-center {
    display: none !important;
  }

  .top-right {
    gap: 6px;
    flex-direction: row;
    align-items: flex-start;
  }

  .top-right-stats {
    display: flex !important;
  }

  .score-section-landscape,
  .goal-section-landscape {
    display: flex !important;
  }

  .top-left {
    gap: 6px;
  }

  /* Ensure both sections have same height */
  .score-section-landscape,
  .goal-section-landscape {
    padding: 8px 10px;
    gap: 4px;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(20, 20, 30, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
  }

  .score-section-landscape [class*="text-"],
  .goal-section-landscape [class*="text-"] {
    font-size: 9px;
    line-height: 1.2;
  }

  .score-section-landscape .score-val {
    font-size: 1rem;
    color: var(--accent-cyan);
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.6);
    line-height: 1.2;
  }

  .goal-section-landscape #goalDisplayLandscape {
    font-size: 1rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    text-align: center;
  }

  .score-val {
    font-size: 1rem;
  }

  .goal-section #goalDisplay {
    font-size: 1rem;
  }

  .energy-flux-container {
    padding-top: 12px;
  }

  .spawn-indicator {
    width: 200px;
    margin: 0;
  }

  .control-hint {
    font-size: 7px;
    line-height: 1.2;
  }

  /* Reduce modal width */
  .modal-box {
    padding: 20px 24px;
    max-width: 60%;
    max-height: 90vh;
    overflow-y: auto;
  }

  .help-modal {
    overflow: hidden;
  }

  .level-select-modal {
    max-width: 60% !important;
  }

  .modal-box h1 {
    font-size: 1.5rem !important;
    margin-bottom: 8px !important;
  }

  .modal-box .text-4xl {
    font-size: 1.5rem !important;
  }

  .modal-box .text-3xl {
    font-size: 1.25rem !important;
  }

  .modal-box .text-6xl {
    font-size: 2rem !important;
  }

  .modal-box p {
    font-size: 0.7rem !important;
    margin-bottom: 16px !important;
    line-height: 1.4;
  }

  /* Help Modal Responsive - Landscape */
  .help-title {
    font-size: 1.25rem !important; /* 20px */
    margin-bottom: 20px;
  }

  .help-instruction-item {
    gap: 12px;
    margin-bottom: 14px;
  }

  .help-icon-container {
    width: 32px;
    height: 32px;
    padding: 6px;
  }

  .help-icon-container i {
    font-size: 1.125rem; /* 18px */
  }

  .help-instruction-title {
    font-size: 0.875rem; /* 14px */
  }

  .help-instruction-description {
    font-size: 0.8125rem; /* 13px */
    line-height: 1.4;
  }

  .help-modal .modal-close-btn i {
    font-size: 1.25rem; /* 20px */
  }

  .btn-action {
    padding: 10px 24px;
    font-size: 0.7rem;
  }

  .score-val {
    font-size: 1.25rem;
  }
}

/* Landscape Tablet (orientation: landscape) and larger */
@media screen and (orientation: landscape) and (min-width: 769px) and (max-height: 1024px) {
  #game-container {
    flex-direction: row;
    gap: 24px;
  }

  .header {
    max-width: 220px;
    flex-direction: column;
    gap: 12px;
  }

  .spawn-indicator {
    width: 220px;
  }
}

/* Utility Classes for Inline Style Replacements */
.hidden {
  display: none !important;
}

.triangle-icon {
  transform: rotate(-90deg);
}

/* Level Selection Modal Styles */
.level-selection-modal {
  z-index: 60;
}

.level-selection-modal .modal-box {
  max-width: 500px;
}

.level-selection-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}

.level-selection-title {
  margin: 0;
  text-align: center;
}

.levels-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.levels-grid-small {
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.levels-grid-medium {
  grid-template-columns: repeat(5, 1fr);
}

.levels-grid-large {
  grid-template-columns: repeat(6, 1fr);
}

.level-btn {
  position: relative;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
  font-weight: 700;
}

.level-btn:hover:not(.level-btn-locked) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.level-btn-locked {
  opacity: 0.3;
  cursor: not-allowed;
}

.level-btn-text {
  display: block;
}

.level-btn-icon {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
  opacity: 0.6;
}

.level-btn-check {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: #00ff66;
  text-shadow: 0 0 8px #00ff66;
}

.level-btn-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
  z-index: 10;
}

