:root {
  --bg-1: #070b1f;
  --bg-2: #0d1438;
  --bg-3: #101a46;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);
  --text: #e9ecff;
  --muted: #b5c1ff;
  --accent: #7a7dff;
  --accent-2: #00d1ff;
  --shadow: 0 18px 45px rgba(3, 8, 34, 0.45);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, var(--bg-3), var(--bg-1) 40%, #020412 100%);
  overflow: hidden;
}

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 0;
  animation: floatOrb 14s ease-in-out infinite;
}

.orb-1 {
  width: 380px;
  height: 380px;
  top: -110px;
  left: -120px;
  background: radial-gradient(circle, rgba(122, 125, 255, 0.46), transparent 70%);
}

.orb-2 {
  width: 320px;
  height: 320px;
  right: -90px;
  top: 14%;
  background: radial-gradient(circle, rgba(0, 209, 255, 0.42), transparent 68%);
  animation-delay: 2.5s;
}

.orb-3 {
  width: 440px;
  height: 440px;
  bottom: -190px;
  left: 40%;
  background: radial-gradient(circle, rgba(255, 79, 163, 0.25), transparent 68%);
  animation-delay: 1.2s;
}

.container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(760px, 100%);
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 42px;
  animation: reveal 0.8s ease-out;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e9eeff;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.subtitle {
  margin: 14px 0 26px;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.65;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.time-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  text-align: center;
  padding: 16px 8px;
}

.time-box span {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.time-box small {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #65f3a2;
  box-shadow: 0 0 0 rgba(101, 243, 162, 0.55);
  animation: pulse 1.8s infinite;
}

#status-text {
  margin: 0;
  color: #d6deff;
}

.notify-form {
  display: flex;
  gap: 10px;
  margin: 0 0 18px;
}

.notify-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(11, 18, 56, 0.6);
  color: var(--text);
  border-radius: 12px;
  padding: 14px;
  outline: none;
}

.notify-form input::placeholder {
  color: #a8b2dd;
}

.notify-form input:focus {
  border-color: rgba(122, 125, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(122, 125, 255, 0.25);
}

.notify-form button {
  border: none;
  border-radius: 12px;
  padding: 0 20px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.notify-form button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.footnote {
  margin: 0;
  color: #9aa7de;
  font-size: 0.84rem;
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(18px) translateX(10px) scale(1.04);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(101, 243, 162, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(101, 243, 162, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(101, 243, 162, 0);
  }
}

@media (max-width: 700px) {
  body {
    overflow: auto;
  }

  .card {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .notify-form button {
    height: 46px;
  }
}
