/*!****************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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/donkey-kong/donkey-kong.module.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************/
.donkey-kong_wrapper__izgqm {
  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;
}

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

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

.donkey-kong_scoreBlock__7yCaE {
  display: flex;
  gap: 16px;
}

.donkey-kong_statItem__ZWar1 {
  text-align: center;
}

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

.donkey-kong_statValue__cXTtE {
  font-size: 1.3rem;
  font-weight: 800;
  color: #E80709;
}

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

.donkey-kong_lifeIcon__ztXd0 {
  width: 10px;
  height: 12px;
  background: #E80709;
  border-radius: 2px;
  opacity: 0.8;
}

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

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

/* ── Bonus display ── */
.donkey-kong_bonusDisplay__zwX5r {
  position: absolute;
  top: 4px;
  right: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #13F3FF;
  z-index: 15;
  pointer-events: none;
}

/* ── Controls ── */
.donkey-kong_controls__ohBdH {
  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;
}

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

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

.donkey-kong_controlBtn__DkjQf:active {
  background: rgba(232, 7, 9, 0.2);
  color: #E80709;
}

.donkey-kong_dpadEmpty__1nvKN {
  visibility: hidden;
}

.donkey-kong_controlSpacer__xREkB {
  flex: 1;
}

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

/* ── Level popup ── */
.donkey-kong_levelPopup__wcW1t {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  font-weight: 900;
  color: #E80709;
  text-shadow: 0 0 20px rgba(232, 7, 9, 0.6);
  pointer-events: none;
  z-index: 20;
  white-space: nowrap;
  animation: donkey-kong_popIn__HIG_H 1.2s ease-out forwards;
}

@keyframes donkey-kong_popIn__HIG_H {
  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; }
}

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

@keyframes donkey-kong_fadeIn__19UPn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.donkey-kong_overlayTitle__vxESC {
  font-size: 2.2rem;
  font-weight: 900;
  color: #E80709;
  text-shadow: 0 0 20px rgba(232, 7, 9, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

.donkey-kong_overlayBtn__CwTxs:hover {
  background: rgba(232, 7, 9, 0.1);
  box-shadow: 0 0 20px rgba(232, 7, 9, 0.3);
}

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

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

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

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

  .donkey-kong_controls__ohBdH {
    gap: 10px;
  }
}

