/* /stylelisting.css */

/* --- 1. СБРОС И ОБЩИЕ НАСТРОЙКИ --- */
ul.list-new, ul.list-new.mini {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    background: transparent !important;
}

/* --- 2. КАРТОЧКА КАЗИНО (ОСНОВА) --- */
.list-new .list-item {
    /* Темно-синий фон (Navy Blue) */
    background-color: #111625 !important; 
    background-image: none !important;
    border: 1px solid #2a3245 !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    position: relative !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    overflow: hidden !important;
    
    /* Сброс старых анимаций */
    animation: none !important;
    transform: none !important;
}

.list-item::after, .list-item::before { display: none !important; }

/* --- 3. КОЛОНКИ (Лого, Текст, Правая часть) --- */
.list-item-base, 
.list-item-info, 
.list-item-right {
    background: transparent !important;
    border-right: 1px solid rgba(255,255,255,0.05) !important;
    position: relative !important;
    box-sizing: border-box !important;
}

/* --- 4. ЛОГОТИП (Слева) --- */
.list-item-base {
    width: 25% !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Обновленный контейнер логотипа */
.list-item-base_logo {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 10px !important;
    
    /* Настройки для центровки */
    display: flex !important;
    align-items: center !important;      /* Выравнивание по вертикали (центр) */
    justify-content: center !important;  /* Выравнивание по горизонтали (центр) */
    min-height: 100px !important;        /* Задаем высоту контейнера, чтобы было где центровать */
    height: 100px !important;
}

/* Обновленная картинка */
.list-item-base_logo img {
    max-width: 190px !important;     /* Увеличили со 140px до 190px */
    max-height: 90px !important;     /* Ограничиваем высоту, чтобы не вылезала */
    width: auto !important;          /* Авто-ширина для сохранения пропорций */
    height: auto !important;         /* Авто-высота */
    object-fit: contain !important;  /* Вписываем картинку без обрезки */
    display: block !important;
}

/* Рейтинг */
.list-item-base_rating img { height: 16px !important; }
.list-item-base_rating small {
    display: block !important;
    margin-top: 8px !important;
    color: #6c7a9c !important;
    font-size: 11px !important;
    text-align: center !important;
}

/* --- 5. ТЕКСТ И ОПИСАНИЕ (Центр) --- */
.list-item-info {
    width: 45% !important;
    padding: 20px 25px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Принудительно показываем текст и настраиваем его */
.list-item-info_text {
    display: block !important; /* ВАЖНО: включает текст */
    margin-bottom: 15px !important;
    width: 100% !important;
}

.list-item-info_text ul {
    padding: 0 !important;
    margin: 0 !important;
}

.list-item-info_text li {
    list-style: none !important;
    color: #e0e6ed !important; /* Белый текст */
    font-size: 13px !important;
    line-height: 1.6 !important;
    position: relative !important;
    padding-left: 20px !important;
    margin-bottom: 6px !important;
    font-weight: 400 !important;
    text-align: left !important;
}

/* Зеленые галочки */
.list-item-info_text li::before {
    content: "✓" !important;
    color: #27ae60 !important;
    position: absolute !important;
    left: 0 !important;
    font-weight: bold !important;
}

/* Платежные иконки */
.list-item-bonuses.mobile { display: none !important; } /* Скрываем дубликаты */

.payment-slider {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    opacity: 0.5 !important;
    margin-top: auto !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(255,255,255,0.05) !important;
}
.payment-itemsmini img {
    height: 18px !important;
    width: auto !important;
    filter: grayscale(100%) brightness(200%) contrast(0%) !important;
}

/* --- 6. ПРАВАЯ ЧАСТЬ (Бонусы + Кнопка) --- */
.list-item-right {
    width: 30% !important;
    padding: 20px !important;
    background: rgba(0,0,0,0.15) !important; /* Затемнение правой части */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    border-right: none !important;
}

/* Блок бонусов (Темная плашка) */
.list-item-bonuses {
    background: #0b0e17 !important;
    border: 1px solid #2a3245 !important;
    border-radius: 6px !important;
    padding: 12px 5px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.list-item-bonuses_cash, .list-item-bonuses_fs {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    text-align: center !important;
    flex: 1 !important;
    width: auto !important;
    min-width: 0 !important;
}

/* Цифры */
.list-item-bonuses_cash span {
    color: #ffcc00 !important; /* Золото */
    font-size: 16px !important;
    font-weight: 700 !important;
    display: block !important;
    white-space: nowrap !important;
}
.list-item-bonuses_fs span {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    display: block !important;
    margin-top: 4px !important;
}

/* Разделитель */
.delimiter {
    width: 1px !important;
    height: 25px !important;
    background: #333 !important;
    margin: 0 5px !important;
    display: block !important;
}
.list-item-bonuses .icon { display: none !important; }

/* Кнопка */
.list-item-bottom_btn, 
.item-link {
    background: #ff4500 !important;
    background-image: linear-gradient(180deg, #ff5e00 0%, #ff3c00 100%) !important;
    border: none !important;
    border-radius: 4px !important;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    padding: 14px 0 !important;
    text-align: center !important;
    box-shadow: 0 4px 0 #cc3700 !important;
    cursor: pointer !important;
    display: block !important;
    width: 100% !important;
    text-decoration: none !important;
}
.list-item-bottom_btn:hover {
    background: #ff6a1f !important;
    box-shadow: 0 2px 0 #cc3700 !important;
    transform: translateY(2px) !important;
}

/* --- 7. БЕЙДЖИ (PayPal) --- */
.top-pay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    background: #ff4500 !important;
    padding: 3px 8px !important;
    border-bottom-right-radius: 8px !important;
    z-index: 10 !important;
    height: 26px !important;
    display: flex !important;
    align-items: center !important;
    border: none !important;
}
.top-pay img {
    filter: brightness(0) invert(1) !important;
    height: 14px !important;
    width: auto !important;
}

/* ========================================= */
/* --- АДАПТИВНОСТЬ (МОБИЛЬНАЯ ВЕРСИЯ) --- */
/* ========================================= */
@media (max-width: 768px) {
    /* Меняем направление на вертикальное */
    .list-new .list-item {
        flex-direction: column !important;
        padding-bottom: 20px !important;
    }
    
    /* Сбрасываем ширину колонок на 100% */
    .list-item-base, 
    .list-item-info, 
    .list-item-right {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
        padding: 15px !important;
    }
    
    /* Логотип */
    .list-item-base {
        padding-top: 35px !important; /* Место под бейдж Paypal */
    }
    
    /* ТЕКСТ (ГЛАВНОЕ ИСПРАВЛЕНИЕ) */
    .list-item-info {
        display: block !important;
        text-align: left !important;
    }
    .list-item-info_text {
        display: block !important; /* Убеждаемся, что текст виден */
        margin-bottom: 15px !important;
    }
    .list-item-info_text ul {
        text-align: left !important;
    }
    
    /* Платежки на мобильном */
    .payment-slider {
        justify-content: center !important;
    }
    
    /* Правая часть (бонусы и кнопка) */
    .list-item-right {
        background: transparent !important;
        border-bottom: none !important;
    }
}