@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../assets/fonts/fredoka.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/nunito.woff2") format("woff2");
}

:root {
  --yellow: #ffe500;
  --yellow-deep: #f5c400;
  --ink: #14140f;
  --bg: #10110c;
  --bg-2: #191a13;
  --card: #222318;
  --cream: #fff8e6;
  --muted: #c9c2a6;
  --lime: #c6f000;
  --magenta: #ff2d78;
  --line: rgba(255, 229, 0, 0.2);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --wrap: 1120px;
  --header: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--cream);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(255, 229, 0, 0.08), transparent 55%),
    var(--bg);
}

img,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--yellow);
}

a:hover {
  color: var(--lime);
}

h1, h2, h3, .btn, .brand-fallback {
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  letter-spacing: -0.02em;
}

h1, h2, h3 {
  line-height: 1.05;
  margin: 0 0 0.6rem;
}

p {
  margin: 0 0 0.9rem;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--yellow);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  z-index: 20;
  border-radius: 8px;
  font-weight: 800;
}

.skip:focus {
  top: 0.7rem;
}

html[data-lang="pt"] .en,
html[data-lang="en"] .pt {
  display: none !important;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(16, 17, 12, 0.92);
  border-bottom: 1px solid rgba(255, 229, 0, 0.14);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  background: var(--yellow);
  border-radius: 14px;
  padding: 0.2rem 0.45rem;
  line-height: 0;
  flex: 0 0 auto;
}

.brand img {
  height: 46px;
  width: auto;
  display: block;
}

.nav-toggle {
  margin-left: auto;
  display: none;
  min-height: 44px;
  min-width: 44px;
  border-radius: 12px;
  border: 2px solid var(--yellow);
  background: transparent;
  color: var(--yellow);
  font-family: "Fredoka", sans-serif;
  font-weight: 650;
  font-size: 1rem;
  padding: 0 0.85rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  margin-left: auto;
  list-style: none;
  padding: 0;
}

.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.98rem;
}

.nav-links a[aria-current="page"] {
  color: var(--yellow);
}

.nav-links a:hover {
  color: var(--lime);
}

.lang-switch {
  display: flex;
  border: 2px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: "Fredoka", sans-serif;
  font-weight: 650;
  min-width: 46px;
  min-height: 40px;
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--yellow);
  color: var(--ink);
}

.hero {
  background: var(--yellow);
}

.hero img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  background: var(--yellow);
}

.intro {
  padding: 0 0 3.5rem;
}

.intro-card {
  margin-top: -3.2rem;
  position: relative;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 28px;
  padding: clamp(1.3rem, 3vw, 2.3rem);
  box-shadow: var(--shadow);
}

.intro-card a {
  color: var(--ink);
}

.kicker {
  display: inline-block;
  margin: 0 0 0.55rem;
  font-family: "Fredoka", sans-serif;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.86rem;
}

.intro-card h1 {
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  max-width: 14ch;
}

.lead {
  font-size: 1.15rem;
  max-width: 62ch;
  margin-bottom: 1.2rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 50px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  font-weight: 650;
  font-size: 1.05rem;
  line-height: 1.1;
  cursor: pointer;
}

.btn-dark {
  background: var(--ink);
  color: var(--yellow);
}

.btn-dark:hover {
  background: #000;
  color: var(--lime);
}

