/* Allgemeines Layout */
body {
    background: #0f0f0f;
    color: #f0f0f0;
    font-family: "Inter", "Segoe UI", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Zentrierter Container */

.center-box {
    text-align: center;
    padding: 40px;
    background: #181818;
    border-radius: 18px;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
    width: 90%;
    max-width: 420px;
    animation: fadeIn 0.8s ease, pulseBox 3s ease-in-out infinite;
}

/* Icon */
.icon {
    font-size: 60px;
    margin-bottom: 10px;
    opacity: 0.9;
}

/* Überschrift */
h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
}

/* Untertext */
.subtext {
    margin-top: 10px;
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.5;
}

/* Loader Animation */
.loader {
    width: 40px;
    height: 40px;
    border: 4px solid #333;
    border-top: 4px solid #4da6ff;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

.loader-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    animation: pulse 2.4s ease-in-out infinite;
}

/* Animationen */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0px); }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

@keyframes pulseBox {
    0%, 100% {
        box-shadow: 0 0 22px rgba(77, 166, 255, 0.15);
    }
    50% {
        box-shadow: 0 0 36px rgba(77, 166, 255, 0.35);
    }
}
