/*!********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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/frogger/frogger.module.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************************/
.frogger_wrapper__w1_Uu {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #111;
  padding: 0;
  color: white;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
}

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

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

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

.frogger_statItem__5fm1z {
  text-align: center;
}

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

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

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

.frogger_lifeIcon__6HFw0 {
  width: 16px;
  height: 16px;
  background: #4ade80;
  border-radius: 50%;
  opacity: 0.9;
}

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

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

/* ── D-Pad ── */
.frogger_dpad__DcG5F {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  margin: 6px auto 10px;
}

.frogger_dpadBtn__Yt57S {
  position: absolute;
  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: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.1s;
  -webkit-tap-highlight-color: transparent;
}

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

.frogger_dpadUp__fz4tg {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.frogger_dpadDown__bgpSg {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.frogger_dpadLeft__C7w5a {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.frogger_dpadRight__PZIBs {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

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

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

.frogger_overlayTitle__YuUC_ {
  font-size: 2.2rem;
  font-weight: 900;
  color: #4ade80;
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
}

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

.frogger_overlayBtn__lBZwr {
  margin-top: 8px;
  padding: 12px 32px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(145deg, #4ade80, #22c55e);
  color: #0a2010;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.frogger_overlayBtn__lBZwr:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(74, 222, 128, 0.4);
}

/* ── Level popup ── */
.frogger_levelPopup__W8jto {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  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: frogger_popIn__Lq71h 1.2s ease-out forwards;
}

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

  .frogger_dpad__DcG5F {
    width: 120px;
    height: 120px;
  }

  .frogger_dpadBtn__Yt57S {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

