/* KTOOM Studios: preto profundo, roxo da marca e branco */
:root {
  --bg: #07050d;
  --bg2: #0e0a1a;
  --panel: rgba(255, 255, 255, 0.04);
  --line: rgba(190, 150, 255, 0.16);
  --text: #f4f1fb;
  --muted: #a69fbb;
  --purple: #8b3dff;
  --purple-2: #a45cff;
  --purple-l: #cfb2ff;
  --gold: #ffd23f;
  --green: #22c55e;
  --discord: #5865f2;
  --radius: 18px;
  --head: "Exo 2", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }

h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(30px, 5vw, 48px); font-weight: 800; font-style: italic; letter-spacing: -.01em; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0 0 1em; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--purple-l); outline-offset: 3px;
}
.btn-primary { background: linear-gradient(135deg, var(--purple-2), var(--purple)); color: #fff; box-shadow: 0 10px 30px -10px rgba(139, 61, 255, .8); }
.btn-primary:hover { box-shadow: 0 14px 40px -10px rgba(139, 61, 255, 1); }
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,.03); color: var(--text); }
.btn-ghost:hover { border-color: var(--purple-l); }
.btn-discord { background: var(--discord); color: #fff; }
.btn-discord:hover { box-shadow: 0 12px 30px -10px rgba(88, 101, 242, .9); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 18px 34px; font-size: 18px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- topo ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7, 5, 13, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { width: 128px; height: auto; }
.links { display: flex; align-items: center; gap: 28px; }
.links a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; transition: color .2s; }
.links a:not(.btn):hover { color: #fff; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  overflow: hidden; padding: 110px 0 90px; text-align: center;
}
.hero-glow {
  position: absolute; width: 1100px; height: 1100px; left: 50%; top: 42%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(139, 61, 255, .42) 0%, rgba(90, 30, 200, .16) 35%, transparent 65%);
  animation: breathe 6s ease-in-out infinite;
}
.grid-floor {
  position: absolute; inset: auto -20% -10% -20%; height: 46%;
  background-image:
    linear-gradient(rgba(164, 92, 255, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(164, 92, 255, .35) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: top;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 50%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 50%, transparent 95%);
  animation: floor 3s linear infinite;
  opacity: .55;
}
.hero-in { position: relative; z-index: 2; }
.eyebrow {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(139, 61, 255, .1);
  color: var(--purple-l); font-weight: 600; font-size: 14px; letter-spacing: .04em;
}
.hero-logo { margin: 34px auto 30px; width: min(760px, 88vw); display: grid; justify-items: center; gap: 0; }
.logo-k { width: 100%; height: auto; filter: drop-shadow(0 0 40px rgba(164, 92, 255, .45)); animation: wipe 1s cubic-bezier(.7,0,.2,1) .2s both, glitch 3.5s steps(1) 1.4s infinite; }
.logo-line { width: 104%; height: 2px; margin: 4.5% 0 4%; background: linear-gradient(90deg, transparent, var(--purple-2) 15%, var(--purple-l) 50%, var(--purple-2) 85%, transparent); box-shadow: 0 0 18px var(--purple-2); transform-origin: center; animation: grow .9s cubic-bezier(.2,.8,.2,1) both; }
.logo-s { width: 62%; height: auto; animation: rise .7s ease-out 1s both; }
.hero-lead { font-size: clamp(17px, 2.4vw, 21px); color: var(--muted); max-width: 620px; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 14px; z-index: 2; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--purple-l); animation: dot 1.6s ease-in-out infinite; }

