:root {
  --bg:      #0d120a;
  --surface: #141a10;
  --green:   #4ade80;
  --gold:    #fbbf24;
  --text:    #ecf0e8;
  --muted:   #6b7a5e;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grid background */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(74,222,128,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,222,128,0.04) 1px, transparent 1px);
  background-size: 55px 55px;
  pointer-events: none;
}

/* Blobs */
.blob {
  position: fixed; border-radius: 50%;
  filter: blur(120px); pointer-events: none;
}
.b1 { width: 500px; height: 500px; background: rgba(74,222,128,0.07);  top: -150px; right: -100px; animation: drift1 12s ease-in-out infinite; }
.b2 { width: 400px; height: 400px; background: rgba(161,98,7,0.09);    bottom: -100px; left: -80px; animation: drift2 15s ease-in-out infinite; }
.b3 { width: 250px; height: 250px; background: rgba(251,191,36,0.05);  top: 40%; left: 35%; animation: drift1 18s ease-in-out infinite reverse; }

@keyframes drift1 { 0%,100% { transform: translate(0,0); }  50% { transform: translate(30px,-30px); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0); }  50% { transform: translate(-20px,25px); } }

/* Card */
.card {
  position: relative; z-index: 1;
  background: rgba(20,26,16,0.7);
  border: 1px solid rgba(74,222,128,0.14);
  border-radius: 28px;
  padding: 4rem 3.5rem;
  max-width: 580px; width: 90%;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  animation: fadeUp 0.7s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.28);
  color: var(--green); padding: 0.32rem 1rem; border-radius: 20px;
  font-size: 0.7rem; letter-spacing: 2.5px; text-transform: uppercase;
  font-weight: 700; margin-bottom: 2rem;
  animation: fadeUp 0.7s 0.1s ease both;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.2; } }

/* Heading */
h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 9vw, 5rem);
  font-weight: 800; line-height: 1.0; letter-spacing: -2px;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.7s 0.15s ease both;
}
h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--green), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sub {
  color: var(--muted); font-size: 1rem; line-height: 1.75;
  margin-bottom: 2.8rem;
  animation: fadeUp 0.7s 0.2s ease both;
}

/* Countdown */
.countdown {
  display: flex; justify-content: center; gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeUp 0.7s 0.25s ease both;
  flex-wrap: wrap;
}
.cd-box {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px; padding: 1.1rem 1.2rem;
  min-width: 72px; text-align: center;
  transition: border-color 0.3s;
}
.cd-box.pulse { border-color: rgba(74,222,128,0.4); }
.cd-num {
  font-family: 'Syne', sans-serif; font-size: 2rem;
  font-weight: 800; line-height: 1; color: var(--text);
  transition: transform 0.15s, color 0.15s;
}
.cd-num.flip { transform: scale(1.15); color: var(--green); }
.cd-label {
  color: var(--muted); font-size: 0.65rem;
  letter-spacing: 1.5px; text-transform: uppercase; margin-top: 0.3rem;
}

/* Divider */
.line {
  width: 100%; height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 0 0 2.5rem;
}

/* Notify form */
.notify {
  display: flex; gap: 0.6rem;
  animation: fadeUp 0.7s 0.3s ease both;
}
.notify input {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 0.75rem 1rem;
  color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.notify input::placeholder { color: rgba(107,122,94,0.55); }
.notify input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74,222,128,0.12);
}
.notify button {
  background: var(--green); color: #0d120a;
  border: none; padding: 0.75rem 1.4rem; border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 0.9rem;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: transform 0.15s, box-shadow 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.notify button:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(74,222,128,0.35); }
.notify button:active { transform: scale(0.96); }

.success-msg {
  display: none; align-items: center; justify-content: center; gap: 0.5rem;
  color: var(--green); font-size: 0.88rem; font-weight: 500;
  padding: 0.75rem;
  animation: fadeUp 0.4s ease both;
}

/* Mobile */
@media (max-width: 480px) {
  .card { padding: 2.8rem 1.8rem; border-radius: 22px; }
  .cd-box { min-width: 60px; padding: 0.9rem; }
  .cd-num { font-size: 1.6rem; }
  .notify { flex-direction: column; }
  .notify button { width: 100%; }
}
