/* ============================================
   UNIVERSE BACKGROUND - STARS & COMETS
   All elements are WHITE only
   ============================================ */

/* Star container */
.universe-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Individual stars - ALL WHITE */
.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle var(--duration) ease-in-out infinite;
}

/* Small stars */
.star.small {
    width: 2px;
    height: 2px;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

/* Medium stars */
.star.medium {
    width: 3px;
    height: 3px;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

/* Large stars */
.star.large {
    width: 4px;
    height: 4px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Override colored stars - make all white */
.star.gold,
.star.teal,
.star.purple {
    background: white;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Twinkle animation */
@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Comet - WHITE */
.comet {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px #fff, 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4);
    animation: comet-fly var(--comet-duration) linear infinite;
    opacity: 0;
}

/* Comet tail - WHITE */
.comet::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 4px;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3), transparent);
    transform: translateY(-50%);
    border-radius: 2px;
}

.comet::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 4px;
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent);
    transform: translateY(-50%);
}

/* Comet animation */
@keyframes comet-fly {
    0% {
        opacity: 0;
        transform: translate(100vw, -100px) rotate(-45deg);
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-100vw, 100vh) rotate(-45deg);
    }
}

/* Shooting star - WHITE */
.shooting-star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 6px #fff, 0 0 12px rgba(255, 255, 255, 0.6);
    animation: shoot var(--shoot-duration) ease-out infinite;
    opacity: 0;
}

.shooting-star::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 3px;
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), transparent);
    transform: translateY(-50%);
}

@keyframes shoot {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(-45deg);
    }

    5% {
        opacity: 1;
    }

    20% {
        opacity: 0;
        transform: translate(-200px, 200px) rotate(-45deg);
    }

    100% {
        opacity: 0;
        transform: translate(-200px, 200px) rotate(-45deg);
    }
}

/* Floating particles - WHITE */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: float-particle var(--float-duration) ease-in-out infinite;
}

@keyframes float-particle {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-10px) translateX(-5px);
        opacity: 0.4;
    }

    75% {
        transform: translateY(-30px) translateX(15px);
        opacity: 0.7;
    }
}