:root {
  --primary: #8b5cf6;
  --primary-strong: #7c3aed;
  --secondary: #fbbf24;

  --background: #0a0510;
  --background-secondary: #171222;

  --surface: rgba(24, 19, 38, 0.65);
  --surface-secondary: rgba(34, 28, 52, 0.5);

  --border: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(59, 49, 80, 0.6);

  --text: #f8f8fa;
  --text-secondary: #c7c8d3;
  --text-muted: #9a9caa;

  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  --shadow: rgba(0, 0, 0, 0.6);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(124, 92, 255, 0.22),
      transparent 34rem
    ),
    radial-gradient(
      circle at 10% 70%,
      rgba(255, 201, 51, 0.06),
      transparent 30rem
    ),
    linear-gradient(145deg, #181127 0%, var(--background) 50%, #0a0712 100%);
  font-family:
    "Plus Jakarta Sans",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  z-index: 0;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  content: "";
  filter: blur(100px);
  pointer-events: none;
}

body::before {
  top: -20rem;
  right: -12rem;
  background: rgba(124, 92, 255, 0.16);
}
body::after {
  bottom: -22rem;
  left: -12rem;
  background: rgba(255, 201, 51, 0.06);
}

.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: var(--secondary);
  box-shadow: 0 0 12px rgba(255, 201, 51, 0.7);
  opacity: 0;
  animation: float-up linear infinite;
}

@keyframes float-up {
  0% {
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(0.7);
  }
  15% {
    opacity: 0.5;
  }
  85% {
    opacity: 0.2;
  }
  100% {
    opacity: 0;
    transform: translate3d(18px, -140px, 0) scale(1.15);
  }
}

.page-shell {
  position: relative;
  z-index: 1;
}

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

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 20;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* Header */

header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(15, 11, 23, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.lore-card:hover,
.pillar:hover,
.story-panel:hover,
.step-card:hover,
.archive-card:hover,
.prestige-card:hover,
.achievement-card:hover,
.collection-card:hover,
.species-card:hover,
.trust-card:hover,
.egg-card:hover,
.beta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}


.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-family: Spectral, "Times New Roman", serif;
  font-size: 1.4rem;
  text-decoration: none;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 1px solid rgba(255, 201, 51, 0.28);
  border-radius: 12px;
  background: rgba(255, 201, 51, 0.07);
  place-items: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--secondary);
}

.nav-links a.nav-cta {
  color: var(--secondary);
  font-weight: 600;
}
.nav-links a.nav-cta:hover {
  color: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.btn-primary {
  border-color: rgba(124, 92, 255, 0.5);
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 16px 40px rgba(139, 92, 246, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(139, 92, 246, 0.5), inset 0 1px 0 rgba(255,255,255,0.25);
}

.btn-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--secondary);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.btn svg {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}
.btn svg.icon-ext {
  margin-right: 0;
  margin-left: 8px;
}

/* Hero */

.hero {
  display: flex;
  min-height: calc(100vh - 72px);
  padding: 120px 0 64px;
  align-items: center;
}



.hero-mark {
  display: grid;
  width: 90px;
  height: 90px;
  margin: 0 0 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 201, 51, 0.28);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 201, 51, 0.13), rgba(124, 92, 255, 0.1)),
    rgba(18, 13, 30, 0.7);
  place-items: center;
}

.hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 8px 18px;
  border: 1px solid rgba(124, 92, 255, 0.4);
  border-radius: 999px;
  background: linear-gradient(
    120deg,
    rgba(124, 92, 255, 0.18),
    rgba(255, 201, 51, 0.12)
  );
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.beta-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 8px rgba(255, 201, 51, 0.7);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

h1,
h2,
h3 {
  font-family: Spectral, "Times New Roman", serif;
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.accent {
  color: var(--secondary);
}

.hero-subtitle {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  line-height: 1.75;
}

.hero-quote {
  max-width: 680px;
  margin: 34px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 201, 51, 0.16);
  color: #ded7eb;
  font-family: Spectral, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-style: italic;
  line-height: 1.65;
}

.hero-ctas {
  margin-top: 36px;
}

.hero-scene {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 44px;
}

.visual-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: var(--surface-secondary);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.visual-chip svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Sections */

section {
  padding: 120px 0;
  scroll-margin-top: 86px;
}

