/* ============================================================
 * Kebab Point · 100K — landing da campanha
 * Usa os design-tokens (palette.css) + acentos comemorativos.
 * ============================================================ */

:root {
  --gold: #F4C842;
  --gold-deep: #E0A82E;
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1100px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Bebas Neue", "Inter", sans-serif;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-ink);
  overflow-x: hidden;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* fundo com brilho radial fixo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% -10%, rgba(244, 123, 32, 0.22), transparent 70%),
    radial-gradient(40% 40% at 100% 100%, rgba(244, 200, 66, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

canvas#embers, canvas#confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
canvas#embers { z-index: 1; opacity: 0.7; }
canvas#confetti { z-index: 60; }

section, header, footer { position: relative; z-index: 2; }

/* ───────────── Tipografia utilitária ───────────── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1;
  margin-bottom: 0.4em;
}
.section-sub {
  text-align: center;
  color: var(--color-ink-muted);
  margin-bottom: 2.5rem;
}
.hl {
  background: linear-gradient(90deg, var(--color-accent), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ───────────── Botões ───────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), filter 0.18s;
  will-change: transform;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  box-shadow: var(--shadow-accent-lg);
}
.btn--primary:hover { transform: translateY(-2px) scale(1.02); filter: brightness(1.08); }
.btn--primary:active { transform: translateY(0) scale(0.99); }
.btn--ghost {
  background: transparent;
  color: var(--color-ink-muted);
  border: 1px solid var(--color-border-strong);
}
.btn--lg { font-size: 1.15rem; padding: 1.1rem 2rem; }
.btn--block { width: 100%; }

/* pulso de chamariz */
.btn--primary.btn--lg {
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(244, 123, 32, 0.45); }
  50% { box-shadow: 0 8px 38px rgba(244, 123, 32, 0.75); }
}

/* ───────────── Topbar ───────────── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 1.2rem;
  background: rgba(14, 12, 10, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
}
.topbar.show { transform: translateY(0); }
.topbar__logo { height: 34px; width: auto; }
.topbar__spots {
  margin-left: auto;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-ink-muted);
}
.topbar__spots span { color: var(--gold); font-weight: 900; }
.topbar__cta {
  background: var(--color-accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.topbar__login {
  background: transparent;
  border: 1px solid var(--color-border-strong);
  color: var(--color-ink-muted);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.topbar__login:hover { border-color: var(--color-accent); color: var(--color-ink); }

/* ───────────── Hero ───────────── */
.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6rem 1.2rem 3rem;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  width: 700px; height: 700px;
  top: -200px;
  background: radial-gradient(circle, rgba(244, 123, 32, 0.35), transparent 60%);
  filter: blur(30px);
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(40px) scale(1.08); }
}
.hero__inner { max-width: 820px; position: relative; }
.hero__logo {
  height: 90px; width: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 8px 24px rgba(244, 123, 32, 0.5));
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-ink-muted);
  margin-bottom: 1rem;
}
.hero__count {
  font-family: var(--font-display);
  line-height: 0.85;
  margin: 0.5rem 0 1.2rem;
}
.hero__count .counter {
  display: block;
  font-size: clamp(4.5rem, 20vw, 13rem);
  background: linear-gradient(120deg, var(--gold) 10%, var(--color-accent) 55%, var(--gold-deep) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(244, 123, 32, 0.4);
  letter-spacing: 0.01em;
}
.hero__k {
  display: block;
  font-size: clamp(1.4rem, 5vw, 2.6rem);
  letter-spacing: 0.4em;
  color: var(--color-ink);
  margin-top: 0.2em;
  padding-left: 0.4em;
}
.hero__updated {
  font-size: 0.78rem;
  color: var(--color-ink-soft);
  margin: -0.4rem 0 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 1em;
}
.hero__updated .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: livepulse 2s infinite;
}
@keyframes livepulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.hero__headline {
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.hero__headline strong { color: var(--gold); }
.hero__sub {
  color: var(--color-ink-muted);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 2rem;
}
.spots-inline {
  color: var(--gold);
  font-weight: 900;
}
.hero__scroll {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero__scroll span {
  width: 24px; height: 38px;
  border: 2px solid var(--color-ink-soft);
  border-radius: 14px;
  position: relative;
}
.hero__scroll span::after {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrolldot 1.6s infinite;
}
@keyframes scrolldot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ───────────── Stats ───────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3rem 1.2rem;
}
.stat {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4rem);
  line-height: 1;
  color: var(--gold);
}
.stat__label {
  color: var(--color-ink-muted);
  font-size: 0.95rem;
  margin-top: 0.4rem;
}

/* ───────────── Steps ───────────── */
.steps { max-width: var(--maxw); margin: 0 auto; padding: 4rem 1.2rem; }
.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}
.step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.6rem;
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.step:hover { transform: translateY(-6px); border-color: var(--color-accent); }
.step__num {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  margin-bottom: 1.2rem;
}
.step h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.step p { color: var(--color-ink-muted); }

