:root {
  --bg-0: #060912;
  --bg-1: #0c1428;
  --accent: #54b8ff;
  --text: #eaf2ff;
  --muted: #8aa0c4;
  font-size: clamp(16px, 1.2vw, 20px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(6, 9, 18, 0.38), rgba(6, 9, 18, 0.58)),
    url("assets/skyline.jpg") center / cover no-repeat;
  background-color: var(--bg-0);
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow-x: hidden;
}

.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 1.25rem;
  text-align: center;
}

.countdown {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.7rem, 1.8vw, 1.3rem);
  padding: clamp(0.6rem, 1.5vw, 1rem) 0;
  max-width: 100%;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.6ch;
}

.cd-unit-sec { min-width: 5ch; }
.cd-ms { font-size: 0.62em; }
.cd-dot { font-size: 0.62em; opacity: 0.7; }

.cd-num {
  font-size: clamp(2.8rem, 9vw, 5rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.cd-label {
  margin-top: 0.6rem;
  font-size: clamp(0.75rem, 1.4vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.cd-sep {
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 600;
  line-height: 1;
  color: rgba(255, 255, 255, 0.55);
  padding-top: 0.1em;
}

.cd-done .cd-num { opacity: 0.6; }

.element-card {
  width: min(70vw, 300px);
  filter: drop-shadow(0 24px 48px rgba(10, 30, 70, 0.55));
  animation: floaty 6s ease-in-out infinite;
}

.element-card svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* SVG text styles */
.svg-number { font-size: 30px; font-weight: 600; fill: var(--accent); }
.svg-tag    { font-size: 15px; font-weight: 500; fill: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }
.svg-symbol { font-size: 128px; font-weight: 700; letter-spacing: -2px; }
.svg-name   { font-size: 30px; font-weight: 600; fill: var(--text); letter-spacing: 0.02em; }
.svg-weight { font-size: 19px; font-weight: 400; fill: var(--muted); }
.svg-config { font-size: 16px; font-weight: 400; fill: var(--accent); opacity: 0.75; letter-spacing: 0.04em; }

.coming-soon {
  font-size: clamp(2.6rem, 9vw, 5.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, #7fe7ff, #54b8ff 45%, #9a7bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(84, 184, 255, 0.25);
}

.tagline {
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  font-weight: 500;
  color: var(--text);
  opacity: 0.92;
  max-width: 26ch;
  margin-top: -0.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.subtitle {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .element-card { animation: none; }
}