.stack {
  display: grid;
  gap: 24px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading p {
  margin: 0 0 10px;
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.lore-card,
.pillar,
.story-panel,
.step-card,
.archive-card,
.prestige-card,
.achievement-card,
.collection-card,
.species-card,
.trust-card,
.egg-card,
.faq-item,
.beta-card {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    inset 0 -1px 1px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
}

.lore-card {
  display: grid;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 28px;
  gap: 22px;
}

.lore-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.03rem;
  line-height: 1.85;
}

.lore-card strong {
  color: var(--text);
}

.collection-intro {
  margin-bottom: 24px;
}

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

.pillar,
.step-card {
  padding: 26px;
  border-radius: 24px;
}

.pillar-number,
.step-number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 201, 51, 0.25);
  border-radius: 13px;
  color: var(--secondary);
  background: rgba(255, 201, 51, 0.06);
  font-family: Spectral, "Times New Roman", serif;
  place-items: center;
}

.pillar-number svg {
  width: 20px;
  height: 20px;
}

.pillar h3,
.step-card h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  font-weight: 500;
}
.pillar p,
.step-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.story-panel {
  padding: clamp(28px, 5vw, 44px);
  border-radius: 28px;
}

.story-panel h3 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  font-weight: 500;
}

.story-panel p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.8;
}

.world-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 2px solid var(--secondary);
  color: #dcd4e9;
  background: rgba(255, 255, 255, 0.035);
  font-family: Spectral, "Times New Roman", serif;
  font-style: italic;
  line-height: 1.7;
}

/* Phase timeline */

.phase-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
}

.phase-node {
  position: relative;
  flex: 1 1 150px;
  padding: 0 14px;
  text-align: center;
}

.phase-node:not(:last-child)::after {
  position: absolute;
  top: 24px;
  right: -6px;
  width: 12px;
  height: 1px;
  background: var(--border);
  content: "";
}

.phase-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border: 1px solid rgba(124, 92, 255, 0.35);
  border-radius: 50%;
  background: rgba(124, 92, 255, 0.1);
  color: var(--secondary);
  font-family: Spectral, "Times New Roman", serif;
  font-size: 0.95rem;
  place-items: center;
}

.phase-icon svg {
  width: 22px;
  height: 22px;
}

.phase-name {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
}
.phase-milestone {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.phase-note {
  max-width: 640px;
  margin: 26px auto 0;
  color: var(--text-secondary);
  font-family: Spectral, "Times New Roman", serif;
  font-size: 1.15rem;
  font-style: italic;
  text-align: center;
}

.phase-disclaimer {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.6;
}

/* Legacy list */

.legacy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legacy-list li {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text-secondary);
  line-height: 1.6;
}

.legacy-list svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--secondary);
}

/* Archive card (Grande Arquivo) */

.archive-card {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 28px;
  padding: clamp(28px, 5vw, 40px);
  border-radius: 28px;
}

.archive-portrait {
  display: grid;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: 20px;
  background: linear-gradient(
    160deg,
    rgba(124, 92, 255, 0.16),
    rgba(255, 201, 51, 0.08)
  );
  place-items: center;
  text-align: center;
  padding: 18px;
}

.archive-portrait svg {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
}

.archive-portrait span {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.archive-details h3 {
  margin: 0 0 4px;
  font-size: 1.6rem;
  font-weight: 500;
}
.archive-details .archive-species {
  margin: 0 0 18px;
  color: var(--secondary);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.archive-details p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.archive-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--border-soft);
  list-style: none;
}

.archive-meta li {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.archive-meta li strong {
  display: block;
  color: var(--text);
  font-weight: 600;
}

/* Prestige */

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

.unlock-chip {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-secondary);
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
}

/* Achievements */

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

.achievement-card {
  padding: 26px;
  border-radius: 24px;
}

.achievement-badge {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 201, 51, 0.35);
  border-radius: 14px;
  background: rgba(255, 201, 51, 0.09);
  place-items: center;
}

.achievement-badge svg {
  width: 26px;
  height: 26px;
  color: var(--secondary);
}

