/* 3contratodos.com — visual herdado da landing 3contratodos.com */
:root {
  --gold: #f3c204;
  --gold-soft: #ffd84d;
  --red: #e63946;
  --bg: #0a0a0a;
  --ink: #f8f7f7;
  --muted: rgba(248, 247, 247, 0.65);
  --pixel: 'Press Start 2P', monospace;
  --body: 'Pixelify Sans', system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

/* SCANLINE OVERLAY (CRT vibe) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    rgba(0,0,0,0.10) 0px,
    rgba(0,0,0,0.10) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.6;
}

/* ANIMATIONS */
@keyframes neonPulse {
  0%, 100% { text-shadow: 0 0 12px rgba(243,194,4,0.6), 0 0 32px rgba(243,194,4,0.4); }
  50%      { text-shadow: 0 0 20px rgba(243,194,4,0.95), 0 0 56px rgba(243,194,4,0.7), 0 0 100px rgba(243,194,4,0.3); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* NAV */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 22px;
  padding: 14px 20px;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(243,194,4,0.25);
}
.site-nav a {
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  padding: 8px 6px;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(243,194,4,0.6);
}
.site-nav a.nav-play {
  color: #0a0a0a;
  background: var(--gold);
  border-radius: 6px;
  padding: 8px 14px;
  text-shadow: none;
}
.site-nav a.nav-play:hover {
  background: var(--gold-soft);
  color: #0a0a0a;
}

/* HERO */
.hero {
  position: relative;
  min-height: 82vh;
  padding: 80px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.55) saturate(1.15) contrast(1.05);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, transparent 20%, rgba(10,10,10,0.55) 65%, rgba(10,10,10,0.95) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.4) 0%, transparent 30%, transparent 70%, rgba(10,10,10,0.95) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  animation: slideUp 1s ease 0.2s both;
}
.hero-logo {
  max-width: 440px;
  width: 70%;
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 32px rgba(243, 194, 4, 0.55)) drop-shadow(0 8px 16px rgba(0,0,0,0.6));
  animation: float 4s ease-in-out infinite;
}
.hero-tag {
  font-family: var(--pixel);
  font-size: clamp(10px, 1.4vw, 13px);
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 18px;
  animation: neonPulse 2.5s ease-in-out infinite;
}
.hero-title {
  font-family: var(--pixel);
  font-size: clamp(18px, 3vw, 32px);
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 14px;
  text-shadow: 0 4px 16px rgba(0,0,0,0.9), 0 0 24px rgba(0,0,0,0.6);
}
.hero-title span {
  color: var(--gold);
  text-shadow: 0 0 24px rgba(243,194,4,0.8), 0 4px 16px rgba(0,0,0,0.9);
}
.hero-sub {
  font-size: clamp(16px, 1.8vw, 22px);
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 34px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* CTA BUTTONS */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.btn-play {
  display: inline-block;
  font-family: var(--pixel);
  font-size: clamp(12px, 1.5vw, 15px);
  letter-spacing: 2px;
  color: #0a0a0a;
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 100%);
  padding: 18px 34px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 24px rgba(243,194,4,0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-play:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 40px rgba(243,194,4,0.6);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: rgba(0,0,0,0.78);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  min-width: 200px;
}
.badge:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(243, 194, 4, 0.4);
}
.badge-icon { width: 34px; height: 34px; flex-shrink: 0; }
.badge-icon svg { width: 100%; height: 100%; fill: var(--ink); }
.badge-text { text-align: left; line-height: 1.2; }
.badge-text small {
  font-family: var(--pixel);
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}
.badge-text strong { font-size: 19px; font-weight: 700; }

