.splash-screen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: #0a0a0a !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 10000 !important;
    flex-direction: column !important;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out !important;
}

.splash-screen.fade-out {
    opacity: 0 !important;
    visibility: hidden !important;
}

.splash-logo {
    font-family: 'Anton', sans-serif;
    font-size: 4rem;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 30px;
    position: relative;
}

.loader-container {
    position: relative;
    width: 100px;
    height: 100px;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.burn-sparkle {
    position: absolute;
    font-size: 3rem;
    color: #4caf50;
    animation: burn 2s infinite;
    opacity: 0;
    transform: scale(0.5);
}

.burn-sparkle:nth-child(1) {
    animation-delay: 0s;
}

.burn-sparkle:nth-child(2) {
    animation-delay: 0.4s;
}

.burn-sparkle:nth-child(3) {
    animation-delay: 0.8s;
}

.burn-sparkle:nth-child(4) {
    animation-delay: 1.2s;
}

.burn-sparkle:nth-child(5) {
    animation-delay: 1.6s;
}

/* Burning Loading Bar */
.burning-bar-container {
    width: 300px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.burning-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4caf50, #81c784);
    border-radius: 4px;
    position: relative;
    transition: width 0.2s ease;
}

.burning-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    animation: burning-shine 1.5s infinite;
}

.burning-bar::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 5%, rgba(76, 175, 80, 0.8) 30%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    filter: blur(2px);
    animation: sparkle-burst 0.3s ease-out;
    animation-play-state: paused;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    z-index: 10;
    filter: blur(1px);
    pointer-events: none;
}

@keyframes burning-shine {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes sparkle-burst {
    0% {
        opacity: 1;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

@keyframes burn {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
        filter: blur(10px);
        text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
        filter: blur(0px);
        text-shadow: 
            0 0 20px rgba(76, 175, 80, 0.8),
            0 0 40px rgba(76, 175, 80, 0.6),
            0 0 60px rgba(76, 175, 80, 0.4);
    }
    100% {
        opacity: 0;
        transform: scale(1.5) rotate(360deg);
        filter: blur(10px);
        text-shadow: 0 0 10px rgba(76, 175, 80, 0);
    }
}

.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #4caf50;
    border-radius: 50%;
    opacity: 0;
    animation: particle-animation 1.5s ease-in-out forwards;
}

@keyframes particle-animation {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0);
    }
}

/* Loading progress text */
.loading-progress {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    margin-top: 20px;
    letter-spacing: 1px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .splash-logo {
        font-size: 3rem;
    }
    
    .loader-container {
        width: 80px;
        height: 80px;
    }
    
    .burn-sparkle {
        font-size: 2.5rem;
    }
    
    .burning-bar-container {
        width: 250px;
    }
}

@media screen and (max-width: 480px) {
    .splash-logo {
        font-size: 2.5rem;
    }
    
    .loader-container {
        width: 60px;
        height: 60px;
    }
    
    .burn-sparkle {
        font-size: 2rem;
    }
    
    .burning-bar-container {
        width: 200px;
    }
} 