*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --lp-bg: #0a0508;
  --lp-bg-deep: #050204;
  --lp-surface: #12080c;
  --lp-text: #f7f0f2;
  --lp-muted: #b9a4aa;
  --lp-dim: #7a6369;
  --lp-crimson: #e20435;
  --lp-crimson-deep: #9B1B30;
  --lp-crimson-hot: #C41E3A;
  --lp-crimson-soft: rgba(226, 4, 53, 0.14);
  --lp-crimson-glow: rgba(226, 4, 53, 0.35);
  --lp-border: rgba(255, 255, 255, 0.08);
  --lp-max: 1080px;
  --lp-font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --term-font: 'JetBrains Mono', 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --term-bg: #121214;
  --term-header: #1e1e20;
  --term-comment: #63636b;
  --term-time: #f0a0b0;
  --term-apost: #facc15;
  --term-players: #7dd3fc;
  --term-green: #4ade80;
  --term-red: #f87171;
  --term-key: #71717a;
  --term-val: #e4e4e7;
}

html {
  background: var(--lp-bg);
  scroll-behavior: smooth;
}

body.lp-page {
  font-family: var(--lp-font);
  background: var(--lp-bg);
  color: var(--lp-text);
  min-height: 100svh;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

.lp-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.lp-atmosphere-grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(226, 4, 53, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 4, 53, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(600px) rotateX(52deg) translateY(-12%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 75%);
  opacity: 0.7;
}

.lp-atmosphere-glow {
  position: absolute;
  width: min(90vw, 720px);
  height: min(70vh, 520px);
  left: 50%;
  top: -8%;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(226, 4, 53, 0.28) 0%, rgba(155, 27, 48, 0.12) 42%, transparent 70%);
  filter: blur(8px);
  animation: lp-glow-breathe 7s ease-in-out infinite;
}

.lp-atmosphere-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, var(--lp-bg) 78%),
    radial-gradient(ellipse 80% 50% at 80% 90%, rgba(155, 27, 48, 0.12), transparent 55%);
}

@keyframes lp-glow-breathe {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

.lp-top,
main,
.lp-foot {
  position: relative;
  z-index: 1;
}

.lp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 22px 24px 0;
}

.lp-brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lp-brand-text {
  display: inline-flex;
  align-items: baseline;
}

.lp-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 14px; /* mesmo raio do .avatar na home (app) */
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background: #12080c;
}

.lp-top-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lp-link-quiet {
  color: var(--lp-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.lp-link-quiet:hover { color: #fff; }

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--lp-crimson-hot) 0%, var(--lp-crimson-deep) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(155, 27, 48, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.lp-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 14px 34px rgba(226, 4, 53, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.lp-btn--sm {
  padding: 8px 14px;
  font-size: 0.8125rem;
  border-radius: 8px;
}
.lp-btn--ghost {
  background: transparent;
  box-shadow: none;
  border: 1px solid rgba(226, 4, 53, 0.45);
  color: #f8d5dc;
}
.lp-btn--ghost:hover {
  background: var(--lp-crimson-soft);
  box-shadow: none;
}

.lp-hero {
  min-height: min(92svh, 860px);
  display: flex;
  align-items: center;
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 48px 24px 56px;
}

.lp-hero-copy {
  max-width: 720px;
}

.lp-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lp-crimson);
  margin-bottom: 18px;
}

.lp-hero-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.lp-hero-brand {
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: #fff;
  display: inline-flex;
  align-items: baseline;
}

.lp-hero-line {
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #f3e6e9;
  max-width: 16ch;
}

.lp-hero-sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--lp-muted);
  max-width: 36rem;
  margin-bottom: 28px;
}

.lp-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lp-reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: lp-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.lp-reveal--delay-1 { animation-delay: 0.12s; }
.lp-reveal--delay-2 { animation-delay: 0.24s; }
.lp-reveal--delay-3 { animation-delay: 0.36s; }

@keyframes lp-rise {
  to { opacity: 1; transform: none; }
}

.lp-section {
  padding: 72px 24px;
}

/* Desktop: seções mais compactas (mobile mantém padding generoso) */
@media (min-width: 721px) {
  .lp-hero {
    padding: 36px 24px 40px;
    min-height: min(78svh, 720px);
  }
  .lp-section {
    padding: 44px 24px;
  }
  .lp-terminal-section {
    padding-top: 28px;
  }
  .lp-revshare {
    padding-top: 12px;
  }
  .lp-cta-band {
    padding-bottom: 64px;
  }
  .lp-cta-band .lp-section-inner {
    padding-top: 28px;
  }
}

