:root {
  color-scheme: dark;
  font-family: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
  --bg: #020617;
  --bg-alt: #020014;
  --panel: rgba(10, 18, 40, 0.92);
  --panel-accent: rgba(34, 197, 235, 0.08);
  --accent: #22d3ee;
  --accent-strong: #f97316;
  --accent-pink: #ec4899;
  --text: #f9fafb;
  --text-muted: #9ca3af;
  --border: rgba(148, 163, 184, 0.35);
  --shadow-soft: 0 22px 65px rgba(15, 23, 42, 0.95);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(244, 63, 94, 0.32), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(56, 189, 248, 0.28), transparent 55%),
    radial-gradient(circle at 0% 80%, rgba(129, 140, 248, 0.32), transparent 55%),
    linear-gradient(135deg, var(--bg-alt), var(--bg));
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 2.25rem;
  overflow-x: hidden;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='rgba(148,163,184,0.2)'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/g%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  opacity: 0.9;
}

.page {
  width: min(1200px, 100%);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero {
  position: relative;
  border-radius: 26px;
  padding: 2.1rem clamp(1.6rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.9), rgba(17, 24, 39, 0.95)),
    radial-gradient(circle at 120% 0%, rgba(34, 197, 235, 0.18), transparent 60%);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.9), rgba(236, 72, 153, 0.65), rgba(249, 115, 22, 0.8));
  opacity: 0.25;
  mix-blend-mode: screen;
  filter: blur(20px);
  pointer-events: none;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 6.4vw, 3.4rem);
  margin: 0 0 0.6rem;
  text-shadow:
    0 0 18px rgba(34, 211, 238, 0.4),
    0 0 32px rgba(236, 72, 153, 0.4);
}

.hero h1 span {
  color: var(--accent-strong);
}

.lede {
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0;
  line-height: 1.7;
}

.cta {
  border: 1px solid rgba(56, 189, 248, 0.6);
  background: radial-gradient(circle at 0% 0%, rgba(34, 211, 238, 0.25), rgba(15, 23, 42, 0.9));
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.9rem 1.7rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  backdrop-filter: blur(16px);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow:
    0 0 20px rgba(34, 211, 238, 0.7),
    0 0 45px rgba(34, 211, 238, 0.6);
  transition:
    transform 0.16s ease-out,
    box-shadow 0.16s ease-out,
    border-color 0.16s ease-out;
}

.cta span {
  font-size: 1.1rem;
  color: var(--accent-pink);
}

.cta:hover {
  transform: translateY(-1px) translateX(1px);
  border-color: rgba(236, 72, 153, 0.85);
  box-shadow:
    0 0 26px rgba(236, 72, 153, 0.9),
    0 0 60px rgba(56, 189, 248, 0.75);
}

.clock-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.clock-card {
  position: relative;
  flex: 1;
  min-width: 260px;
  padding: 1.9rem 1.7rem;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.92)),
    radial-gradient(circle at 120% 0%, rgba(34, 211, 238, 0.18), transparent 65%);
  border: 1px solid rgba(148, 163, 184, 0.45);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out,
    background 0.18s ease-out;
}

.clock-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0% 0%, rgba(236, 72, 153, 0.45), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(34, 211, 238, 0.35), transparent 60%);
  opacity: 0.0;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}

.clock-card:hover {
  transform: translateY(-5px) translateX(2px);
  border-color: rgba(34, 211, 238, 0.85);
  box-shadow:
    0 0 30px rgba(56, 189, 248, 0.7),
    0 22px 80px rgba(15, 23, 42, 1);
}

.clock-card:hover::before {
  opacity: 1;
}

.clock-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.clock-card .city {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}

.clock-card .timezone {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.clock-card .time {
  font-size: clamp(2.1rem, 5.3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  margin: 0.5rem 0 0.2rem;
  text-transform: uppercase;
  text-shadow:
    0 0 16px rgba(34, 211, 238, 0.7),
    0 0 28px rgba(37, 99, 235, 0.9);
}

.clock-card .date {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer span {
  color: var(--accent-pink);
  font-weight: 700;
}

@media (max-width: 900px) {
  body {
    padding: 1.7rem;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 720px) {
  body {
    padding: 1.5rem 1.2rem;
  }

  .clock-grid {
    flex-direction: column;
  }
}

