/*!************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./app/games/asteroids/asteroids.module.css ***!
  \************************************************************************************************************************************************************************************************************************************************************************************/
.asteroids_wrapper___lEJq {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #000;
  padding: 0;
  color: white;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
}

.asteroids_container__KvBjt {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
}

/* ── HUD ── */
.asteroids_hud__Qf_C8 {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  z-index: 10;
  flex-shrink: 0;
}

.asteroids_scoreBlock__xAKQw {
  display: flex;
  gap: 16px;
}

.asteroids_statItem__7E5At {
  text-align: center;
}

.asteroids_statLabel__N_ubU {
  font-size: 0.55rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.08em;
}

.asteroids_statValue__6peNE {
  font-size: 1.3rem;
  font-weight: 800;
  color: #00ffff;
}

.asteroids_lives__VMA2k {
  display: flex;
  gap: 4px;
  align-items: center;
}

.asteroids_lifeIcon__4tZsh {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 12px solid #00ffff;
  opacity: 0.9;
}

/* ── Canvas area ── */
.asteroids_canvasArea__n1e_0 {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  min-height: 0;
  position: relative;
}

.asteroids_canvas__8LeX4 {
  display: block;
  touch-action: none;
  cursor: default;
}

/* ── Controls (4-button row) ── */
.asteroids_controls__jfCpY {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  margin: 6px auto 10px;
  align-items: center;
  justify-content: center;
}

.asteroids_controlBtn__eke_o {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 255, 0.25);
  background: rgba(0, 255, 255, 0.06);
  color: rgba(0, 255, 255, 0.5);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.1s;
  -webkit-tap-highlight-color: transparent;
}

.asteroids_controlBtn__eke_o:active {
  background: rgba(0, 255, 255, 0.2);
  color: #00ffff;
}

.asteroids_controlSpacer__D5Ssj {
  width: 16px;
}

/* ── Overlay ── */
.asteroids_overlay__EvxYy {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20;
  gap: 12px;
  animation: asteroids_fadeIn__pUMO5 0.25s ease-out;
}

@keyframes asteroids_fadeIn__pUMO5 {
  from { opacity: 0; }
  to { opacity: 1; }
}

.asteroids_overlayTitle__iDhb6 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #00ffff;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.asteroids_overlaySubtitle__KSk0c {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.asteroids_overlayBtn__vAhE0 {
  margin-top: 8px;
  padding: 12px 32px;
  border-radius: 10px;
  border: 2px solid #00ffff;
  background: transparent;
  color: #00ffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
}

.asteroids_overlayBtn__vAhE0:hover {
  background: rgba(0, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* ── Level popup ── */
.asteroids_levelPopup__BpsiV {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: 900;
  color: #00ffff;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
  pointer-events: none;
  z-index: 20;
  white-space: nowrap;
  animation: asteroids_popIn__bAkjG 1.2s ease-out forwards;
}

@keyframes asteroids_popIn__bAkjG {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
  20% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
  100% { transform: translate(-50%, -60%) scale(1); opacity: 0; }
}

/* ── Responsive ── */
@media (max-width: 400px) {
  .asteroids_statValue__6peNE {
    font-size: 1.1rem;
  }

  .asteroids_controlBtn__eke_o {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .asteroids_controls__jfCpY {
    gap: 6px;
  }

  .asteroids_controlSpacer__D5Ssj {
    width: 10px;
  }
}

