/* ============================================================================
 * HelixWin — Design System (Fase 1 — réplica fiel)
 *
 * Estrutura:
 *   1. Tokens (replica da inspiracao + aliases semânticos para modais)
 *   2. Reset escopado (html.ds / body.ds — evita colisão com css/style.css legado)
 *   3. CSS LITERAL DE inspiracao/index.html (linhas 15-1454)
 *      Copiado SEM reinterpretação. Adaptado apenas:
 *      - Paths img/* → ../../images/* (relativo ao CSS, funciona em subpasta)
 *      - bg-desktop.jpg → bg-copa-desktop.jpg (nome local)
 *      - fundo_helix.jpg → bg-copa-mobile.jpg (nome local)
 *   4. Override do body: deixa body.ds transparente para .lnd-page-bg
 *      aparecer (correção do bug Fase 1: legacy `overflow-x:hidden` inibe
 *      propagação body→canvas, escondendo .lnd-page-bg z-index:-1)
 *   5. Modais Fase 1 (sistema próprio com hash routing):
 *      .modal-glass / .auth-modal-foot / .input-glass / .input-wrap / etc.
 *   6. Brand wrap (logo dinâmico — js/app.js:applyBranding + js/login.js)
 *   7. Social proof toast (assets/js/social-proof-toast.js)
 *   8. Wins rotation (.lnd-win-card.is-leaving / is-entering)
 * ========================================================================== */


/* ─── 1. Tokens — replica de inspiracao/index.html:16-30 + aliases ───────── */
/* Escopados em html.ds (especificidade 0,1,1) — vencem o legacy
 * css/style.css que define os mesmos tokens em :root (0,1,0). Garante
 * que --card-bg, --pink, --pink-light, --green, --bg e --shadow do DS
 * sejam usados na landing e nos modais sem depender da ordem de import. */

html.ds {
  /* Tokens literais da inspiração */
  --pink:        #ff2600;
  --pink-light:  #59FF00;
  --green:       #59FF00;
  --card-bg:     #000000;
  --bg:          #060e07;
  --bg1:         #091409;
  --text:        #f5fff0;
  --muted:       rgba(230,255,230,0.68);
  --edge:        rgba(255,255,255,0.10);
  --radius:      16px;
  --radius-lg:   24px;
  --container:   1180px;
  --shadow:      0 24px 80px rgba(0,0,0,0.55);

  /* Aliases semânticos (Fase 1 — modais ainda referenciam esses) */
  --cta:           var(--pink);
  --cta-text:      #1a3a00;
  --neon:          var(--pink-light);
  --neon-soft:     rgba(89,255,0,0.12);
  --neon-edge:     rgba(89,255,0,0.28);
  --accent:        #FFEA00;
  --accent-soft:   rgba(255,234,0,0.10);
  --accent-edge:   rgba(255,234,0,0.30);
  --danger:        #ff6b6b;
  --edge-strong:   rgba(255,255,255,0.18);
  --edge-soft:     rgba(255,255,255,0.06);
  --muted-strong:  rgba(245,255,240,0.85);

  /* Geometria / motion p/ modais */
  --r:        12px;
  --r-md:     16px;
  --r-lg:     24px;
  --r-pill:   999px;
  --ease:     cubic-bezier(.22, 1, .36, 1);
  --t:        0.18s ease;
  --t-fast:   0.12s ease;
  --shadow-sm: 0 4px 18px rgba(0,0,0,0.30);

  /* Z-index */
  --z-modal: 200;
  --z-toast: 9000;
}


/* ─── 2. Reset escopado em .ds (não afeta legado) ──────────────────────── */

html.ds, body.ds {
  margin: 0; padding: 0;
}

/* Background base no <html> (canvas) — body.ds fica transparente para
 * .lnd-page-bg z-index:-1 aparecer. Ver bloco 4 abaixo. */
