/* ===== Exploding Atoms – Hlavný header (hráč na ťahu) ===== */

#header {
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(6px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 3px 12px rgba(0,0,0,0.35);
}

/* modrý hráč */
#header.blue {
  background: rgba(43,108,214,0.25);
  border-color: rgba(43,108,214,0.35);
  box-shadow: 0 3px 12px rgba(43,108,214,0.35);
}

/* červený hráč */
#header.red {
  background: rgba(255,71,87,0.25);
  border-color: rgba(255,71,87,0.35);
  box-shadow: 0 3px 12px rgba(255,71,87,0.35);
}

/* animácia jemného „pulse“ pre aktívneho hráča */
#header.blue.active,
#header.red.active {
  animation: headerPulse 2.8s ease-in-out infinite;
}

@keyframes headerPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.015); }
}



/* ===== Exploding Atoms – Veľký odpočet (eaBigTimer) ===== */

#eaBigTimer {
  position: absolute;
  inset: 0;
  display: none; /* JS prepína medzi none / flex */
  align-items: center;
  justify-content: center;
  pointer-events: none; /* neblokuje klikanie */
  z-index: 1; /* pod hernými prvkami, ale nad pozadím */
}

#eaBigTimer .eaBigNum {
  font-weight: 900;
  font-size: 40vw;
  line-height: 1;
  user-select: none;
  color: rgba(255, 255, 255, 0.6); /* 40% priehľadná biela */

  pointer-events: none;
}

