:root {
  --bg: #000000;
  --ink: #f3f3f3;
  --mute: #8a8a8a;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #d1101e;
  --accent-mute: #7a151c;
  --font: "DM Sans", "Segoe UI", sans-serif;
  --display: "Montserrat", "Segoe UI", sans-serif;
  --radar-y: 52svh;
  --header-h: 88px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

::-moz-selection {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

a:focus,
a:focus-visible,
button:focus,
button:focus-visible {
  outline: none;
}

header .nav-mid a:focus,
header .nav-mid a:focus-visible,
header .nav-mid a:active,
header .nav-links a:focus,
header .nav-links a:focus-visible,
header .nav-links a:active {
  outline: none;
  box-shadow: none;
  background: transparent;
  color: var(--mute);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  scrollbar-width: thin;
  scrollbar-color: #2e2e2e transparent;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 99px;
  background-clip: content-box;
  background-color: #2a2a2a;
}
::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

/* ── WORLD / RADAR ── */
.world {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #050505;
}

.world-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 58% at 50% var(--radar-y), #000 0%, transparent 78%);
  opacity: 0.9;
}

.site-radar {
  position: absolute;
  left: 50%;
  top: var(--radar-y);
  width: min(720px, 88vw);
  height: min(720px, 88vw);
  transform: translate(-50%, -50%);
}

.site-radar .hr {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.site-radar .hr2 { inset: 14%; border-color: rgba(255, 255, 255, 0.055); }
.site-radar .hr3 { inset: 28%; border-color: rgba(255, 255, 255, 0.045); }
.site-radar .hr4 { inset: 42%; border-color: rgba(255, 255, 255, 0.035); }

.site-radar .hd {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: siteOrbit 16s linear infinite;
}

.site-radar .hd::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.65), 0 0 28px rgba(255, 255, 255, 0.25);
}

.site-radar .hd2 {
  inset: 14%;
  animation-duration: 22s;
  animation-direction: reverse;
}

.site-radar .hd2::after {
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  opacity: 0.85;
}

.site-radar .hd3 {
  inset: 28%;
  animation-duration: 30s;
}

.site-radar .hd3::after {
  width: 4px;
  height: 4px;
  margin-left: -2px;
  opacity: 0.75;
}

.site-radar .hd4 {
  inset: 42%;
  animation-duration: 38s;
  animation-direction: reverse;
}

.site-radar .hd4::after {
  width: 3px;
  height: 3px;
  margin-left: -1.5px;
  opacity: 0.65;
}

.site-radar .beam {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(255, 255, 255, 0.09) 32deg,
    transparent 78deg
  );
  mask-image: radial-gradient(circle, transparent 36%, #000 37%, #000 72%, transparent 73%);
  animation: siteOrbit 12s linear infinite;
  opacity: 0.6;
}

.site-radar .core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18%;
  height: 18%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.06);
}

.world-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 52% 46% at 50% var(--radar-y), rgba(255, 255, 255, 0.04), transparent 62%),
    radial-gradient(circle at 50% var(--radar-y), transparent 28%, #050505 78%);
}

@keyframes siteOrbit {
  to { transform: rotate(360deg); }
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 48px;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
}

header.solid {
  padding: 14px 48px;
  background: rgba(5, 5, 5, 0.72);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

header .brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  letter-spacing: 0.28em;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

header .brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 0;
  background: transparent;
}

header .nav-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

header .nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

header .nav-links a,
header .nav-mid a {
  position: relative;
  color: var(--mute);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

header .nav-links a::after,
header .nav-mid a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: #fff;
  transition: right 0.25s ease;
}

header .nav-links a:hover,
header .nav-mid a:hover {
  color: #fff;
}

header .nav-links a:hover::after,
header .nav-mid a:hover::after {
  right: 0;
}