html.ds {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  height: 100%;
}
body.ds {
  background: transparent;
  color: inherit;
  font-family: inherit;
  height: 100%;
}

body.ds *, body.ds *::before, body.ds *::after { box-sizing: border-box; }
body.ds a { color: inherit; text-decoration: none; }
body.ds img { max-width: 100%; display: block; }
body.ds button, body.ds input, body.ds select, body.ds textarea { font-family: inherit; }
body.ds ul { list-style: none; }

/* Defesa em profundidade: garante que .lnd-page-bg z-index:-1 fique visível
 * mesmo se algo futuro (ou um cache de CSS legado) pintar a página por cima.
 * #page-jogo: alinha com painel para evitar barra/linha preta no topo (B5)
 * causada por background sólido do .page legacy + safe-area-inset do iOS. */
body.ds #page-landing,
body.ds #page-login,
body.ds #page-cadastro,
body.ds #page-painel,
body.ds #page-jogo {
  background: transparent;
}
/* #page-jogo precisa ocupar a viewport SEM deixar margem do html (#060e07)
 * vazar como linha preta no topo. 100dvh = dynamic viewport height:
 * acompanha barra de URL abrindo/fechando no mobile (Safari 15.4+, Chrome 108+).
 * Fallback 100vh para browsers antigos. overflow: hidden trava o scroll que
 * exporia o background do <html>. */
body.ds #page-jogo,
body.ds #page-jogo.page {
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

/* `position: sticky` em .lnd-nav requer ancestrais com overflow visible/auto/clip.
 * O legacy css/style.css:44 define `.page { overflow-x: hidden }` que quebra
 * o sticky (vira relative). overflow-x:clip eh o substituto moderno que mantem
 * a contencao horizontal mas preserva sticky (Chrome 90+, FF 81+, Safari 16+). */
body.ds #page-landing.page { overflow-x: clip; }


/* ============================================================================
 * 3. RÉPLICA LITERAL DA INSPIRAÇÃO — inspiracao/index.html:32-1454
 *    Não modificar nesta seção exceto se a inspiração mudar.
 *    Adaptações: paths img/ → ../../images/.
 * ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.is-hidden { display: none !important; }

/* ── Page bg ── */
.lnd-page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  /* Phase 2E: --landing-bg-desktop/mobile sao injetadas por applyBranding em js/app.js
     quando o admin sobe um upload em uploads/backgrounds/. Sem upload, cai no
     default do template (images/bg-copa-*.jpg). */
  background:
    linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.62)),
    var(--landing-bg-desktop, url('../../images/bg-copa-desktop.jpg')) center center / cover no-repeat;
  background-color: var(--bg); /* fallback se imagem 404 */
}
@media (max-width: 768px) {
  .lnd-page-bg {
    background:
      linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.62)),
      var(--landing-bg-mobile, url('../../images/bg-copa-mobile.jpg')) center center / cover no-repeat;
    background-color: var(--bg);
  }
}

/* ── Orbs ── */
.lnd-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
  animation: orbFloat 8s ease-in-out infinite alternate;
}
.lnd-orb-1 { width: 500px; height: 500px; background: rgba(255,234,0,0.08); top: -100px; left: -100px; animation-delay: 0s; }
.lnd-orb-2 { width: 400px; height: 400px; background: rgba(89,255,0,0.08); bottom: -80px; right: -80px; animation-delay: -3s; }
.lnd-orb-3 { width: 350px; height: 350px; background: rgba(89,255,0,0.06); top: 40%; left: 50%; transform: translate(-50%,-50%); animation-delay: -5s; }

@keyframes orbFloat {
  from { transform: translate(0,0) scale(1); }
  to { transform: translate(30px,20px) scale(1.08); }
}
.lnd-orb-3 { animation-name: orbFloat3; }
@keyframes orbFloat3 {
  from { transform: translate(-50%,-50%) scale(1); }
  to { transform: translate(calc(-50% + 25px), calc(-50% + 15px)) scale(1.05); }
}

