/* Ladescreen Styling */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #1a1a2e 50%, #3e163c 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease-out;
}

.loader-content {
    text-align: center;
    max-width: 600px;
    padding: 40px;
}

.loader-title {
    font-family: 'Arial', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(74, 144, 226, 0.6),
        0 0 60px rgba(74, 144, 226, 0.4);
    margin: 0 0 20px 0;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: loader-title-glow 2s ease-in-out infinite;
}

.loader-subtitle {
    font-family: 'Arial', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.6),
        0 0 20px rgba(74, 144, 226, 0.4);
    margin: 0 0 40px 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: loader-subtitle-pulse 3s ease-in-out infinite;
}

.loader-progress {
    margin: 40px 0;
}

.loader-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.loader-fill {
    height: 100%;
    background: linear-gradient(90deg, #4a90e2, #667eea, #764ba2);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease-out;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.6);
}

.loader-text {
    font-family: 'Arial', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

.loader-status {
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    text-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
}

/* Hauptseite (anfangs versteckt) */
.main-content {
    opacity: 0;
    transition: opacity 2s ease-in;
}

.main-content.loaded {
    opacity: 1;
}

/* Ladescreen Animationen */
@keyframes loader-title-glow {
    0%, 100% {
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.8),
            0 0 40px rgba(74, 144, 226, 0.6),
            0 0 60px rgba(74, 144, 226, 0.4);
    }
    50% {
        text-shadow: 
            0 0 30px rgba(255, 255, 255, 1),
            0 0 60px rgba(74, 144, 226, 0.8),
            0 0 90px rgba(74, 144, 226, 0.6);
    }
}

@keyframes loader-subtitle-pulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Responsive Design für den Ladescreen */
@media (max-width: 768px) {
    .loader-title {
        font-size: 2.5rem;
        letter-spacing: 0.15em;
    }
    
    .loader-subtitle {
        font-size: 1rem;
        letter-spacing: 0.08em;
    }
    
    .loader-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .loader-title {
        font-size: 2rem;
        letter-spacing: 0.1em;
    }
    
    .loader-subtitle {
        font-size: 0.9rem;
        letter-spacing: 0.05em;
    }
    
    .loader-bar {
        height: 6px;
    }
    
    .loader-text {
        font-size: 1rem;
    }
} 