/* =========================================================
   Denkpfad – Neon Overlay CSS (teljes fájl)
   ========================================================= */

.mm_overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.mm_window{
  width: min(980px, calc(100% - 40px));
  background: rgba(18, 18, 30, 0.92);
  border: 2px solid rgba(255,255,255,0.14);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 26px 70px rgba(0,0,0,0.75);
  color: #fff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.mm_header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mm_title{
  font-weight: 900;
  font-size: 18px;
  letter-spacing: .2px;
}

.mm_close{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.mm_hud{
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

@media (max-width: 920px){
  .mm_hud{ grid-template-columns: repeat(2, 1fr) auto; }
}

.mm_hud_box{
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(0,242,255,0.18);
}

.mm_label{
  font-size: 12px;
  opacity: .8;
  font-weight: 700;
}

.mm_value{
  font-size: 18px;
  font-weight: 900;
  margin-top: 2px;
  color: rgba(0,242,255,0.92);
  text-shadow: 0 0 14px rgba(0,242,255,0.16);
}

.mm_start{
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(90deg, rgba(255,0,255,0.75), rgba(0,242,255,0.85));
  box-shadow: 0 0 16px rgba(255,0,255,0.18), 0 0 18px rgba(0,242,255,0.12);
}

.mm_stage{
  display: grid;
  place-items: center;
  position: relative;
  padding: 10px;
  border-radius: 18px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.10);
}

#mm_canvas{
  width: 588px;
  height: 420px;
  max-width: 100%;
  border-radius: 16px;
  border: 2px solid rgba(0,242,255,0.30);
  background: #05060a;
}

.mm_hint{
  margin-top: 10px;
  font-size: 13px;
  opacity: .88;
}

.mm_toast{
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,0.62);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.95);
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
}

.mm_toast.show{ opacity: 1; }

/* ===============================
   A te kapott NEON dizájn blokkod
   =============================== */

/* Neon keret a játéknak */
.mm_window {
  border: 3px solid #00f2ff;
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.5), inset 0 0 15px rgba(0, 242, 255, 0.2);
  background: rgba(10, 10, 20, 0.95) !important;
}

/* A számok (HUD) dobozai világítsanak */
.mm_hud_box {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

/* A START gomb legyen nagy és lüktető */
.mm_start {
  transition: 0.3s;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 15px rgba(0, 242, 255, 0.6); }
  50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(0, 242, 255, 0.9); }
  100% { transform: scale(1); box-shadow: 0 0 15px rgba(0, 242, 255, 0.6); }
}
/* A játékos (canvas) neon ragyogása */
#mm_canvas {
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}


/* ===============================
   Denkpfad – Vivid Neon Layout (overrides)
   =============================== */

.mm_layout{
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 14px;
}

@media (max-width: 920px){
  .mm_layout{ grid-template-columns: 1fr; }
  .mm_side{ order: 2; }
  .mm_main{ order: 1; }
}

.mm_side{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mm_side_card{
  border-radius: 18px;
  padding: 14px 14px;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(0,242,255,0.28);
  box-shadow: 0 0 18px rgba(0,242,255,0.10), inset 0 0 18px rgba(255,0,255,0.06);
}

.mm_side_label{
  font-size: 12px;
  font-weight: 900;
  opacity: .86;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.mm_op_big{
  margin-top: 8px;
  font-size: 56px;
  font-weight: 1000;
  line-height: 1;
  color: rgba(0,242,255,0.95);
  text-shadow: 0 0 22px rgba(0,242,255,0.35);
}

.mm_side_sub{
  margin-top: 6px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
  color: rgba(255,0,255,0.92);
  text-shadow: 0 0 18px rgba(255,0,255,0.22);
}

.mm_target_big{
  margin-top: 10px;
  font-size: 54px;
  font-weight: 1000;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 18px rgba(255,255,255,0.18), 0 0 24px rgba(0,242,255,0.14);
}

.mm_banner{
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255,0,255,0.16), rgba(0,242,255,0.12));
  border: 2px solid rgba(255,255,255,0.16);
  box-shadow: 0 0 24px rgba(255,0,255,0.10), 0 0 24px rgba(0,242,255,0.08);
}

.mm_banner_title{
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: .92;
}

/* Kinderfreundliche Mini-Info im Banner */
.mm_info{
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.mm_info_row{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.14);
}

.mm_info_pic{
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 1000;
  text-shadow: 0 0 18px rgba(0,242,255,0.18);
}

.mm_kbd{
  display: inline-grid;
  place-items: center;
  min-width: 56px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 2px solid rgba(0,242,255,0.40);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 16px rgba(0,242,255,0.10), inset 0 0 12px rgba(255,0,255,0.08);
  font-weight: 1000;
  letter-spacing: .6px;
}

.mm_info_head{
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .2px;
}

.mm_info_sub{
  margin-top: 2px;
  font-size: 12px;
  font-weight: 800;
  opacity: .92;
  line-height: 1.25;
}

.mm_formula{
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,0,255,0.28);
  background: rgba(255,0,255,0.10);
  box-shadow: 0 0 14px rgba(255,0,255,0.10);
}

#mm_goal_op{
  display: inline-block;
  min-width: 12px;
  text-align: center;
  color: rgba(0,242,255,0.95);
  text-shadow: 0 0 18px rgba(0,242,255,0.20);
}

.mm_banner_text{
  margin-top: 8px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(255,255,255,0.96);
}

.mm_hud{
  grid-template-columns: repeat(4, 1fr) auto;
}

@media (max-width: 920px){
  .mm_hud{ grid-template-columns: repeat(2, 1fr) auto; }
}

.mm_hud_box{
  border: 2px solid rgba(0,242,255,0.28);
  box-shadow: 0 0 18px rgba(0,242,255,0.10), inset 0 0 18px rgba(255,0,255,0.06);
}

.mm_task_value{
  font-size: 26px;
}

.mm_task_hint{
  margin-top: 6px;
  font-size: 12px;
  font-weight: 900;
  color: rgba(255,0,255,0.90);
  text-shadow: 0 0 18px rgba(255,0,255,0.18);
}

#mm_canvas{
  border: 2px solid rgba(0,242,255,0.45);
  box-shadow: 0 0 30px rgba(0,242,255,0.10), 0 0 34px rgba(255,0,255,0.06);
}