header .nav-contato,
header .nav-contato:hover,
header .nav-contato:focus {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: auto;
  height: auto;
  min-width: 132px;
  padding: 12px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #111 !important;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  flex-shrink: 0;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transform: none;
  -webkit-font-smoothing: antialiased;
}

header .nav-contato::after,
header .nav-contato:hover::after,
header .nav-contato:focus::after {
  content: none !important;
  display: none !important;
  animation: none !important;
  background: none !important;
}

header .nav-contato:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.nav-ghost {
  width: 28px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 0;
  cursor: default;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-ghost:hover,
.nav-ghost:focus,
.nav-ghost:active {
  opacity: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
}

.nav-cta {
  padding: 11px 22px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.16);
}

.nav-toggle {
  display: none;
  border: 0;
  background: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* ── HERO ── */
main {
  padding: 0 24px 48px;
}

.hero {
  min-height: calc(100svh - var(--header-h));
  position: relative;
  padding: 0 12px;
}

/* Lock copy + CTAs to the same focal point as .site-radar */
.hero-core {
  position: absolute;
  left: 50%;
  top: calc(var(--radar-y) - var(--header-h));
  transform: translate(-50%, -50%);
  width: min(100%, 40rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-tag {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #9a9a9a;
  opacity: 0;
  animation: heroIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 6.2vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 14ch;
  color: #fff;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.12);
}

.hero h1 .line {
  display: block;
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 .line:nth-child(1) {
  animation-delay: 0.14s;
  color: #f0f0f0;
}

.hero h1 .line.accent {
  animation-delay: 0.28s;
  background: linear-gradient(180deg, #fff 15%, #c8c8c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  margin-top: 22px;
  max-width: 42ch;
  font-size: clamp(17px, 2.2vw, 19px);
  line-height: 1.55;
  color: #b0b0b0;
  opacity: 0;
  animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.42s forwards;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  opacity: 0;
  animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.go,
.ghost,
button.go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 16px 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.go {
  position: relative;
  overflow: hidden;
  border: 0;
  background: #fff;
  color: #111;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45), 0 0 40px rgba(255, 255, 255, 0.12);
}

.go::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.65) 50%, transparent 65%);
  transform: translateX(-130%);
  animation: goShine 3.4s ease-in-out infinite;
}

@keyframes goShine {
  0%,
  60% {
    transform: translateX(-130%);
  }
  80%,
  100% {
    transform: translateX(130%);
  }
}

.go:hover {
  transform: scale(1.04);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5), 0 0 56px rgba(255, 255, 255, 0.18);
}

.ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ddd;
  background: rgba(255, 255, 255, 0.03);
}

.ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #2a2a2a;
  border-radius: 50%;
  color: #8a8a8a;
  text-decoration: none;
  animation: bob 2.2s ease-in-out infinite;
}

.scroll-hint:hover {
  border-color: #fff;
  color: #fff;
}

@keyframes bob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ── SECTIONS ── */
.kicker {
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #6a6a6a;
  margin-bottom: 14px;
}

.feats,
.detail,
.cta,
.companion {
  max-width: 1080px;
  margin: 0 auto;
  padding: 88px 8px 24px;
  text-align: center;
}

.feats h2,
.detail h2,
.cta h2,
.companion h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.companion {
  padding-top: 72px;
  padding-bottom: 48px;
  border-top: 1px solid var(--line);
}

.companion .lead {
  margin-bottom: 8px;
}

.companion-rail {
  margin-top: 40px;
}

.companion-actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.lead {
  color: #8f8f8f;
  font-size: 16px;
  line-height: 1.55;
  max-width: 40ch;
  margin: 0 auto 28px;
}

.feat-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.feat-rail article {
  padding: 28px 22px 8px;
  border-right: 1px solid var(--line);
}

.feat-rail article:last-child {
  border-right: 0;
}

.feat-rail b {
  display: block;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #555;
  margin-bottom: 18px;
}

