:root {
  --bg: #030507;
  --bg-soft: rgba(6, 14, 18, 0.82);
  --panel: rgba(8, 18, 24, 0.78);
  --panel-strong: rgba(10, 18, 16, 0.92);
  --text: #eefdf7;
  --text-soft: #c7efe5;
  --muted: #89b7ba;
  --gold: #ffdb6e;
  --gold-strong: #ffd148;
  --cyan: #83f7ff;
  --cyan-strong: #45dfff;
  --green: #7bffbe;
  --emerald: #2f8f6b;
  --emerald-light: #44c79b;
  --border: rgba(131, 247, 255, 0.24);
  --border-strong: rgba(255, 219, 110, 0.38);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Courier New", monospace;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(0, 255, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(1, 5, 8, 0.92)),
    #000 url("./assets/papel_parede_menu.png") no-repeat center center fixed;
  background-size: cover;
  overflow-x: hidden;
}

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

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

iframe {
  border: 0;
}

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

.stars,
.nebula {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.stars {
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255, 219, 110, 0.7) 0 1px, transparent 1.4px),
    radial-gradient(circle at 75% 18%, rgba(131, 247, 255, 0.7) 0 1px, transparent 1.4px),
    radial-gradient(circle at 25% 80%, rgba(255, 255, 255, 0.6) 0 1px, transparent 1.6px),
    radial-gradient(circle at 60% 65%, rgba(255, 219, 110, 0.55) 0 1px, transparent 1.4px),
    radial-gradient(circle at 90% 75%, rgba(131, 247, 255, 0.55) 0 1px, transparent 1.3px);
  background-size: 320px 320px;
  opacity: 0.55;
  z-index: -3;
}

.nebula {
  z-index: -2;
  filter: blur(80px);
  opacity: 0.28;
}

.nebula-a {
  background: radial-gradient(circle at 20% 25%, rgba(0, 255, 255, 0.55), transparent 26%);
}

.nebula-b {
  background: radial-gradient(circle at 80% 15%, rgba(255, 210, 122, 0.45), transparent 22%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(4, 8, 11, 0.78);
  border-bottom: 1px solid rgba(131, 247, 255, 0.16);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-logo,
.footer-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 12px rgba(255, 219, 110, 0.18));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  padding: 72px 0 34px;
}

.hero-grid,
.section-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.section-grid-wide {
  grid-template-columns: 0.9fr 1.1fr;
}

.hero-title-image {
  width: min(520px, 100%);
  margin-bottom: 22px;
  image-rendering: pixelated;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.4));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-lead,
.section-copy p,
.section-subtitle,
.world-card p,
.cta-panel p,
.hero-card p {
  color: var(--text-soft);
  line-height: 1.75;
}

.status-note {
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 219, 110, 0.24);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(26, 20, 8, 0.72), rgba(10, 16, 20, 0.62));
  color: var(--text-soft);
  line-height: 1.7;
}

.status-note strong,
.status-version {
  color: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 22px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    filter 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #231606;
  border-color: rgba(255, 232, 176, 0.6);
  box-shadow: 0 18px 30px rgba(255, 181, 64, 0.18);
}

.btn-ghost {
  background: linear-gradient(135deg, rgba(12, 20, 24, 0.9), rgba(8, 14, 18, 0.72));
  color: var(--cyan);
  border-color: rgba(131, 247, 255, 0.28);
}

.btn-small {
  padding: 11px 18px;
  font-size: 0.85rem;
}

.btn-large {
  min-width: 185px;
}

.btn-xl {
  min-width: 240px;
  padding: 18px 28px;
  font-size: 1rem;
}

.pulse {
  animation: ntPulse 2.1s ease-in-out infinite;
}

.hero-badges,
.tag-list,
.flow-list,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges li,
.tag-list li,
.pill,
.flow-list li {
  border: 1px solid rgba(131, 247, 255, 0.2);
  background: linear-gradient(135deg, rgba(10, 20, 18, 0.8), rgba(6, 12, 10, 0.72));
  color: var(--text-soft);
}

.hero-badges li,
.tag-list li,
.pill {
  border-radius: 999px;
  padding: 11px 14px;
}

.frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(10, 18, 16, 0.95), rgba(10, 18, 24, 0.82));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 30%, transparent 70%, rgba(131, 247, 255, 0.06));
  pointer-events: none;
}

.hero-card {
  min-height: 100%;
}

.hero-banner {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid rgba(131, 247, 255, 0.14);
}

.hero-card-content,
.world-card-content,
.cta-panel,
.section-panel,
.feature-card,
.video-frame,
.gallery-card,
.stat-card {
  padding: 24px;
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 219, 110, 0.14);
  color: var(--gold);
  border: 1px solid rgba(255, 219, 110, 0.28);
}

