/* ================= Maintenance Screen ================= */
.maintenance-screen {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--green-900, #0f3d2e) 0%, var(--green-700, #1b5e45) 100%);
    padding: 20px;
    z-index: 99999;
    overflow: hidden;
}

/* پس‌زمینه تزئینی (الگوی برگ) */
.maintenance-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.maintenance-card {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: maintenanceFadeIn 0.6s ease-out;
    z-index: 1;
}

.maintenance-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--green-100, #e8f5e9), var(--green-300, #a5d6a7));
    border-radius: 50%;
    animation: maintenancePulse 2s infinite ease-in-out;
}

.maintenance-icon i {
    font-size: 2.5rem;
    color: var(--green-700, #1b5e45);
}

.maintenance-card h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--green-900, #0f3d2e);
    margin-bottom: 12px;
    font-family: 'IRANYekanX', sans-serif;
}

.maintenance-card p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 28px;
    font-family: 'IRANYekanX', sans-serif;
}

.maintenance-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--green-100, #e8f5e9);
    border-radius: 50px;
    color: var(--green-700, #1b5e45);
    font-weight: 700;
    font-size: 0.95rem;
    font-family: 'IRANYekanX', sans-serif;
}

.maintenance-brand i {
    font-size: 1.2rem;
}

/* انیمیشن‌ها */
@keyframes maintenanceFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes maintenancePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(27, 94, 69, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(27, 94, 69, 0);
    }
}

/* ریسپانسیو */
@media (max-width: 576px) {
    .maintenance-card {
        padding: 32px 24px;
        border-radius: 18px;
    }
    .maintenance-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    .maintenance-icon i {
        font-size: 2rem;
    }
    .maintenance-card h1 {
        font-size: 1.4rem;
    }
    .maintenance-card p {
        font-size: 0.9rem;
    }
    .maintenance-brand {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}

/* حالت تاریک (اختیاری) */
@media (prefers-color-scheme: dark) {
    .maintenance-card {
        background: #1f2421;
    }
    .maintenance-card h1 {
        color: #e8f5e9;
    }
    .maintenance-card p {
        color: #a0a0a0;
    }
    .maintenance-brand {
        background: rgba(27, 94, 69, 0.3);
        color: #a5d6a7;
    }
}