.lp-section-inner {
  max-width: var(--lp-max);
  margin: 0 auto;
}

.lp-section-inner--narrow {
  max-width: 640px;
}

.lp-section h2 {
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  color: #fff;
}

.lp-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--lp-muted);
}

.lp-revshare {
  padding-top: 24px;
}

.lp-revshare-grid {
  display: grid;
  gap: 32px;
  align-items: center;
  margin-top: 8px;
}

@media (min-width: 800px) {
  .lp-revshare-grid {
    grid-template-columns: minmax(180px, 280px) 1fr;
    gap: 48px;
  }
}

.lp-revshare-stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 4px;
  line-height: 0.9;
}

.lp-revshare-num {
  font-size: clamp(5.5rem, 16vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, #ff4d6d 0%, var(--lp-crimson) 55%, var(--lp-crimson-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px var(--lp-crimson-glow);
  filter: drop-shadow(0 0 28px rgba(226, 4, 53, 0.35));
}

.lp-revshare-pct {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  color: var(--lp-crimson-hot);
  align-self: flex-start;
  margin-top: 0.55em;
}

.lp-revshare-cap {
  flex: 1 0 100%;
  margin-top: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-dim);
}

.lp-revshare-copy p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--lp-muted);
}

.lp-terminal-section {
  padding-top: 40px;
}

.lp-term-head {
  margin-bottom: 28px;
  max-width: 560px;
}

.lp-inline-cta { margin-top: 22px; }

/* —— Placas de Premiação —— */
.lp-plaques {
  padding-top: 56px;
  padding-bottom: 56px;
}

.lp-plaques-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 36px;
}

.lp-plaques-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(226, 4, 53, 0.28);
  background: rgba(18, 8, 12, 0.85);
  box-shadow: 0 0 0 1px rgba(226, 4, 53, 0.08), 0 0 28px rgba(226, 4, 53, 0.12);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f7f0f2;
}

.lp-plaques-badge-mark {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.lp-plaques-eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 120, 150, 0.78);
}

.lp-plaques-title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #fff;
}

.lp-plaques-title strong {
  font-weight: 800;
}

.lp-plaques-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 800px) {
  .lp-plaques-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
  }
}

.lp-plaque-card {
  margin: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0d0609;
  border: 1px solid rgba(255, 255, 255, 0.06);
  isolation: isolate;
}

.lp-plaque-card::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 70%;
  height: 55%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  filter: blur(28px);
}

.lp-plaque-card--100k::before {
  background: radial-gradient(circle, rgba(226, 4, 53, 0.55), transparent 70%);
}
.lp-plaque-card--500k::before {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.5), transparent 70%);
}
.lp-plaque-card--1m::before {
  background: radial-gradient(circle, rgba(52, 211, 153, 0.5), transparent 70%);
}

.lp-plaque-card--100k {
  box-shadow: 0 0 0 1px rgba(226, 4, 53, 0.18), 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 36px rgba(226, 4, 53, 0.12);
}
.lp-plaque-card--500k {
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.2), 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 36px rgba(56, 189, 248, 0.12);
}
.lp-plaque-card--1m {
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.2), 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 36px rgba(52, 211, 153, 0.12);
}

.lp-plaque-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 765 / 1024;
  object-fit: contain;
  object-position: center center;
  background: #0d0609;
}

.lp-plaque-img--broken {
  display: none;
}

.lp-plaque-card--fallback {
  min-height: 14rem;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 60% 45% at 50% 28%, rgba(255, 255, 255, 0.06), transparent 70%),
    #0d0609;
}

.lp-plaque-card--fallback::after {
  content: attr(data-plaque-label);
  position: relative;
  z-index: 1;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(247, 240, 242, 0.88);
}

/* Mobile: placas menores para não dominar o viewport */
@media (max-width: 720px) {
  .lp-plaques {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .lp-plaques-head {
    margin-bottom: 24px;
  }
  .lp-plaques-grid {
    gap: 14px;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
  }
  .lp-plaque-card {
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 14px;
  }
  .lp-plaque-card--fallback {
    min-height: 11rem;
  }
}

@media (min-width: 721px) {
  .lp-plaques {
    padding-top: 36px;
    padding-bottom: 40px;
  }
  .lp-plaques-head {
    margin-bottom: 28px;
  }
}

.lp-cta-band {
  padding-bottom: 96px;
}

.lp-cta-band .lp-section-inner {
  padding: 40px 0 0;
  border-top: 1px solid var(--lp-border);
}

.lp-cta-band .lp-hero-ctas {
  margin-top: 1.25rem;
}

.lp-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 0 24px 40px;
  font-size: 0.8rem;
  color: var(--lp-dim);
}

