/* ============================================================
   ESTILOS — Central Leonida
   Tema escuro, vibe neon/Vice City, responsivo.
   ============================================================ */

:root {
  --bg: #0d0716;
  --bg-alt: #150b24;
  --card: #1c1030;
  --text: #f3eefb;
  --muted: #b9a8d6;
  --pink: #ff2e97;
  --cyan: #14e0e0;
  --orange: #ff9f1c;
  --radius: 16px;
  --max: 1100px;
}

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

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ===== TOPBAR ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(13, 7, 22, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.logo { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.5px; }
.logo span { color: var(--pink); }
.nav { display: flex; gap: 1.4rem; font-size: 0.95rem; }
.nav a { color: var(--muted); transition: color 0.2s; }
.nav a:hover { color: var(--cyan); }

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 46, 151, 0.18), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(20, 224, 224, 0.15), transparent 40%),
    var(--bg);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--cyan);
  margin-bottom: 0.8rem;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.grad {
  background: linear-gradient(90deg, var(--pink), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.subtitle { color: var(--muted); margin-bottom: 2.5rem; }

/* ===== TIMER ===== */
.timer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.unit {
  min-width: 90px;
  padding: 1.2rem 0.5rem;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 0 30px rgba(255, 46, 151, 0.08);
}
.num {
  display: block;
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.lbl {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--muted);
}
.release-note {
  margin-top: 2rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange);
}

/* Botão de pré-venda no hero */
.preorder-btn {
  display: inline-block;
  margin-top: 2.2rem;
  padding: 0.85rem 1.8rem;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 8px 28px rgba(255, 46, 151, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.preorder-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(255, 46, 151, 0.5);
}
.preorder-note {
  margin-top: 0.7rem;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.8;
}

/* Card de produto em destaque (o jogo) */
.card.gear.destaque {
  border-color: var(--orange);
  box-shadow: 0 0 24px rgba(255, 159, 28, 0.15);
}
.card.gear.destaque h3 { color: var(--orange); }

/* ===== SEÇÕES ===== */
.section { max-width: var(--max); margin: 0 auto; padding: 4rem 1.5rem; }
.section.alt { background: var(--bg-alt); max-width: 100%; }
.section.alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 0.5rem; }
.section-sub { color: var(--muted); margin-bottom: 2rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}
.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--pink); }
.card h3 { margin-bottom: 0.6rem; font-size: 1.15rem; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card.person h3 { color: var(--cyan); }
.card.feature { display: block; }
.card.feature:hover { border-color: var(--cyan); }
.card-cta { display: inline-block; margin-top: 0.9rem; color: var(--cyan); font-weight: 600; font-size: 0.9rem; }

.hint {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  opacity: 0.7;
}
.hint code { background: rgba(255,255,255,0.08); padding: 2px 6px; border-radius: 6px; }

/* ===== FAQ ===== */
details {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 1rem 1.3rem;
  margin-bottom: 0.8rem;
}
details summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
details summary::after { content: " +"; color: var(--pink); float: right; }
details[open] summary::after { content: " –"; }
details p { color: var(--muted); margin-top: 0.7rem; }

/* ===== FILTROS DO FEED ===== */
.feed-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}
.feed-filters button {
  padding: 0.45rem 1.1rem;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  color: var(--muted);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s;
}
.feed-filters button:hover { color: #fff; }
.feed-filters button.active {
  color: #fff;
  border-color: var(--pink);
  background: rgba(255, 46, 151, 0.12);
}

/* ===== LINHA DO TEMPO ===== */
.timeline {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(255, 46, 151, 0.35);
}
.tl-item {
  position: relative;
  padding: 0 0 1.8rem 0.5rem;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -2.05rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
}
.tl-meta { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.3rem; }
.tl-date { font-size: 0.8rem; color: var(--muted); }
.tl-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(20, 224, 224, 0.15);
  color: var(--cyan);
  padding: 2px 8px;
  border-radius: 20px;
}
.tl-item h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.tl-item p { color: var(--muted); font-size: 0.95rem; }
.tl-link { color: var(--cyan); font-size: 0.85rem; white-space: nowrap; }

/* Selos de tipo: deixam claro o que é fato e o que é rumor */
.tl-tipo {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 9px;
  border-radius: 20px;
}
.tl-tipo.ofic {
  background: rgba(20, 224, 224, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(20, 224, 224, 0.35);
}
.tl-tipo.spec {
  background: rgba(155, 107, 255, 0.15);
  color: #b99aff;
  border: 1px solid rgba(155, 107, 255, 0.4);
}
/* Item de especulação: bolinha roxa na linha do tempo */
.tl-item.especulacao::before {
  background: #9b6bff;
  box-shadow: 0 0 12px #9b6bff;
}
.tl-aviso {
  display: inline-block;
  font-size: 0.78rem;
  font-style: italic;
  color: #b99aff;
  opacity: 0.85;
}
.tl-empty { color: var(--muted); font-style: italic; padding: 1rem 0; }

/* ===== ARTIGO / CONTEÚDO ===== */
.article { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem; }
.article h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin: 0.4rem 0 1rem; }
.article .lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 1.5rem; }
.article h2 { font-size: 1.4rem; margin: 2.2rem 0 0.6rem; }
.article p { margin-bottom: 1rem; }
.article a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