@keyframes trophyShake {
  0%   { transform: rotate(-6deg); }
  50%  { transform: rotate(6deg); }
  100% { transform: rotate(-6deg); }
}
.trophy-shake {
  animation: trophyShake 2.4s ease-in-out infinite;
  transform-origin: center bottom;
}

/* ── Container ── */
.lnd-container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
.lnd-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,14,7,0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,234,0,0.12);
}

.lnd-nav-inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lnd-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.lnd-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(255,234,0,0.35));
}

.lnd-brand-name {
  background: linear-gradient(135deg, var(--pink-light), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lnd-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lnd-nav-link {
  font-size: 13px;
  font-weight: 600;
  color: rgba(245,240,255,0.60);
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: none;
  background: none;
}
.lnd-nav-link:hover { color: rgba(245,240,255,0.90); background: rgba(255,255,255,0.05); }

/* ── Buttons ── */
.lnd-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255,234,0,0.35);
  background: rgba(255,234,0,0.08);
  color: #59FF00;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
  text-decoration: none;
  white-space: nowrap;
}
.lnd-btn-outline:hover { border-color: rgba(255,234,0,0.65); background: rgba(255,234,0,0.14); transform: translateY(-1px); }
.lnd-btn-outline:active { transform: translateY(0); }

.lnd-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 10px;
  border: none;
  background: var(--pink);
  color: #1a3a00;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.22);
}
.lnd-btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 6px 28px rgba(0,0,0,0.30); }
.lnd-btn-primary:active { transform: translateY(0); }

/* Hero CTA big buttons */
.lnd-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 14px;
  border: none;
  background: var(--pink);
  color: #1a3a00;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  position: relative;
  overflow: hidden;
}
.lnd-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent);
  pointer-events: none;
}
.lnd-cta-btn:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 12px 44px rgba(255,234,0,0.50); }
.lnd-cta-btn:active { transform: translateY(0); }

.lnd-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 14px;
  border: 1px solid rgba(255,234,0,0.30);
  background: rgba(255,234,0,0.06);
  color: #59FF00;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
  text-decoration: none;
  white-space: nowrap;
}
.lnd-ghost-btn:hover { border-color: rgba(255,234,0,0.60); background: rgba(255,234,0,0.12); transform: translateY(-1px); }
.lnd-ghost-btn:active { transform: translateY(0); }

/* Green CTA */
.lnd-green-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #59FF00 0%, #FFEA00 100%);
  color: #1a3a00;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(89,255,0,0.35);
}
.lnd-green-btn:hover { filter: brightness(1.08); transform: translateY(-2px); }
.lnd-green-btn:active { transform: translateY(0); }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.lnd-hero {
  padding: 64px 0 48px;
}

.lnd-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

/* Live badge */
.lnd-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(89,255,0,0.12);
  border: 1px solid rgba(89,255,0,0.28);
  color: #59FF00;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.lnd-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #59FF00;
  box-shadow: 0 0 0 3px rgba(89,255,0,0.20);
  animation: livePulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(89,255,0,0.20); }
  50% { box-shadow: 0 0 0 6px rgba(89,255,0,0.08); }
}

.lnd-hero-title {
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.lnd-title-line { display: block; }

.lnd-title-accent {
  display: block;
  background: linear-gradient(135deg, #59FF00 0%, #FFEA00 50%, #59FF00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lnd-hero-sub {
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  max-width: 50ch;
  margin-bottom: 32px;
}

.lnd-hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.lnd-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lnd-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  font-size: 12px;
  font-weight: 600;
  color: rgba(245,240,255,0.80);
}

.lnd-trust-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #59FF00;
}

/* Hero right – win cards */
.lnd-win-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lnd-win-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.10);
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.lnd-win-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.16); }

.lnd-win-card-stripe {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
}

