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

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

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

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

.qbert_statItem__brOrZ {
  text-align: center;
}

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

.qbert_statValue__U0U4I {
  font-size: 1.3rem;
  font-weight: 800;
  color: #f59e0b;
}

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

.qbert_lifeIcon__1ZMtf {
  width: 14px;
  height: 14px;
  background: #f59e0b;
  border-radius: 50%;
  opacity: 0.9;
}

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

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

/* ── D-Pad (diamond layout for diagonal movement) ── */
.qbert_dpad__BRVPm {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  margin: 6px auto 10px;
}

.qbert_dpadBtn__wQdJO {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.06);
  color: rgba(245, 158, 11, 0.5);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.1s;
  -webkit-tap-highlight-color: transparent;
}

.qbert_dpadBtn__wQdJO:active {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

/* diamond positions */
.qbert_dpadUL__3f4uT {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

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

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

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

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

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

.qbert_overlayTitle___3t6x {
  font-size: 2.2rem;
  font-weight: 900;
  color: #f59e0b;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

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

.qbert_overlayBtn__66TCd {
  margin-top: 8px;
  padding: 12px 32px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(145deg, #f59e0b, #d97706);
  color: #1a1a2e;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.qbert_overlayBtn__66TCd:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

/* ── Level popup ── */
.qbert_levelPopup___4NKJ {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: 900;
  color: #f59e0b;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
  pointer-events: none;
  z-index: 20;
  white-space: nowrap;
  animation: qbert_popUp__ANwPm 1.2s ease-out forwards;
}

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

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

  .qbert_dpadBtn__wQdJO {
    width: 38px;
    height: 38px;
    font-size: 0.6rem;
  }
}

