/* Landing · pedrocardoso.gay — estética meme/casino (neon, stickers, ticker).
   Sem JavaScript. Mobile first. Respeita prefers-reduced-motion. */

:root {
  --bg: #050a07;
  --bg-2: #0a140e;
  --card: #0f1e16;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4fbf6;
  --muted: #a6bdae;
  --gold: #ffd21f;
  --gold-2: #ffb300;
  --neon: #39ff88;
  --pink: #ff3da8;
  --red: #ff3b3b;
  --ink: #0b0b0b;
  --radius: 18px;
  --shadow-pop: 6px 6px 0 var(--ink);
  --font-display: "Arial Black", "Helvetica Neue", Impact, system-ui, sans-serif;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.5 var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(57, 255, 136, 0.18), transparent 60%),
    radial-gradient(800px 600px at 110% 20%, rgba(255, 61, 168, 0.16), transparent 60%),
    var(--bg);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
a { color: inherit; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--ink); padding: 10px 14px; border-radius: 10px; font-weight: 800; z-index: 99; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 14px; border: 3px solid var(--ink);
  font-weight: 900; text-decoration: none; text-transform: uppercase; letter-spacing: 0.03em;
  box-shadow: var(--shadow-pop); transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); filter: brightness(1.05); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn-gold { background: linear-gradient(180deg, #fff27a, var(--gold) 55%, var(--gold-2)); color: var(--ink); }
.btn-ghost { background: var(--card); color: var(--text); border-color: var(--text); box-shadow: 6px 6px 0 var(--pink); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 13px; border-width: 2px; box-shadow: 3px 3px 0 var(--ink); }
.btn-xl { min-height: 60px; padding: 0 28px; font-size: 18px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(5, 10, 7, 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 900; text-decoration: none; letter-spacing: -0.01em; font-size: 18px; }
.logo b { color: var(--gold); }
.logo.small { font-size: 16px; margin-bottom: 6px; }
.logo-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 0 4px rgba(57, 255, 136, 0.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(57, 255, 136, 0); } }
.nav-links { display: none; gap: 22px; font-weight: 700; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
@media (min-width: 820px) { .nav-links { display: flex; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 8vw, 96px) clamp(16px, 4vw, 40px) 40px; text-align: center; display: grid; justify-items: center; gap: 22px; max-width: 1200px; margin: 0 auto; }
.hero-title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(54px, 13vw, 168px); letter-spacing: -0.04em; line-height: 0.9; }
.hero-title .line { display: block; }
.hero-title .line-2 { color: transparent; -webkit-text-stroke: 2px var(--neon); text-shadow: 6px 6px 0 var(--pink); }
.hero-title .line-3 { color: var(--gold); text-shadow: 6px 6px 0 var(--ink), 0 0 40px rgba(255, 210, 31, 0.35); }
.blink { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { max-width: 60ch; color: var(--muted); font-size: clamp(17px, 2.2vw, 20px); }
.hero-sub em { color: var(--gold); font-style: normal; font-weight: 800; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.fine { font-size: 12px; color: var(--muted); max-width: 70ch; }

.sticker {
  display: inline-block; padding: 8px 14px; border: 3px solid var(--ink); border-radius: 999px;
  background: var(--pink); color: #fff; font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em;
  box-shadow: 4px 4px 0 var(--ink);
}
.sticker-tilt { transform: rotate(-4deg); animation: wobble 3s ease-in-out infinite; }
.sticker-rot { position: absolute; right: -6px; bottom: -14px; background: var(--neon); color: var(--ink); transform: rotate(6deg); }
@keyframes wobble { 50% { transform: rotate(3deg) translateY(-3px); } }

.hero-media { position: relative; margin: 24px 0 0; width: min(960px, 100%); }
.hero-media img { width: 100%; border: 4px solid var(--ink); border-radius: 22px; box-shadow: 12px 12px 0 var(--pink); background: var(--card); }
.hero-media figcaption { z-index: 2; }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; background: var(--gold); color: var(--ink); border-block: 4px solid var(--ink); transform: rotate(-1.5deg); margin: 40px -20px; }
.ticker-track { display: flex; gap: 28px; width: max-content; padding: 12px 0; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 22px; animation: marquee 28s linear infinite; }
.ticker-track span { white-space: nowrap; }
.ticker-track span:nth-child(odd) { color: var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- secções ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 40px); }
.eyebrow { font-weight: 900; text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; color: var(--neon); margin-bottom: 12px; }
.h2 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 5vw, 56px); letter-spacing: -0.02em; margin-bottom: 36px; }
.hl { background: var(--gold); color: var(--ink); padding: 0 .12em; border-radius: 8px; box-shadow: 3px 3px 0 var(--pink); }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--muted); }
.card { background: var(--card); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-pop); padding: 24px; position: relative; }

