/**
 * 💎 Стили для модального окна предупреждения о бесплатных звездах
 * Design: Styled to match project design
 */

.free-balance-warning-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;
}

.free-balance-warning-modal.show {
    opacity: 1;
}

.free-balance-warning-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);
}

.free-balance-warning-modal.show .free-balance-warning-content {
    transform: scale(1);
}

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

.warning-emoji {
    font-size: 64px;
    display: inline-block;
    animation: breathe 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(255, 193, 7, 0.4));
}

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



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

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

.warning-description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* Кнопки - стилизованы под дизайн проекта */
.warning-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.warning-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 {
    background: linear-gradient(to right, #28a745, #218838);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

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

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

/* Secondary Button - Принять риск (приглушенный желтый) */
.btn-accept-risk {
    background: linear-gradient(135deg, #e6c200, #e69500);
    color: #1a1d2e;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(230, 194, 0, 0.3);
}

.btn-accept-risk:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 194, 0, 0.4);
}

/* Tertiary Button - Отмена (стиль из проекта) */
.btn-cancel {
    background-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

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

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