﻿@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&display=swap');

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 12px #0ff, 0 0 20px #f0f;
  }

  50% {
    box-shadow: 0 0 20px #0ff, 0 0 30px #f0f;
  }

  100% {
    box-shadow: 0 0 12px #0ff, 0 0 20px #f0f;
  }
}

body {
  font-family: system-ui, sans-serif;
  margin: 0;
  background: #111;
  color: #fff;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.hidden {
  display: none !important;
}

.center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#tapBtn {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 600;
  color: #111;
  background: linear-gradient(145deg, #00e0e0, #00ffff);
  border: 2px solid #0aa;
  cursor: pointer;
  /* Effects */
  text-shadow: 0 0 6px #0ff;
  background: linear-gradient(145deg, #00e0e0, #00ffff);
  box-shadow: 0 0 12px #0ff, 0 0 20px #f0f;
  transition: transform 0.15s ease, background 0.3s ease;
  animation: pulseGlow 1.5s infinite;
}
  #tapBtn:hover {
    transform: scale(1.05);
    background: linear-gradient(145deg, #00e0e0, #00ffff);
  }
  #tapBtn:active {
    transform: scale(0.95);
    background: #00cccc;
  }

#winnerBanner {
  font-weight: bold;
  font-size: 24px;
  padding: 12px;
  margin: 20px;
  background: gold;
  color: black;
  border-radius: 6px;
  text-align: center;
}

#countdownNum {
  font-size: 96px;
  font-weight: bold;
}

/* Waiting container */
#waiting {
  text-align: center;
}

/* Content slot keeps consistent spacing */
#waitingContent {
  margin-top: 20px;
  min-height: 120px; /* reserve space so heading doesn't jump */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Form and status share same layout */
#waitingForm,
#waitingStatus {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Button styling (from tap_master) */
button {
  margin: 20px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border: 1px solid #555;
  border-radius: 6px;
  background: #222;
  color: #ccc;
  transition: background 0.3s, color 0.3s;
}
  button:hover {
    background: #333;
    color: #fff;
  }
