/*
 * ================================================================================
 *  Website: GroHound.com (shared across TryGroHound, GroHound, RevuHound)
 *  Starfield Background Animation Styles
 *  Location: public/assets/css/starfield.css
 * 
 *  Version: 1.0
 *  Last Updated: 31/01/2026
 *  
 *  Creates animated starfield with shooting stars going UP to the RIGHT
 *
 *  Changes Made:
 * ================================================================================
 */

/* ================================================================================
 * STARFIELD BACKGROUND
 * ================================================================================ */

.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
}

.bg-star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

.bg-star.small {
    width: 1px;
    height: 1px;
    opacity: 0.5;
}

.bg-star.medium {
    width: 2px;
    height: 2px;
    opacity: 0.7;
}

.bg-star.large {
    width: 3px;
    height: 3px;
    opacity: 0.9;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

@keyframes twinkle {
    0%, 100% { 
        opacity: 0.3; 
    }
    50% { 
        opacity: 1; 
    }
}

/* Shooting star animation - going UP to the RIGHT */
.shooting-star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: linear-gradient(45deg, #14b8a6, transparent);
    border-radius: 50%;
    box-shadow: 0 0 8px #14b8a6;
    animation: shoot 8s linear infinite;
    opacity: 0;
}

@keyframes shoot {
    0% {
        opacity: 0;
        transform: translateX(-100px) translateY(100px);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(calc(100vw + 100px)) translateY(calc(-100vh - 100px));
    }
}