/* passos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { transform: rotate(-0.6deg); }
.step:nth-child(2) { transform: rotate(0.8deg); }
.step:nth-child(3) { transform: rotate(-0.4deg); }
.step-num { display: inline-block; font-family: var(--font-display); font-weight: 900; font-size: 56px; color: transparent; -webkit-text-stroke: 2px var(--gold); line-height: 1; margin-bottom: 8px; }
.step h3 { font-size: 24px; font-weight: 900; text-transform: uppercase; margin-bottom: 10px; }
.step p { color: var(--muted); }
.meme-note { font-size: 13px; color: var(--gold) !important; font-weight: 700; font-style: italic; }

/* jogos */
.games { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .games { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .games { grid-template-columns: repeat(4, 1fr); } }
.game { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.game h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 26px; }
.game p { color: var(--muted); flex: 1; }
.game-emoji { font-size: 48px; line-height: 1; }
.game.is-live:hover { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: 9px 9px 0 var(--ink); }
.game.is-soon { opacity: 0.55; filter: grayscale(0.6); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--line); color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }

/* criadores / MCP */
.split { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 0.95fr; } }
.bullets { padding-left: 20px; color: var(--muted); }
.bullets li { margin-bottom: 8px; }
.bullets code { color: var(--gold); }
.terminal { background: #000; border: 3px solid var(--ink); border-radius: 16px; box-shadow: 10px 10px 0 var(--neon); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #1b1b1b; border-bottom: 1px solid #333; }
.term-bar span { width: 12px; height: 12px; border-radius: 50%; background: #444; }
.term-bar span:nth-child(1) { background: #ff5f57; }
.term-bar span:nth-child(2) { background: #febc2e; }
.term-bar span:nth-child(3) { background: #28c840; }
.term-bar em { margin-left: auto; font-style: normal; font-size: 12px; color: #888; }
.terminal pre { margin: 0; padding: 18px; overflow-x: auto; font-size: 13.5px; line-height: 1.6; color: #d7ffe6; }
.terminal .p { color: var(--gold); }
.terminal .c { color: #6b8f7a; }
.terminal .ok { color: var(--neon); font-weight: 700; }

/* FAQ */
.faq { display: grid; gap: 14px; max-width: 860px; }
.faq details { padding: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 900; font-size: 18px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 26px; color: var(--pink); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* CTA final */
.final { text-align: center; padding: clamp(60px, 10vw, 120px) 20px; background: linear-gradient(180deg, transparent, rgba(255, 61, 168, 0.12)); display: grid; justify-items: center; gap: 22px; }
.final-title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 7vw, 72px); line-height: 1; letter-spacing: -0.02em; }

/* rodapé */
.footer { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; padding: 32px clamp(16px, 4vw, 40px) 48px; border-top: 1px solid var(--line); max-width: 1200px; margin: 0 auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 700; font-size: 14px; }
.footer nav a { color: var(--muted); text-decoration: none; }
.footer nav a:hover { color: var(--gold); }
.footer .fine a { color: var(--gold); }

/* movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
