:root {
  --bg: #0e0c0f;
  --bg1: #19141a;
  --bg2: #221c24;
  --text: #e0d8eb;
  --muted: #a092a3;
  --accent: #8c4ae8;
  --accent-bright: #995af0;
  --accent-dim: #652ab8;
  --accent-soft: #d4c2f5;
  --line: rgba(205, 186, 232, 0.18);
  --gta: #7ec8e3;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg-glow {
  position: fixed;
  inset: -20% -10% auto;
  height: 70vh;
  background:
    radial-gradient(ellipse 55% 45% at 50% 20%, rgba(140, 74, 232, 0.18), transparent 70%),
    radial-gradient(ellipse 40% 35% at 15% 40%, rgba(101, 42, 184, 0.14), transparent 65%),
    radial-gradient(ellipse 35% 30% at 85% 30%, rgba(126, 200, 227, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.bg-noise {
  position: fixed;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header,
main,
.site-footer,
.to-top {
  position: relative;
  z-index: 1;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 40px);
  backdrop-filter: blur(12px);
  background: rgba(14, 12, 15, 0.72);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}

.brand {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--accent-soft);
  flex: 0 1 auto;
  min-width: 0;
}

.header-nav {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
}

.header-nav a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.header-nav a:hover {
  color: var(--accent-soft);
}

.header-nav .nav-download {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.chip {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(140, 74, 232, 0.08);
  color: var(--accent-soft);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  min-width: 40px;
  text-align: center;
}

.chip:hover {
  border-color: rgba(140, 74, 232, 0.45);
  background: rgba(140, 74, 232, 0.16);
}

.chip-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  min-width: 40px;
}

.chip-discord .discord-ico {
  display: block;
}

.btn-menu {
  display: none;
  appearance: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(140, 74, 232, 0.1);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--accent-soft);
}

.btn-menu:hover {
  border-color: rgba(140, 74, 232, 0.45);
  background: rgba(140, 74, 232, 0.18);
}

.btn-menu-bars,
.btn-menu-bars::before,
.btn-menu-bars::after {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-menu-bars {
  position: relative;
}

.btn-menu-bars::before,
.btn-menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.btn-menu-bars::before {
  top: -5px;
}

.btn-menu-bars::after {
  top: 5px;
}

.site-header.is-nav-open .btn-menu-bars {
  background: transparent;
}

.site-header.is-nav-open .btn-menu-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-nav-open .btn-menu-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.mission-swipe {
  display: none;
}

/* HERO */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px 32px;
  animation: rise 0.8s ease both;
}

.eyebrow {
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
}

.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(56px, 14vw, 128px);
  line-height: 0.92;
  letter-spacing: 0.04em;
  background: linear-gradient(100deg, #e0d8eb 0%, #cbb6f0 28%, #8c4ae8 55%, #7ec8e3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tag {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 36px);
  letter-spacing: 0.12em;
  color: #fff;
}

.hero-desc {
  margin: 18px auto 0;
  max-width: 52ch;
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.55;
  color: var(--muted);
}

.hero-desc strong {
  color: var(--accent-bright);
  font-weight: 700;
}

.btn-cta {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(100deg, #995af0, var(--accent) 45%, var(--accent-dim));
  box-shadow: 0 0 0 1px rgba(153, 90, 240, 0.35), 0 12px 40px rgba(101, 42, 184, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(153, 90, 240, 0.55), 0 16px 48px rgba(140, 74, 232, 0.4);
}

.hero-stats {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 24px;
  width: min(720px, 100%);
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stats b {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.06em;
  color: var(--accent-soft);
}

.hero-stats span {
  font-size: 12px;
  color: var(--muted);
}

.scroll-hint {
  margin: 48px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(224, 216, 235, 0.45);
  animation: pulse 2.4s ease-in-out infinite;
}

.scroll-arrow {
  display: block;
  font-size: 28px;
  line-height: 1;
  animation: scrollBounce 1.6s ease-in-out infinite;
}

/* SHARED RAIL BITS */
.rail-label {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.rail-title,
.mission-title,
.doubts-title,
.closeout-title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: #fff;
}

.rail-copy {
  margin: 14px 0 0;
  max-width: 36ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* ARSENAL — grid Brofinity + títulos KRON */
.section.arsenal-bro {
  padding: 88px clamp(16px, 4vw, 40px) 48px;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.section-kicker {
  margin: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
}

.section-title {
  margin: 10px 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 64px);
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 0.95;
}

.section-sub {
  margin: 10px auto 0;
  text-align: center;
  max-width: 42ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.feat-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feat-card {
  padding: 22px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(34, 28, 36, 0.72);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feat-card:hover {
  border-color: rgba(140, 74, 232, 0.45);
  transform: translateY(-3px);
}

.feat-ico {
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 12px;
}

.feat-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.06em;
  color: #fff;
}

.feat-card p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* MISSÃO — faixa horizontal */
.band.mission {
  padding: 88px 0 72px;
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(140, 74, 232, 0.1), transparent 55%),
    var(--bg1);
  border-top: 1px solid var(--line);
}

.mission-head {
  padding: 0 clamp(16px, 5vw, 56px) 36px;
}

.mission-copy {
  max-width: 40ch;
}

.mission-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 0;
  overflow-x: auto;
  padding: 0 clamp(16px, 5vw, 56px);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.mission-beat {
  position: relative;
  min-height: 280px;
  padding: 28px 22px 28px 26px;
  border-left: 1px solid rgba(140, 74, 232, 0.3);
  scroll-snap-align: start;
  background: linear-gradient(180deg, rgba(140, 74, 232, 0.05), transparent 60%);
}

.mission-beat:last-child {
  border-right: 1px solid rgba(140, 74, 232, 0.3);
}

.beat-slash {
  position: absolute;
  top: 18px;
  right: 14px;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: rgba(101, 42, 184, 0.28);
  pointer-events: none;
}

.beat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1;
}

.mission-beat h3 {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.05em;
}

.mission-beat p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* DÚVIDAS — editorial */
.band.doubts {
  display: grid;
  grid-template-columns: minmax(200px, 0.75fr) minmax(0, 1.5fr);
  gap: clamp(24px, 4vw, 48px);
  padding: 96px clamp(16px, 5vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.doubts-board {
  display: flex;
  flex-direction: column;
}

.doubt {
  border-bottom: 1px solid var(--line);
}

.doubt:first-child {
  border-top: 1px solid var(--line);
}

.doubt summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: 0.04em;
  color: #fff;
  transition: color 0.15s ease;
}

.doubt summary::-webkit-details-marker {
  display: none;
}

.doubt summary em {
  font-style: normal;
  color: rgba(140, 74, 232, 0.65);
}

.doubt summary:hover,
.doubt[open] summary {
  color: var(--accent-soft);
}

.doubt p {
  margin: 0;
  padding: 0 4px 22px 60px;
  max-width: 58ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  animation: rise 0.25s ease both;
}

/* CLOSEOUT */
.closeout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  align-items: center;
  padding: 72px clamp(16px, 5vw, 56px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(105deg, rgba(140, 74, 232, 0.2), transparent 45%),
    var(--bg1);
}

.closeout-mark {
  font-family: var(--font-display);
  font-size: clamp(120px, 28vw, 280px);
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(140, 74, 232, 0.32);
  user-select: none;
  transform: translateX(-6%);
  animation: drift 12s ease-in-out infinite alternate;
}

.closeout-body {
  position: relative;
  z-index: 1;
}

.closeout-sub {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.closeout .btn-cta {
  margin-top: 24px;
}

/* FOOTER */
.site-footer {
  padding: 28px clamp(16px, 5vw, 56px) 36px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(212, 194, 245, 0.55);
}

.footer-nav a:hover {
  color: #fff;
}

.footer-legal {
  margin: 18px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(224, 216, 235, 0.32);
  max-width: 64ch;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(140, 74, 232, 0.45);
  cursor: pointer;
  font-size: 18px;
  color: var(--accent-soft);
  background: rgba(25, 20, 26, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 30;
}

.to-top.is-on {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.28;
  }
  50% {
    opacity: 0.55;
  }
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(8px);
    opacity: 0.9;
  }
}

@keyframes drift {
  from {
    transform: translateX(-8%) translateY(4%);
  }
  to {
    transform: translateX(-2%) translateY(-2%);
  }
}

@media (max-width: 900px) {
  .site-header {
    gap: 12px;
  }

  .band.doubts,
  .closeout {
    grid-template-columns: 1fr;
  }

  .header-actions {
    margin-left: auto;
  }

  .doubts-head {
    position: static;
  }

  .closeout-mark {
    display: none;
  }

  .btn-menu {
    display: inline-flex;
  }

  .header-nav {
    position: fixed;
    top: 69px;
    left: 12px;
    right: 12px;
    z-index: 25;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(140, 74, 232, 0.35);
    background: rgba(20, 16, 22, 0.97);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .site-header.is-nav-open .header-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .header-nav a {
    display: block;
    padding: 15px 14px;
    border-radius: 10px;
    font-size: 14px;
    letter-spacing: 0.14em;
    color: var(--accent-soft);
  }

  .header-nav a:hover,
  .header-nav a:active {
    background: rgba(140, 74, 232, 0.14);
    color: #fff;
  }

  .header-nav .nav-download {
    display: block;
    margin-top: 4px;
    text-align: center;
    color: #fff;
    background: linear-gradient(100deg, #995af0, var(--accent) 45%, var(--accent-dim));
  }

  .header-nav .nav-download:hover,
  .header-nav .nav-download:active {
    background: linear-gradient(100deg, #a56af5, var(--accent-bright) 45%, var(--accent));
  }

  .feat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mission-swipe {
    display: block;
    margin: 14px 0 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    animation: scrollBounce 1.6s ease-in-out infinite;
  }

  .band.mission {
    padding: 64px 0 56px;
  }

  .band.doubts {
    padding: 64px clamp(16px, 5vw, 28px);
  }

  .closeout {
    min-height: auto;
    padding: 56px clamp(16px, 5vw, 28px);
  }

  .footer-nav {
    gap: 10px 14px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 12px 14px;
    gap: 10px;
    justify-content: space-between;
  }

  .brand {
    font-size: 18px;
    letter-spacing: 0.06em;
    margin-right: 8px;
  }

  .header-actions {
    gap: 6px;
  }

  .chip,
  .btn-menu {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .chip-discord .discord-ico {
    width: 18px;
    height: 18px;
  }

  .hero {
    min-height: calc(100svh - 64px);
    padding: 36px 16px 28px;
    justify-content: flex-start;
    padding-top: 48px;
  }

  .hero-brand {
    font-size: clamp(42px, 14vw, 64px);
  }

  .hero-tag {
    font-size: clamp(22px, 7vw, 32px);
  }

  .hero-desc {
    font-size: 14px;
  }

  .btn-cta {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 360px;
    gap: 10px;
  }

  .hero-stats li {
    padding: 12px 10px;
  }

  .hero-stats b {
    font-size: 18px;
  }

  .feat-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feat-card {
    padding: 18px 16px;
  }

  .mission-strip {
    grid-template-columns: repeat(4, minmax(78vw, 280px));
    gap: 0;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }

  .mission-beat {
    min-height: 240px;
    padding: 22px 18px;
  }

  .doubt summary {
    grid-template-columns: 36px 1fr;
    font-size: 18px;
    padding: 16px 2px;
  }

  .doubt p {
    padding-left: 4px;
    font-size: 14px;
  }

  .closeout-title {
    font-size: clamp(36px, 11vw, 52px);
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 380px) {
  .chip {
    min-width: 36px;
    padding: 7px 9px;
  }

  .hero-stats {
    gap: 8px;
  }
}

/* LEGAL PAGES */
.legal-page .site-header {
  margin-bottom: 0;
}

.legal-wrap {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 48px clamp(16px, 4vw, 28px) 80px;
}

.legal-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.legal-title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 56px);
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: #fff;
}

.legal-meta {
  margin: 12px 0 28px;
  font-size: 13px;
  color: var(--muted);
}

.legal-wrap h2 {
  margin: 36px 0 12px;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.04em;
  color: var(--accent-soft);
}

.legal-wrap p,
.legal-wrap li {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(224, 216, 235, 0.88);
}

.legal-wrap ul {
  padding-left: 1.2em;
}

.legal-wrap a {
  color: var(--accent-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-callout {
  margin: 0 0 28px;
  padding: 18px 18px 8px;
  border-radius: 12px;
  border: 1px solid rgba(140, 74, 232, 0.35);
  background: rgba(140, 74, 232, 0.08);
}

.legal-callout h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.legal-accept-banner {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(224, 216, 235, 0.16);
  background: rgba(34, 28, 36, 0.7);
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.legal-note {
  color: var(--muted) !important;
  font-size: 13px !important;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 12px 0 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.legal-table th,
.legal-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  color: rgba(224, 216, 235, 0.88);
}

.legal-table th {
  background: rgba(140, 74, 232, 0.12);
  color: var(--accent-soft);
  font-weight: 700;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-back {
  margin-top: 40px !important;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