.btn-line {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-line:hover {
  background: var(--ink);
  color: var(--yellow);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.btn-yellow:hover {
  background: var(--lime);
  color: var(--ink);
}

.btn-line-light {
  background: transparent;
  border-color: var(--yellow);
  color: var(--yellow);
}

.btn-line-light:hover {
  background: var(--yellow);
  color: var(--ink);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.chips li {
  background: var(--ink);
  color: var(--yellow);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 800;
  font-size: 0.92rem;
}

.section,
.hero,
#jogo,
#galeria,
#trailer,
#faq,
#requisitos,
#contato {
  scroll-margin-top: calc(var(--header) + 8px);
}

.section {
  padding: 3.2rem 0;
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  max-width: 18ch;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.3rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
}

.about p {
  max-width: 75ch;
  color: var(--cream);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.feature {
  background: var(--card);
  border-radius: 18px;
  padding: 1rem 1rem 1.05rem;
  border-top: 4px solid var(--yellow);
}

.feature h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.tag-groups {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1rem;
}

.tag-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 1.1rem 1.15rem;
}

.tag-card h3 {
  font-size: 1.15rem;
  color: var(--yellow);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pills li {
  background: rgba(255, 229, 0, 0.1);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-weight: 800;
  font-size: 0.92rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.shot {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
  background: #000;
  line-height: 0;
}

.shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.shot:hover img,
.shot:focus-visible img {
  transform: scale(1.04);
}

.trailer-frame {
  background: #000;
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid var(--yellow);
  box-shadow: var(--shadow);
}

.trailer-frame video {
  display: block;
  width: 100%;
  background: #000;
}

.caption {
  color: var(--muted);
  margin: 0.7rem 0 0;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 1.5rem;
  margin: 0;
}

.facts div {
  border-top: 1px solid var(--line);
  padding: 0.75rem 0;
}

.facts dt {
  font-family: "Fredoka", sans-serif;
  color: var(--yellow);
  font-weight: 650;
}

.facts dd {
  margin: 0.15rem 0 0;
}

.page-hero {
  background: var(--yellow);
  color: var(--ink);
  padding: 2.2rem 0 2rem;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  max-width: 16ch;
}

.page-hero p {
  max-width: 62ch;
  font-size: 1.12rem;
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid rgba(255, 248, 230, 0.06);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.1rem;
  font-family: "Fredoka", sans-serif;
  font-weight: 650;
  font-size: 1.12rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--yellow);
  font-size: 1.5rem;
  line-height: 1;
  flex: 0 0 auto;
}

.faq[open] summary::after {
  content: "–";
}

.faq-body {
  padding: 0 1.1rem 1rem;
  color: var(--muted);
}

.faq-body ol,
.faq-body ul {
  margin: 0.3rem 0 0.8rem;
  padding-left: 1.2rem;
}

.faq-body a {
  font-weight: 800;
}

.reqs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.req {
  background: var(--card);
  border-radius: 18px;
  padding: 1rem 1.1rem 1.15rem;
  border-top: 4px solid var(--lime);
}

.req.rec {
  border-top-color: var(--magenta);
}

.req h3 {
  font-size: 1.35rem;
}

.req dl {
  margin: 0;
}

.req div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 0.4rem;
  padding: 0.4rem 0;
  border-top: 1px solid rgba(255, 248, 230, 0.08);
}

.req dt {
  color: var(--yellow);
  font-weight: 800;
}

.req dd {
  margin: 0;
}

.note {
  color: var(--muted);
  margin-top: 0.8rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.9rem;
}

.contact-card,
.community-card {
  border-radius: 20px;
  padding: 1.2rem 1.2rem 1.3rem;
}

.contact-card {
  background: var(--yellow);
  color: var(--ink);
}

.contact-card a {
  color: var(--ink);
}

.badge {
  display: inline-block;
  background: var(--ink);
  color: var(--yellow);
  font-family: "Fredoka", sans-serif;
  font-weight: 650;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.82rem;
  margin-bottom: 0.6rem;
}

.email {
  font-family: "Fredoka", sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  word-break: break-all;
}

.contact-card .fine {
  margin: 0.4rem 0 0;
  font-size: 0.98rem;
}

.community-card {
  background: var(--card);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
  margin-top: 1rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: start;
}

.footer-brand img {
  height: 54px;
  width: auto;
  background: var(--yellow);
  border-radius: 12px;
  padding: 0.25rem 0.4rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--cream);
  font-weight: 800;
  text-decoration: none;
}

.legal {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 1rem;
}

.lightbox {
  width: min(1100px, calc(100vw - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--cream);
}

.lightbox::backdrop {
  background: rgba(8, 8, 6, 0.88);
}

.lightbox-inner {
  position: relative;
}

.lightbox img {
  width: 100%;
  max-height: calc(100vh - 8rem);
  object-fit: contain;
  background: #000;
  border-radius: 12px;
  display: block;
}

.lightbox-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.6rem;
}

.lightbox-bar p {
  margin: 0;
  font-weight: 800;
  flex: 1 1 100%;
  order: -1;
}

.lb-btn {
  min-height: 44px;
  min-width: 44px;
  border-radius: 999px;
  border: 2px solid var(--yellow);
  background: var(--ink);
  color: var(--yellow);
  font-family: "Fredoka", sans-serif;
  font-weight: 650;
  cursor: pointer;
  padding: 0 0.85rem;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .features,
  .gallery,
  .tag-groups,
  .reqs,
  .contact-grid,
  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .tag-groups,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header: 68px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #16170f;
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1rem 1rem;
    border-bottom: 1px solid var(--line);
    gap: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0.2rem;
    border-bottom: 1px solid rgba(255, 248, 230, 0.06);
  }

  .lang-switch {
    margin-left: 0;
  }

  .header-inner {
    gap: 0.6rem;
  }

  .brand img {
    height: 40px;
  }

  .intro-card {
    margin-top: -1.6rem;
    border-radius: 20px;
  }

  .features,
  .gallery,
  .facts,
  .reqs {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .req div {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .shot img {
    transition: none;
  }
}
