/* Стили для модального окна о закрытии студии */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.5s ease-out;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    margin: 20px;
    border: 2px solid #ffc107;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    position: relative;
    animation: slideIn 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.5));
}

.modal-title {
    color: #ffc107;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    font-family: 'Noto Sans JP', sans-serif;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}

.modal-text {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    font-family: 'Noto Sans JP', sans-serif;
    opacity: 0.9;
}

.subtle-note {
    color: #cccccc;
    font-size: 0.85rem;
    margin-bottom: 30px;
    font-style: italic;
    opacity: 0.7;
    border-top: 1px solid rgba(255, 193, 7, 0.2);
    padding-top: 20px;
    font-family: 'Noto Sans JP', sans-serif;
}

.modal-close {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    color: #000000;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

.modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.6);
    background: linear-gradient(135deg, #ffb300 0%, #ffc107 100%);
}

.modal-close:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(255, 193, 7, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
        margin: 10px;
        max-width: 95%;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-text {
        font-size: 0.9rem;
    }
    
    .modal-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 25px 15px;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .modal-text {
        font-size: 0.85rem;
    }
    
    .subtle-note {
        font-size: 0.8rem;
    }
}
