/* ============================================
   Maintenance Mode Page
   ============================================ */

.maintenance-overlay {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, var(--bg) 0%, rgba(59, 130, 246, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.maintenance-container {
    position: relative;
    z-index: 10;
    max-width: 600px;
    width: 100%;
}

.maintenance-content {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 2rem;
    padding: 4rem 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.maintenance-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
    border: 2px solid rgba(59, 130, 246, 0.3);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.maintenance-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.maintenance-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.maintenance-status {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    transition: all 0.3s;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(156, 163, 175, 0.5);
    transition: all 0.3s;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
}

.status-dot.active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
    animation: pulse 1.5s ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.maintenance-timer {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 1.5rem;
}

.timer-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.timer-display {
    font-size: 2rem;
    font-weight: 800;
    color: #3b82f6;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.maintenance-contact {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.contact-link:hover {
    border-bottom-color: #3b82f6;
    transform: translateY(-1px);
}

.maintenance-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.footer-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Background shapes */
.maintenance-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.maintenance-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: #3b82f6;
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #10b981;
    bottom: -50px;
    left: -50px;
    animation: float 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: #8b5cf6;
    top: 50%;
    left: 5%;
    animation: float 30s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-30px) translateX(20px); }
}

/* Responsive */
@media (max-width: 768px) {
    .maintenance-content {
        padding: 3rem 1.5rem;
    }

    .maintenance-title {
        font-size: 2rem;
    }

    .maintenance-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .maintenance-status {
        gap: 1rem;
    }

    .status-item {
        font-size: 0.8rem;
    }

    .timer-display {
        font-size: 1.5rem;
    }
}

/* Light mode */
[data-theme="light"] .maintenance-content {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .maintenance-overlay {
    background: linear-gradient(135deg, var(--bg) 0%, rgba(59, 130, 246, 0.02) 100%);
}