.achievement-card h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 600;
}
.achievement-requirement {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.achievement-rewards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.achievement-rewards li {
  padding: 6px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

/* Economy */

.economy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.economy-panel {
  padding: clamp(26px, 4vw, 36px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
}

.economy-panel h3 {
  margin: 0 0 18px;
  font-size: 1.3rem;
  font-weight: 600;
}

.economy-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.economy-panel li {
  padding: 12px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.economy-callout {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px 22px;
  border-left: 2px solid var(--secondary);
  color: #dcd4e9;
  background: rgba(255, 255, 255, 0.035);
  font-family: Spectral, "Times New Roman", serif;
  font-style: italic;
}

/* Egg comparison */

.egg-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.egg-card {
  padding: clamp(26px, 4vw, 36px);
  border-radius: 28px;
}

.egg-card.is-rare {
  border-color: rgba(124, 92, 255, 0.4);
}

.egg-card h3 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  font-weight: 600;
}
.egg-card h3 .accent {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.egg-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.egg-card li {
  display: flex;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

.egg-card li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--secondary);
}

/* Collections & species */

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

.collection-card,
.species-card,
.beta-card {
  padding: 24px;
  border-radius: 22px;
}

.collection-card h3,
.species-card h3,
.beta-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 600;
}
.collection-card p,
.species-card p,
.beta-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.card-glyph {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: 12px;
  background: rgba(124, 92, 255, 0.08);
  color: var(--secondary);
  place-items: center;
}

.card-glyph svg {
  width: 20px;
  height: 20px;
}

/* Beta */

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

.beta-reward-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  margin: 0 0 18px;
  border: 1px solid rgba(255, 201, 51, 0.28);
  border-radius: 16px;
  object-fit: cover;
  background: rgba(7, 6, 22, 0.8);
}

.beta-cta {
  margin-top: 34px;
  text-align: center;
}

/* Trust */

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

.trust-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: 22px;
}

.trust-icon {
  display: grid;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
  place-items: center;
}

.trust-icon svg {
  width: 18px;
  height: 18px;
}

.trust-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 600;
}
.trust-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* FAQ */

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

.faq-item {
  padding: 6px clamp(20px, 4vw, 30px);
  border-radius: 20px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  display: grid;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--secondary);
  font-size: 1.1rem;
  place-items: center;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 0 20px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Closing / CTA final */

.closing {
  padding-bottom: 88px;
}

.closing-card {
  padding: clamp(34px, 7vw, 68px);
  border: 1px solid rgba(255, 201, 51, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(255, 201, 51, 0.09),
      transparent 25rem
    ),
    var(--surface);
  text-align: center;
}

.closing-card h2 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.1rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.closing-card p {
  max-width: 680px;
  margin: 20px auto 0;
  color: var(--text-secondary);
  line-height: 1.8;
}

.closing-card .btn-group {
  margin-top: 32px;
}

footer {
  margin-top: 80px;
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.015),
    rgba(255, 255, 255, 0.03)
  );
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
}

.footer-brand h3 {
  margin: 0;
  font-size: 22px;
}

.footer-brand p {
  margin: 6px 0 0;
  max-width: 520px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  font-size: 0.9rem;
}

.social-card {
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(124, 92, 255, 0.12),
      transparent 25rem
    ),
    var(--surface);
}

/* Reveal-on-scroll */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */

@media (max-width: 980px) {
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .achievements-grid,
  .collections-grid,
  .species-grid,
  .trust-grid,
  .beta-grid,
  .beta-rewards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .unlock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .pillars,
  .story-grid,
  .economy-grid,
  .egg-compare,
  .legacy-list {
    grid-template-columns: 1fr;
  }
  .archive-card {
    grid-template-columns: 1fr;
  }
  .archive-portrait {
    max-width: 220px;
    margin: 0 auto;
  }
  .hero {
    min-height: auto;
    padding-top: 54px;
  }
  .nav-links {
    display: none;
  }
  .phase-node {
    flex: 1 1 33%;
    margin-bottom: 24px;
  }
  .phase-node::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 24px), var(--max-width));
  }
  .nav {
    min-height: 64px;
  }
  .hero-card {
    padding: 42px 22px;
    border-radius: 28px;
  }
  .hero-mark {
    width: 74px;
    height: 74px;
    border-radius: 22px;
  }
  section {
    padding: 42px 0;
  }
  .steps-grid,
  .achievements-grid,
  .collections-grid,
  .species-grid,
  .trust-grid,
  .unlock-grid,
  .beta-grid,
  .beta-rewards {
    grid-template-columns: 1fr;
  }
  .phase-node {
    flex: 1 1 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .particle {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .faq-item[open] .faq-icon {
    transition: none;
  }
  .beta-dot {
    animation: none;
  }
  .loading-ring,
  .loading-orbit-dot,
  .loading-book,
  .loading-status {
    animation: none;
  }
}


/* --- PREMIUM REFACTOR STYLES --- */

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 960px) {
  .split-layout, .hero-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  animation: float-orb 12s ease-in-out infinite alternate;
}

