@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0b0f1c;
  --bg-alt: #05070f;
  --surface: #121828;
  --surface-alt: #182032;
  --border: #293349;
  --border-soft: rgba(41, 51, 73, 0.55);
  --text: #eef2f8;
  --text-dim: #98a5bd;
  --text-dimmer: #71809c;
  --gold: #f5a623;
  --gold-strong: #eeab0c;
  --gold-soft: #f7bb52;
  --gold-pale: #fdf1dc;
  --purple: #aa3bff;
  --cyan: #22d3ee;
  --common: #98a5bd;
  --max-w: 1180px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.01em;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.text-dim { color: var(--text-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-strong));
  color: #241a06;
  box-shadow: 0 0 28px -8px rgba(245, 166, 35, 0.65);
}
.btn-primary:hover { box-shadow: 0 0 36px -6px rgba(245, 166, 35, 0.8); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-disabled {
  background: var(--surface-alt);
  color: var(--text-dimmer);
  border-color: var(--border-soft);
  cursor: not-allowed;
}
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 9px; }

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 28, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; }
.brand-name { font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: 18px; }
.brand-name .accent { color: var(--gold); }

nav.main-nav { display: flex; align-items: center; gap: 32px; }
nav.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.15s ease;
}
nav.main-nav a:hover { color: var(--text); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  color: var(--text);
  align-items: center;
  justify-content: center;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0 18px;
  border-top: 1px solid var(--border-soft);
}
.mobile-nav a {
  padding: 12px 4px;
  font-weight: 600;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-soft);
}
.mobile-nav.is-open { display: flex; }

@media (max-width: 860px) {
  nav.main-nav, .header-cta .btn-ghost-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 60px;
  background:
    radial-gradient(60% 55% at 78% 18%, rgba(170, 59, 255, 0.16), transparent 60%),
    radial-gradient(55% 50% at 15% 85%, rgba(245, 166, 35, 0.14), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  margin: 18px 0 20px;
}
.hero h1 .gold { color: var(--gold); }
.hero p.lead {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 14px; }
.hero-note { font-size: 13px; color: var(--text-dimmer); }
.hero-note strong { color: var(--text-dim); }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dim);
}
.pill svg { width: 14px; height: 14px; color: var(--gold); flex: none; }

/* ---------- Hero card stack ---------- */
.card-stack {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stack-card {
  position: absolute;
  width: 190px;
  height: 264px;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--surface-alt), var(--bg-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.stack-card svg { width: 78px; height: 78px; }
.stack-card.card-common {
  border: 2px solid rgba(152, 165, 189, 0.55);
  transform: rotate(-14deg) translate(-108px, 26px);
  z-index: 1;
  opacity: 0.92;
}
.stack-card.card-purple {
  border: 2px solid var(--purple);
  box-shadow: 0 0 46px -10px rgba(170, 59, 255, 0.55), 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  transform: rotate(-4deg) translate(-6px, -8px);
  z-index: 2;
}
.stack-card.card-gold {
  border: 2px solid var(--gold);
  box-shadow: 0 0 52px -8px rgba(245, 166, 35, 0.6), 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  transform: rotate(9deg) translate(96px, 18px);
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: rotate(9deg) translate(96px, 18px); }
  50% { transform: rotate(9deg) translate(96px, 4px); }
}
.card-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.25), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .card-stack { height: 300px; margin-top: 12px; }
  .stack-card { width: 148px; height: 206px; }
  .stack-card svg { width: 58px; height: 58px; }
  .stack-card.card-common { transform: rotate(-14deg) translate(-70px, 20px); }
  .stack-card.card-gold, .stack-card.card-purple { transform: rotate(6deg) translate(64px, 12px); }
  @keyframes float { 0%, 100% { transform: rotate(6deg) translate(64px, 12px); } 50% { transform: rotate(6deg) translate(64px, 0px); } }
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin-top: 14px; }
.section-head p { color: var(--text-dim); margin-top: 14px; font-size: 15.5px; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 26px 22px;
  position: relative;
}
.step-num {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.step h3 { font-size: 17px; margin: 14px 0 10px; font-family: 'Inter', sans-serif; font-weight: 700; }
.step p { font-size: 14px; color: var(--text-dim); }

@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Feature grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 24px 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature-card:hover { border-color: rgba(245, 166, 35, 0.45); transform: translateY(-3px); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(245, 166, 35, 0.18), rgba(245, 166, 35, 0.05));
  border: 1px solid rgba(245, 166, 35, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; color: var(--gold); }
.feature-card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; font-family: 'Inter', sans-serif; }
.feature-card p { font-size: 13.5px; color: var(--text-dim); }