.lnd-win-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

.lnd-win-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lnd-win-card-info {
  flex: 1;
  min-width: 0;
}

.lnd-win-card-name {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lnd-win-card-time {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

.lnd-win-card-amount {
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.lnd-win-cards-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.lnd-win-cards-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(245,240,255,0.80);
  letter-spacing: 0.3px;
}

.lnd-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #59FF00;
  background: rgba(89,255,0,0.10);
  border: 1px solid rgba(89,255,0,0.22);
  border-radius: 999px;
  padding: 4px 10px;
}

/* ═══════════════════════════════════════
   STATS BAR
═══════════════════════════════════════ */
.lnd-stats {
  padding: 0 0 56px;
}

.lnd-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.lnd-stat-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
}

.lnd-stat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
}

.lnd-stat-card:nth-child(1)::before { background: linear-gradient(90deg, #59FF00, transparent); }
.lnd-stat-card:nth-child(2)::before { background: linear-gradient(90deg, #FFEA00, transparent); }
.lnd-stat-card:nth-child(3)::before { background: linear-gradient(90deg, #59FF00, transparent); }

.lnd-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 18px;
}

.lnd-stat-value {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 6px;
}

.lnd-stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

/* ═══════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════ */
.lnd-how {
  padding: 0 0 64px;
}

.lnd-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.lnd-section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #FFEA00;
  background: rgba(255,234,0,0.10);
  border: 1px solid rgba(255,234,0,0.20);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 14px;
}

.lnd-section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.lnd-section-sub {
  font-size: 15px;
  color: var(--muted);
  font-weight: 400;
  max-width: 44ch;
  margin: 0 auto;
  line-height: 1.6;
}

.lnd-how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 900px) {
  .lnd-how-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .lnd-how-grid { grid-template-columns: 1fr; }
}

.lnd-how-card {
  border-radius: 16px;
  border: 1px solid rgba(89,255,0,0.15);
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.40);
}
.lnd-how-card:hover {
  transform: translateY(-4px);
  border-color: rgba(89,255,0,0.35);
  box-shadow: 0 8px 32px rgba(0,0,0,0.55);
}

.lnd-how-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.lnd-how-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.lnd-how-card:hover .lnd-how-img-wrap img { transform: scale(1.04); }

.lnd-how-num {
  position: absolute;
  top: 10px;
  left: 12px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0,0,0,0.70);
  border: 1.5px solid rgba(89,255,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #59FF00;
  line-height: 1;
  backdrop-filter: blur(4px);
}

.lnd-how-body {
  padding: 14px 16px 18px;
}

.lnd-how-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.lnd-how-card p {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════ */
.lnd-test {
  padding: 0 0 64px;
}

.lnd-test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 700px) {
  .lnd-test-grid { grid-template-columns: 1fr; }
}

.lnd-tcard {
  border-radius: 16px;
  border: 1px solid rgba(89,255,0,0.18);
  background: var(--card-bg);
  padding: 22px 20px 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.lnd-tcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}

.lnd-tcard-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.lnd-tcard-star {
  color: #FFB800;
  font-size: 15px;
}

.lnd-tcard-text {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 18px;
}

.lnd-tcard-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(89,255,0,0.12);
  padding-top: 14px;
  margin-top: 4px;
}

.lnd-tcard-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(89,255,0,0.35);
  flex-shrink: 0;
  background: #0b3d1e;
}

.lnd-tcard-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lnd-tcard-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.lnd-tcard-role {
  font-size: 12px;
  color: #59FF00;
  font-weight: 600;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.lnd-tcard-role::before {
  content: '✓';
  font-weight: 900;
  font-size: 11px;
}

/* ═══════════════════════════════════════
   FINAL CTA
═══════════════════════════════════════ */
.lnd-cta-sec {
  padding: 0 0 72px;
}

.lnd-cta-band {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(89,255,0,0.22);
  background:
    radial-gradient(ellipse 700px 300px at 50% 0%, rgba(89,255,0,0.10) 0%, transparent 60%),
    linear-gradient(135deg, rgba(10,40,10,0.90), rgba(10,30,40,0.85));
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lnd-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 40px);
  pointer-events: none;
}