.orb-1 {
  width: 350px;
  height: 350px;
  background: rgba(139, 92, 246, 0.15);
  top: 0;
  left: 10%;
}

.orb-2 {
  width: 280px;
  height: 280px;
  background: rgba(251, 191, 36, 0.12);
  bottom: 0;
  right: 5%;
  animation-delay: -6s;
}

@keyframes float-orb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -60px) scale(1.1); }
}

.hero-scene {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-scene .visual-chip {
  position: absolute;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(34, 28, 52, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 24px;
  font-size: 1rem;
}

.chip-1 { top: 15%; left: 15%; animation-delay: 0s; }
.chip-2 { top: 45%; left: 65%; animation-delay: -2s; }
.chip-3 { top: 75%; left: 25%; animation-delay: -4s; }
.chip-4 { top: 10%; left: 75%; animation-delay: -1s; }
.chip-5 { top: 85%; left: 70%; animation-delay: -3s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.section-heading h2 {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  line-height: 1.1;
}

.lead {
  font-size: 1.35rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 24px;
}

.split-body p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.world-quote {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: Spectral, serif;
  font-size: 1.3rem !important;
  font-style: italic;
  color: var(--secondary) !important;
}

/* Trailer */

.trailer-section {
  overflow: hidden;
}

.trailer-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.trailer-intro {
  position: relative;
  z-index: 1;
}

.trailer-description {
  max-width: 38rem;
  margin: 28px 0 0;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
}

.trailer-note {
  margin: 24px 0 0;
  color: var(--secondary);
  font-family: Spectral, serif;
  font-size: 1rem;
  font-style: italic;
}

/* App showcase */
.app-showcase {
  position: relative;
  overflow: hidden;
  padding-top: 96px;
  padding-bottom: 132px;
}

.app-showcase::before {
  position: absolute;
  top: 14%;
  left: 50%;
  width: min(74rem, 92vw);
  height: 28rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(124, 92, 255, 0.12), transparent 68%);
  content: "";
  pointer-events: none;
}

.showcase-heading {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.showcase-rule {
  display: block;
  width: 88px;
  height: 1px;
  margin: 30px auto 0;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.mockup-gallery {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
  align-items: start;
  max-width: 1050px;
  margin: 54px auto 0;
}

.product-screen {
  margin: 0;
  min-width: 0;
}

.product-screen img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow: 0 30px 64px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-screen:hover img {
  transform: translateY(-8px);
  border-color: rgba(251, 191, 36, 0.46);
  box-shadow: 0 40px 82px rgba(0, 0, 0, 0.48), 0 0 40px rgba(139, 92, 246, 0.12);
}

.product-screen figcaption {
  margin-top: 14px;
  color: var(--text-secondary);
  font-family: Spectral, serif;
  font-size: 1.05rem;
  text-align: center;
}

.trailer-frame {
  position: relative;
  padding: 1px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.75), rgba(139, 92, 246, 0.8) 55%, rgba(255, 255, 255, 0.14));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48), 0 0 70px rgba(139, 92, 246, 0.13);
}

.trailer-frame::before {
  position: absolute;
  top: -26%;
  right: -14%;
  z-index: -1;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.12);
  content: "";
  filter: blur(52px);
}

.trailer-video {
  display: block;
  width: 100%;
  max-height: min(72vh, 680px);
  border-radius: 23px;
  background: #08060d;
  object-fit: contain;
}

/* --- APP-ALIGNED PRELOADER --- */
.preloader-complex {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at center, #171222 0%, #0a0510 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 1.2s;
  overflow: hidden;
}

.preloader-complex.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.loading-emblem {
  position: relative;
  width: 118px;
  height: 118px;
  margin-bottom: 2px;
}

.loading-ring,
.loading-orbit-dot,
.loading-book {
  position: absolute;
  left: 50%;
  top: 50%;
}