.feat-rail h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feat-rail p {
  color: #8a8a8a;
  font-size: 14px;
  line-height: 1.55;
}

.detail-head {
  margin-bottom: 36px;
}

.rows {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  text-align: left;
}

.rows > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.rows span {
  color: #bdbdbd;
}

.rows b {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #fff;
  white-space: nowrap;
}

.cta {
  padding-bottom: 100px;
  text-align: center;
}

.cta .lead {
  margin: 12px auto 28px;
  max-width: 40ch;
  color: #8a8a8a;
}

.cta .go {
  margin: 0 auto;
  display: inline-flex;
}

.como {
  max-width: 1040px;
  margin: 0 auto 80px;
  padding: 8px 8px 0;
}

.como-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 36px 0 32px;
  border-top: 1px solid var(--line);
}

.como-grid article {
  padding: 22px 20px 8px 0;
  border-right: 1px solid var(--line);
}

.como-grid article:last-child {
  border-right: 0;
}

.como-grid b {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #555;
  margin-bottom: 18px;
}

.como-grid h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.como-grid p {
  color: #8a8a8a;
  font-size: 14px;
  line-height: 1.55;
}

.como-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.como-note {
  margin-top: 18px;
  color: #6a6a6a;
  font-size: 13px;
}

.site-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 48px 40px;
  border-top: 1px solid var(--line);
  color: #5a5a5a;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (max-width: 720px) {
  .hero h1 {
    font-size: clamp(32px, 9.5vw, 46px);
    max-width: 12ch;
  }

  .hero-lede {
    font-size: 17px;
    max-width: 34ch;
  }

  .hero-core {
    width: min(100%, 36rem);
  }
}

/* Short viewports: keep copy readable instead of clipping under the header */
@media (max-height: 560px) {
  .hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 12px 56px;
  }

  .hero-core {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
  }

  .hero-tag {
    margin-bottom: 12px;
  }

  .hero-lede {
    margin-top: 14px;
  }

  .hero-actions {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .go::after,
  .scroll-hint,
  .hero-tag,
  .hero h1 .line,
  .hero-lede,
  .hero-actions,
  .site-radar .hd,
  .site-radar .beam {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .como-grid {
    grid-template-columns: 1fr 1fr;
  }
  .como-grid article:nth-child(2) {
    border-right: 0;
  }
  .como-grid article:nth-child(1),
  .como-grid article:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .feat-rail {
    grid-template-columns: 1fr 1fr;
  }
  .feat-rail article:nth-child(2) {
    border-right: 0;
  }
  .feat-rail article:nth-child(1),
  .feat-rail article:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  header,
  header.solid {
    padding: 14px 22px;
    display: flex;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
    order: 2;
  }

  header .nav-end {
    display: none;
    margin-left: 0;
  }

  header.open .nav-end {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 4;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding-top: 10px;
  }

  header .nav-links {
    flex-direction: column;
    gap: 14px;
  }

  header nav {
    order: 4;
    width: 100%;
    margin: 0;
    display: none;
    flex-direction: column;
    gap: 14px;
    padding-top: 14px;
  }

  header.open nav {
    display: flex;
  }

  .como-grid,
  .feat-rail {
    grid-template-columns: 1fr;
  }

  .como-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feat-rail article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-foot {
    padding: 24px 22px 36px;
    flex-direction: column;
    align-items: flex-start;
  }

  .rows > div {
    flex-direction: column;
    gap: 6px;
  }
}

/* ── GATE / VAULT ── */
.gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
}

.gate[hidden],
.vault[hidden] {
  display: none !important;
}

.gate-panel {
  position: relative;
  width: min(420px, 100%);
  padding: 32px 28px 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(88, 101, 242, 0.16), transparent 55%),
    linear-gradient(180deg, #121212 0%, #0a0a0a 100%);
  text-align: left;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
}

.gate-x {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: none;
  color: #666;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease;
}

