/* ==========================================================================
   Kick2D - kick2d.com
   Pagina de jogo: arte grande, poucas palavras, um botao que domina a tela.
   ========================================================================== */

:root {
  --bg: #06080a;
  --bg-2: #0a0e11;
  --surface: #10151a;
  --ink: #f4f7f2;
  --muted: #9aa79f;
  --dim: #626d67;
  --volt: #d4ff3f;
  --line: rgba(244, 247, 242, 0.09);
  --line-volt: rgba(212, 255, 63, 0.24);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { min-width: 320px; overflow-x: hidden; scroll-behavior: smooth; background: var(--bg); }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* pagina de jogo: arrastar nao seleciona texto nem carrega imagem */
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
img, video { -webkit-user-drag: none; user-select: none; pointer-events: none; }
h1, h2 { font-family: "Chakra Petch", "Inter", sans-serif; margin: 0; line-height: 0.86; letter-spacing: -0.045em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }
::selection { color: #0a1005; background: var(--volt); }

/* ---------------- topbar ---------------- */
.topbar {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding: 0 clamp(16px, 4vw, 44px);
  background: linear-gradient(180deg, rgba(6, 8, 10, 0.85), transparent);
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.topbar.is-stuck {
  background: rgba(6, 8, 10, 0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.nav-maps{font-size:14px;font-weight:700;color:var(--ink)}
.nav-maps:hover,.feature-maps-link:hover{color:var(--volt)}
.feature-maps-link{display:inline-block;margin-top:15px;color:var(--volt);font-weight:700}
.brand-mark {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 7px;
}
.brand-name { color: #fff; font-family: "Chakra Petch", sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.brand-name span { color: var(--volt); }

.top-actions { display: flex; align-items: center; gap: 10px; }
.language-switcher { display: inline-flex; align-items: center; border: 1px solid rgba(244, 247, 242, 0.14); border-radius: 6px; padding: 3px; background: rgba(0, 0, 0, 0.3); }
.language-switcher :is(button, a) {
  min-width: 31px;
  height: 27px;
  border-radius: 4px;
  color: #8d9992;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 700;
}
.language-switcher :is(button, a):hover { color: #fff; }
.language-switcher :is(button, a).is-active { color: #0a1005; background: var(--volt); }
.nav-cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-radius: 6px;
  padding: 0 20px;
  color: #0a1005;
  background: var(--volt);
  font-size: 13.5px;
  font-weight: 700;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}
.nav-cta:hover { background: #e4ff70; box-shadow: 0 8px 26px rgba(212, 255, 63, 0.3); transform: translateY(-1px); }

/* Entrada para as novidades. Deliberadamente discreto: quem chega na home
   quer jogar, e o botao volt tem que continuar sendo o unico destaque. */
.nav-news {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 6px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.16s ease;
}
.nav-news:hover, .nav-news:focus-visible { color: var(--ink); }
.foot-link { color: var(--muted); font-size: 13px; transition: color 0.16s ease; }
.foot-link:hover, .foot-link:focus-visible { color: var(--volt); }

/* No celular o topo fica apertado: o link do topo sai e o do rodape assume. */
@media (max-width: 560px) {
  .nav-news { display: none; }
}

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}
.hero-art { position: absolute; inset: 0; }
.hero-art img,
.hero-art video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transform: scale(1.06); }
/* cada video entra em crossfade; ate o primeiro tocar, a captura segura a tela */
.hero-art video { opacity: 0; transition: opacity 1.1s ease; }
.hero-art video.is-showing { opacity: 0.92; }
.hero-art img { transition: opacity 0.9s ease; }
.hero-art.is-live img { opacity: 0; }
/* Escurecimento so o suficiente para o texto sobreviver por cima do jogo:
   um veu leve no centro, mais denso nas bordas e no rodape da secao. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 46%, rgba(6, 8, 10, 0.34), rgba(6, 8, 10, 0.68) 78%),
    linear-gradient(180deg, rgba(6, 8, 10, 0.55), transparent 26%, transparent 62%, rgba(6, 8, 10, 0.88));
}
.hero-fade { position: absolute; right: 0; bottom: 0; left: 0; height: 160px; background: linear-gradient(180deg, transparent, var(--bg)); z-index: 2; }
.hero-inner { position: relative; z-index: 3; display: grid; justify-items: center; gap: 18px; padding: 90px 20px 40px; }

.hero h1 {
  color: #fff;
  font-size: clamp(88px, 19vw, 260px);
  font-weight: 700;
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.85), 0 20px 80px rgba(0, 0, 0, 0.6);
}
.hero h1 span { color: var(--volt); text-shadow: 0 6px 26px rgba(0, 0, 0, 0.7), 0 0 90px rgba(212, 255, 63, 0.5); }
.tag {
  color: #dbe3dc;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(12px, 1.6vw, 15px);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.play-button {
  position: relative;
  display: inline-flex;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 9px;
  padding: 0 clamp(38px, 6vw, 62px);
  color: #0a1005;
  background: var(--volt);
  box-shadow: 0 16px 50px rgba(212, 255, 63, 0.3);
  font-family: "Chakra Petch", sans-serif;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.play-button:hover { background: #e6ff78; box-shadow: 0 22px 66px rgba(212, 255, 63, 0.42); transform: translateY(-2px) scale(1.01); }
.play-button::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 36%;
  background: linear-gradient(104deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-18deg);
  animation: shine 4s ease-in-out infinite;
}
.specs { color: #97a49c; font-family: "JetBrains Mono", monospace; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9); }

/* ---------------- galeria ---------------- */
.shots {
  scroll-margin-top: 76px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: clamp(50px, 9vh, 110px) clamp(16px, 4vw, 44px);
}
.shots-heading { grid-column: 1 / -1; margin-bottom: 16px; }
.shots-heading h2 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 12px; }
.shots-heading p { color: #a8b3b9; font-size: 15px; line-height: 1.6; max-width: 760px; }
.shot { display: grid; grid-template-rows: 1fr auto; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #0a0d10; }
.shot.wide { grid-column: span 2; }
.shot > a { display: grid; place-items: center; padding: 10px; cursor: zoom-in; }
.shot > a:focus-visible { outline: 2px solid var(--volt); outline-offset: -3px; }
.shot img { display: block; width: auto; height: auto; max-width: 100%; max-height: 390px; }
.shot figcaption { align-self: end; padding: 20px 22px 24px; border-top: 1px solid var(--line); color: #c2ccc7; line-height: 1.6; }
.shot figcaption strong { display: block; color: #f3f6ef; font-size: 19px; margin-bottom: 7px; }
.shot figcaption span { display: block; font-size: 14px; }

/* ---------------- cta final ---------------- */
.cta {
  display: grid;
  justify-items: center;
  gap: 26px;
  border-top: 1px solid var(--line);
  padding: clamp(64px, 12vh, 140px) 20px;
  background:
    radial-gradient(ellipse 60% 90% at 50% 130%, rgba(212, 255, 63, 0.13), transparent 70%),
    var(--bg-2);
  text-align: center;
}
.cta h2 { color: #fff; font-size: clamp(52px, 9vw, 120px); font-weight: 700; }
.cta h2 span { color: var(--volt); }
.plats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.plat {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 16px;
  color: #8d9992;
  background: var(--surface);
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 700;
}
.plat i { border: 1px solid rgba(244, 247, 242, 0.16); border-radius: 3px; padding: 2px 5px; color: var(--dim); font-size: 8.5px; font-style: normal; letter-spacing: 0.06em; }
.plat.live { border-color: var(--line-volt); color: #e9ffb4; background: rgba(212, 255, 63, 0.07); }
.plat.live b { width: 7px; height: 7px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 12px rgba(212, 255, 63, 0.9); animation: pulse 2s ease-in-out infinite; }
.discord { color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; }
.discord:hover { color: var(--volt); }

/* ---------------- footer ---------------- */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  border-top: 1px solid var(--line);
  padding: 0 clamp(16px, 4vw, 44px);
  background: #040506;
}
.footer .brand-name { font-size: 19px; }
.foot-note { color: var(--dim); font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------------- modal ---------------- */
.dl-modal {
  width: min(420px, calc(100vw - 32px));
  border: 1px solid var(--line-volt);
  border-radius: 14px;
  padding: 34px 30px 28px;
  color: var(--ink);
  background: var(--bg-2);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8);
  text-align: center;
}
.dl-modal::backdrop { background: rgba(3, 5, 6, 0.86); backdrop-filter: blur(5px); }
.dl-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(244, 247, 242, 0.2);
  border-radius: 6px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
}
.dl-close:hover { border-color: var(--volt); color: var(--volt); }
.dl-icon {
  display: grid;
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  place-items: center;
  border: 1px solid var(--volt);
  border-radius: 50%;
  color: var(--volt);
  background: rgba(212, 255, 63, 0.08);
  font-size: 25px;
  animation: bob 1.5s ease-in-out infinite;
}
.dl-title { margin: 0 0 18px; color: #fff; font-family: "Chakra Petch", sans-serif; font-size: 24px; font-weight: 700; }
.dl-steps { display: grid; margin: 0 0 20px; padding: 0; list-style: none; counter-reset: s; border-top: 1px solid var(--line); text-align: left; }
.dl-steps li {
  counter-increment: s;
  position: relative;
  min-height: 46px;
  display: flex;
  align-items: center;
  padding-left: 34px;
  border-bottom: 1px solid var(--line);
  color: #dee5df;
  font-size: 14.5px;
}
.dl-steps li::before {
  content: "0" counter(s);
  position: absolute;
  left: 0;
  color: var(--volt);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
}
.dl-retry {
  display: inline-flex;
  min-height: 44px;
  width: 100%;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 247, 242, 0.22);
  border-radius: 8px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}
.dl-retry:hover { border-color: var(--volt); color: var(--volt); }

@keyframes pulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes shine { 0%, 58% { left: -60%; } 88%, 100% { left: 130%; } }

@media (max-width: 900px) {
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot.wide { grid-column: span 2; }
  .shot { min-height: 190px; }
}

@media (max-width: 560px) {
  .shots { grid-template-columns: 1fr; }
  .shot.wide { grid-column: span 1; }
  .play-button { width: 100%; }
  .hero-inner { padding-inline: 16px; }
  .foot-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .play-button::after { content: none; }
}

.language-switcher a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

/* Readable game information, installation steps and native FAQ controls. */
.hero-summary { max-width: 540px; margin: 0; color: #e0e7e2; font-size: clamp(15px, 1.8vw, 18px); line-height: 1.65; text-wrap: pretty; }
.hero-guide-link { padding: 8px; color: var(--volt); font-size: 13px; text-underline-offset: 4px; }
.hero-guide-link:hover { text-decoration: underline; }
.game-content { width: min(1180px, 100%); margin: 0 auto; padding: 72px clamp(20px, 4vw, 44px); scroll-margin-top: 90px; }
.game-content + .game-content { border-top: 1px solid var(--line); }
.content-kicker { color: var(--volt); font: 700 11px "JetBrains Mono", monospace; letter-spacing: .16em; }
.game-content h2 { max-width: 820px; margin: 16px 0 24px; font: 700 clamp(30px, 4.5vw, 48px)/1.15 "Chakra Petch", sans-serif; letter-spacing: -.025em; text-wrap: balance; }
.game-about-lead { max-width: 790px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.game-features, .game-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 36px 0 0; padding: 0; }
.game-features article { border-top: 1px solid var(--line); padding-top: 20px; }
.game-content h3 { margin: 0 0 12px; font: 600 21px/1.3 "Chakra Petch", sans-serif; }
.game-features p, .game-steps p, .game-faq p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.game-steps { list-style: none; counter-reset: step; }
.game-steps li { counter-increment: step; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.game-steps li::before { display: block; margin-bottom: 24px; color: var(--volt); content: "0" counter(step); font: 700 13px "JetBrains Mono", monospace; }
.game-start-note { margin: 24px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.game-faq { margin-top: 32px; border-top: 1px solid var(--line); }
.game-faq details { border-bottom: 1px solid var(--line); }
.game-faq summary { padding: 22px 0; color: var(--ink); font-weight: 600; cursor: pointer; }
.game-faq summary::marker { color: var(--volt); }
.game-faq p { max-width: 860px; padding: 0 0 24px; }
.game-content a { color: var(--volt); text-decoration: underline; text-underline-offset: 4px; }
.game-faq summary:focus-visible { outline: 2px solid var(--volt); outline-offset: 4px; }
@media (max-width: 760px) {
  .game-content { padding-block: 48px; }
  .game-features, .game-steps { grid-template-columns: 1fr; }
  .hero-inner { gap: 16px; }
}