.lnd-cta-band h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
  position: relative;
}

.lnd-cta-band p {
  font-size: 16px;
  color: var(--muted);
  font-weight: 400;
  max-width: 46ch;
  margin: 0 auto 32px;
  line-height: 1.6;
  position: relative;
}

.lnd-cta-band-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.lnd-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0 36px;
}

.lnd-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.lnd-footer-copy {
  font-size: 13px;
  color: rgba(245,240,255,0.45);
  font-weight: 500;
}

.lnd-footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.lnd-footer-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(245,240,255,0.50);
  transition: color 0.15s ease;
}
.lnd-footer-links a:hover { color: rgba(245,240,255,0.85); }

/* ═══════════════════════════════════════
   MODALS – Base (modal-how, modal-demo-game, modal-demo-result)
═══════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal.open { display: flex; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.70);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  width: min(880px, 100%);
  max-height: calc(100dvh - 36px);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.10);
  background: var(--card-bg);
  box-shadow: 0 30px 90px rgba(0,0,0,0.60);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.modal.open .modal-card { transform: translateY(0); opacity: 1; }

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.modal-title b { font-size: 16px; font-weight: 700; display: block; }
.modal-title span { font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 2px; display: block; }

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: rgba(245,240,255,0.80);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
  font-size: 14px;
  flex-shrink: 0;
}
.icon-btn:hover { background: rgba(255,255,255,0.10); transform: scale(1.05); }
.icon-btn:active { transform: scale(0.98); }

.modal-body {
  padding: 18px 22px 22px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  gap: 14px;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: start;
}

.modal-steps { display: grid; gap: 12px; }

.modal-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}

.modal-step .num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,234,0,0.14);
  border: 1px solid rgba(255,234,0,0.25);
  font-weight: 900;
  font-size: 14px;
  color: #59FF00;
  flex-shrink: 0;
}

.modal-step b { display: block; font-size: 14px; font-weight: 700; margin-top: 2px; }
.modal-step p { margin: 6px 0 0; color: var(--muted); font-weight: 400; line-height: 1.55; font-size: 13px; }

.modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.modal-preview {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  padding: 18px;
}

.modal-preview h3 { margin: 0 0 12px; font-size: 14px; font-weight: 700; }
.modal-preview ul { margin: 0; padding-left: 18px; color: var(--muted); }
.modal-preview li { margin: 8px 0; line-height: 1.5; font-size: 13px; font-weight: 400; }

@media (max-width: 960px) {
  .modal-grid { grid-template-columns: 1fr; }
}

/* Auth modal glassmorphism card (réplica — sistema próprio em assets/js/modals.js) */
.auth-modal-card {
  position: relative;
  width: min(480px, 100%);
  max-height: calc(100dvh - 36px);
  border-radius: 24px;
  border: 1px solid rgba(255,234,0,0.18);
  background: var(--card-bg);
  box-shadow: 0 30px 90px rgba(0,0,0,0.60), 0 0 0 1px rgba(255,234,0,0.06) inset;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  transition: transform 0.20s cubic-bezier(.22,1,.36,1), opacity 0.18s ease;
}

.modal.open .auth-modal-card { transform: translateY(0) scale(1); opacity: 1; }

.auth-modal-header {
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.auth-modal-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  display: block;
}

.auth-modal-sub {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  display: block;
  margin-top: 4px;
}

.auth-modal-body {
  padding: 20px 24px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  min-height: 0;
}

/* Form elements */
.auth-form { display: grid; gap: 14px; }