.gate-x:hover {
  color: #fff;
}

.gate-kicker {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 8px;
}

.gate-panel h2 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.gate-auth-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  padding: 6px 10px;
  border: 1px solid #2a2a2a;
  background: #111;
  color: #fff;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.gate-auth-sub {
  margin: 0 0 26px;
  color: #7a7a7a;
  font-size: 13px;
  line-height: 1.5;
  max-width: 32ch;
}

.gate-auth-form {
  display: grid;
  gap: 0;
}

.gate-auth-form .buy-discord-btn {
  margin-top: 4px;
}

.gate-field,
.gate-panel label:not(.gate-remember):not(.keys-field) {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #777;
}

.gate-remember {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px 0 18px;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: #9a9a9a;
  cursor: pointer;
  user-select: none;
}

.gate-remember input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.gate-remember i {
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.gate-remember i::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #666;
  transition: transform 0.18s ease, background 0.18s ease;
}

.gate-remember input:checked + i {
  background: #fff;
  border-color: #fff;
}

.gate-remember input:checked + i::after {
  transform: translateX(18px);
  background: #111;
}

.gate-remember span {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: #c8c8c8;
}

.gate-field input,
.gate-panel input[type="text"],
.gate-panel input[type="password"] {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  background: #111;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.gate-field input::placeholder,
.gate-panel input::placeholder {
  color: #444;
}

.gate-field input:hover,
.gate-panel input[type="text"]:hover,
.gate-panel input[type="password"]:hover {
  border-color: #3a3a3a;
}

.gate-field input:focus,
.gate-panel input[type="text"]:focus,
.gate-panel input[type="password"]:focus {
  border-color: #fff;
  background: #0e0e0e;
}

.gate-err {
  min-height: 18px;
  margin: 2px 0 14px;
  font-size: 13px;
  color: #d1101e;
}

.gate-go {
  display: block;
  width: 100%;
  padding: 15px;
  border: 0;
  background: #fff;
  color: #111;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.15s ease, transform 0.12s ease;
}

.gate-go:hover {
  background: #e8e8e8;
}

.gate-go:active {
  transform: translateY(1px);
}

.gate-ok-msg {
  margin: 0 0 22px;
  color: #8a8a8a;
  font-size: 14px;
  line-height: 1.45;
}

.gate-dl {
  margin-top: 4px;
}

.gate-wide {
  width: min(980px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  padding: 28px 26px 24px;
  border-radius: 28px;
}

.admin-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.admin-row input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid #2a2a2a;
  background: #111;
  color: #fff;
  font-family: inherit;
}

.keys-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.keys-head h2 {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 4px 0 6px;
}

.keys-lead {
  margin: 0;
  color: #7a7a7a;
  font-size: 13px;
}

.keys-head-acts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.keys-dl,
.keys-danger {
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.keys-dl {
  border: 1px solid #2a2a2a;
  background: #161616;
  color: #eee;
}

.keys-dl:hover {
  border-color: #fff;
  color: #fff;
}

.keys-danger {
  border: 1px solid rgba(255, 80, 80, 0.35);
  background: rgba(255, 60, 60, 0.1);
  color: #ffb4b4;
}

.keys-danger:hover {
  background: rgba(255, 60, 60, 0.2);
  color: #fff;
}

.keys-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px;
  border-radius: 16px;
  background: #101010;
  border: 1px solid #1c1c1c;
}

.keys-tab {
  appearance: none;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #777;
  padding: 12px 16px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.keys-tab:hover {
  color: #ddd;
}

.keys-tab.on {
  background: #fff;
  color: #111;
}

.keys-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.keys-stats div {
  padding: 14px 16px;
  border-radius: 16px;
  background: #101010;
  border: 1px solid #1c1c1c;
}

.keys-stats b {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.04em;
}

.keys-stats span {
  color: #666;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.keys-gen {
  display: grid;
  grid-template-columns: 1fr 140px 170px;
  gap: 10px;
  align-items: end;
  margin-bottom: 10px;
}

.keys-gen.has-days {
  grid-template-columns: 1fr 140px 120px 170px;
}

.keys-field {
  display: grid;
  gap: 7px;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666;
}

.keys-field input,
.keys-field select,
.keys-toolbar input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #262626;
  border-radius: 14px;
  background: #111;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.keys-field input:focus,
.keys-field select:focus,
.keys-toolbar input:focus {
  border-color: #fff;
}

.keys-field select {
  appearance: none;
  cursor: pointer;
}

.keys-gen-btn {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #111;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.keys-gen-btn:hover {
  background: #eaeaea;
}

.keys-toast {
  min-height: 20px;
  margin: 0 0 8px;
  font-size: 13px;
  color: #888;
}

.keys-toast.on {
  color: #8dffb8;
}

.keys-just {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.keys-just-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a9a9a;
}

.keys-just code {
  flex: 1;
  min-width: 180px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

.key-card.flash {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 10px 30px rgba(0, 0, 0, 0.35);
}

.keys-badge.prod {
  background: rgba(255, 255, 255, 0.12);
  color: #f2f2f2;
}

.keys-toolbar {
  margin-bottom: 12px;
}

.keys-board {
  display: grid;
  gap: 10px;
  max-height: 380px;
  overflow: auto;
  padding-right: 4px;
}

.key-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: #101010;
  border: 1px solid #1c1c1c;
}

.key-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.key-card-top code {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #141414;
  color: #f2f2f2;
  font-size: 13px;
  letter-spacing: 0.04em;
  user-select: all;
  cursor: pointer;
}

.key-user {
  display: block;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.key-copy {
  border: 1px solid #2a2a2a;
  background: #171717;
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.key-copy:hover {
  border-color: #fff;
}

.key-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  color: #8a8a8a;
  font-size: 12px;
  margin-bottom: 12px;
}

.key-card-acts {
  display: flex;
  gap: 8px;
}

.keys-empty {
  padding: 36px 16px;
  text-align: center;
  color: #666;
  border: 1px dashed #2a2a2a;
  border-radius: 16px;
}

.keys-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.keys-badge.ativa {
  background: rgba(46, 204, 113, 0.15);
  color: #6dffb0;
}

.keys-badge.livre {
  background: rgba(255, 255, 255, 0.08);
  color: #bbb;
}

.keys-badge.vencida {
  background: rgba(140, 140, 140, 0.2);
  color: #999;
}

.keys-badge.revogada {
  background: rgba(255, 70, 70, 0.15);
  color: #ff8e8e;
}

.admin-mini {
  border: 1px solid #2c2c2c;
  background: transparent;
  color: #ccc;
  font-size: 11px;
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.admin-mini:hover {
  border-color: #fff;
  color: #fff;
}

.admin-mini.danger {
  border-color: rgba(255, 80, 80, 0.4);
  color: #ff9a9a;
}

.admin-mini.danger:hover {
  border-color: #ff5555;
  color: #fff;
}

@media (max-width: 720px) {
  .keys-gen {
    grid-template-columns: 1fr;
  }

  .keys-head {
    flex-direction: column;
  }

  .keys-head-acts,
  .keys-dl,
  .keys-danger {
    width: 100%;
  }
}

.buy-user {
  margin: 0 0 14px;
  color: #9a9a9a;
  font-size: 14px;
}

.buy-qr {
  display: block;
  width: 220px;
  height: 220px;
  margin: 8px auto 14px;
  background: #fff;
  border-radius: 8px;
}

.buy-pix {
  font-size: 11px;
  color: #666;
  word-break: break-all;
  max-height: 48px;
  overflow: hidden;
  margin-bottom: 12px;
}

.buy-copy {
  width: 100%;
  margin-bottom: 10px;
  min-width: 0;
}

.buy-key {
  display: block;
  margin: 8px 0 18px;
  padding: 12px;
  background: #111;
  border: 1px solid #2a2a2a;
  color: #fff;
  letter-spacing: 0.06em;
}

.buy-key[hidden] {
  display: none !important;
}

.buy-panel {
  position: relative;
  width: min(420px, 100%);
  max-height: min(94vh, 760px);
  overflow: auto;
  padding: 28px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(88, 101, 242, 0.16), transparent 55%),
    linear-gradient(180deg, #121212 0%, #0a0a0a 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
}

.buy-brand {
  display: inline-flex;
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.34em;
  color: #fff;
}

.buy-head {
  margin-bottom: 4px;
}

.buy-head .gate-kicker {
  margin: 0 0 10px;
  letter-spacing: 0.22em;
  color: #777;
}

.buy-head h2 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 10px;
  line-height: 1.15;
}

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

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}

.plan-grid-one {
  grid-template-columns: 1fr;
}

.plan-card[hidden],
.plan-card.plan-off {
  display: none !important;
}

.plan-card {
  display: grid;
  gap: 4px;
  text-align: left;
  padding: 16px;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  background: #101010;
  color: #fff;
  cursor: pointer;
}

.plan-card b {
  font-size: 16px;
}

.plan-card span {
  font-size: 20px;
  font-weight: 800;
}

.plan-card small {
  color: #8a8a8a;
  font-size: 12px;
}

.plan-card.on {
  border-color: #fff;
  background: #161616;
}

.buy-sub {
  color: #8a8a8a;
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 20px;
}

.buy-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
}

.buy-steps li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  padding: 7px 2px;
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #555;
  background: #101010;
  border: 1px solid #1c1c1c;
}

