:root {
  --bg: #000000;
  --glass: rgba(22, 22, 24, 0.62);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

.grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 0;
}

.glow {
  position: fixed;
  top: -20%;
  left: 10%;
  width: 70%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: float 30s ease-in-out infinite;
}

.page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 2vw, 2rem);
  padding-top: max(env(safe-area-inset-top), clamp(1rem, 2vw, 2rem));
  padding-bottom: max(env(safe-area-inset-bottom), clamp(1rem, 2vw, 2rem));
  position: relative;
  z-index: 1;
}

.hero {
  width: min(700px, 100%);
  text-align: center;
  padding: clamp(1.1rem, 4vw, 2.6rem);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-logo {
  width: min(280px, 72vw);
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}

h1 {
  margin: 0 auto 0.2rem;
  max-width: 14ch;
  font-size: clamp(1.95rem, 7vw, 4rem);
  font-weight: 900;
  letter-spacing: clamp(-1px, -0.22vw, -2.5px);
  line-height: 1.08;
}

.countdown {
  margin-top: clamp(1rem, 3vw, 1.7rem);
  display: grid;
  gap: 0.72rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.time-box {
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0.9rem;
  padding: clamp(0.72rem, 2vw, 1rem) 0.25rem;
}

.time-box span {
  display: block;
  font-size: clamp(1.26rem, 5.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.time-box small {
  color: var(--muted);
  font-size: clamp(0.7rem, 1.7vw, 0.83rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 720px) {
  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 380px) {
  .hero {
    padding-inline: 0.85rem;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(16px, -24px) scale(1.02);
  }
  66% {
    transform: translate(-12px, 16px) scale(0.98);
  }
}

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