.editor-note {
  background: rgba(255, 159, 28, 0.12);
  border: 1px solid rgba(255, 159, 28, 0.4);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.toc {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.toc a { color: var(--cyan); }
.spec-box {
  background: rgba(155, 107, 255, 0.1);
  border: 1px solid rgba(155, 107, 255, 0.45);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}
.spec-h { font-size: 1.1rem; margin: 1.6rem 0 0.4rem; color: #b99aff; }
.spec-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 9px;
  border-radius: 20px;
  background: rgba(155, 107, 255, 0.15);
  color: #b99aff;
  border: 1px solid rgba(155, 107, 255, 0.4);
  margin-right: 0.4rem;
  vertical-align: middle;
}
.article-footer-note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  font-size: 0.9rem;
}

/* ===== CARDS DE PRODUTO (Requisitos & Setup) ===== */
.card.gear { display: flex; flex-direction: column; }
.card.gear p { flex: 1; }
.buy-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.55rem 1.2rem;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  border-radius: 10px;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  text-decoration: none !important;
  transition: transform 0.12s, filter 0.12s;
}
.buy-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.article .cards { margin: 1.2rem 0 1.8rem; }

/* ===== FERRAMENTAS ===== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.tool-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.tool-card h2 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.tool-desc { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.2rem; }

.progress-wrap { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.progress-bar {
  flex: 1;
  height: 12px;
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
}
.progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  transition: width 0.3s;
}
.progress-label { font-size: 0.8rem; color: var(--cyan); white-space: nowrap; }

.checklist { list-style: none; }
.chk-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.chk-item label { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; flex: 1; }
.chk-item input { width: 18px; height: 18px; accent-color: var(--pink); }
.chk-item.done span { text-decoration: line-through; color: var(--muted); }
.chk-del {
  background: none; border: none; color: var(--muted);
  cursor: pointer; font-size: 0.8rem; opacity: 0.5;
}
.chk-del:hover { color: var(--pink); opacity: 1; }

.add-form { display: flex; gap: 0.5rem; margin-top: 1rem; }
.add-form input {
  flex: 1;
  padding: 0.6rem 0.8rem;
  background: var(--bg);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: var(--text);
}
.add-form button, .tool-card button[type="submit"] {
  padding: 0.6rem 1rem;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  border: none; border-radius: 10px; color: #fff; font-weight: 600; cursor: pointer;
}

.fld { display: block; margin-bottom: 0.9rem; font-size: 0.85rem; color: var(--muted); }
.fld input {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.6rem 0.8rem;
  background: var(--bg);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: var(--text);
  font-size: 1rem;
}
.calc-result {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  font-size: 0.95rem;
}
.calc-result.ok { border-color: var(--cyan); color: var(--text); }
.calc-result strong { color: var(--cyan); }

/* ===== COMPARTILHAMENTO ===== */
.share-bar {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(20, 16, 48, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 60;
}
.share-label { font-size: 0.78rem; color: var(--muted); }
.share-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s, background 0.12s;
}
.share-btn:hover { transform: scale(1.12); background: rgba(255,255,255,0.18); }
.share-btn.fb { font-weight: 800; }
.share-native {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 30px;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.share-toast {
  position: fixed;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%) translateY(10px);
  background: var(--cyan);
  color: #06202c;
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 70;
}
.share-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 560px) {
  .share-label { display: none; }
  .share-bar { right: 10px; bottom: 10px; }
}

/* ===== AD SLOT ===== */
.ad-slot {
  max-width: var(--max);
  margin: 1rem auto;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ===== PÁGINA DO MAPA ===== */
.map-page { max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem; }
.map-page h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin-bottom: 0.5rem; }

.map-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-btn .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c); box-shadow: 0 0 8px var(--c);
}
.filter-btn.active { color: #fff; border-color: var(--c); }
.filter-btn:not(.active) { opacity: 0.5; }
.filter-btn:not(.active) .dot { background: #666; box-shadow: none; }

.map-counter { font-size: 0.9rem; color: var(--muted); }
.map-counter strong { color: var(--cyan); }
.reset-btn {
  margin-left: 0.6rem;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--muted);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 0.75rem;
  cursor: pointer;
}
.reset-btn:hover { color: var(--pink); border-color: var(--pink); }

.map-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #06202c;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  cursor: grab;
  touch-action: none;
}
.map-viewport.grabbing { cursor: grabbing; }
.map-stage {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  transition: transform 0.05s linear;
}
.map-img { width: 100%; height: 100%; object-fit: cover; user-select: none; pointer-events: none; }

.marker {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  background: var(--c);
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  transition: transform 0.12s;
}
.marker:hover { transform: translate(-50%, -50%) scale(1.25); z-index: 5; }
.marker.found { opacity: 0.35; filter: grayscale(0.8); }

.map-tooltip {
  position: absolute;
  width: 220px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 0.9rem;
  font-size: 0.85rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.15s, transform 0.15s;
  z-index: 20;
}
.map-tooltip.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.tt-head { font-weight: 700; color: var(--c); margin-bottom: 0.4rem; }
.map-tooltip p { color: var(--muted); margin-bottom: 0.7rem; }
.tt-toggle {
  width: 100%;
  padding: 0.5rem;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.82rem;
}

.zoom-controls {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 15;
}
.zoom-controls button {
  width: 38px; height: 38px;
  background: rgba(20, 16, 48, 0.9);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
}
.zoom-controls button:hover { border-color: var(--cyan); }

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg-alt);
}
.footer .disclaimer {
  max-width: 700px;
  margin: 1rem auto;
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.75;
}
.footer .social { margin-top: 1rem; }
.footer .social a { color: var(--cyan); margin: 0 0.6rem; }

@media (max-width: 560px) {
  .nav { display: none; }
  .unit { min-width: 70px; }
}