.alert {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,234,0,0.28);
  background: rgba(255,234,0,0.08);
  color: #59FF00;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.alert-error {
  border-color: rgba(255,234,0,0.35);
  background: rgba(255,234,0,0.10);
}

.lgn-switch, .reg-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.lgn-tab {
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(245,240,255,0.70);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.lgn-tab[aria-selected="true"] {
  border-color: rgba(255,234,0,0.40);
  background: rgba(255,234,0,0.10);
  color: #59FF00;
}
.lgn-tab:hover:not([aria-selected="true"]) { border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.07); }

.auth-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(245,240,255,0.65);
  margin-bottom: 6px;
}

.auth-input {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  padding: 0 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.auth-input::placeholder { color: rgba(245,240,255,0.30); }
.auth-input:focus { border-color: rgba(255,234,0,0.50); box-shadow: 0 0 0 3px rgba(255,234,0,0.10); }

@media (max-width: 520px) {
  .auth-input { font-size: 16px; }
  .lgn-switch, .reg-row2 { grid-template-columns: 1fr; }
}

.auth-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* ── Misc (modal-how usa .switch, .form, .row2, .field, .input, .auth-grid, .btn, .btn-start, .btn-ghost, .btn-icon) ── */
.switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.switch-btn {
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(245,240,255,0.70);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.switch-btn:hover { border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.07); }
.switch-btn[aria-selected="true"] { border-color: rgba(255,234,0,0.40); background: rgba(255,234,0,0.10); color: #59FF00; }

.form { display: grid; gap: 12px; }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(245,240,255,0.65);
  margin-bottom: 6px;
}

.auth-grid { display: grid; gap: 14px; }

/* Old btn classes used in modal-how & form actions (escopados — não conflita
 * com legacy .btn em css/style.css que define padding/radius diferente,
 * pois usamos .modal-step/.modal-how específicos onde estes aparecem) */
.lnd-btn,
.modal .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
  text-decoration: none;
  white-space: nowrap;
}
.lnd-btn:hover,
.modal .btn:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.20); transform: translateY(-1px); }

.modal .btn-start {
  background: var(--pink);
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
  color: #1a3a00;
}
.modal .btn-start:hover { filter: brightness(1.08); border-color: transparent; }

.modal .btn-ghost {
  background: transparent;
  border-color: rgba(255,234,0,0.30);
  color: #59FF00;
}
.modal .btn-ghost:hover { background: rgba(255,234,0,0.08); border-color: rgba(255,234,0,0.55); }

.modal .btn-icon svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .lnd-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .lnd-hero-title { font-size: clamp(38px, 8vw, 56px); }
  .lnd-stats-grid { grid-template-columns: 1fr; gap: 10px; }
  .lnd-how-grid { grid-template-columns: 1fr; gap: 12px; }
  .lnd-test-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lnd-cta-band { padding: 44px 28px; }
}

@media (max-width: 620px) {
  .lnd-hero { padding: 44px 0 36px; }
  .lnd-test-grid { grid-template-columns: 1fr; }
  .lnd-nav-actions .lnd-btn-outline,
  .lnd-nav-actions .lnd-btn-primary { padding: 8px 14px; font-size: 12px; }
  .lnd-cta-band { padding: 36px 20px; }
  .lnd-container { width: calc(100% - 28px); }
}


/* ============================================================================
 * 5. Modais Fase 1 — sistema próprio com hash routing
 *    (assets/js/modals.js + auth-modals-wiring.js)
 * ========================================================================== */

/* .modal-glass — wrapper que coexiste com .modal da inspiração mas usa
 * opacity/visibility transitions p/ permitir fade-out (Fase 1) */
.modal-glass {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0s linear 0.15s;
}
.modal-glass.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.18s ease, visibility 0s linear 0s;
}
.modal-glass[hidden] { display: none !important; }

.modal-glass .modal-backdrop { cursor: pointer; }

