/* maintenance.css - красивый экран технических работ */

.maintenance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 10%, #0a0a0a 0%, #000000 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.8s ease;
}

/* Анимированный фон */
.maintenance-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        rgba(238, 162, 30, 0.03) 0px,
        rgba(238, 162, 30, 0.03) 2px,
        transparent 2px,
        transparent 8px
    );
    pointer-events: none;
}

.maintenance-card {
    text-align: center;
    padding: 60px 50px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(238, 162, 30, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(238, 162, 30, 0.1), 0 0 30px rgba(238, 162, 30, 0.2);
    max-width: 650px;
    width: 90%;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Декоративные элементы */
.maintenance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(238, 162, 30, 0.08) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.maintenance-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #eea21e, #fe2b0d, #eea21e, transparent);
    animation: shimmer 2s infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.maintenance-icon {
    position: relative;
    z-index: 1;
    margin-bottom: 25px;
}

.maintenance-icon i {
    font-size: 90px;
    background: linear-gradient(135deg, #eea21e, #fe2b0d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(238, 162, 30, 0.5);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

.maintenance-title {
    font-family: 'BebasNeue-Regular', sans-serif;
    font-size: 56px;
    background: linear-gradient(135deg, #eea21e, #fe2b0d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(238, 162, 30, 0.3);
}

.maintenance-message {
    font-family: 'BebasNeue-Regular', sans-serif;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

/* Таймер */
.timer-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 35px 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.timer-block {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.6), rgba(20, 20, 20, 0.8));
    padding: 20px 25px;
    border-radius: 20px;
    border: 1px solid rgba(238, 162, 30, 0.4);
    min-width: 90px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

.timer-block:hover {
    transform: translateY(-5px);
    border-color: rgba(238, 162, 30, 0.8);
    box-shadow: 0 15px 30px -5px rgba(238, 162, 30, 0.2);
}

.timer-number {
    font-family: 'BebasNeue-Regular', monospace;
    font-size: 48px;
    font-weight: bold;
    background: linear-gradient(135deg, #eea21e, #fe2b0d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    line-height: 1;
    text-shadow: 0 0 20px rgba(238, 162, 30, 0.5);
}

.timer-label {
    font-family: 'BebasNeue-Regular', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    display: block;
}

.maintenance-footer {
    font-family: 'aaaiight', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 35px;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптив */
@media (max-width: 768px) {
    .maintenance-card {
        padding: 40px 25px;
    }
    
    .maintenance-title {
        font-size: 38px;
        letter-spacing: 2px;
    }
    
    .maintenance-message {
        font-size: 16px;
    }
    
    .timer-block {
        padding: 12px 18px;
        min-width: 65px;
    }
    
    .timer-number {
        font-size: 32px;
    }
    
    .timer-label {
        font-size: 10px;
        letter-spacing: 1px;
    }
    
    .maintenance-icon i {
        font-size: 60px;
    }
}

@media (max-width: 480px) {
    .maintenance-card {
        padding: 30px 20px;
    }
    
    .maintenance-title {
        font-size: 28px;
    }
    
    .maintenance-message {
        font-size: 14px;
    }
    
    .timer-container {
        gap: 12px;
    }
    
    .timer-block {
        padding: 10px 12px;
        min-width: 55px;
    }
    
    .timer-number {
        font-size: 24px;
    }
    
    .timer-label {
        font-size: 8px;
    }
}