/* ==================================================================
   АДАПТИВНЫЕ ТАБЛИЦЫ ДЛЯ VODKA CASINO - ВЕРСИЯ 4.0 FINAL
   Усиленные селекторы с !important для гарантии применения
   ================================================================== */

/* Контейнер таблицы с горизонтальной прокруткой */
.table-responsive {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 30px 0 !important;
    border-radius: 12px !important;
    background: rgba(26, 26, 26, 0.3) !important;
    position: relative !important;
    display: block !important;
}

/* Основные стили таблицы */
.vodka-table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: rgba(26, 26, 26, 0.5) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    display: table !important;
}

/* Заголовок таблицы */
.vodka-table thead {
    background: linear-gradient(135deg, #1A64FC 0%, #41C6FF 100%) !important;
    display: table-header-group !important;
}

.vodka-table th {
    padding: 18px 24px !important;
    text-align: left !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    color: #FFFFFF !important;
    border-bottom: 2px solid rgba(65, 198, 255, 0.3) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    display: table-cell !important;
}

/* Тело таблицы */
.vodka-table tbody {
    display: table-row-group !important;
}

.vodka-table tbody tr {
    display: table-row !important;
    transition: all 0.3s ease;
}

/* Ячейки данных */
.vodka-table td {
    padding: 18px 24px !important;
    border-bottom: 1px solid rgba(122, 133, 165, 0.1) !important;
    color: #E8EAF0 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    vertical-align: top !important;
    display: table-cell !important;
}

/* Эффект при наведении */
.vodka-table tbody tr:hover {
    background: rgba(41, 198, 255, 0.08) !important;
}

.vodka-table tbody tr:last-child td {
    border-bottom: none !important;
}

/* Чередование цветов строк */
.vodka-table tbody tr:nth-child(even) {
    background: rgba(26, 26, 26, 0.3) !important;
}

/* Адаптивность для планшетов (768px - 992px) */
@media screen and (max-width: 992px) {
    .vodka-table {
        font-size: 14px !important;
    }
    
    .vodka-table th,
    .vodka-table td {
        padding: 14px 18px !important;
    }
    
    .vodka-table th {
        font-size: 14px !important;
    }
}

/* Мобильные устройства (до 768px) */
@media screen and (max-width: 768px) {
    .table-responsive {
        margin: 20px 0 !important;
        border-radius: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: scroll !important;
    }
    
    /* Таблица ОБЯЗАТЕЛЬНО сохраняет структуру */
    .vodka-table {
        font-size: 13px !important;
        min-width: 600px !important;
        display: table !important;
    }
    
    .vodka-table thead {
        display: table-header-group !important;
    }
    
    .vodka-table tbody {
        display: table-row-group !important;
    }
    
    .vodka-table tr {
        display: table-row !important;
    }
    
    .vodka-table th,
    .vodka-table td {
        padding: 12px 16px !important;
        font-size: 13px !important;
        display: table-cell !important;
    }
    
    /* Заголовки фиксированные */
    .vodka-table thead th {
        position: sticky !important;
        top: 0 !important;
        z-index: 10 !important;
        background: linear-gradient(135deg, #1A64FC 0%, #41C6FF 100%) !important;
    }
    
    /* Подсказка о прокрутке */
    .table-responsive::after {
        content: '⟵ Листайте таблицу влево-вправо ⟶' !important;
        display: block !important;
        text-align: center !important;
        font-size: 11px !important;
        color: rgba(65, 198, 255, 0.6) !important;
        padding: 8px 0 0 0 !important;
        animation: pulseHint 2s ease-in-out infinite !important;
    }
}

/* Анимация подсказки */
@keyframes pulseHint {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Очень маленькие экраны (до 480px) */
@media screen and (max-width: 480px) {
    .vodka-table {
        font-size: 12px !important;
        min-width: 500px !important;
    }
    
    .vodka-table th,
    .vodka-table td {
        padding: 10px 12px !important;
        font-size: 12px !important;
    }
}

/* ================================================================== */
/* СТИЛИ ДЛЯ SEO-КОНТЕНТА                                            */
/* ================================================================== */

/* Контейнер SEO-текста */
.textSeo {
    color: #E8EAF0 !important;
    line-height: 1.9 !important;
}

/* Списки в SEO-тексте */
.textSeo ul, 
.textSeo ol {
    margin: 25px 0 !important;
    padding-left: 35px !important;
}

.textSeo ul li, 
.textSeo ol li {
    margin: 14px 0 !important;
    line-height: 1.9 !important;
    color: #E8EAF0 !important;
    position: relative !important;
}

.textSeo ul li::marker {
    color: #41C6FF !important;
    font-size: 1.2em !important;
}

.textSeo ol li::marker {
    color: #41C6FF !important;
    font-weight: 600 !important;
}

/* Заголовки с градиентом */
.textSeo h1 {
    font-size: 32px !important;
    margin: 40px 0 25px 0 !important;
    background: linear-gradient(135deg, #41C6FF 0%, #1A64FC 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 700 !important;
}

.textSeo h2 {
    font-size: 28px !important;
    background: linear-gradient(135deg, #41C6FF 0%, #1A64FC 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin: 45px 0 22px 0 !important;
    font-weight: 700 !important;
}

.textSeo h3 {
    font-size: 22px !important;
    color: #41C6FF !important;
    margin: 35px 0 18px 0 !important;
    font-weight: 600 !important;
}

.textSeo h4 {
    font-size: 18px !important;
    color: #41C6FF !important;
    margin: 25px 0 12px 0 !important;
    font-weight: 600 !important;
}

/* Выделение текста */
.textSeo strong {
    color: #41C6FF !important;
    font-weight: 700 !important;
}

.textSeo em {
    color: #1A64FC !important;
    font-style: italic !important;
}

.textSeo p {
    margin: 18px 0 !important;
    line-height: 1.9 !important;
    color: #E8EAF0 !important;
}

/* Ссылки в SEO-тексте */
.textSeo a {
    color: #41C6FF !important;
    text-decoration: underline !important;
    transition: color 0.3s ease !important;
}

.textSeo a:hover {
    color: #1A64FC !important;
}

/* Мобильная адаптация заголовков и текста */
@media screen and (max-width: 768px) {
    .textSeo h1 {
        font-size: 26px !important;
    }
    
    .textSeo h2 {
        font-size: 22px !important;
    }
    
    .textSeo h3 {
        font-size: 19px !important;
    }
    
    .textSeo h4 {
        font-size: 16px !important;
    }
    
    .textSeo ul, 
    .textSeo ol {
        padding-left: 25px !important;
    }
}

@media screen and (max-width: 480px) {
    .textSeo h1 {
        font-size: 22px !important;
    }
    
    .textSeo h2 {
        font-size: 19px !important;
    }
    
    .textSeo h3 {
        font-size: 17px !important;
    }
    
    .textSeo h4 {
        font-size: 15px !important;
    }
    
    .textSeo p, 
    .textSeo li {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }
    
    .textSeo ul, 
    .textSeo ol {
        padding-left: 20px !important;
    }
}

/* ================================================================== */
/* ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ СОВМЕСТИМОСТИ                            */
/* ================================================================== */

/* Блокировка горизонтальной прокрутки страницы */
body {
    overflow-x: hidden !important;
}

/* Эмодзи в таблицах */
.vodka-table td:first-child {
    font-weight: 600 !important;
}

/* Адаптивные изображения в контенте */
.textSeo img {
    max-width: 100% !important;
    height: auto !important;
}
