:root {
  --bg: #070b14;
  --surface: rgba(17, 24, 39, 0.72);
  --surface-border: rgba(148, 163, 184, 0.16);
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --accent-glow: rgba(56, 189, 248, 0.25);
  --success: #34d399;
  --error: #f87171;
  --radius: 20px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 80%);
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
}

.bg-glow--top {
  top: -180px;
  left: -120px;
  background: #0284c7;
}

.bg-glow--bottom {
  bottom: -200px;
  right: -120px;
  background: #6366f1;
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  min-height: 100vh;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: #04101d;
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.25);
}

.brand__name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card {
  width: 100%;
  padding: 44px 36px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

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

.title {
  margin: 24px 0 14px;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.title__accent {
  background: linear-gradient(135deg, #38bdf8 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  margin: 0 auto 32px;
  max-width: 50ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.countdown__item {
  min-width: 84px;
  padding: 14px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.countdown__value {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}

.countdown__label {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.countdown__sep {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--muted);
  padding-bottom: 14px;
}

.notify-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}

.notify-form__input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  font-size: 0.98rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.notify-form__input::placeholder {
  color: #64748b;
}

.notify-form__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.notify-form__btn {
  height: 48px;
  padding: 0 22px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #031525;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s, filter 0.2s;
}

.notify-form__btn:hover {
  filter: brightness(1.08);
}

.notify-form__btn:active {
  transform: translateY(1px);
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  font-size: 0.9rem;
}

.form-status--success {
  color: var(--success);
}

.form-status--error {
  color: var(--error);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer__link {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  transition: color 0.2s, border-color 0.2s;
}

.footer__link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 560px) {
  .card {
    padding: 32px 20px;
  }

  .countdown__sep {
    display: none;
  }

  .countdown__item {
    min-width: 70px;
    flex: 1 1 68px;
  }

  .notify-form {
    flex-direction: column;
  }

  .notify-form__btn {
    width: 100%;
  }
}
