/* Grundlegendes Layout */
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #0a0a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    user-select: none;
    -webkit-user-select: none;
}

.maintenance-container {
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(20, 20, 35, 0.4);
    padding: 50px 60px;
    border-radius: 44px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    animation: smoothFlyIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#loaderCanvas {
    width: 250px;
    height: 250px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 35px rgba(255, 77, 77, 0.4));
}

/* Präsenter Seitenname */
.target-site-name {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0 0 5px 0;
    background: linear-gradient(90deg, #ffffff, #ff4d4d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 77, 77, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.maintenance-title {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

.maintenance-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    margin-bottom: 35px;
    max-width: 450px;
    line-height: 1.6;
}

/* Animierter Countdown */
.countdown-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    border: 2px solid rgba(255, 77, 77, 0.3);
    box-shadow: 0 0 25px rgba(255, 77, 77, 0.15), inset 0 0 15px rgba(255, 77, 77, 0.1);
}

/* Die Klasse wird per JS getriggert */
.countdown-number.pop {
    animation: popNumber 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.countdown-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Status Indikator unten */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 35px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ff4d4d;
    transition: color 0.4s ease;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #ff4d4d;
    border-radius: 50%;
    box-shadow: 0 0 12px #ff4d4d;
    animation: pulse-dot 1.5s infinite;
    transition: all 0.4s ease;
}

/* Animationen */
@keyframes popNumber {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); }
}

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

@keyframes smoothFlyIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Mobile Anpassungen */
@media (max-width: 600px) {
    .maintenance-container { padding: 40px 20px; }
    .target-site-name { font-size: 2.5rem; }
    #loaderCanvas { width: 180px; height: 180px; }
    .countdown-number { width: 90px; height: 90px; font-size: 2.8rem; }
}