@media (max-width: 980px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

/* ---------- Rarities ---------- */
.rarities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.rarity-card {
  border-radius: 20px;
  padding: 26px 22px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}
.rarity-card .swatch {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 18px;
}
.rarity-card h3 { font-family: 'Orbitron', sans-serif; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.rarity-card p { font-size: 13.5px; color: var(--text-dim); }
.rarity-comum { border-color: rgba(152, 165, 189, 0.4); }
.rarity-comum .swatch { background: var(--common); }
.rarity-raro { border-color: rgba(170, 59, 255, 0.4); box-shadow: 0 0 30px -14px rgba(170, 59, 255, 0.5); }
.rarity-raro .swatch { background: var(--purple); }
.rarity-raro h3 { color: var(--purple); }
.rarity-epico { border-color: rgba(34, 211, 238, 0.4); box-shadow: 0 0 30px -14px rgba(34, 211, 238, 0.5); }
.rarity-epico .swatch { background: var(--cyan); }
.rarity-epico h3 { color: var(--cyan); }
.rarity-lendario { border-color: rgba(245, 166, 35, 0.5); box-shadow: 0 0 34px -12px rgba(245, 166, 35, 0.6); }
.rarity-lendario .swatch { background: linear-gradient(135deg, var(--gold-soft), var(--gold-strong)); }
.rarity-lendario h3 { color: var(--gold); }

@media (max-width: 980px) { .rarities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rarities-grid { grid-template-columns: 1fr; } }

/* ---------- Download CTA band ---------- */
.cta-band {
  border-radius: 26px;
  background: linear-gradient(135deg, var(--surface-alt), var(--bg-alt));
  border: 1px solid var(--border-soft);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 220px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(245, 166, 35, 0.2), transparent 70%);
}
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 14px; position: relative; }
.cta-band p { color: var(--text-dim); max-width: 50ch; margin: 0 auto 30px; position: relative; }
.cta-band .hero-ctas { justify-content: center; position: relative; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; }
.faq-item {
  border-bottom: 1px solid var(--border-soft);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
}
.faq-q .plus {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--gold);
  transition: transform 0.2s ease;
}
.faq-item.is-open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-a p { padding: 0 4px 22px; color: var(--text-dim); font-size: 14.5px; max-width: 68ch; }
.faq-item.is-open .faq-a { max-height: 260px; }

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--border-soft);
  background: var(--bg-alt);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p { color: var(--text-dim); font-size: 13.5px; margin-top: 14px; max-width: 34ch; }
.footer-col h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 7px 0;
  font-size: 14px;
  color: var(--text-dim);
}
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-dimmer);
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Legal pages ---------- */
.legal-page { padding: 64px 0 96px; }
.legal-page h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 8px; }
.legal-page .updated { color: var(--text-dimmer); font-size: 13px; margin-bottom: 40px; display: block; }
.legal-body { max-width: 760px; }
.legal-body h2 { font-family: 'Inter', sans-serif; font-size: 19px; font-weight: 800; margin: 36px 0 12px; color: var(--gold-soft); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--text-dim); font-size: 14.5px; margin-bottom: 12px; }
.legal-body ul { padding-left: 20px; }
.legal-body strong { color: var(--text); }
.todo-flag {
  display: inline-block;
  background: rgba(245, 166, 35, 0.14);
  border: 1px solid rgba(245, 166, 35, 0.4);
  color: var(--gold-soft);
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text-dim); margin-bottom: 30px; font-size: 14px; }
.back-link:hover { color: var(--gold-soft); }
.back-link svg { width: 16px; height: 16px; }