.loading-ring {
  border: 1px solid;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.loading-ring--outer {
  width: 112px;
  height: 112px;
  border-color: var(--secondary);
  animation: loading-orbit 3.8s linear infinite, loading-shimmer 1.5s ease-in-out infinite;
}

.loading-ring--inner {
  width: 84px;
  height: 84px;
  border-color: var(--primary);
  animation: loading-orbit-reverse 3.8s linear infinite, loading-shimmer 1.5s ease-in-out infinite;
}

.loading-orbit-dot {
  border-radius: 50%;
  transform-origin: 0 0;
}

.loading-orbit-dot--gold {
  top: 2px;
  width: 12px;
  height: 12px;
  background: var(--secondary);
  box-shadow: 0 0 12px var(--secondary);
  transform: translateX(-50%);
  animation: loading-dot-gold 3.8s linear infinite, loading-core-opacity 2.2s ease-in-out infinite;
}

.loading-orbit-dot--violet {
  top: auto;
  right: 8px;
  bottom: 7px;
  left: auto;
  width: 8px;
  height: 8px;
  background: var(--primary);
  box-shadow: 0 0 9px var(--primary);
  animation: loading-dot-violet 3.8s linear infinite, loading-shimmer 1.5s ease-in-out infinite;
}

.loading-book {
  width: 64px;
  height: 64px;
  object-fit: contain;
  transform: translate(-50%, -50%);
  animation: loading-pulse 2.2s ease-in-out infinite;
}

.loading-title {
  margin: 0;
  color: var(--secondary);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 1.3px;
}

.loading-status {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
  text-align: center;
}

@keyframes loading-orbit {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes loading-orbit-reverse {
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes loading-dot-gold {
  to { transform: translateX(-50%) rotate(360deg); }
}

@keyframes loading-dot-violet {
  to { transform: rotate(-360deg); }
}

@keyframes loading-pulse {
  0%, 100% { opacity: 0.65; transform: translate(-50%, -50%) scale(0.86); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}

@keyframes loading-core-opacity {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

@keyframes loading-shimmer {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.9; }
}

/* ============================================================
   EDITORIAL REDESIGN — Professional, Non-AI Layout
   ============================================================ */

/* --- Section counter system --- */
body {
  counter-reset: section-counter;
}

/* Sections that increment the counter */
#lux, #companheiros, #trailer, #como-funciona, #fases,
#guardiao, #arquivo, #conquistas, #loja,
#monetizacao, #ovos, #colecoes, #confianca, #beta {
  counter-increment: section-counter;
}

/* Counter display — large decorative number top-right */
#lux .container::before,
#companheiros .container::before,
#trailer .container::before,
#como-funciona .container::before,
#fases .container::before,
#guardiao .container::before,
#arquivo .container::before,
#conquistas .container::before,
#loja .container::before,
#monetizacao .container::before,
#ovos .container::before,
#colecoes .container::before,
#confianca .container::before,
#beta .container::before {
  content: counter(section-counter, decimal-leading-zero);
  display: block;
  font-family: Spectral, serif;
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
  letter-spacing: -0.04em;
  margin-bottom: -2.5rem;
  text-align: right;
  pointer-events: none;
  user-select: none;
}

/* --- Section separators --- */
section + section::before {
  content: '';
  display: block;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08) 20%, rgba(255,255,255,0.08) 80%, transparent);
}

/* Override for sections that already have different tops */
section.closing + section::before,
.closing::before,
section#mundo + section::before {
  display: none;
}

/* --- Typography: 3 registers --- */

/* Epic heading — for narrative sections */
.h2-epic {
  font-size: clamp(3.5rem, 9vw, 7rem) !important;
  font-weight: 400 !important;
  line-height: 0.97 !important;
  letter-spacing: -0.05em !important;
  color: var(--text);
}

/* Utility heading — for FAQ, trust, social */
.h2-utility {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.025em !important;
}

/* --- Prose sections (replaces generic lore-card for single-paragraph sections) --- */
.prose-block {
  max-width: 760px;
  border-left: 2px solid rgba(251, 191, 36, 0.35);
  padding-left: clamp(24px, 4vw, 40px);
  margin-top: 24px;
}

.prose-block p {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin: 0 0 18px;
}

.prose-block p:last-child {
  margin-bottom: 0;
}

.prose-block p.lead {
  font-size: 1.35rem;
  color: var(--text);
  line-height: 1.7;
}