.buy-steps li span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #333;
  font-size: 10px;
  font-weight: 700;
}

.buy-steps li.on {
  color: #ddd;
}

.buy-steps li.on span {
  border-color: #fff;
  background: #fff;
  color: #111;
}

.buy-steps li.now {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: #161616;
}

.buy-block {
  margin-top: 0;
}

.buy-discord-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  margin-bottom: 14px;
  border: 1px solid rgba(88, 101, 242, 0.28);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(88, 101, 242, 0.12), rgba(14, 14, 18, 0.9));
}

.buy-discord-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #5865f2;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(88, 101, 242, 0.35);
}

.buy-discord-txt b {
  display: block;
  font-size: 15px;
}

.buy-discord-txt small {
  color: #9a9ab0;
  font-size: 12px;
}

.buy-discord-btn,
.buy-primary {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border: 0;
  border-radius: 16px;
  background: #5865f2;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(88, 101, 242, 0.28);
}

.buy-discord-btn:hover {
  background: #4752c4;
}

.buy-primary {
  background: #fff;
  color: #111;
  box-shadow: none;
}

.buy-primary:hover {
  background: #e8e8e8;
}

.buy-secure {
  margin: 18px 0 16px;
  text-align: center;
  color: #7a7a7a;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
}

#buy-discord .buy-secure {
  margin-top: 16px;
  margin-bottom: 0;
}

