body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: black;
}

.vortex-wallpaper {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  filter: brightness(1.15) contrast(1.1);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: -2;
}

.hud {
  width: 520px;
  padding: 55px;
  border-radius: 28px;
  text-align: center;
  background: rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(0,255,255,0.35);
  box-shadow: 0 0 80px rgba(0,255,255,0.35);
  backdrop-filter: blur(12px);
}

.top-label {
  font-family: "Orbitron", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 4px;
  color: gold;
  margin-bottom: 15px;
}

.timer-display {
  font-family: "Orbitron", sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: cyan;
  text-shadow: 0 0 35px cyan;
}

.status-text {
  margin-top: 12px;
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  letter-spacing: 3px;
  color: white;
  opacity: 0.7;
}

.bar-wrap {
  width: 100%;
  height: 10px;
  margin: 25px auto;
  border-radius: 20px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}

.bar-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, cyan, magenta);
  transition: width 1s linear;
}

.preset-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 18px 0;
}

.preset-row button {
  padding: 9px 16px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  background: rgba(255,255,255,0.10);
  color: white;
  transition: 0.25s;
}

.preset-row button:hover {
  background: cyan;
  color: black;
}

.input-panel {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

.input-panel input {
  width: 90px;
  padding: 12px;
  border-radius: 12px;
  border: none;
  text-align: center;
  background: rgba(255,255,255,0.08);
  color: white;
}

.input-panel input:disabled {
  opacity: 0.3;
}

.control-panel {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.control-panel button {
  padding: 12px 30px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  background: rgba(255,255,255,0.10);
  color: white;
  transition: 0.25s;
}

.control-panel button:hover {
  background: magenta;
  box-shadow: 0 0 25px magenta;
}

.control-panel button:disabled {
  opacity: 0.3;
}

.danger {
  color: #ff3b3b !important;
  text-shadow: 0 0 40px red !important;
}

.danger-bar {
  background: linear-gradient(90deg, red, orange) !important;
}

/* Popup */
.popup {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.85);
}

.popup-box {
  width: 360px;
  padding: 45px;
  border-radius: 22px;
  text-align: center;
  background: rgba(10,10,25,0.95);
  border: 2px solid cyan;
  box-shadow: 0 0 90px rgba(0,255,255,0.65);
}

.popup-box h2 {
  font-family: "Orbitron", sans-serif;
  color: cyan;
}

.popup-box button {
  margin-top: 18px;
  padding: 12px 26px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-weight: bold;
  background: cyan;
}