/* ───────────── Reels ───────────── */
.reels { padding: 4rem 0; overflow: hidden; }
.reels__track {
  display: flex;
  gap: 1.2rem;
  padding: 1rem 1.2rem 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reels__track::-webkit-scrollbar { display: none; }
.reel {
  flex: 0 0 auto;
  width: min(72vw, 280px);
  aspect-ratio: 9 / 16;
  scroll-snap-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s var(--ease);
}
.reel:hover { transform: translateY(-8px) scale(1.02); }
.reel video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.reel__likes {
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(14, 12, 10, 0.7);
  backdrop-filter: blur(6px);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex; align-items: center; gap: 0.35rem;
}
.reel__mute {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(14, 12, 10, 0.7);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
}

/* ───────────── Signup ───────────── */
.signup {
  padding: 5rem 1.2rem 6rem;
  display: grid;
  place-items: center;
  position: relative;
}
.signup__glow {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(244, 123, 32, 0.25), transparent 60%);
  filter: blur(40px);
  z-index: 0;
}
.signup__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  background: linear-gradient(180deg, var(--color-surface-hi), var(--color-surface));
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}
.signup__head { text-align: center; margin-bottom: 1.8rem; }
.signup__head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  margin: 0.6rem 0 0.3rem;
}
.signup__head p { color: var(--color-ink-muted); }
.signup__head p strong { color: var(--gold); }
.badge {
  display: inline-block;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}
.badge.closed { background: var(--color-danger-soft); color: var(--color-danger); }

.progress {
  height: 10px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 1rem;
}
.progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent), var(--gold));
  border-radius: 999px;
  transition: width 1s var(--ease);
}

/* Formulário */
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field span { font-size: 0.85rem; font-weight: 600; color: var(--color-ink-muted); }
.field em { color: var(--color-ink-soft); font-style: normal; }
.field input {
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: var(--color-ink);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder { color: var(--color-ink-soft); }
.field input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}
.field input.invalid { border-color: var(--color-danger); }
.form__error {
  color: var(--color-danger);
  font-size: 0.88rem;
  min-height: 1.2em;
  text-align: center;
}
.form__fine {
  font-size: 0.75rem;
  color: var(--color-ink-soft);
  text-align: center;
  margin-top: 0.2rem;
}
.form__alt {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-ink-muted);
}
.form__hint {
  font-size: 0.88rem;
  color: var(--color-ink-muted);
  text-align: center;
  margin-bottom: 0.2rem;
}
.form__ok {
  color: var(--color-success);
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
}
.linklike {
  background: none;
  border: none;
  color: var(--color-accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}
.modal__account {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  text-align: left;
  margin-bottom: 1.2rem;
  font-size: 0.92rem;
}
.modal__account dl { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1rem; margin: 0; }
.modal__account dt { color: var(--color-ink-soft); }
.modal__account dd { margin: 0; color: var(--color-ink); font-weight: 600; text-align: right; }
.modal__account .won { color: var(--color-success); }
.modal__account .wait { color: var(--color-warning); }

/* ───────────── Footer ───────────── */
.footer {
  text-align: center;
  padding: 3rem 1.2rem 4rem;
  border-top: 1px solid var(--color-border);
}
.footer__logo { height: 56px; margin-bottom: 1rem; }
.footer__ig {
  display: block;
  color: var(--color-accent);
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
  margin-bottom: 0.4rem;
}
.footer__addr { color: var(--color-ink-muted); margin-bottom: 0.8rem; }
.footer__copy { color: var(--color-ink-soft); font-size: 0.85rem; }

/* ───────────── Modal ───────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  place-items: center;
  padding: 1.2rem;
}
.modal.open { display: grid; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}
.modal__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, var(--color-surface-hi), var(--color-surface));
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: pop 0.45s var(--ease);
}
@keyframes pop {
  0% { transform: scale(0.85) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.modal__x {
  position: absolute;
  top: 12px; right: 16px;
  background: none; border: none;
  color: var(--color-ink-soft);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}
.modal__emoji { font-size: 3.5rem; margin-bottom: 0.5rem; }
.modal__card h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}
.modal__card p { color: var(--color-ink-muted); margin-bottom: 1rem; }
.modal__pos {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold);
  margin-bottom: 1.4rem;
  line-height: 1;
}
.modal .btn { margin-top: 0.6rem; }

/* ───────────── Reveal (scroll animations) ───────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn--primary.btn--lg { animation: none; }
  .hero__glow, .hero__scroll span::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ───────────── Responsivo ───────────── */
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .topbar__cta { display: none; }
  .signup__card { padding: 1.8rem 1.4rem; }
}
