/**
 * Модальное окно для ошибки paid_stars_only
 * Стилизовано под проект
 */

.paid-stars-only-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.paid-stars-only-modal.show {
    opacity: 1;
}

.paid-stars-only-content {
    background: #1e1e1e;
    border-radius: 20px;
    max-width: 380px;
    width: 100%;
    padding: 32px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.paid-stars-only-modal.show .paid-stars-only-content {
    transform: scale(1);
}

/* Error Icon with Breathing Animation */
.paid-stars-icon-container {
    text-align: center;
    margin-bottom: 20px;
}

.paid-stars-emoji {
    font-size: 64px;
    display: inline-block;
    animation: breathe 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(220, 38, 38, 0.5));
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.85;
    }
}

/* Body */
.paid-stars-body {
    margin-bottom: 24px;
    text-align: center;
}

.paid-stars-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px 0;
    text-align: center;
}

.paid-stars-balance {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

/* Кнопки */
.paid-stars-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.paid-stars-buttons button {
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
}

/* Primary Button - Пополнить баланс (зеленый) */
.btn-topup-paid {
    background: linear-gradient(to right, #28a745, #218838);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-topup-paid:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.btn-topup-paid:active {
    transform: translateY(0);
}

/* Secondary Button - Закрыть */
.btn-close-paid {
    background-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-close-paid:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* Адаптив для мобильных */
@media (max-width: 480px) {
    .paid-stars-only-content {
        max-width: 100%;
        padding: 28px 24px;
    }
    
    .paid-stars-title {
        font-size: 18px;
    }
    
    .paid-stars-balance {
        font-size: 15px;
    }
    
    .paid-stars-buttons button {
        padding: 13px 20px;
        font-size: 14px;
    }
}
