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

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

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

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

.tron_statItem__y9mCY {
  text-align: center;
}

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

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

.tron_statValueAi__0xIHG {
  color: #ff6600;
}

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

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

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

.tron_dpadBtn__LXqQE {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  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;
}

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

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

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

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

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

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

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

.tron_overlayTitle__XpnLl {
  font-size: 2.2rem;
  font-weight: 900;
  color: #00ffff;
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.6), 0 0 60px rgba(0, 255, 255, 0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.tron_overlayResult___WGVA {
  font-size: 1.4rem;
  font-weight: 800;
}

.tron_overlayResultWin__xh41B {
  color: #00ffff;
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.tron_overlayResultLose__VComV {
  color: #ff6600;
  text-shadow: 0 0 15px rgba(255, 102, 0, 0.5);
}

.tron_overlayResultDraw__zvov5 {
  color: #f1c40f;
}

.tron_overlayBtn__9Fk47 {
  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;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

/* ── Countdown ── */
.tron_countdown__xJsO5 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  font-weight: 900;
  color: #00ffff;
  text-shadow: 0 0 40px rgba(0, 255, 255, 0.8);
  z-index: 25;
  pointer-events: none;
  animation: tron_countPop__37EZ5 0.6s ease-out;
}

@keyframes tron_countPop__37EZ5 {
  0% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
  30% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.3;
  }
}

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

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

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