.chip-alt {
  background: rgba(131, 247, 255, 0.12);
  color: var(--cyan);
  border-color: rgba(131, 247, 255, 0.28);
}

.hero-card h1,
.section h2,
.cta-panel h2 {
  margin: 0 0 14px;
  line-height: 1.15;
}

.section {
  padding: 34px 0 46px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.stats-grid,
.feature-grid,
.world-grid,
.gallery-grid {
  display: grid;
  gap: 20px;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  text-align: center;
}

.stat-value {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--gold);
  font-weight: 700;
}

.stat-label {
  color: var(--text-soft);
}

.section-panel h3,
.frame h3 {
  margin-top: 0;
  color: var(--cyan);
}

.flow-list {
  display: grid;
  gap: 12px;
  counter-reset: etapa;
}

.flow-list li {
  position: relative;
  padding: 18px 18px 18px 62px;
  border-radius: 18px;
  line-height: 1.6;
}

.flow-list li::before {
  counter-increment: etapa;
  content: counter(etapa);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), #ffb13d);
  color: #231606;
  font-weight: 700;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  min-height: 100%;
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--gold);
}

.feature-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.alt-section {
  background: linear-gradient(180deg, rgba(5, 10, 13, 0.32), rgba(3, 5, 7, 0.08));
}

.world-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.world-card img,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-carousel {
  position: relative;
  width: 100%;
  margin-top: 18px;
}

.gallery-track-wrapper {
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 20px;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  min-width: min(540px, 100%);
  max-width: 640px;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  padding: 0;
  scroll-snap-align: center;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 64px rgba(0, 0, 0, 0.32);
}

.gallery-card img {
  border-radius: 24px;
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.gallery-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 1.35rem;
  transition: transform 0.24s ease, background 0.24s ease;
}

.gallery-nav:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.16);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: transform 0.24s ease, background 0.24s ease;
}

.gallery-dot.active {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.94);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(3, 4, 6, 0.9);
  z-index: 1200;
  padding: 24px;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: min(100%, 1120px);
  width: 100%;
  max-height: min(100%, 90vh);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
  background: rgba(7, 11, 16, 0.96);
}

.lightbox-image {
  width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  display: block;
  background: #06080b;
}

.lightbox-caption {
  margin: 0;
  padding: 18px 22px;
  color: var(--text-soft);
  font-size: 0.96rem;
  background: rgba(0, 0, 0, 0.16);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 2;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.dual-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.dual-panel > .frame {
  padding: 24px;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  display: inline-flex;
}

.video-frame {
  padding: 18px;
}

.video-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid rgba(131, 247, 255, 0.16);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
}

.video-fallback {
  margin: 14px 0 0;
  text-align: center;
  color: var(--text-soft);
  line-height: 1.6;
}

.video-fallback a {
  color: var(--gold);
  text-decoration: underline;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
  padding: 12px;
}

.cta-section {
  padding-bottom: 82px;
}

.cta-panel {
  text-align: center;
  border-color: var(--border-strong);
  background: linear-gradient(135deg, rgba(20, 16, 8, 0.9), rgba(12, 18, 22, 0.9));
}

.cta-panel .btn {
  margin-top: 12px;
}

.site-footer {
  border-top: 1px solid rgba(131, 247, 255, 0.14);
  background: rgba(3, 7, 10, 0.85);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
}

.footer-inner p {
  margin: 10px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--text-soft);
}

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

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

@keyframes ntPulse {
  0%, 100% {
    box-shadow: 0 16px 32px rgba(255, 181, 64, 0.18);
  }
  50% {
    box-shadow: 0 18px 38px rgba(255, 181, 64, 0.34);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .section-grid,
  .section-grid-wide,
  .stats-grid,
  .feature-grid,
  .world-grid,
  .gallery-grid,
  .dual-panel {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 48px;
  }

  .header-inner,
  .hero-actions,
  .footer-inner,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  .brand,
  .footer-inner {
    align-items: center;
  }

  .hero-card-top {
    flex-wrap: wrap;
  }

  .btn,
  .btn-small,
  .btn-large,
  .btn-xl {
    width: 100%;
  }

  .hero-badges,
  .pill-grid,
  .tag-list {
    justify-content: center;
  }

  .section,
  .cta-section {
    padding: 26px 0 34px;
  }

  .hero-card-content,
  .world-card-content,
  .cta-panel,
  .section-panel,
  .feature-card,
  .video-frame,
  .gallery-card,
  .stat-card {
    padding: 18px;
  }

  .dual-panel > .frame {
    padding: 18px;
  }
}