/* —— Terminal (inspirado em operação rede163_api) —— */
.term-window {
  background: var(--term-bg);
  border: 1px solid #2a2a2e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 80px rgba(226, 4, 53, 0.08);
  max-width: 920px;
}

.term-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  background: var(--term-header);
  border-bottom: 1px solid #2a2a2e;
  min-height: 36px;
}

.term-dots { display: flex; gap: 6px; flex: none; }
.term-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}
.term-dots .r { background: #ff5f57; }
.term-dots .y { background: #febc2e; }
.term-dots .g { background: #28c840; }

.term-title {
  font-family: var(--term-font);
  font-size: 12px;
  color: #8b8b93;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.term-meta { display: flex; align-items: center; gap: 8px; }

.term-cycle-badge {
  background: rgba(185, 28, 28, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(185, 28, 28, 0.45);
  box-shadow: 0 0 10px rgba(185, 28, 28, 0.15);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: var(--term-font);
}

.term-body-scroll {
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}

.term-body {
  font-family: var(--term-font);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1.8;
  color: var(--term-val);
  max-height: min(52vh, 420px);
  min-height: 280px;
  overflow-x: auto;
  overflow-y: auto;
  padding: 8px 0 12px;
  scrollbar-width: thin;
  scrollbar-color: #3f3f46 transparent;
}

.term-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 10px;
  margin: 0;
  padding: 0 12px 0 0;
  line-height: 1.8;
  min-height: 1.8em;
  white-space: nowrap;
}

.term-close-block {
  margin: 2px 0 10px;
  padding: 6px 0 10px;
  border-top: 1px solid #2a2a2e;
  border-bottom: 1px solid rgba(42, 42, 46, 0.85);
  background: linear-gradient(90deg, rgba(226, 4, 53, 0.06), transparent 55%);
}

.term-close-block .term-row.is-code {
  flex-wrap: nowrap;
  white-space: pre;
}

.tln {
  flex: none;
  width: 2.6em;
  text-align: right;
  color: #3f3f46;
  user-select: none;
  padding-right: 10px;
}

.tcm { color: var(--term-comment); }
.tarr, .tclock { color: var(--term-time); flex: none; font-weight: 500; }
.tclock { min-width: 4.6ch; }
.tk { color: var(--term-key); }
.tv { color: var(--term-val); }
.tv.apost { color: var(--term-apost); }
.tv.gain { color: var(--term-green); }
.tv.ggr { color: #fca5a5; }
.tv.pool { color: var(--term-players); }
.tfat { color: var(--term-green); font-weight: 600; }
.tident { color: #71717a; }
.term-row--caret {
  flex-wrap: nowrap;
}

.tcaret {
  display: inline-block;
  width: 7px;
  height: 14px;
  margin-left: 2px;
  background: #fff;
  vertical-align: -2px;
  animation: lp-term-caret 1s steps(1, end) infinite;
}

@keyframes lp-term-caret {
  0%, 50% { opacity: 1; }
  50.001%, 100% { opacity: 0; }
}

.term-row.is-enter {
  animation: lp-term-row-in 0.28s ease-out;
}

@keyframes lp-term-row-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .lp-top { padding: 16px 18px 0; }
  .lp-hero { padding: 36px 18px 48px; min-height: auto; }
  .lp-link-quiet { display: none; }
  .lp-section { padding: 56px 18px; }
  .lp-brand-mark { width: 28px; height: 28px; border-radius: 12px; }
  /* Fonte menor no mobile para linhas nowrap não quebrarem (estilo term.css API) */
  .term-body {
    font-size: clamp(8px, 2.55vw, 11px);
    min-height: 240px;
    line-height: 1.75;
  }
  .term-row,
  .term-close-block .term-row.is-code {
    white-space: nowrap;
    flex-wrap: nowrap;
  }
  .tcaret {
    width: 5px;
    height: 11px;
  }
  .lp-foot { padding: 0 18px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-atmosphere-glow,
  .lp-reveal,
  .term-row.is-enter,
  .tcaret {
    animation: none !important;
  }
  .lp-reveal {
    opacity: 1;
    transform: none;
  }
  .tcaret { opacity: 1; }
}
