/* =========================================
   OFFLINE PAGE - COZYVALE STYLE
   ========================================= */

/* --- SCHRIFTARTEN --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');

* {
    margin: 0; padding: 0; box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: white;
    background-color: #050505;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Hintergrund & Overlay (Dein Cozyvale Background) */
body::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* Wenn du dein Bild hast, ändere den Pfad: url('../img/background.jpg') */
    background: radial-gradient(circle at center, #112211 0%, #050505 100%);
    background-size: cover; z-index: -3;
}
body::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px); 
    z-index: -2;
}

/* Partikel Canvas */
#fireflyCanvas {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; pointer-events: none;
}

/* --- MAIN CONTAINER --- */
.maintenance-container {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 60px 40px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,255,255,0.02);
    animation: floatBox 6s ease-in-out infinite;
}

@keyframes floatBox {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- STATUS BADGE --- */
.status-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255, 0, 0, 0.1); border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff4d4d; font-weight: 800; font-size: 0.8rem; letter-spacing: 2px;
    padding: 8px 16px; border-radius: 50px;
    margin-bottom: 30px;
}

.pulse-dot {
    width: 10px; height: 10px; background-color: #ff4d4d;
    border-radius: 50%; box-shadow: 0 0 10px #ff4d4d;
    animation: pulseRed 1.5s infinite;
}

@keyframes pulseRed {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 77, 77, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}

/* --- TYPO --- */
.title {
    font-size: 2.5rem; font-weight: 800; margin-bottom: 20px;
    background: linear-gradient(90deg, #ffaa00, #ff7b00);
    -webkit-background-clip: text; color: transparent;
}

.description {
    color: #ccc; font-size: 1rem; line-height: 1.6; margin-bottom: 40px;
}

/* --- LOADING BAR --- */
.loading-bar-container {
    width: 100%; height: 6px; background: rgba(255,255,255,0.1);
    border-radius: 10px; overflow: hidden; position: relative;
    margin-bottom: 10px;
}

.loading-bar {
    position: absolute; top: 0; left: -50%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, #38ef7d, transparent);
    animation: loadingAnim 2s infinite ease-in-out;
}

@keyframes loadingAnim {
    0% { left: -50%; }
    100% { left: 100%; }
}

.loading-text {
    font-size: 0.8rem; color: #888; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 40px;
}

/* --- DISCORD BUTTON --- */
.action-area p {
    font-size: 0.9rem; color: #aaa; margin-bottom: 15px;
}

.btn-discord {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: #5865F2; color: white; text-decoration: none;
    padding: 15px 30px; border-radius: 8px; font-weight: 800; font-size: 1rem;
    text-transform: uppercase; letter-spacing: 1px;
    transition: all 0.3s ease; box-shadow: 0 10px 20px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
    background: #4752c4; transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(88, 101, 242, 0.5);
}

/* Mobile */
@media (max-width: 600px) {
    .title { font-size: 2rem; }
    .maintenance-container { padding: 40px 20px; }
}