* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: radial-gradient(circle at center, #111116 0%, #050508 100%);
  overflow: hidden;
}

#time {
  display: flex;
  gap: 30px;
  color: white;
  background: rgba(255, 255, 255, 0.03);
  padding: 40px 50px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  box-shadow:
    0 30px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  align-items: center;
}

#time .circle {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#time .circle svg {
  position: absolute;
  width: 160px;
  height: 160px;
  transform: rotate(270deg);
}

#time .circle svg circle {
  cx: 80;
  cy: 80;
  r: 70;
  fill: transparent;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 6;
}

#time .circle svg circle:nth-child(2) {
  stroke: var(--clr);
  stroke-dasharray: 440;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px var(--clr));
}

/* FIX: Seletor específico corrigido para evitar conflitos de posicionamento */
#hours,
#minutes,
#seconds {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Orbitron", sans-serif;
  font-size: 2.2em;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  text-align: center;
  line-height: 0.85em; /* Aproxima levemente a legenda do número */
}

/* FIX: Alinhamento perfeito da legenda abaixo dos números */
#time .circle div span {
  font-family: "Poppins", sans-serif;
  font-size: 0.3em;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5); /* Tom cinza elegante para contraste */
  margin-top: 6px;
}

#time .ap {
  position: relative;
  font-family: "Orbitron", sans-serif;
  font-size: 1.2em;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 1px;
  text-shadow: 0 0 5px #fff;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05);
}

.dots {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  justify-content: center;
}

.dots::before {
  content: "";
  position: absolute;
  top: 2px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow:
    0 0 15px var(--clr),
    0 0 30px var(--clr),
    0 0 60px var(--clr);
}