/* Cards do modal-glass — reagem a .is-open (sistema próprio Fase 1) em vez
 * de .modal.open (sistema CSS literal da inspiração). */
.modal-glass .modal-card        { transform: translateY(12px); opacity: 0; transition: transform 0.18s ease, opacity 0.18s ease; }
.modal-glass.is-open .modal-card { transform: translateY(0); opacity: 1; }

.modal-glass .auth-modal-card        { transform: translateY(12px) scale(0.98); opacity: 0; transition: transform 0.20s var(--ease), opacity 0.18s ease; }
.modal-glass.is-open .auth-modal-card { transform: translateY(0) scale(1); opacity: 1; }

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(0,0,0,0.55);
  border-color: rgba(255,255,255,0.20);
}

.icon-btn-sq {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--edge);
  background: rgba(255,255,255,0.05);
  color: var(--muted-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t), transform var(--t-fast);
  font-size: 14px;
  flex-shrink: 0;
}
.icon-btn-sq:hover  { background: rgba(255,255,255,0.10); transform: scale(1.05); }
.icon-btn-sq:active { transform: scale(0.98); }

/* Auth modal foot (link "Cadastre-se" / "Já tem conta") */
.auth-modal-foot {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}
.auth-modal-foot a { color: var(--accent); font-weight: 700; cursor: pointer; }
.auth-modal-foot a:hover { opacity: 0.85; }

/* ── Pre-prod: tabs E-mail/Telefone no modal de login (replica .lgn-switch da inspiracao) ── */
.lgn-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 4px;
}
.lgn-tab {
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(245,240,255,0.70);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.lgn-tab[aria-selected="true"] {
  border-color: rgba(255,234,0,0.40);
  background: rgba(255,234,0,0.10);
  color: var(--neon, #59FF00);
}
.lgn-tab:hover:not([aria-selected="true"]) {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
}

/* ── Pre-prod: row2 (grid 2-col) usado em cadastro (email+tel, senha+confirma) ── */
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 520px) {
  .row2 { grid-template-columns: 1fr; }
}

/* ── Pre-prod: actions row (submit + ghost lado-a-lado) ── */
.auth-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.auth-actions .btn-cta {
  flex: 1 1 auto;
  min-width: 140px;
  padding: 14px 22px;
  font-size: 14px;
}

/* ── Pre-prod: btn-ghost (secundario nos modais) ── */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  color: rgba(245,240,255,0.85);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform var(--t-fast);
}
.btn-ghost:hover {
  border-color: rgba(255,234,0,0.32);
  background: rgba(255,234,0,0.06);
  color: #fff;
  transform: translateY(-1px);
}
.btn-ghost:active { transform: translateY(0); }

/* CTA primary p/ submits dos modais (não conflita com .lnd-cta-btn — usado
 * só no contexto de form do modal-glass via class .btn-cta). */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 14px;
  border: none;
  background: var(--cta);
  color: var(--cta-text);
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: filter var(--t), transform var(--t-fast), box-shadow var(--t);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  position: relative;
  overflow: hidden;
}
.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent);
  pointer-events: none;
}
.btn-cta:hover  { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 12px 44px rgba(255,38,0,0.45); }
.btn-cta:active { transform: translateY(0); }
.btn-block { width: 100%; }

/* Inputs com glass effect (modais) — coexiste com .auth-input/.input da inspiração */
.input-glass {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--edge);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  padding: 0 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.input-glass::placeholder { color: rgba(245,240,255,0.30); }
.input-glass:focus { border-color: var(--accent-edge); box-shadow: 0 0 0 3px var(--accent-soft); background: rgba(255,255,255,0.07); }
.input-glass.is-error { border-color: var(--danger); }

@media (max-width: 520px) {
  .input-glass { font-size: 16px; }
}

.auth-field { display: block; }
.auth-field .field-error {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  color: var(--danger);
  font-weight: 600;
}
.auth-field.has-error .field-error { display: block; }

