/* css/loading.css */

/* Fonts müssen wir hier nicht importieren, wenn sie im HTML geladen werden,
   aber sicherheitshalber für Standalone-Test: */
@font-face {
    font-family: 'Lobster';
    src: url('../fonts/Lobster%201.4.otf') format('opentype');
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf') format('truetype');
}

body {
    margin: 0;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
    background: #000;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #1a0b2e 0%, #000000 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 60px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loading-title {
    font-family: 'Lobster', cursive;
    font-size: 3.5em;
    color: white;
    margin: 0;
    text-shadow: 0 0 20px #d400ff, 0 0 40px #6c5ce7;
    animation: floatTitle 3s ease-in-out infinite;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top-color: #00b894;
    /* Mint Grün */
    border-right-color: #d400ff;
    /* Neon Lila */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    font-family: 'Roboto', sans-serif;
    color: #a29bfe;
    font-size: 1.1em;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
    animation: pulseText 1.5s infinite alternate;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulseText {
    from {
        opacity: 0.6;
    }

    to {
        opacity: 1;
    }
}

@keyframes floatTitle {

    0%,
    100% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-10px) rotate(-3deg);
    }
}

/* 1920x1080 Optimierung */
@media (min-width: 769px) and (max-width: 1920px) {
    body {
        zoom: 0.75;
    }
}