/* Website-scoped, quiet continuation of the EXCAR Platform night sky. */
.home-v3-shell { position: relative; isolation: isolate; background: #05080e; }
.home-v3-cosmos { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse 70% 24% at 85% 14%, rgba(33, 82, 154, .12), transparent 75%), radial-gradient(ellipse 55% 19% at 5% 58%, rgba(73, 47, 122, .095), transparent 73%), #05080e; }
.home-v3-cosmos::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #020408 0%, transparent 10%, transparent 88%, #020408 100%); }
.home-v3-cosmos__layer { position: absolute; inset: 0; }
.home-v3-cosmos__layer--far { animation: home-v3-cosmos-drift 520s ease-in-out infinite alternate; }
.home-v3-cosmos__layer--mid { animation: home-v3-cosmos-drift 330s ease-in-out infinite alternate-reverse; }
.home-v3-cosmos__layer--near { animation: home-v3-cosmos-drift 200s ease-in-out infinite alternate; }
.home-v3-cosmos__star { position: absolute; left: var(--x); top: var(--y); width: var(--size); height: var(--size); border-radius: 50%; background: var(--color); opacity: var(--alpha); }
.home-v3-cosmos__layer--near .home-v3-cosmos__star:nth-child(5n) { box-shadow: 0 0 9px 2px rgba(207, 224, 255, .16); }
.home-v3-shell > section { position: relative; z-index: 1; }
@keyframes home-v3-cosmos-drift { from { transform: translate3d(-8px, 0, 0); } to { transform: translate3d(8px, -5px, 0); } }
@media (max-width: 600px) {
  .home-v3-cosmos { background: radial-gradient(ellipse 90% 18% at 80% 18%, rgba(33, 82, 154, .09), transparent 75%), #05080e; }
  .home-v3-cosmos__layer--far .home-v3-cosmos__star:nth-child(2n), .home-v3-cosmos__layer--mid .home-v3-cosmos__star:nth-child(3n) { display: none; }
  .home-v3-cosmos__layer { animation: none; }
}
@media (prefers-reduced-motion: reduce) { .home-v3-cosmos__layer { animation: none; } }
