/*!************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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/centipede/centipede.module.css ***!
  \************************************************************************************************************************************************************************************************************************************************************************************/
.centipede_wrapper__57eIc {
  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;
}

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

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

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

.centipede_statItem__ZAV_B {
  text-align: center;
}

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

.centipede_statValue__xFoNR {
  font-size: 1.3rem;
  font-weight: 800;
  color: #4ade80;
}

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

.centipede_lifeIcon__tyaCI {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 10px solid #4ade80;
  opacity: 0.9;
}

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

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

/* ── Controls ── */
.centipede_controls__rutls {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  margin: 6px auto 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 340px;
  padding: 0 16px;
}

.centipede_dpad__71jR6 {
  display: grid;
  grid-template-columns: 44px 44px 44px;
  grid-template-rows: 44px 44px;
  gap: 3px;
}

.centipede_controlBtn__M6TPA {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(74, 222, 128, 0.25);
  background: rgba(74, 222, 128, 0.06);
  color: rgba(74, 222, 128, 0.5);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.1s;
  -webkit-tap-highlight-color: transparent;
}

.centipede_controlBtn__M6TPA:active {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

.centipede_dpadEmpty__dyq1B {
  visibility: hidden;
}

.centipede_controlSpacer__sZLON {
  flex: 1;
}

.centipede_fireBtn__uG31Z {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ── Overlay ── */
.centipede_overlay__llTX9 {
  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: centipede_fadeIn__lNBRn 0.25s ease-out;
}

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

.centipede_overlayTitle__E1JLe {
  font-size: 2rem;
  font-weight: 900;
  color: #4ade80;
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

.centipede_overlayBtn__qLJxj:hover {
  background: rgba(74, 222, 128, 0.1);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
}

/* ── Level popup ── */
.centipede_levelPopup__Picnb {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  font-weight: 900;
  color: #4ade80;
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.6);
  pointer-events: none;
  z-index: 20;
  white-space: nowrap;
  animation: centipede_popIn__lwwnx 1.2s ease-out forwards;
}

@keyframes centipede_popIn__lwwnx {
  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) {
  .centipede_statValue__xFoNR {
    font-size: 1.1rem;
  }

  .centipede_dpad__71jR6 {
    grid-template-columns: 38px 38px 38px;
    grid-template-rows: 38px 38px;
  }

  .centipede_controlBtn__M6TPA {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .centipede_fireBtn__uG31Z {
    width: 56px;
    height: 56px;
    font-size: 0.65rem;
  }

  .centipede_controls__rutls {
    gap: 10px;
  }
}