.prose-block .world-quote {
  font-family: Spectral, serif;
  font-style: italic;
  font-size: 1.25rem !important;
  color: var(--secondary) !important;
  border: none;
  padding: 0;
  margin: 24px 0 0;
}

/* --- Directional hover on pillars/cards --- */
.pillar {
  position: relative;
  overflow: hidden;
}

.pillar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
  pointer-events: none;
}

.pillar:hover::after {
  opacity: 1;
}

/* --- Trust grid — asymmetric layout --- */
.trust-grid {
  grid-template-columns: repeat(2, 1fr) !important;
}

.trust-card:first-child {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  padding: 32px 40px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.06), rgba(255,255,255,0.02));
  border-color: rgba(34, 197, 94, 0.15);
}

.trust-card:first-child .trust-icon {
  width: 52px;
  height: 52px;
}

.trust-card:first-child h3 {
  font-size: 1.3rem;
}

/* --- Steps grid — flow layout instead of symmetric columns --- */
.steps-flow {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.steps-flow .step-card:nth-child(1) { grid-column: 1; grid-row: 1; }
.steps-flow .step-card:nth-child(2) { grid-column: 2; grid-row: 1 / 3; }
.steps-flow .step-card:nth-child(3) { grid-column: 1; grid-row: 2; }
.steps-flow .step-card:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }
.steps-flow .step-card:nth-child(5) { grid-column: 1 / 3; grid-row: 4; display: flex; align-items: center; gap: 24px; }
.steps-flow .step-card:nth-child(5) h3 { margin: 0; }
.steps-flow .step-card:nth-child(5) p { margin: 0; }
.steps-flow .step-card:nth-child(5) .step-number { flex-shrink: 0; margin: 0; }

@media (max-width: 820px) {
  .steps-flow {
    grid-template-columns: 1fr;
  }
  .steps-flow .step-card:nth-child(1),
  .steps-flow .step-card:nth-child(2),
  .steps-flow .step-card:nth-child(3),
  .steps-flow .step-card:nth-child(4),
  .steps-flow .step-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    flex-direction: column;
    align-items: flex-start;
  }
  .steps-flow .step-card:nth-child(5) .step-number {
    margin-bottom: 20px;
  }
  .trust-grid {
    grid-template-columns: 1fr !important;
  }
  .trust-card:first-child {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Achievements: masonry-ish layout --- */
.achievements-grid {
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 16px;
}

.achievement-card:nth-child(1) {
  grid-row: span 1;
}

/* --- Footer: Editorial redesign --- */
footer {
  position: relative;
  margin-top: 0;
  padding: 80px 0 40px;
  background: transparent;
  border-top: none;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5) 30%, rgba(251, 191, 36, 0.4) 70%, transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0;
  align-items: start;
}

.footer-quote {
  grid-column: 1;
  grid-row: 1;
  padding-right: 60px;
}

.footer-quote blockquote {
  margin: 0;
  font-family: Spectral, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
}

.footer-quote blockquote em {
  color: var(--secondary);
  font-style: normal;
}

.footer-quote cite {
  display: block;
  margin-top: 18px;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-style: normal;
}

.footer-nav-col {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}

.footer-nav-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.footer-nav-col a:hover {
  color: var(--text);
}

.footer-bottom-bar {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-bottom-bar .footer-brand-small {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Spectral, serif;
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-bottom-bar .footer-brand-small img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

@media (max-width: 820px) {
  .footer-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 40px;
  }
  .footer-quote { grid-column: 1; grid-row: 1; padding-right: 0; }
  .footer-nav-col { grid-column: 1; grid-row: 2; flex-direction: row; flex-wrap: wrap; }
  .footer-bottom-bar { grid-column: 1; grid-row: 3; flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 960px) {
  .trailer-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .trailer-intro {
    max-width: 680px;
  }
}

@media (max-width: 560px) {
  .trailer-frame {
    border-radius: 18px;
  }

  .trailer-video {
    border-radius: 17px;
  }
}

@media (max-width: 820px) {
  .app-showcase {
    padding-top: 76px;
    padding-bottom: 96px;
  }

  .mockup-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 680px;
  }
}

@media (max-width: 560px) {
  .mockup-gallery {
    grid-template-columns: 1fr;
    max-width: 340px;
    gap: 34px;
    margin-top: 40px;
  }

  .product-screen img {
    border-radius: 18px;
  }
}
