/* ═══════════════════════════════════════════════════════════════════
   ASTRO 360 v2 — cosmos.css
   Backgrounds orgânicos + estrelas + ornamentos espaciais
   ═══════════════════════════════════════════════════════════════════ */

.cosmos-bg {
  position: fixed; inset: 0; z-index: -3;
  background:
    radial-gradient(circle at 18% 25%, rgba(167, 139, 250, 0.18), transparent 45%),
    radial-gradient(circle at 82% 75%, rgba(201, 164, 73, 0.12), transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(54, 32, 90, 0.4), transparent 60%),
    linear-gradient(180deg, var(--lilas-void) 0%, var(--lilas-deep) 100%);
}

/* Aurora animada sutil — respiração orgânica (B - Vision Pro) */
.cosmos-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(167, 139, 250, 0.07), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(232, 198, 104, 0.05), transparent 55%);
  animation: aurora 20s ease-in-out infinite;
}
@keyframes aurora {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  33%      { transform: translate(20px, -30px) scale(1.05); opacity: 1; }
  66%      { transform: translate(-15px, 25px) scale(0.98); opacity: 0.9; }
}

/* Grade espacial decorativa (C - editorial) */
.cosmos-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(167, 139, 250, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Estrelas */
.stars { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle ease-in-out infinite;
}
.star.glow {
  background: var(--gold-bright);
  box-shadow: 0 0 6px var(--gold);
}
@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.7); }
  50%      { opacity: 1; transform: scale(1.1); }
}

/* Ornamento de seção (linha + ponto) */
.section-ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  margin: 0 auto 26px;
  max-width: 200px;
}
.section-ornament::before, .section-ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.section-ornament-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}