/* SECTIONS */
section { padding: 90px 24px; position: relative; overflow: hidden; }
.container { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.container-narrow { max-width: 780px; }
.section-title {
  font-family: var(--pixel);
  font-size: clamp(18px, 2.6vw, 28px);
  color: var(--gold);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 2px;
  animation: neonPulse 3s ease-in-out infinite;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 56px;
  font-size: clamp(15px, 1.6vw, 18px);
}
.alt-bg { background: linear-gradient(135deg, #0a0a0a 0%, #1a1308 50%, #0a0a0a 100%); }

/* PAGE HEADER (subpáginas) */
.page-head {
  padding: 70px 24px 30px;
  text-align: center;
}
.page-head h1 {
  font-family: var(--pixel);
  font-size: clamp(18px, 2.8vw, 30px);
  color: var(--gold);
  letter-spacing: 2px;
  animation: neonPulse 3s ease-in-out infinite;
  margin-bottom: 14px;
}
.page-head p { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* PROSE (texto corrido das subpáginas) */
.prose { color: var(--muted); font-size: 18px; }
.prose h2 {
  font-family: var(--pixel);
  font-size: clamp(13px, 1.8vw, 17px);
  color: var(--gold);
  letter-spacing: 1.5px;
  margin: 48px 0 18px;
  line-height: 1.6;
}
.prose h3 {
  font-family: var(--pixel);
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 1px;
  margin: 30px 0 12px;
}
.prose p { margin-bottom: 18px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: normal; color: var(--gold); font-weight: 600; }
.prose ul { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--gold); border-bottom: 1px dashed rgba(243,194,4,0.5); }
.prose a:hover { color: var(--gold-soft); border-color: var(--gold); }

/* TABLES (controles, personagens) */
.pixel-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 28px;
  font-size: 17px;
}
.pixel-table th {
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-align: left;
  padding: 12px 14px;
  border-bottom: 2px solid rgba(243,194,4,0.45);
}
.pixel-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
}
.pixel-table td:first-child { color: var(--ink); font-weight: 600; }
kbd {
  font-family: var(--pixel);
  font-size: 10px;
  background: rgba(243,194,4,0.10);
  border: 1px solid rgba(243,194,4,0.45);
  border-radius: 4px;
  padding: 4px 8px;
  color: var(--gold-soft);
  white-space: nowrap;
}

/* FEATURE / CARD GRID */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.feature {
  padding: 32px 24px;
  background: rgba(243, 194, 4, 0.04);
  border: 1px solid rgba(243, 194, 4, 0.18);
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}
.feature:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: rgba(243, 194, 4, 0.08);
}
.feature-icon {
  font-family: var(--pixel);
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 16px;
  display: inline-block;
  text-shadow: 0 0 16px rgba(243,194,4,0.6);
}
.feature h4 {
  font-family: var(--pixel);
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.feature p { color: var(--muted); font-size: 16px; line-height: 1.5; }

/* SCREENSHOTS */
.screens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.screen {
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid rgba(243, 194, 4, 0.25);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), border-color 0.35s ease;
}
.screen:hover { transform: translateY(-12px) scale(1.03); border-color: var(--gold); }
.screen img { width: 100%; height: auto; }

/* NEWS LIST */
.news-item {
  border: 1px solid rgba(243,194,4,0.18);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  background: rgba(243,194,4,0.04);
  padding: 28px 30px;
  margin-bottom: 26px;
}
.news-date {
  font-family: var(--pixel);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.news-item h2 {
  font-family: var(--pixel);
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 1px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.news-item p { color: var(--muted); margin-bottom: 10px; }
.news-item p:last-child { margin-bottom: 0; }

/* QUOTE */
.story-quote {
  font-family: var(--pixel);
  font-size: clamp(13px, 1.8vw, 17px);
  color: var(--gold);
  text-align: center;
  line-height: 1.7;
  padding: 28px 24px;
  margin: 36px auto;
  border-left: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  background: rgba(243,194,4,0.04);
  max-width: 640px;
}
.story-quote::before, .story-quote::after {
  content: '"';
  color: var(--gold);
  opacity: 0.5;
  font-size: 1.4em;
  margin: 0 6px;
}

/* FOOTER */
footer {
  padding: 48px 24px 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  margin-bottom: 22px;
}
.footer-nav a {
  font-family: var(--pixel);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--gold); }
.footer-note { font-size: 14px; opacity: 0.8; }
.footer-note a { color: var(--gold); }

/* MOBILE */
@media (max-width: 600px) {
  .hero { padding: 60px 20px 40px; min-height: 70vh; }
  section { padding: 64px 20px; }
  .badge { min-width: 0; width: 100%; max-width: 320px; padding: 12px 20px; }
  .site-nav { gap: 4px 14px; }
  .site-nav a { font-size: 8px; padding: 6px 4px; }
  .pixel-table { font-size: 15px; }
  .pixel-table th, .pixel-table td { padding: 10px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
