:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #09111f;
  color: #f7f8fc;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 177, 106, 0.2), transparent 34%),
    radial-gradient(circle at 85% 80%, rgba(92, 132, 255, 0.2), transparent 38%),
    linear-gradient(145deg, #07101e 0%, #101a2d 54%, #0a1323 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 24rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

body::before {
  top: -12rem;
  right: -8rem;
}

body::after {
  bottom: -14rem;
  left: -8rem;
}

.clock-card {
  width: min(92vw, 760px);
  padding: clamp(2rem, 7vw, 5rem);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2rem;
  background: rgba(10, 19, 34, 0.62);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.location-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: #b8c3d8;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.live-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #ffb16a;
  box-shadow: 0 0 0 0.35rem rgba(255, 177, 106, 0.12);
}

h1 {
  margin: 1.2rem 0 0.5rem;
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  font-weight: 620;
  letter-spacing: -0.05em;
}

.clock {
  display: block;
  margin-top: 0.25rem;
  color: #ffbe7c;
  font-size: clamp(3.1rem, 13vw, 8.2rem);
  font-variant-numeric: tabular-nums;
  font-weight: 720;
  letter-spacing: -0.07em;
  line-height: 1;
  text-shadow: 0 10px 40px rgba(255, 177, 106, 0.14);
}

.date {
  margin: 1.35rem 0 0;
  color: #e3e8f2;
  font-size: clamp(1rem, 2.6vw, 1.28rem);
}

.timezone-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  color: #8f9bb0;
  font-size: 0.88rem;
}

@media (max-width: 480px) {
  .clock-card {
    padding-inline: 1.25rem;
    border-radius: 1.5rem;
  }

  .clock {
    letter-spacing: -0.06em;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .live-dot {
    animation: pulse 2.4s ease-out infinite;
  }

  @keyframes pulse {
    0%,
    100% {
      box-shadow: 0 0 0 0.25rem rgba(255, 177, 106, 0.18);
    }
    50% {
      box-shadow: 0 0 0 0.55rem rgba(255, 177, 106, 0.04);
    }
  }
}
