*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #f8fafc;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
    overflow-x: hidden;
}

/* Fester, nicht-scrollender Hintergrund */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.88)),
        url('../img/vac_background.webp') center/cover no-repeat;
    z-index: -1;
    pointer-events: none;
    transform: translateZ(0);
}

/* Glassmorphism Card mit dezentem Leuchten */
.card {
    position: relative;
    background-color: rgba(30, 41, 59, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    max-width: 580px;
    width: 100%;
    padding: 3rem 2.2rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), 0 0 25px rgba(14, 165, 233, 0.08);
    text-align: center;
    overflow: hidden;
}

/* 1. Animation: Radar Sweep */
.radar-sweep {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 310deg,
        rgba(56, 189, 248, 0.07) 345deg,
        rgba(56, 189, 248, 0.2) 360deg
    );
    animation: rotateSweep 6s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes rotateSweep {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.card-header,
.card-body,
.card-footer {
    position: relative;
    z-index: 1;
}

.logo-wrapper {
    margin-bottom: 1.25rem;
}

.brand-logo {
    max-width: 100%;
    height: auto;
    max-height: 85px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* 2. Animation: Subtiler Shimmer auf der Überschrift */
.card-title {
    font-size: 1.95rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #ffffff 0%, #38bdf8 50%, #ffffff 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: textShimmer 5s ease-in-out infinite;
}

@keyframes textShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.card-subtitle {
    margin-top: 0.45rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: #38bdf8;
    letter-spacing: 0.3px;
}

.card-body {
    margin-top: 2rem;
}

/* 3. Animation: Pulsierender Status Badge */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 0.5rem 1.15rem;
    border-radius: 9999px;
    margin-bottom: 1.35rem;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.status-pulse {
    width: 10px;
    height: 10px;
    background-color: #38bdf8;
    border-radius: 50%;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.8);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 9px rgba(56, 189, 248, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
    }
}

.status-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #e0f2fe;
}

.card-message {
    font-size: 0.975rem;
    line-height: 1.6;
    color: #cbd5e1;
}

.card-footer {
    margin-top: 2.2rem;
}

.badge {
    display: inline-block;
    font-size: 0.825rem;
    color: #94a3b8;
    letter-spacing: 0.5px;
}