/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background: #0b1021;
    color: #e5e7eb;
    min-height: 100vh;
    overflow: hidden;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: saturate(1.1) brightness(0.85);
}

.background-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.25), transparent 35%),
                radial-gradient(circle at 80% 10%, rgba(16, 185, 129, 0.2), transparent 30%),
                rgba(10, 12, 26, 0.78);
    backdrop-filter: blur(2px);
    z-index: -1;
}

.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 32px 16px;
}

.maintenance-card {
    position: relative;
    width: 100%;
    max-width: 520px;
    padding: 32px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(18, 24, 40, 0.92), rgba(11, 15, 30, 0.92));
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.14);
    overflow: hidden;
}

.maintenance-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(99, 102, 241, 0.12), rgba(16, 185, 129, 0.08));
    filter: blur(60px);
    z-index: 0;
}

.maintenance-card > * {
    position: relative;
    z-index: 1;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.logo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    object-fit: cover;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

h1 {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    color: #f8fafc;
}

.message {
    text-align: center;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 22px;
}

.message strong {
    color: #e2e8f0;
}

.return-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(99, 102, 241, 0.14);
    color: #c7d2fe;
    border-radius: 10px;
    margin-top: 12px;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.28);
}

.return-date i {
    color: #a5b4fc;
}

.hosting-section {
    margin: 24px 0;
    text-align: center;
}

.hosting-section h2 {
    font-size: 18px;
    color: #e5e7eb;
    margin-bottom: 12px;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: #f8fafc;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.35);
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.discord-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px rgba(99, 102, 241, 0.45);
    filter: brightness(1.05);
}

.bot-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    overflow: hidden;
    margin: 22px 0 14px;
    position: relative;
}

.progress-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #34d399, #10b981, #0ea5e9);
    width: 55%;
    animation: pulse-width 2.6s ease-in-out infinite;
}

@keyframes pulse-width {
    0%, 100% { width: 55%; }
    50% { width: 78%; }
}

.footer {
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

.background-animation {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 65%);
    animation: float 12s ease-in-out infinite;
    filter: blur(12px);
}

.floating-element:nth-child(1) { top: -20px; left: -30px; animation-delay: 0s; }
.floating-element:nth-child(2) { bottom: -10px; right: 0; animation-delay: 3s; }
.floating-element:nth-child(3) { top: 30%; right: -40px; animation-delay: 6s; }

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-15px) translateX(8px); }
}

@media (max-width: 640px) {
    .maintenance-card {
        padding: 26px 20px;
    }

    h1 {
        font-size: 24px;
    }

    .return-date {
        width: 100%;
        justify-content: center;
        font-size: 14px;
    }
}
