/* ---------- Reset & base ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0c0f0d;
  --bg-alt: #10140f;
  --emerald: #3ecf8e;
  --emerald-dark: #1f8f5f;
  --amber: #d9a441;
  --text: #eef1ee;
  --text-muted: #9aa39c;
  --border: rgba(255, 255, 255, 0.08);
  --card: rgba(255, 255, 255, 0.035);
}

html, body {
  height: 100%;
}

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

/* ---------- Background ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 0%, var(--bg-alt), var(--bg) 70%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
}

.glow-1 {
  width: 480px;
  height: 480px;
  top: -140px;
  left: -120px;
  background: var(--emerald);
}

.glow-2 {
  width: 420px;
  height: 420px;
  bottom: -160px;
  right: -100px;
  background: var(--amber);
  opacity: 0.16;
}

.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: 40px 40px;
  mask-image: radial-gradient(circle at 50% 30%, rgba(0,0,0,0.6), transparent 75%);
}

/* ---------- Top bar ---------- */
.topbar {
  padding: 28px clamp(20px, 5vw, 56px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.logo-accent {
  color: var(--emerald);
}

.grass-icon {
  width: 18px;
  height: 18px;
  flex: none;
  background: var(--emerald);
  box-shadow:
    inset 0 -6px 0 0 #6b4a2c,
    inset -3px 0 0 0 var(--emerald-dark),
    inset 0 3px 0 0 rgba(255,255,255,0.3);
  border-radius: 3px;
}

/* ---------- Hero / Card ---------- */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 64px;
}

.card {
  position: relative;
  max-width: 560px;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  padding: clamp(36px, 6vw, 56px);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  background: rgba(62, 207, 142, 0.1);
  border: 1px solid rgba(62, 207, 142, 0.25);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 24px;
}

.title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto 32px;
}

/* Progress bar */
.progress {
  position: relative;
  width: 100%;
  max-width: 340px;
  height: 8px;
  margin: 0 auto 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 42%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--emerald-dark), var(--emerald));
  animation: fill-grow 3.5s ease-in-out infinite alternate;
}

@keyframes fill-grow {
  from { width: 36%; }
  to { width: 46%; }
}

.status-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.dots span {
  animation: dot-blink 1.4s infinite;
  opacity: 0;
}
.dots span:nth-child(1) { animation-delay: 0s; }
.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-blink {
  0%, 20% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

/* CTA button */
.cta {
  margin-bottom: 22px;
}

.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
  color: #06180f;
  text-decoration: none;
  background: var(--emerald);
  padding: 13px 28px;
  border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 8px 20px -6px rgba(62, 207, 142, 0.45);
}

.btn:hover {
  background: #55dba1;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(62, 207, 142, 0.55);
}

.btn:active {
  transform: translateY(0);
}

.hint {
  font-size: 13.5px;
  color: var(--text-muted);
  opacity: 0.85;
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 18px 16px 28px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  .title { font-size: 26px; }
  .subtitle { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
