/* ================================================================= */
/* ===                  VIP MODAL STYLING (PRO)                  === */
/* ================================================================= */

/* 1. Контейнер модального окна */
.vip-modal-content {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f) !important;
    border: 1px solid rgba(255, 215, 0, 0.3) !important; /* Тонкая золотая рамка */
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.15) !important; /* Золотое свечение */
    border-radius: 24px !important;
    overflow: hidden;
}

/* 2. Иконка короны (Анимация) */
.vip-modal-icon {
    font-size: 4rem;
    line-height: 1;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
    animation: floatCrown 3s ease-in-out infinite;
}

@keyframes floatCrown {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

/* 3. Заголовки */
.text-vip {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    font-style: italic;
}

/* 4. Список преимуществ */
.vip-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left; /* ВАЖНО: Выравнивание текста влево */
}

.vip-benefit-item {
    display: flex;
    align-items: flex-start; /* Иконка и текст по верхнему краю */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: 12px;
    transition: transform 0.2s ease, background 0.2s;
}

.vip-benefit-item:hover {
    background: rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.2);
    transform: translateX(5px);
}

.benefit-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    min-width: 30px; /* Чтобы иконки были в одну линию */
    text-align: center;
}

.benefit-text {
    display: flex;
    flex-direction: column;
}

.benefit-text strong {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 2px;
}

.benefit-text span {
    color: #aaa;
    font-size: 0.85rem;
    line-height: 1.3;
}

/* 5. Выбор тарифа (Превращаем радио-кнопки в Карточки) */
.vip-tariff-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки */
    gap: 10px;
    margin-bottom: 25px;
}

.vip-tariff-option {
    cursor: pointer;
    position: relative;
    margin: 0;
}

/* Скрываем стандартный кружок радио-кнопки */
.vip-tariff-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Стили карточки тарифа */
.tariff-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 15px 5px;
    text-align: center;
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.tariff-duration {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 4px;
}

.tariff-price {
    font-size: 1rem;
    color: #FFD700;
    font-weight: bold;
}

/* Бейджи (Popular, Best) */
.tariff-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    color: #fff;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.tariff-badge.best { background: linear-gradient(45deg, #FFD700, #FFA500); color: #000; }
/* Для Popular можно добавить другой цвет, если нужно */

/* Состояние: Выбранный тариф */
.vip-tariff-option input:checked + .tariff-card {
    background: rgba(255, 215, 0, 0.1);
    border-color: #FFD700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

/* 6. Итоговая цена */
.vip-total-block {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
}

.vip-total-block .fs-2 {
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

/* 7. Кнопка действия */
.btn-vip-action {
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    border: none;
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transition: all 0.2s ease;
}

.btn-vip-action:hover {
    background: linear-gradient(90deg, #ffe033 0%, #ffb733 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    color: #000;
}

.btn-vip-action:active {
    transform: scale(0.98);
}

/* Адаптив для маленьких экранов */
@media (max-width: 400px) {
    .vip-tariff-selector {
        gap: 5px;
    }
    .tariff-card {
        padding: 10px 2px;
    }
    .tariff-duration { font-size: 0.8rem; }
    .tariff-price { font-size: 0.9rem; }
}