:root {
  color-scheme: dark;
  --bg: #050b16;
  --bg-soft: #071629;
  --surface: rgba(8, 24, 42, 0.76);
  --surface-strong: rgba(8, 28, 50, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4fbff;
  --muted: #abc7d3;
  --teal: #22e2df;
  --teal-deep: #087e94;
  --blue: #1b8df0;
  --navy: #062248;
  --amber: #ffd37b;
  --rose: #df5d77;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.5);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 82% 12%, rgba(34, 226, 223, 0.18), transparent 34rem),
    radial-gradient(circle at 18% 76%, rgba(27, 141, 240, 0.18), transparent 32rem),
    radial-gradient(circle at 72% 88%, rgba(255, 211, 123, 0.08), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.starfield {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(var(--max), calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px 12px 16px;
  border: 1px solid rgba(34, 226, 223, 0.18);
  border-radius: 8px;
  background: rgba(5, 13, 26, 0.72);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 13, 26, 0.92);
  border-color: rgba(34, 226, 223, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  color: #ffffff;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(34, 226, 223, 0.34));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(34, 226, 223, 0.1);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(34, 226, 223, 0.08);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  padding: 128px max(24px, calc((100vw - var(--max)) / 2)) 76px;
}

.hero-art,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art {
  z-index: -3;
  object-fit: cover;
  object-position: 66% center;
  opacity: 0.7;
  filter: saturate(1.18) hue-rotate(4deg);
}

.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 18% 30%, rgba(34, 226, 223, 0.13), transparent 22rem),
    radial-gradient(circle at 19% 64%, rgba(255, 211, 123, 0.08), transparent 18rem),
    linear-gradient(90deg, rgba(5, 11, 22, 0.99) 0%, rgba(5, 11, 22, 0.9) 31%, rgba(5, 11, 22, 0.42) 64%, rgba(5, 11, 22, 0.76) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(5, 11, 22, 0) 30%);
}

.hero-content {
  position: relative;
  width: min(680px, 100%);
}

.hero-content::after {
  position: absolute;
  left: -24px;
  bottom: -34px;
  width: min(360px, 70%);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(34, 226, 223, 0.78), rgba(255, 211, 123, 0.72), transparent);
  content: "";
  opacity: 0.78;
}

.hero-logo {
  width: min(270px, 58vw);
  margin: 0 0 20px;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.54)) drop-shadow(0 0 22px rgba(34, 226, 223, 0.22));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.25rem, 8.4vw, 7.2rem);
  line-height: 0.91;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: #c9d5d0;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #2df2ee, #1b8df0 54%, #ffd37b);
  color: #04101a;
  box-shadow: 0 16px 46px rgba(34, 226, 223, 0.24);
}

.btn-ghost {
  border-color: rgba(34, 226, 223, 0.28);
  background: rgba(34, 226, 223, 0.06);
  color: var(--text);
}

.status-panel {
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 54px;
  width: min(330px, calc(100% - 48px));
  padding: 20px;
  border: 1px solid rgba(34, 226, 223, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(12, 58, 92, 0.72), rgba(6, 15, 30, 0.72)),
    rgba(10, 14, 20, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.panel-kicker,
.tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-logo {
  width: 132px;
  margin: 0 0 14px;
  border-radius: 7px;
  opacity: 0.96;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.status-panel strong {
  display: block;
  font-size: 1.24rem;
}

.status-panel p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.74fr);
  gap: 44px;
  align-items: stretch;
}

.lead {
  margin: 0;
  color: #d6dfdc;
  font-size: clamp(1.28rem, 3vw, 2.05rem);
  line-height: 1.25;
}

.metrics {
  display: grid;
  gap: 12px;
}

.metrics div,
.capability,
.step,
.game-card {
  border: 1px solid rgba(34, 226, 223, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(34, 226, 223, 0.075), rgba(255, 255, 255, 0.028)),
    rgba(4, 14, 26, 0.52);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.18);
}

.metrics div {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
}

.metrics strong {
  color: var(--teal);
  font-size: 1.55rem;
}

.metrics span {
  color: #d5dedb;
  font-weight: 760;
}

.game-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 18px;
}

