:root {
  --monster-green: #39ff14;
  --monster-purple: #b86bff;
  --white: #ffffff;
  --muted: #c0c0dd;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    sans-serif;
  color: var(--white);
  background: #050010;
}

.page {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 2rem 1.5rem 3rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.panel {
  width: 100%;
  max-width: 420px;
  background: radial-gradient(circle at top left, rgba(184, 107, 255, 0.35), rgba(3, 3, 18, 0.94));
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.4rem 1.6rem 1.7rem;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(18px);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.countdown div {
  text-align: center;
  padding: 0.55rem 0.35rem;
  border-radius: 14px;
  background: rgba(7, 9, 32, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.countdown span {
  display: block;
  font-family: ui-monospace, Menlo, Monaco, "SF Mono", monospace;
  font-size: 1.05rem;
}

.countdown label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 0.08rem;
}

.countdown-caption {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.email-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.email-form input[type="email"] {
  flex: 1 1 220px;
  max-width: 260px;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 10, 35, 0.96);
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
}

.email-form input[type="email"]::placeholder {
  color: #8588aa;
}

.email-form button {
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  border: none;
  background: var(--monster-purple);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 14px 36px rgba(184, 107, 255, 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.email-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 48px rgba(184, 107, 255, 0.85);
}

.hidden {
  display: none;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.feed-btn {
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(57, 255, 20, 0.85);
  background: radial-gradient(circle at top left, rgba(57, 255, 20, 0.16), rgba(3, 10, 8, 0.98));
  color: var(--monster-green);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.feed-btn::after {
  content: "🍖";
}

.secondary-btn {
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.secondary-btn::before {
  content: "𝕏";
  font-size: 1rem;
}

.fed-counter {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-overlay {
    justify-content: center;
    align-items: flex-end;
    padding: 2rem 1rem 2.4rem;
  }
}

@media (max-width: 640px) {
  .panel {
    max-width: 100%;
    padding: 1.2rem 1.3rem 1.5rem;
  }

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

  .email-form input[type="email"],
  .email-form button {
    max-width: none;
    width: 100%;
  }

  .cta-row {
    flex-direction: column;
  }

  .feed-btn,
  .secondary-btn {
    justify-content: center;
  }
}
