:root {
  --bg: #0a0507;
  --bg-glow: #2c0f1e;
  --text: #fdf4f8;
  --text-muted: #b39aa5;
  --pink: #ff6fae;
  --pink-soft: #ffa8cd;
  --whatsapp: #25d366;
  --whatsapp-hover: #1fb855;
  --border: #2c1a22;
}

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

html, body {
  height: 100%;
}

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Inter", Roboto, sans-serif;
  background: radial-gradient(circle at 50% 0%, var(--bg-glow) 0%, var(--bg) 60%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(12px, 3vh, 32px) 24px 24px;
}

.page {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.brand-logo {
  width: clamp(240px, 66vw, 380px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 34px rgba(255, 111, 174, 0.28));
}

.hero-title {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.hero-title .accent {
  color: var(--pink);
}

.free-badge {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  padding: 6px 14px;
  margin-bottom: 11px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.free-badge strong {
  color: var(--whatsapp);
  font-weight: 700;
}

.social-proof {
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--pink-soft);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  max-width: 380px;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 380px;
  padding: 20px 28px;
  background: var(--whatsapp);
  color: #05210f;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 700;
  text-decoration: none;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.35);
}

.whatsapp-button:active {
  transform: translateY(0);
}

.whatsapp-button svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.urgency-badge {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pink-soft);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}

.countdown-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 6px 16px;
  margin-bottom: 14px;
  background: rgba(255, 111, 174, 0.09);
  border: 1px solid rgba(255, 111, 174, 0.35);
  border-radius: 12px;
}

.countdown-label {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.countdown-timer {
  font-size: clamp(1.05rem, 3.4vw, 1.3rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--pink);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 400px) {
  .whatsapp-button {
    padding: 18px 20px;
  }
}

/* Mobile: logo bem próximo do topo e conteúdo compacto (360–430px) */
@media (max-width: 480px) {
  body {
    padding-top: 8px;
  }

  .brand {
    margin-bottom: 8px;
  }

  .hero-title {
    margin-bottom: 8px;
  }

  .hero-subtitle {
    margin-bottom: 12px;
  }

  .urgency-badge {
    margin-bottom: 6px;
  }

  .countdown-box {
    padding: 5px 14px;
    margin-bottom: 11px;
  }
}

/* Notificação "acabou de entrar" */
.join-notification {
  position: fixed;
  left: 50%;
  bottom: clamp(10px, 3vh, 28px);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 300px;
  padding: 12px 17px;
  background: #17090f;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translate(-50%, 140%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.26s ease;
  pointer-events: none;
}

.join-notification.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.join-notification-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 111, 174, 0.16);
  color: var(--pink);
  font-weight: 700;
  font-size: 0.95rem;
}

.join-notification-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.25;
}

.join-notification-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.join-notification-city {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 520px) {
  .join-notification {
    max-width: min(calc(100vw - 32px), 290px);
    bottom: clamp(8px, 2vh, 20px);
  }
}
