/* ------------------------------------------------ */
/* AMŐBA – FŐ NÉZET */
/* ------------------------------------------------ */

#amoebaApp {
  display: none;
  text-align: center;
}

.amoeba-title {
  margin-top: 30px;
  font-size: 32px;
  color: var(--neon);
  text-shadow: 0 0 6px var(--neon), 0 0 12px #00aa00;
  letter-spacing: 2px;
  font-weight: 700;
}

/* ------------------------------------------------ */
/* SCOREBOARD */
/* ------------------------------------------------ */

#scoreboard {
  position: fixed;
  top: 10px;
  left: 10px;
  text-align: left;
  font-size: 18px;
  padding: 10px 14px;
  border-left: 2px solid var(--neon);
  border-bottom: 2px solid var(--neon);
  box-shadow: var(--glow-soft);
  background: rgba(0, 0, 0, 0.6);
  border-radius: 0 0 10px 0;
}

.score-human { 
  color: var(--blue); 
  text-shadow: var(--glow-blue-soft); 
}

.score-ai { 
  color: var(--red); 
  text-shadow: var(--glow-red-soft); 
}

.score-p2 { 
  color: var(--green); 
  text-shadow: var(--glow-green-soft); 
}

/* ------------------------------------------------ */
/* BOARD */
/* ------------------------------------------------ */

#board {
  display: grid;
  grid-template-columns: repeat(3, 110px);
  gap: 10px;
  justify-content: center;
  margin-top: 40px;
}

.cell {
  width: 110px;
  height: 110px;
  background: #000;
  font-size: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 3px solid var(--neon);
  border-radius: 10px;
  box-shadow: var(--glow-soft);
  transition: 0.2s;
}

.cell:hover {
  transform: scale(1.05);
  background: rgba(0, 255, 0, 0.08);
}

.x { 
  color: var(--blue); 
  text-shadow: var(--glow-blue-soft); 
}

.o { 
  color: var(--red); 
  text-shadow: var(--glow-red-soft); 
}

/* ------------------------------------------------ */
/* STATUS SZÖVEG */
/* ------------------------------------------------ */

#status {
  margin-top: 20px;
  font-size: 22px;
  color: var(--neon);
  text-shadow: var(--glow-soft);
  min-height: 28px;
}

/* ------------------------------------------------ */
/* ÚJ JÁTÉK GOMB */
/* ------------------------------------------------ */

#newGameBtn {
  margin-top: 22px;
  padding: 10px 22px;
  border: 2px solid var(--neon);
  background: #000;
  color: var(--neon);
  cursor: pointer;
  font-size: 16px;
  border-radius: 10px;
  box-shadow: var(--glow-soft);
  transition: 0.2s;
}

#newGameBtn:hover {
  transform: scale(1.06);
  background: rgba(0, 255, 0, 0.12);
}

/* ------------------------------------------------ */
/* MODAL */
/* ------------------------------------------------ */

#modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(0, 255, 0, 0.15), rgba(0, 0, 0, 0.9));
  backdrop-filter: blur(4px);
  z-index: 960;
}

#modalContent {
  background: #050505;
  padding: 30px 40px;
  border: 2px solid var(--neon);
  border-radius: 14px;
  box-shadow: var(--glow-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#modalContent::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg, transparent, rgba(0, 255, 0, 0.25), transparent 30%);
  animation: spinGlow 6s linear infinite;
  opacity: 0.4;
  pointer-events: none;
}

#modalInner {
  position: relative;
  z-index: 1;
}

/* ------------------------------------------------ */
/* MÓDVÁLASZTÓ GOMBOK */
/* ------------------------------------------------ */

.choiceBtn {
  margin: 10px;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  border: 2px solid;
  transition: 0.2s;
  background: #000;
}

.choiceBtn:hover {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.04);
}

.humanBtn {
  color: var(--blue);
  border-color: var(--blue);
  box-shadow: var(--glow-blue-soft);
}

.aiBtn {
  color: var(--red);
  border-color: var(--red);
  box-shadow: var(--glow-red-soft);
}

.pvpBtn {
  color: var(--green);
  border-color: var(--green);
  box-shadow: var(--glow-green-soft);
}