#buy-plan .buy-secure {
  margin: 20px 0 18px;
}

.buy-ghost {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid #2a2a2a;
  background: transparent;
  color: #ccc;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.buy-ghost:hover {
  border-color: #fff;
  color: #fff;
}

.pay-demo-note {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #1c1c1c;
  background: #0e0e0e;
  color: #aaa;
  font-size: 13px;
  line-height: 1.45;
}

.pay-card {
  display: grid;
  gap: 14px;
  padding: 18px 16px 16px;
  border-radius: 20px;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(255, 255, 255, 0.05), transparent 55%),
    linear-gradient(180deg, #161616 0%, #0d0d0d 100%);
  border: 1px solid #242424;
}

.pay-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2px;
}

.pay-pix-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #111;
  background: linear-gradient(145deg, #fff 0%, #d8d8d8 100%);
  flex-shrink: 0;
}

.pay-top-txt {
  min-width: 0;
  flex: 1;
}

.pay-brand {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pay-merchant {
  margin: 4px 0 0;
  color: #8a8a8a;
  font-size: 12px;
}

.pay-merchant b {
  color: #d0d0d0;
  font-weight: 700;
}

.pay-amount-inline {
  text-align: right;
  flex-shrink: 0;
}

.pay-amount-inline span {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
}

.pay-amount-inline b {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.pay-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pay-product > div {
  padding: 12px 12px;
  border-radius: 14px;
  background: #101010;
  border: 1px solid #1f1f1f;
}

.pay-product span {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
}

.pay-product b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pay-amount-note {
  margin: 2px 0 0;
  text-align: center;
  color: #777;
  font-size: 12px;
  line-height: 1.4;
}

.cakto-api-box {
  margin: 18px 0 8px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #242424;
  background: #101010;
}

.cakto-api-title {
  margin: 0 0 4px;
  font-weight: 800;
}

.cakto-api-lead {
  margin: 0 0 12px;
  color: #8a8a8a;
  font-size: 13px;
  line-height: 1.4;
}

.pay-amounts {
  display: none;
}

.pay-steps {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pay-steps li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 6px;
  border-radius: 12px;
  background: #101010;
  border: 1px solid #1c1c1c;
  color: #bdbdbd;
  font-size: 11px;
}

.pay-steps em {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  color: #111;
  background: #fff;
}

.pay-cta {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: #000;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.pay-cta:hover {
  background: #161616;
}

.pay-hint {
  margin: 0;
  color: #8a8a8a;
  font-size: 12px;
  line-height: 1.4;
}

.pay-wait {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 0;
  padding: 12px 12px;
  border-radius: 12px;
  background: linear-gradient(90deg, #2a2610, #1c1a10);
  border: 1px solid #3d3720;
  color: #f5e7a3;
  text-align: left;
}

.pay-wait[hidden] {
  display: none !important;
}

.pay-wait-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5e7a3;
  box-shadow: 0 0 0 0 rgba(245, 231, 163, 0.55);
  animation: pay-pulse 1.6s ease-out infinite;
  flex-shrink: 0;
}

.pay-wait b {
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.pay-wait small {
  display: block;
  margin-top: 3px;
  color: #cbbf8a;
  font-size: 10px;
  line-height: 1.3;
}

@keyframes pay-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 231, 163, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(245, 231, 163, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 231, 163, 0);
  }
}

.pay-go {
  margin-top: 4px;
  min-height: 48px;
}

.pay-secure-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  padding-top: 6px;
}

.pay-secure-row span {
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5f5f5f;
}

.buy-qr-wrap {
  display: grid;
  place-items: center;
  padding: 12px;
  background: #fff;
  border-radius: 14px;
}

.buy-qr-wrap[hidden] {
  display: none !important;
}

.buy-qr-wrap .buy-qr {
  width: 140px;
  height: 140px;
  display: block;
}

.buy-primary {
  min-height: 46px;
}

.gate-err:empty {
  display: none;
}

.buy-pix-label {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666;
}

.buy-pix {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #1c1c1c;
  background: #0e0e0e;
  color: #bbb;
  font-size: 11px;
  line-height: 1.4;
  word-break: break-all;
  max-height: 72px;
  overflow: auto;
}

.buy-actions {
  display: grid;
  gap: 8px;
}

.buy-confirm {
  width: 100%;
  min-height: 42px;
  border: 1px solid #2a2a2a;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.buy-confirm:hover {
  border-color: #fff;
}

.buy-success {
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid #1c1c1c;
  background: #0e0e0e;
}

.buy-success b {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

.buy-success small {
  color: #777;
}

.vault,
.vault-inner,
.vault-out {
  display: none !important;
}