.input-wrap { position: relative; }
.input-wrap .input-glass.has-icon { padding-right: 44px; }
.input-eye {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: rgba(255,255,255,0.40);
  display: flex; align-items: center;
  transition: color var(--t);
  background: none; border: none;
}
.input-eye:hover { color: rgba(255,255,255,0.85); }

/* Strength meter (cadastro) */
.pwd-strength { margin-top: 8px; display: none; }
.pwd-strength.is-visible { display: block; }
.pwd-strength__row { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.55); margin-bottom: 5px; }
.pwd-strength__bar { height: 5px; background: rgba(255,255,255,0.10); border-radius: var(--r-pill); overflow: hidden; }
.pwd-strength__fill { height: 100%; border-radius: var(--r-pill); width: 0; transition: 0.35s ease; }

/* Spinner (auth-modals-wiring.js) */
@keyframes dsSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.ds-spin { animation: dsSpin 0.7s linear infinite; }

/* Modal full-screen no mobile (≤768px) */
@media (max-width: 768px) {
  .modal-glass { padding: 0; }
  .modal-glass .auth-modal-card,
  .modal-glass .modal-card {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border-left: 0; border-right: 0;
  }
  .modal-close { top: 14px; right: 14px; }
}


/* ============================================================================
 * 6. Brand wrap — logo dinâmico (js/app.js:applyBranding + js/login.js)
 * ========================================================================== */

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
}
.brand-logo-wrap img.brand-logo-img {
  /* Pre-prod: logo larga (helix-copa horizontal) precisa de width:auto pra
     nao distorcer. Altura controla o "tamanho" e width segue o aspect ratio.
     max-width evita estourar header em mobile estreito. */
  height: 60px; width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(255,234,0,0.35));
}
@media (max-width: 480px) {
  .brand-logo-wrap img.brand-logo-img {
    height: 48px;
    max-width: 160px;
  }
}
.brand-logo-wrap .brand-logo-icon {
  width: 28px; height: 28px;
  color: var(--neon);
}
.brand-name {
  background: linear-gradient(135deg, var(--neon), var(--cta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ============================================================================
 * 7. Social proof toast (assets/js/social-proof-toast.js)
 *    Dados FICTÍCIOS — ver DESIGN_FASE1.md §10.
 * ========================================================================== */

.social-proof-container {
  position: fixed;
  bottom: 24px;
  left: 20px;
  z-index: 8500;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none;
  max-width: 320px;
}

.social-proof-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,0,0,0.85);
  border: 1px solid var(--neon-edge);
  border-left: 3px solid var(--neon);
  border-radius: 14px;
  padding: 11px 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  min-width: 230px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: auto;
  opacity: 0;
  transform: translateX(-30px) scale(0.92);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.social-proof-toast.is-visible { opacity: 1; transform: translateX(0) scale(1); }

.sp-avatar {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--neon-soft);
  border: 1px solid rgba(89,255,0,0.25);
  overflow: hidden;
  flex-shrink: 0;
}
.sp-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sp-body { flex: 1; min-width: 0; }
.sp-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sp-meta { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; font-size: 11px; font-weight: 500; }
.sp-amount { color: var(--neon); font-weight: 700; }
.sp-time   { color: var(--muted); }

@media (max-width: 480px) {
  .social-proof-container { left: 12px; bottom: 12px; right: 12px; max-width: none; }
  .social-proof-toast { min-width: 0; }
}


/* ============================================================================
 * 8. Wins rotation fade — feed ao vivo (assets/js/wins-feed.js)
 *    Aplica em .lnd-win-card durante a substituição de 1 card por vez.
 * ========================================================================== */

.lnd-win-card.is-leaving {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.lnd-win-card.is-entering {
  opacity: 0;
  transform: translateX(8px);
}
.lnd-win-card.is-entering.is-visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.20s ease, transform 0.20s ease;
}
