:root {
  --bg: #0b0b1a;
  --bg-2: #0a0a14;
  --text: #f4f4fb;
  --muted: #a3a3c2;
  --c1: #7c3aed;   /* violet */
  --c2: #db2777;   /* pink   */
  --c3: #06b6d4;   /* cyan   */
  --accent: #f59e0b; /* amber */
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.1);
  --radius: 16px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ---------- Background ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 70% -10%, rgba(124, 58, 237, 0.18), transparent 60%),
    radial-gradient(800px 600px at 10% 110%, rgba(6, 182, 212, 0.14), transparent 60%),
    var(--bg);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}
.blob-1 {
  width: 460px; height: 460px;
  background: var(--c1);
  top: -120px; left: -80px;
  animation: float1 18s ease-in-out infinite;
}
.blob-2 {
  width: 420px; height: 420px;
  background: var(--c2);
  bottom: -140px; right: -60px;
  animation: float2 22s ease-in-out infinite;
}
.blob-3 {
  width: 360px; height: 360px;
  background: var(--c3);
  top: 40%; left: 55%;
  opacity: 0.35;
  animation: float3 26s ease-in-out infinite;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, -30px) scale(1.08); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 50px) scale(0.92); }
}

/* ---------- Layout ---------- */
.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark { flex: none; filter: drop-shadow(0 6px 18px rgba(124,58,237,0.35)); }
.brand-name {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.brand-accent {
  background: linear-gradient(90deg, var(--c2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 22px;
  padding: 40px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.title {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 6.5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.grad {
  background: linear-gradient(100deg, var(--c1), var(--c2) 45%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  color: var(--muted);
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  line-height: 1.6;
  max-width: 48ch;
}

/* ---------- Countdown ---------- */
.countdown {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 6px;
}
.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 68px;
  padding: 12px 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(8px);
}
.cd-num {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.cd-label {
  margin-top: 6px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.cd-sep {
  font-family: "Sora", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--muted);
  padding-top: 14px;
}

/* ---------- Notify form ---------- */
.notify {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 440px;
  margin-top: 8px;
}
.notify-input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-size: 0.98rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.notify-input::placeholder { color: #6e6e90; }
.notify-input:focus {
  outline: none;
  border-color: var(--c1);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.25);
}
.notify-btn {
  flex: none;
  padding: 14px 22px;
  border: none;
  border-radius: 12px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(100deg, var(--c1), var(--c2));
  background-size: 160% 160%;
  transition: transform 0.15s, box-shadow 0.2s, background-position 0.4s;
  box-shadow: 0 8px 22px rgba(124,58,237,0.32);
}
.notify-btn:hover {
  transform: translateY(-1px);
  background-position: right center;
  box-shadow: 0 10px 28px rgba(219,39,119,0.38);
}
.notify-btn:active { transform: translateY(0); }
.notify-btn:disabled { opacity: 0.6; cursor: default; transform: none; }

.notify-msg {
  min-height: 1.2em;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: -6px;
}
.notify-msg.ok { color: #4ade80; }
.notify-msg.err { color: #fb7185; }

/* ---------- Store badges ---------- */
.store {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
}
.store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}
.store-text small { font-size: 0.68rem; color: var(--muted); }
.store-text strong {
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

/* ---------- Footer ---------- */
.foot {
  text-align: center;
  color: #6e6e90;
  font-size: 0.82rem;
  padding-top: 16px;
}

@media (max-width: 480px) {
  .cd-unit { min-width: 0; flex: 1; padding: 10px 4px; }
  .countdown { width: 100%; max-width: 360px; }
  .notify { flex-direction: column; }
  .notify-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .blob, .badge-dot { animation: none; }
}