.game-grid.two-games {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.game-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.game-card::after {
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 76px;
  height: 76px;
  background: url("assets/brand/icone-azul.png") center / contain no-repeat;
  content: "";
  opacity: 0.08;
  pointer-events: none;
}

.game-grid:not(.two-games) .game-card.featured {
  grid-row: span 2;
}

.game-visual {
  position: relative;
  min-height: 210px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.game-card.featured .game-visual {
  min-height: 440px;
}

.two-games .game-card.featured .game-visual,
.two-games .game-visual {
  min-height: 320px;
}

.game-visual::before,
.game-visual::after {
  position: absolute;
  content: "";
}

.visual-a {
  background:
    radial-gradient(circle at 72% 34%, rgba(255, 211, 123, 0.78), transparent 6rem),
    radial-gradient(circle at 44% 48%, rgba(34, 226, 223, 0.9), transparent 10rem),
    linear-gradient(145deg, #08182b, #062248 58%, #082f45);
}

.visual-a::before {
  inset: 18% 17% 18% 45%;
  border: 2px solid rgba(52, 214, 197, 0.54);
  transform: perspective(500px) rotateY(-24deg) rotateZ(6deg);
  box-shadow: 0 0 54px rgba(52, 214, 197, 0.35), inset 0 0 44px rgba(52, 214, 197, 0.16);
}

.visual-a::after {
  left: 8%;
  bottom: 0;
  width: 70%;
  height: 34%;
  background: linear-gradient(135deg, rgba(255, 211, 123, 0.2), rgba(34, 226, 223, 0.08));
  clip-path: polygon(0 74%, 20% 45%, 38% 62%, 52% 22%, 72% 52%, 100% 18%, 100% 100%, 0 100%);
}

.visual-b {
  background:
    linear-gradient(90deg, rgba(34, 226, 223, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(34, 226, 223, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 46% 40%, rgba(255, 211, 123, 0.48), transparent 5rem),
    radial-gradient(circle at 62% 52%, rgba(27, 141, 240, 0.46), transparent 7rem),
    #071322;
  background-size: 26px 26px, 26px 26px, auto, auto;
}

.visual-b::before {
  inset: 24% 26%;
  border: 2px solid rgba(255, 211, 123, 0.72);
  border-radius: 50%;
  box-shadow: 0 0 42px rgba(255, 211, 123, 0.2), inset 0 0 34px rgba(34, 226, 223, 0.12);
}

.visual-b::after {
  left: 50%;
  top: 50%;
  width: 3px;
  height: 72px;
  background: rgba(255, 211, 123, 0.78);
  box-shadow: 24px 24px 0 rgba(34, 226, 223, 0.68);
  content: "";
  transform: translate(-50%, -78%) rotate(-35deg);
  transform-origin: bottom center;
}

.visual-c {
  background:
    radial-gradient(circle at 38% 36%, rgba(52, 214, 197, 0.42), transparent 7rem),
    linear-gradient(155deg, #07090d 0%, #132022 48%, #24121a 100%);
}

.visual-c::before {
  left: 20%;
  top: 24%;
  width: 54%;
  height: 54%;
  border-radius: 50%;
  border: 1px solid rgba(52, 214, 197, 0.58);
  box-shadow: inset 0 0 40px rgba(52, 214, 197, 0.16), 0 0 40px rgba(52, 214, 197, 0.2);
}

.game-body {
  padding: 24px;
}

.game-body h3,
.step h3,
.capability h3 {
  margin: 0;
  font-size: 1.3rem;
}

.game-body p,
.step p,
.capability p {
  margin: 10px 0 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step {
  position: relative;
  min-height: 270px;
  padding: 28px;
}

.step span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 56px;
  place-items: center;
  border-radius: 7px;
  background: rgba(34, 226, 223, 0.12);
  color: var(--teal);
  font-weight: 900;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.capability {
  min-height: 230px;
  padding: 24px;
}

.icon-dot {
  display: block;
  width: 13px;
  height: 13px;
  margin-bottom: 54px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 18px 0 0 rgba(52, 214, 197, 0.9), 36px 0 0 rgba(223, 93, 119, 0.9);
}

.contact {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 98px 0;
}

.contact-inner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(30px, 7vw, 74px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 226, 223, 0.2), rgba(27, 141, 240, 0.16) 48%, rgba(255, 211, 123, 0.1)),
    var(--surface-strong);
  box-shadow: var(--shadow);
}

.contact-inner::after {
  position: absolute;
  right: 4%;
  bottom: -28%;
  z-index: -1;
  width: min(340px, 34%);
  aspect-ratio: 1;
  background: url("assets/brand/icone-azul.png") center / contain no-repeat;
  border: 0;
  content: "";
  opacity: 0.12;
}

.contact h2 {
  position: relative;
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 5.5rem);
  line-height: 0.96;
}

.contact p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px 0 30px;
  color: #d4ddda;
  font-size: 1.1rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer span:first-child {
  color: var(--text);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 9, 13, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 13px;
  }

  .hero {
    min-height: 940px;
    align-items: start;
  }

  .hero-content {
    padding-top: 50px;
  }

  .hero-art {
    object-position: 73% center;
  }

  .hero-overlay {
    background:
      radial-gradient(circle at 24% 18%, rgba(34, 226, 223, 0.16), transparent 16rem),
      linear-gradient(180deg, rgba(5, 11, 22, 0.8) 0%, rgba(5, 11, 22, 0.42) 38%, rgba(5, 11, 22, 0.98) 78%),
      linear-gradient(90deg, rgba(5, 11, 22, 0.94), rgba(5, 11, 22, 0.35));
  }

  h1 {
    max-width: 10ch;
  }

  .status-panel {
    left: 24px;
    right: auto;
    bottom: 34px;
  }

  .section-heading,
  .intro-grid,
  .game-grid,
  .timeline,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .game-card.featured {
    grid-row: auto;
  }

  .game-card.featured .game-visual {
    min-height: 300px;
  }

  .hero-logo {
    width: min(210px, 62vw);
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 900px;
    padding-inline: 16px;
  }

  .hero-logo {
    width: min(180px, 64vw);
    margin-bottom: 16px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .section,
  .contact,
  .site-footer {
    width: calc(100% - 28px);
  }

  .section {
    padding: 70px 0;
  }

  .status-panel {
    left: 16px;
    bottom: 24px;
    width: calc(100% - 32px);
  }

  .metrics div,
  .step,
  .capability,
  .game-body {
    padding: 20px;
  }

  .game-card,
  .step,
  .capability {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
