/* ── Background ── */

.bg-base {
  position: fixed;
  inset: 0;
  background: #6366F1;
  z-index: 0;
}

/* 4 corner faint glow stars */
.bg-base::before,
.bg-base::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.bg-base::before {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  top: -60px;
  left: -60px;
}

.bg-base::after {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  bottom: -60px;
  right: -60px;
}

.corner-star-tl,
.corner-star-tr,
.corner-star-bl,
.corner-star-br {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: cornerPulse 6s ease-in-out infinite;
}

.corner-star-tl {
  top: -100px; left: -100px;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
  animation-delay: 0s;
}

.corner-star-tr {
  top: -100px; right: -100px;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
  animation-delay: 1.5s;
}

.corner-star-bl {
  bottom: -100px; left: -100px;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
  animation-delay: 3s;
}

.corner-star-br {
  bottom: -100px; right: -100px;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
  animation-delay: 4.5s;
}

@keyframes cornerPulse {
  0%, 100% { opacity: 0.1; }
  50%       { opacity: 0.25; }
}

.blob-purple { display: none; }
.blob-blue { display: none; }

#page-stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}


@media (max-width: 768px) {
  .corner-star-tl,
  .corner-star-tr,
  .corner-star-bl,
  .corner-star-br {
    width: 180px;
    height: 180px;
    filter: blur(60px);
  }
  @keyframes cornerPulse {
    0%, 100% { opacity: 0.04; }
    50%       { opacity: 0.1; }
  }
}
