/* VIP Welcome Page - Space Theme Animations */

.vip-welcome-page .space-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.vip-welcome-page.theme-space .star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: vipTwinkle 3s ease-in-out infinite;
}

.vip-welcome-page.theme-space .star:nth-child(1) { width: 2px; height: 2px; left: 10%; top: 15%; animation-duration: 4s; animation-delay: 0s; }
.vip-welcome-page.theme-space .star:nth-child(2) { width: 3px; height: 3px; left: 20%; top: 25%; animation-duration: 5s; animation-delay: 1s; }
.vip-welcome-page.theme-space .star:nth-child(3) { width: 2px; height: 2px; left: 35%; top: 10%; animation-duration: 4.5s; animation-delay: 0.5s; }
.vip-welcome-page.theme-space .star:nth-child(4) { width: 2px; height: 2px; left: 45%; top: 30%; animation-duration: 3.5s; animation-delay: 2s; }
.vip-welcome-page.theme-space .star:nth-child(5) { width: 3px; height: 3px; left: 55%; top: 20%; animation-duration: 4s; animation-delay: 1.5s; }
.vip-welcome-page.theme-space .star:nth-child(6) { width: 2px; height: 2px; left: 70%; top: 35%; animation-duration: 5s; animation-delay: 0.3s; }
.vip-welcome-page.theme-space .star:nth-child(7) { width: 2px; height: 2px; left: 80%; top: 15%; animation-duration: 4s; animation-delay: 2.5s; }
.vip-welcome-page.theme-space .star:nth-child(8) { width: 3px; height: 3px; left: 90%; top: 25%; animation-duration: 4.5s; animation-delay: 1.2s; }
.vip-welcome-page.theme-space .star:nth-child(9) { width: 2px; height: 2px; left: 15%; top: 45%; animation-duration: 5s; animation-delay: 0.8s; }
.vip-welcome-page.theme-space .star:nth-child(10) { width: 2px; height: 2px; left: 25%; top: 55%; animation-duration: 4s; animation-delay: 1.8s; }
.vip-welcome-page.theme-space .star:nth-child(11) { width: 3px; height: 3px; left: 40%; top: 50%; animation-duration: 4.5s; animation-delay: 0.4s; }
.vip-welcome-page.theme-space .star:nth-child(12) { width: 2px; height: 2px; left: 60%; top: 45%; animation-duration: 5s; animation-delay: 2.2s; }
.vip-welcome-page.theme-space .star:nth-child(13) { width: 2px; height: 2px; left: 75%; top: 55%; animation-duration: 3.5s; animation-delay: 1.4s; }
.vip-welcome-page.theme-space .star:nth-child(14) { width: 3px; height: 3px; left: 85%; top: 50%; animation-duration: 4s; animation-delay: 0.6s; }
.vip-welcome-page.theme-space .star:nth-child(15) { width: 2px; height: 2px; left: 5%; top: 70%; animation-duration: 5s; animation-delay: 1.9s; }
.vip-welcome-page.theme-space .star:nth-child(16) { width: 2px; height: 2px; left: 30%; top: 75%; animation-duration: 4.5s; animation-delay: 0.2s; }
.vip-welcome-page.theme-space .star:nth-child(17) { width: 3px; height: 3px; left: 50%; top: 65%; animation-duration: 4s; animation-delay: 2.6s; }
.vip-welcome-page.theme-space .star:nth-child(18) { width: 2px; height: 2px; left: 65%; top: 70%; animation-duration: 5s; animation-delay: 1.1s; }
.vip-welcome-page.theme-space .star:nth-child(19) { width: 2px; height: 2px; left: 78%; top: 75%; animation-duration: 4s; animation-delay: 0.9s; }
.vip-welcome-page.theme-space .star:nth-child(20) { width: 3px; height: 3px; left: 92%; top: 68%; animation-duration: 4.5s; animation-delay: 2.1s; }

@keyframes vipTwinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

.vip-welcome-page.theme-space .shooting-star {
    position: absolute;
    top: 45%;
    left: -50px;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 8px 3px rgba(255, 255, 255, 0.9);
    opacity: 0;
    animation: vipShootingStar 45s linear infinite;
    animation-delay: 8s;
    z-index: 2;
}

.vip-welcome-page.theme-space .shooting-star::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    width: 120px;
    height: 2px;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.9), rgba(168, 85, 247, 0.5), transparent);
    border-radius: 2px;
    transform: translateY(-50%) rotate(-20deg);
    transform-origin: right center;
}

.vip-welcome-page.theme-space .shooting-star-2 {
    position: absolute;
    top: 15%;
    left: 10%;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: vipShootingStar2 55s linear infinite;
    animation-delay: 25s;
    z-index: 2;
}

.vip-welcome-page.theme-space .shooting-star-2::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    width: 90px;
    height: 1.5px;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.8), rgba(6, 182, 212, 0.5), transparent);
    border-radius: 2px;
    transform: translateY(-50%) rotate(18deg);
    transform-origin: right center;
}

@keyframes vipShootingStar {
    0%, 45% { opacity: 0; left: -5%; top: 45%; }
    47% { opacity: 1; left: 5%; top: 40%; }
    52% { opacity: 1; left: 25%; top: 32%; }
    58% { opacity: 1; left: 45%; top: 24%; }
    64% { opacity: 1; left: 65%; top: 16%; }
    70% { opacity: 0.8; left: 85%; top: 10%; }
    73%, 100% { opacity: 0; left: 100%; top: 6%; }
}

@keyframes vipShootingStar2 {
    0%, 55% { opacity: 0; left: 10%; top: 12%; }
    57% { opacity: 1; left: 18%; top: 18%; }
    63% { opacity: 1; left: 38%; top: 32%; }
    69% { opacity: 1; left: 58%; top: 46%; }
    75% { opacity: 0.7; left: 78%; top: 58%; }
    79%, 100% { opacity: 0; left: 95%; top: 68%; }
}
