.maintenance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 98, 245, 0.3) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.maintenance-container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 56px 48px;
    max-width: 620px;
    width: 100%;
    text-align: center;
    box-shadow: 0 32px 120px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.maintenance-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border: none;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #6c757d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.maintenance-close:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 24px rgba(238, 90, 90, 0.4);
}

.maintenance-close i {
    font-size: 20px;
}

.maintenance-icon {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    box-shadow: 0 12px 36px rgba(255, 107, 107, 0.45);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 12px 36px rgba(255, 107, 107, 0.45);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 16px 48px rgba(255, 107, 107, 0.55);
    }
}

.maintenance-icon i {
    font-size: 48px;
    color: white;
}

.maintenance-title {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.maintenance-subtitle {
    font-size: 17px;
    color: #5a6c7d;
    margin-bottom: 36px;
    line-height: 1.7;
    font-weight: 500;
}

.maintenance-new-url {
    background: linear-gradient(135deg, #0062F5 0%, #0050CC 50%, #003d99 100%);
    color: white;
    padding: 20px 28px;
    border-radius: 16px;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    word-break: break-all;
    box-shadow: 0 8px 24px rgba(0, 98, 245, 0.35);
    position: relative;
    overflow: hidden;
}

.maintenance-new-url::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.maintenance-hint {
    font-size: 14px;
    color: #8b98a5;
    margin-bottom: 36px;
    font-weight: 500;
}

.maintenance-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #0062F5 0%, #0050CC 100%);
    color: white;
    padding: 18px 48px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 32px rgba(0, 98, 245, 0.4);
    position: relative;
    overflow: hidden;
}

.maintenance-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.maintenance-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 48px rgba(0, 98, 245, 0.5);
}

.maintenance-btn:hover::before {
    transform: translateX(100%);
}

.maintenance-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.maintenance-btn i {
    font-size: 20px;
}

@media (max-width: 640px) {
    .maintenance-container {
        padding: 40px 28px;
        border-radius: 24px;
    }
    
    .maintenance-title {
        font-size: 26px;
    }
    
    .maintenance-icon {
        width: 80px;
        height: 80px;
    }
    
    .maintenance-icon i {
        font-size: 40px;
    }
    
    .maintenance-subtitle {
        font-size: 15px;
    }
    
    .maintenance-new-url {
        font-size: 16px;
        padding: 16px 20px;
    }
    
    .maintenance-btn {
        padding: 16px 40px;
        font-size: 15px;
    }
    
    .maintenance-close {
        width: 40px;
        height: 40px;
    }
}