@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.08); opacity: .85; } }
@keyframes floor { to { background-position: 0 64px, 0 0; } }
@keyframes wipe { from { clip-path: inset(-40% 100% -40% -10%); transform: scaleX(1.12); } to { clip-path: inset(-40% -10% -40% -10%); transform: scaleX(1); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scaleX(1.3); } to { opacity: 1; transform: none; } }
@keyframes dot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes glitch {
  0%, 92%, 100% { transform: none; filter: drop-shadow(0 0 40px rgba(164, 92, 255, .45)); }
  93% { transform: translateX(-4px) skewX(-6deg); filter: drop-shadow(4px 0 0 #ff3fa5) drop-shadow(-4px 0 0 #3fc4ff); }
  95% { transform: translateX(3px); filter: drop-shadow(-3px 0 0 #ff3fa5) drop-shadow(3px 0 0 #3fc4ff); }
  97% { transform: none; }
}

/* ---------- seções ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 130px) 0; }
.head { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.kicker { font: 800 13px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--purple-2); margin-bottom: 16px; }
.kicker-gold { color: var(--gold); }
.sub { color: var(--muted); font-size: 18px; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 30px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
  transition: transform .3s, border-color .3s, background .3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(190, 150, 255, .45); background: rgba(139, 61, 255, .07); }
.card p { color: var(--muted); margin: 0; }
.ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(135deg, rgba(164, 92, 255, .3), rgba(139, 61, 255, .08)); color: var(--purple-l); font-size: 26px; border: 1px solid var(--line); }

/* ---------- Favela Venceu ---------- */
.game { overflow: hidden; }
.game-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(7, 5, 13, .7) 18%, rgba(7, 5, 13, .82) 80%, var(--bg) 100%),
    url("img/bg-game.webp") center / cover no-repeat;
  opacity: .9;
}
.game .wrap { position: relative; }
.game-top { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.fv-logo { width: min(420px, 80%); height: auto; margin: 0 0 18px -8px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.6)); }
.game-lead { font-size: 18px; color: #e8e3f3; }
.game-lead strong { color: var(--gold); }
.feats { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.feats li { position: relative; padding-left: 30px; color: var(--muted); }
.feats li b { color: var(--text); font-weight: 600; }
.feats li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 5px; background: linear-gradient(135deg, #2bdc6b, #13a34a); box-shadow: 0 0 12px rgba(34, 197, 94, .5); }
.store {
  position: relative; display: grid; justify-items: start; gap: 12px;
  padding: 22px 24px; border-radius: 22px; max-width: 470px;
  background: linear-gradient(135deg, rgba(34, 197, 94, .14), rgba(255, 210, 63, .08) 60%, rgba(7, 5, 13, .4));
  border: 1px solid rgba(255, 210, 63, .35);
  box-shadow: 0 20px 60px -30px rgba(34, 197, 94, .7);
}
.store-tag { margin: 0; font: 800 13px/1 var(--body); letter-spacing: .22em; color: var(--gold); }
.store-note { margin: 0; color: var(--muted); font-size: 14px; }

/* botão da Google Play: preto como o selo oficial, com contorno colorido girando */
.gplay {
  --h: 64px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 14px; height: var(--h); padding: 0 28px 0 20px;
  background: #000; border-radius: 16px; text-decoration: none; color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .9), 0 0 32px -6px rgba(0, 240, 118, .45);
}
.gplay::before {
  content: ""; position: absolute; inset: -3px; z-index: -2; border-radius: 19px;
  background: conic-gradient(from var(--a, 0deg), #00d7fe, #00f076, #ffc900, #f6324e, #00d7fe);
  animation: spin 4s linear infinite;
}
.gplay::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 16px; background: #000; }
.gplay:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 22px 50px -14px rgba(0, 0, 0, .9), 0 0 44px -4px rgba(0, 240, 118, .7); }
.gplay svg { width: 36px; height: 36px; }
.gplay span { display: grid; font: 700 27px/1.02 var(--body); letter-spacing: -.01em; text-align: left; white-space: nowrap; }
.gplay small { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: #d6d6d6; }
.gplay-big { --h: 84px; padding: 0 30px 0 24px; gap: 16px; animation: pulse 2.4s ease-in-out infinite; }
.gplay-big svg { width: 46px; height: 46px; }
.gplay-big span { font-size: 34px; }
.gplay-big small { font-size: 13px; }
.gplay-arrow { margin-left: 8px; font-size: 28px; color: var(--gold); transition: transform .2s; }
.gplay:hover .gplay-arrow { transform: translateX(5px); }
.gplay-hero { --h: 62px; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
@keyframes pulse { 50% { box-shadow: 0 16px 40px -14px rgba(0,0,0,.9), 0 0 56px 0 rgba(0, 240, 118, .55); } }

.phones { position: relative; height: 620px; }
.phone {
  position: absolute; margin: 0; width: 270px; aspect-ratio: 540 / 1170; border-radius: 34px; padding: 9px;
  background: linear-gradient(160deg, #2a2340, #0c0915); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.6) inset;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.p1 { left: 4%; top: 30px; transform: rotate(-7deg); }
.p2 { right: 4%; top: 0; transform: rotate(5deg); z-index: 2; box-shadow: 0 40px 90px -30px rgba(0,0,0,.95), 0 0 60px -10px rgba(255, 120, 30, .35); }

.cast { margin: 70px 0 50px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cast-track { display: flex; gap: 26px; width: max-content; animation: marquee 30s linear infinite; }
.cast-track img { width: 150px; height: 150px; object-fit: contain; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid var(--line); padding: 10px; }
.cast:hover .cast-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 13px)); } }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); position: relative; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.shot:hover img { transform: scale(1.03); }
.shot figcaption { position: absolute; left: 12px; bottom: 12px; padding: 7px 13px; border-radius: 999px; background: rgba(7, 5, 13, .8); backdrop-filter: blur(6px); font-size: 13px; font-weight: 600; }
.shot.wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.shot.tall { aspect-ratio: 540 / 900; }
.shot.tall img { object-position: top; }

.chars { display: flex; justify-content: center; gap: clamp(10px, 3vw, 34px); margin-top: 60px; flex-wrap: wrap; }
.char { display: grid; justify-items: center; gap: 8px; }
.char img { width: clamp(76px, 12vw, 120px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid rgba(255, 210, 63, .7); box-shadow: 0 10px 30px -10px rgba(0,0,0,.8); background: #1a1426; }
.char span { font-size: 13px; font-weight: 600; color: var(--muted); text-align: center; max-width: 120px; }
.disclaimer { text-align: center; color: #7d7690; font-size: 13px; margin: 40px 0 0; }
.game { padding-bottom: clamp(50px, 7vw, 80px); }
#comunidade { padding-top: clamp(40px, 6vw, 70px); }

/* ---------- Discord ---------- */
.discord-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: 28px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(88, 101, 242, .35), transparent 55%), linear-gradient(135deg, #15102a, #0d0a18);
  border: 1px solid rgba(120, 130, 255, .28);
}
.discord-card h2 { margin-bottom: .3em; }
.discord-card p:last-child { color: var(--muted); margin: 0; }
.dc-art { width: 110px; height: 110px; border-radius: 30px; display: grid; place-items: center; background: var(--discord); color: #fff; font-size: 64px; box-shadow: 0 20px 50px -15px rgba(88, 101, 242, .9); transform: rotate(-8deg); }

/* ---------- suporte ---------- */
.support { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; color: var(--muted); }
.contact li { display: flex; gap: 12px; align-items: flex-start; }
.contact svg { font-size: 22px; color: var(--purple-l); margin-top: 2px; }
.contact a { color: var(--purple-l); font-weight: 600; text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.form { padding: clamp(22px, 4vw, 36px); border-radius: 24px; background: var(--bg2); border: 1px solid var(--line); display: grid; gap: 18px; box-shadow: 0 30px 80px -40px rgba(139, 61, 255, .55); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: #ddd6ee; }
.opt { color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04); color: var(--text); font: 400 16px/1.4 var(--body);
  transition: border-color .2s, background .2s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--purple-l) 50%), linear-gradient(135deg, var(--purple-l) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.form select option { background: #15102a; }
.form textarea { resize: vertical; min-height: 140px; }
.form input::placeholder, .form textarea::placeholder { color: #6e6782; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: rgba(190, 150, 255, .35); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--purple-2); background: rgba(139, 61, 255, .07); outline: none; }
.form .invalid { border-color: #ff5d7a !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0; min-height: 1.4em; font-size: 15px; text-align: center; }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #ff7a90; }

/* ---------- rodapé ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.foot-in img { width: 110px; height: auto; opacity: .9; }
.foot-in nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-in nav a { text-decoration: none; }
.foot-in nav a:hover { color: #fff; }
.foot-in p { margin: 0; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; z-index: 80;
  padding: 13px 22px; border-radius: 14px; background: #1c1530; border: 1px solid var(--line); color: var(--text);
  font-weight: 600; font-size: 15px; box-shadow: 0 20px 50px -20px #000; transition: transform .35s cubic-bezier(.2,.9,.3,1.2), visibility .35s;
  width: max-content; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* aparecer ao rolar */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: .9s; }
.hero .hero-cta.reveal { transition-delay: 1.1s; }

/* ---------- responsivo ---------- */
@media (max-width: 980px) {
  .game-top { grid-template-columns: 1fr; }
  .phones { height: 560px; max-width: 520px; width: 100%; margin: 0 auto; }
  .support { grid-template-columns: 1fr; gap: 36px; }
  .discord-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .links {
    position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 16px 22px; background: var(--bg); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); visibility: hidden; transition: transform .35s ease, visibility 0s linear .35s; z-index: -1;
  }
  .links.open { transform: none; visibility: visible; transition: transform .35s ease; }
  .links a:not(.btn) { padding: 15px 4px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 17px; }
  .links .btn { margin-top: 16px; padding: 14px; }
  .nav.menu-open { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .cards3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .shot.tall:last-child { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .row2 { grid-template-columns: 1fr; }
  .phones { height: 440px; }
  .phone { width: 190px; border-radius: 26px; padding: 7px; }
  .phone img { border-radius: 20px; }
  .p1 { left: 0; }
  .p2 { right: 0; }
  .cast-track img { width: 110px; height: 110px; }
  .gallery { gap: 12px; }
  .shot figcaption { font-size: 11px; padding: 5px 10px; left: 8px; bottom: 8px; }
  .hero-cta .btn { width: 100%; }
  .store { justify-items: stretch; max-width: none; padding: 18px; }
  .gplay-big { width: 100%; justify-content: center; --h: 76px; padding: 0 16px; }
  .gplay-big span { font-size: 27px; }
  .gplay-big svg { width: 40px; height: 40px; }
  .gplay-hero { width: 100%; justify-content: center; }
  .store-tag, .store-note { text-align: center; }
  .game-copy { text-align: left; }
  .foot-in { flex-direction: column; text-align: center; }
  .foot-in nav { justify-content: center; }
}

@media (max-width: 380px) {
  .gplay-arrow { display: none; }
  .gplay span { font-size: 24px; }
  .gplay-big span { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
