/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Background */
body {
  background: linear-gradient(135deg, #081c24, #0f3d4c);
  color: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  flex-direction: column;
  text-align: center;
}

/* Heading */
h1 {
  font-size: 3rem;
  margin-bottom: 30px;
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  animation: glow 2s infinite alternate;
}

/* Countdown box */
#countdown {
  display: flex;
  gap: 20px;
  padding: 20px 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
  font-size: 2rem;
}

/* Each block */
.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Number style */
.time {
  font-size: 3rem;
  font-weight: bold;
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
  transition: transform 0.3s;
}

/* Blink effect for seconds */
.seconds {
  animation: blink 1s infinite;
}

/* Label */
.label {
  font-size: 1rem;
  margin-top: 5px;
  color: #ccc;
}

/* Animations */
@keyframes glow {
  from {
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
  }
  to {
    text-shadow: 0 0 20px rgba(255, 215, 0, 1);
  }
}
@keyframes blink {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0.4;
  }
}

/* Responsive */
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  #countdown {
    flex-direction: column;
    gap: 10px;
  }
}
