:root {
  --bg: #07070a;
  --fg: #f4f4f6;
  --muted: #858590;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #a5ff47;
  --accent-soft: rgba(165, 255, 71, 0.12);
  --max: 1180px;
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  min-height: 100%;
}

html { background: var(--bg); }

body {
  margin: 0;
  color: var(--fg);
  background:
    radial-gradient(circle at 50% 42%, rgba(165,255,71,0.05), transparent 28rem),
    var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 48%, black 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 48%, black 0%, transparent 78%);
}

.ambient {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.12;
}

.ambient-a {
  top: -12rem;
  right: -10rem;
  background: var(--accent);
  animation: driftA 11s ease-in-out infinite alternate;
}

.ambient-b {
  bottom: -15rem;
  left: -12rem;
  background: #5b48ff;
  opacity: 0.08;
  animation: driftB 15s ease-in-out infinite alternate;
}

.shell {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  min-height: 100svh;
  margin: 0 auto;
  padding: 28px 32px 22px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.topbar,
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.brand span { color: var(--accent); }

.status,
.footer,
.eyebrow,
.hint {
  font-family: "DM Mono", ui-monospace, monospace;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9b9ba5;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(165, 255, 71, 0.8);
  animation: pulse 1.8s ease-in-out infinite;
}

.hero {
  width: 100%;
  max-width: 820px;
  margin: auto;
  padding: 80px 0 100px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: rgba(165,255,71,0.48);
}

h1 {
  margin: 0;
  font-size: clamp(4.2rem, 10vw, 8.4rem);
  line-height: 0.88;
  letter-spacing: -0.065em;
  font-weight: 800;
}

h1 span { display: block; }

h1 .accent {
  color: var(--accent);
  text-shadow: 0 0 70px rgba(165,255,71,0.09);
}

.lede {
  margin: 28px auto 0;
  max-width: 460px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.13rem);
  line-height: 1.65;
}

.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(10px, 2.3vw, 26px);
  margin-top: 58px;
}

.time-unit {
  min-width: clamp(72px, 11vw, 108px);
}

.time-unit strong {
  display: block;
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.time-unit span {
  display: block;
  margin-top: 10px;
  color: #6d6d77;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.countdown > i {
  color: #3b3b43;
  font-style: normal;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: clamp(1.6rem, 4vw, 3rem);
  line-height: 1;
}

.hint {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
  margin-top: 42px;
  color: #5f5f68;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.line {
  width: 56px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.18));
}

.line:last-child {
  background: linear-gradient(to left, transparent, rgba(255,255,255,0.18));
}

.footer {
  padding-top: 18px;
  color: #4f4f58;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.35); opacity: 1; }
}

@keyframes driftA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-60px, 55px, 0) scale(1.08); }
}

@keyframes driftB {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(55px, -40px, 0) scale(1.06); }
}

@media (max-width: 700px) {
  .shell { padding: 22px 18px 18px; }
  .status { display: none; }
  .hero { padding: 65px 0 76px; }
  .countdown { gap: 7px; margin-top: 48px; }
  .time-unit { min-width: 60px; }
  .hint { gap: 9px; }
  .line { width: 26px; }
  .footer { font-size: 8px; }
}

@media (max-width: 430px) {
  .hero { padding-top: 52px; }
  .eyebrow { margin-bottom: 22px; }
  h1 { font-size: clamp(3.7rem, 18vw, 5.4rem); }
  .lede { margin-top: 22px; font-size: 0.95rem; }
  .countdown { margin-top: 40px; }
  .time-unit strong { font-size: 2rem; }
  .time-unit span { font-size: 8px; letter-spacing: 0.08em; }
  .countdown > i { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
}
