
/* Custom Design: Land Rover scandinavian nordic-winter bronze Bora Bora */

/* Основные переменные */
:root {
    --primary-color: #1976d2;
    --secondary-color: #2196f3;
    --accent-color: #42a5f5;
    --bg-color: #e3f2fd;
    --border-radius: 11px;
    --box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

/* Общие стили */
body {
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

/* Header кастомизация */
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-bottom: 6px solid var(--accent-color);
    box-shadow: var(--box-shadow);
    padding: 19px;
}

.header-nav ul li a {
    color: #ffffff;
    font-weight: 600;
    transition: all 300ms;
    border-radius: var(--border-radius);
    padding: 11px 16px;
}

.header-nav ul li a:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Footer кастомизация */
.footer {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-top: 5px solid var(--accent-color);
    box-shadow: var(--box-shadow);
    padding: 30px;
}

.footer a {
    color: #ffffff;
    transition: color 300ms;
}

.footer a:hover {
    color: var(--accent-color);
}

/* Таблица казино кастомизация */
.casino-table,
.casino-comparison-table,
#casino-table {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin: 19px 0;
}

.casino-table thead,
.casino-comparison-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.casino-table th {
    color: #ffffff;
    padding: 23px;
    font-weight: 600;
}

.casino-table tbody tr:hover {
    background-color: var(--bg-color);
    transform: scale(1.01);
    transition: all 300ms;
}

.casino-table .cta-button,
.casino-table .btn-play {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: var(--border-radius);
    padding: 13px 24px;
    color: #ffffff;
    font-weight: bold;
    border: none;
    box-shadow: var(--box-shadow);
    transition: all 300ms;
}

.casino-table .cta-button:hover,
.casino-table .btn-play:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Компоненты кастомизация */
.component,
.pros-cons,
.faq-accordion,
.author-box,
.bonus-highlight,
.cta-buttons,
.trust-badges,
.review-cards,
.featured-casino {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 22px;
    margin: 20px 0;
    background: #ffffff;
    border-left: 1px solid var(--primary-color);
}

.component h2,
.component h3 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 9px;
    margin-bottom: 18px;
}

.component .btn,
.component button {
    background: var(--primary-color);
    color: #ffffff;
    border-radius: var(--border-radius);
    padding: 12px 20px;
    border: none;
    transition: all 300ms;
}

.component .btn:hover,
.component button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Pros/Cons специфичные стили */
.pros-cons .pros {
    border-left: 7px solid #42a5f5;
}

.pros-cons .cons {
    border-left: 1px solid #2196f3;
}

/* FAQ Accordion */
.faq-accordion .faq-item {
    border-radius: var(--border-radius);
    margin-bottom: 8px;
    border: 1px solid var(--accent-color);
}

.faq-accordion .faq-question {
    background: var(--bg-color);
    color: var(--primary-color);
    padding: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 300ms;
}

.faq-accordion .faq-question:hover {
    background: var(--accent-color);
    color: #ffffff;
}

/* Trust Badges */
.trust-badges .badge {
    background: var(--bg-color);
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius);
    padding: 13px;
    transition: all 300ms;
}

.trust-badges .badge:hover {
    transform: scale(1.05);
    box-shadow: var(--box-shadow);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .header,
    .footer {
        padding: 16px;
    }

    .casino-table {
        font-size: 13px;
    }

    .casino-table th,
    .casino-table td {
        padding: 11px;
    }

    .component {
        padding: 14px;
        margin: 16px 0;
    }
}

@media (max-width: 477px) {
    .header,
    .footer {
        padding: 13px;
    }

    .casino-table {
        font-size: 10px;
    }

    .casino-table th,
    .casino-table td {
        padding: 8px;
    }

    .component {
        padding: 10px;
        margin: 13px 0;
    }
}

/* Universal logo style */
/* removed max-height 60px limit */

/* Casino logos - remove max-height limit */
img[src*="/logos/"] { max-height: none !important; min-height: 80px; }

/* Mobile responsive styles */
@media (max-width: 1024px) {
    .casino-table, .casino-section, .casino-list { display: flex !important; flex-direction: column !important; align-items: center !important; }
    .casino-row, .casino-item, .casino-card { display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; width: 90% !important; max-width: 400px !important; margin: 10px auto !important; padding: 20px !important; }
    .casino-logo, .casino-logo img { width: 50vw !important; max-width: 180px !important; height: auto !important; }
    .casino-info, .casino-features, .casino-bonus, .casino-rating, .casino-actions { display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; width: 100% !important; }
}

/* Universal mobile responsive styles */
@media (max-width: 1024px) {
    [class*="-casino-section"], [class*="-section-inner"], [class*="-casino-list"], [class*="-casino-grid"] { display: flex !important; flex-direction: column !important; align-items: center !important; }
    [class*="-casino-item"], [class*="-casino-card"], [class*="-casino-row"] { display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; width: 90% !important; max-width: 400px !important; margin: 10px auto !important; padding: 20px !important; }
    [class*="-casino-logo"] img, [class*="-casino-logo"] { width: 50vw !important; max-width: 180px !important; height: auto !important; max-height: none !important; min-height: auto !important; }
    [class*="-info"], [class*="-features"], [class*="-bonus"], [class*="-rating"], [class*="-actions"] { display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; width: 100% !important; }
    [class*="-rank"] { margin: 0 auto 10px !important; }
}

/* Fix header logo on mobile */
@media (max-width: 1024px) {
    [class*="logo"] img,
    header img,
    .site-header img,
    .header-logo img,
    [class*="-logo"] img {
        max-width: 150px !important;
        
        width: auto !important;
        height: auto !important;
    }
}

@media (max-width: 1024px) {
    .menu-overlay a,
    .menu-overlay .close-btn,
    .menu-overlay span,
    .mobile-menu a,
    .mobile-menu .close-btn,
    .mobile-nav a,
    .header-nav.active a,
    [class*="mobile-menu"] a,
    [class*="menu-overlay"] a {
        color: #ffffff !important;
    }
}

/* Random menu colors - unique for this site */
@media (max-width: 1024px) {
    .menu-overlay,
    .mobile-menu,
    .mobile-nav,
    .header-nav.active,
    [class*="mobile-menu"],
    [class*="menu-overlay"] {
        background: rgb(30, 28, 20) !important;
    }
    .menu-overlay a,
    .menu-overlay .close-btn,
    .menu-overlay span,
    .mobile-menu a,
    .mobile-nav a,
    .header-nav.active a,
    [class*="mobile-menu"] a,
    [class*="menu-overlay"] a {
        color: rgb(233, 240, 230) !important;
    }
}

/* === MOBILE-LOGO-40VW === */
@media (max-width: 1024px) {
  .wh-casino-logo,
  .casino-logo img,
  .casino-logo-wrap img,
  .im-casino-info img,
  .wh-casino-logo-wrapper img,
  .wh-casino-logo-link img,
  .casino-logo-link img,
  [class*="casino-logo"] img,
  [class*="casino-logo"],
  img.wh-casino-logo,
  img.casino-logo,
  .swoosh-casino-logo img,
  .rh-logo img {
    width: 40vw !important;
    max-width: 160px !important;
    min-width: 120px !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 12px !important;
  }
  .iv-table-row:not(.mi-table-header),
  .casino-row,
  .casino-card,
  .im-casino-info,
  .wh-casino-logo-wrapper,
  .celestial-advantages,
  .celestial-rating,
  .lt-bonus-highlight,
  .action-section-xt,
  .casino-info,
  .casino-bonus,
  .casino-cta,
  .casino-features,
  .casino-actions,
  .casino-logo-wrap {
    text-align: center !important;
    align-items: center !important;
  }
  .mi-table-header,
  .casino-table-header,
  .iv-table-row.mi-table-header {
    display: none !important;
  }
}
/* === END-MOBILE-LOGO-40VW === */

/* === MOBILE RESPONSIVE FIX === */
html,body{max-width:100vw!important;overflow-x:hidden!important}
img,video,iframe,embed,object{max-width:100%!important;height:auto}
table{max-width:100%!important}
.star-icon{width:20px!important;height:20px!important;display:inline-block!important}
.stars-container{display:flex!important;justify-content:center!important;gap:4px!important;flex-wrap:wrap!important}
.rating-container{text-align:center!important;max-width:300px!important;margin:1rem auto!important}
@media(max-width:768px){
.burger-menu,.mobile-menu-btn,[class*="burger"]{display:flex!important;flex-direction:column!important;justify-content:center!important;cursor:pointer!important}
.burger-menu span,.burger-icon,.burger-bar{display:block!important;width:25px!important;height:3px!important;margin:3px 0!important;border-radius:2px!important;transition:.3s!important}
}

/* CASINO-TABLE-ALIGNMENT-FIX-20260508 */
.comparison-block-xc .mi-table-header > div { text-align: center !important; }
.comparison-block-xc .mi-table-header > div:first-child { text-align: left !important; }
.comparison-block-xc .iv-table-row:not(.mi-table-header) > .celestial-advantages {
    align-items: center !important;
    text-align: center !important;
}
.comparison-block-xc .iv-table-row:not(.mi-table-header) > .celestial-advantages > * { text-align: center !important; }
.comparison-block-xc .iv-table-row:not(.mi-table-header) > .action-section-xt {
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}
.comparison-block-xc .iv-table-row:not(.mi-table-header) > .im-casino-info {
    justify-content: center !important;
}

/* CASINO-TABLE-ALIGNMENT-FIX-V2-20260508 — universal header centering across all class-name variants */
[class*="-table-header"] > div,
[class*="-table-header"] > div[style] {
    text-align: center !important;
    justify-content: center !important;
}
[class*="-table-header"] [role="columnheader"] {
    text-align: center !important;
}

/* CASINO-TABLE-ALIGNMENT-FIX-V3-20260508 — override V1 first-child left rule */
.comparison-block-xc .mi-table-header > div,
.comparison-block-xc .mi-table-header > div:first-child,
[class*="-table-header"] > div,
[class*="-table-header"] > div:first-child {
    text-align: center !important;
    justify-content: center !important;
}


/* ===== TABLE-ALIGN-TEXTSIZE-FIX-20260508 ===== */

/* --- Увеличить мелкий текст во всех ячейках таблицы --- */

/* Пункты преимуществ: 13px → 15px */
.yz-advantage-item {
    font-size: 15px !important;
    color: #333 !important;
}

/* Звёзды рейтинга — крупнее */
.celestial-stars {
    font-size: 1.35rem !important;
    letter-spacing: 3px !important;
}

/* Числовой рейтинг: 14px → 16px */
.celestial-rating-number {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-top: 4px !important;
}

/* Бонусные строки: перекрываем inline font-size: 14px / 12px */
.lt-bonus-highlight div {
    font-size: 15px !important;
}
/* Первая строка бонуса — оставляем крупной */
.lt-bonus-highlight div:first-child {
    font-size: 20px !important;
}

/* Кнопка «Spill nå»: 12px → 14px */
.aj-play-button {
    font-size: 14px !important;
    padding: 11px 14px !important;
    letter-spacing: 0.3px !important;
}

/* Кнопка «Anmeldelse»: 12px → 13px */
.gk-review-button {
    font-size: 13px !important;
    padding: 9px 10px !important;
}

/* --- Выравнивание контента под заголовки (только desktop) --- */
@media (min-width: 769px) {
    /* Колонка «Casino»: лого центрировано */
    .comparison-block-xc .iv-table-row:not(.mi-table-header) > .im-casino-info {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Колонка «Fordeler»: блок с галочками центрирован в ячейке,
       сам список остаётся выровненным по левому краю */
    .comparison-block-xc .iv-table-row:not(.mi-table-header) > .celestial-advantages {
        margin: 0 auto !important;
        width: fit-content !important;
        align-items: flex-start !important;
    }

    /* Колонка «Vurdering»: звёзды и цифра центрированы */
    .comparison-block-xc .iv-table-row:not(.mi-table-header) > .celestial-rating {
        align-items: center !important;
        text-align: center !important;
    }

    /* Колонка «Bonus»: блок по центру */
    .comparison-block-xc .iv-table-row:not(.mi-table-header) > .lt-bonus-highlight {
        margin: 0 auto !important;
        min-width: 130px !important;
        width: fit-content !important;
    }

    /* Колонка «Handling»: кнопки растянуты и центрированы */
    .comparison-block-xc .iv-table-row:not(.mi-table-header) > .action-section-xt {
        align-items: center !important;
        width: 100% !important;
    }
    .comparison-block-xc .action-section-xt .aj-play-button,
    .comparison-block-xc .action-section-xt .gk-review-button {
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
}
/* ===== END TABLE-ALIGN-TEXTSIZE-FIX-20260508 ===== */

/* STICKY-FOOTER-IMG-FIX-V1 */
.sticky-footer-inner img{min-height:0!important}

/* ===== TABLE-COLUMN-WIDTH-SYNC-20260508 ===== */
/* Причина: каждая .iv-table-row — отдельный grid; fr-треки имеют минимум auto,
   поэтому широкий контент в ячейке раздвигает колонку и заголовок едет.
   Решение: minmax(0, Xfr) убирает auto-минимум → все строки дают одинаковые ширины. */

.comparison-block-xc .iv-table-row {
    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(0, 2fr)
        minmax(0, 1fr)
        minmax(0, 1.5fr)
        minmax(0, 1.5fr) !important;
}

/* Запрещаем ячейкам раздвигать свою колонку */
.comparison-block-xc .iv-table-row > * {
    min-width: 0;
}

/* Fordeler: блок с галочками по центру колонки, текст — лево */
@media (min-width: 769px) {
    .comparison-block-xc .iv-table-row:not(.mi-table-header) > .celestial-advantages {
        margin: 0 auto !important;
        width: fit-content !important;
        max-width: 100% !important;
        align-items: flex-start !important;
        overflow: hidden;
    }

    /* Bonus-блок заполняет всю колонку для центровки текста */
    .comparison-block-xc .iv-table-row:not(.mi-table-header) > .lt-bonus-highlight {
        width: auto !important;
        margin: 0 !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
}
/* ===== END TABLE-COLUMN-WIDTH-SYNC-20260508 ===== */

/* ===== EXIT-POPUP-CLEAN-20260508 ===== */
/* Единый источник стилей — перекрывает PHP-инжектированный CSS и старый custom_enhancements.css.
   PHP-блок вставляет тёмную тему + V3-компакт через !important;
   enhancements.css вставляет белую тему с несуществующими классами.
   Данный блок идёт последним → побеждает. */

.exit-popup-overlay {
    display: none;
    position: fixed !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    background: rgba(0,0,0,0.82) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 999999 !important;
    justify-content: center !important;
    align-items: center !important;
}
.exit-popup-overlay.active { display: flex !important; }

.exit-popup {
    background: #ffffff !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 28px 24px !important;
    max-width: 460px !important;
    width: 92% !important;
    max-height: 88vh !important;
    min-height: auto !important;
    overflow-y: auto !important;
    position: relative !important;
    box-shadow: 0 24px 64px rgba(0,0,0,0.35) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    text-align: left !important;
    animation: ep-slide-up 0.35s ease !important;
}
@keyframes ep-slide-up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.exit-popup-close {
    position: absolute !important;
    top: 12px !important; right: 16px !important;
    background: none !important;
    border: none !important;
    font-size: 1.6rem !important;
    color: #aaa !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 4px !important;
    z-index: 2 !important;
    transition: color 0.2s !important;
}
.exit-popup-close:hover { color: #333 !important; }

.exit-popup-badge {
    display: inline-block !important;
    background: #002345 !important;
    color: #fff !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    padding: 5px 14px !important;
    border-radius: 20px !important;
    margin-bottom: 10px !important;
}

.exit-popup h2 {
    color: #002345 !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    margin: 0 0 6px !important;
    line-height: 1.25 !important;
}

.exit-popup > p {
    color: #555 !important;
    font-size: 0.9rem !important;
    margin: 0 0 16px !important;
    line-height: 1.5 !important;
}

.exit-popup-offers {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin: 0 !important;
}

.exit-popup-offer {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 11px 14px !important;
    background: #f5f7fa !important;
    border-radius: 10px !important;
    border: 1px solid #e8ebf0 !important;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.15s !important;
}
.exit-popup-offer:hover {
    background: #edf0f5 !important;
    transform: translateX(3px) !important;
    box-shadow: none !important;
}

/* Картинки логотипов — единый размер, перекрывает все слои включая V3 !important */
.exit-popup-offer img,
#exitPopup .exit-popup-offer img {
    width: 64px !important;
    height: 64px !important;
    max-height: 64px !important;
    min-height: auto !important;
    object-fit: contain !important;
    border-radius: 10px !important;
    background: #fff !important;
    padding: 5px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
    display: block !important;
    margin: 0 !important;
}

.exit-popup-offer-info {
    flex: 1 !important;
    min-width: 0 !important;
    text-align: left !important;
}

.exit-popup-offer-name {
    color: #002345 !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    margin-bottom: 2px !important;
    line-height: 1.2 !important;
}

.exit-popup-offer-bonus {
    color: #A07E5E !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    line-height: 1.3 !important;
}

.exit-popup-offer-btn {
    background: #002345 !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 8px 14px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
    transition: background 0.2s !important;
}
.exit-popup-offer:hover .exit-popup-offer-btn {
    background: #003d7a !important;
}

@media (max-width: 480px) {
    .exit-popup {
        padding: 20px 16px !important;
        max-width: 95vw !important;
        border-radius: 14px !important;
    }
    .exit-popup-offer img,
    #exitPopup .exit-popup-offer img {
        width: 50px !important;
        height: 50px !important;
        max-height: 50px !important;
    }
    .exit-popup-offer { padding: 9px 10px !important; gap: 10px !important; }
}
/* ===== END EXIT-POPUP-CLEAN-20260508 ===== */

/* ===== POPUP-SPECIFICITY-BOOST-20260508 =====
   PHP-инжектор добавляет свой <style> ПОСЛЕ всех <link> в <head>.
   Для победы нужна бОльшая специфичность: #exitPopup .exit-popup (0,1,1,0)
   против .exit-popup (0,0,1,0) из PHP.                                     */

#exitPopup.exit-popup-overlay {
    background: rgba(0,0,0,0.82) !important;
    backdrop-filter: blur(4px) !important;
}

#exitPopup .exit-popup {
    background: #ffffff !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 28px 24px !important;
    max-width: 460px !important;
    width: 92% !important;
    max-height: 88vh !important;
    min-height: auto !important;          /* убирает 70vh из V3-COMPACT */
    overflow-y: auto !important;
    position: relative !important;
    box-shadow: 0 24px 64px rgba(0,0,0,0.35) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

#exitPopup .exit-popup-close {
    position: absolute !important;
    top: 12px !important; right: 16px !important;
    background: none !important;
    border: none !important;
    font-size: 1.6rem !important;
    color: #aaa !important;
    cursor: pointer !important;
}
#exitPopup .exit-popup-close:hover { color: #333 !important; }

#exitPopup .exit-popup-badge {
    background: #002345 !important;
    color: #fff !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    padding: 5px 14px !important;
    border-radius: 20px !important;
    margin-bottom: 10px !important;
    display: inline-block !important;
}

#exitPopup .exit-popup h2 {
    color: #002345 !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    margin: 0 0 6px !important;
    line-height: 1.25 !important;
}

#exitPopup .exit-popup p {
    color: #555 !important;
    font-size: 0.88rem !important;
    margin: 0 0 14px !important;
    line-height: 1.5 !important;
}

#exitPopup .exit-popup-offers {
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
    margin: 0 !important;
}

#exitPopup .exit-popup-offer {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 13px !important;
    background: #f5f7fa !important;
    border-radius: 10px !important;
    border: 1px solid #e8ebf0 !important;
    text-decoration: none !important;
    transition: background 0.2s !important;
    transform: none !important;
    box-shadow: none !important;
}
#exitPopup .exit-popup-offer:hover {
    background: #edf0f5 !important;
    transform: translateX(3px) !important;
}

/* Иконки — фиксированный размер, перебивает все слои */
#exitPopup .exit-popup-offer img {
    width: 60px !important;
    height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    min-width: auto !important;
    min-height: auto !important;
    object-fit: contain !important;
    border-radius: 10px !important;
    background: #fff !important;
    padding: 5px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
    display: block !important;
    margin: 0 !important;
}

#exitPopup .exit-popup-offer-info {
    flex: 1 !important;
    min-width: 0 !important;
    text-align: left !important;
}

#exitPopup .exit-popup-offer-name {
    color: #002345 !important;
    font-weight: 700 !important;
    font-size: 0.93rem !important;
    margin-bottom: 2px !important;
    line-height: 1.2 !important;
}

#exitPopup .exit-popup-offer-bonus {
    color: #A07E5E !important;
    font-weight: 800 !important;
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
}

#exitPopup .exit-popup-offer-btn {
    background: #002345 !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 7px 12px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
}
#exitPopup .exit-popup-offer:hover .exit-popup-offer-btn {
    background: #003d7a !important;
}

@media (max-width: 480px) {
    #exitPopup .exit-popup {
        padding: 20px 14px !important;
        max-width: 96vw !important;
    }
    #exitPopup .exit-popup-offer img {
        width: 48px !important;
        height: 48px !important;
        max-height: 48px !important;
        max-width: 48px !important;
    }
    #exitPopup .exit-popup-offer {
        padding: 8px 10px !important;
        gap: 9px !important;
    }
}
/* ===== END POPUP-SPECIFICITY-BOOST-20260508 ===== */

/* ===== PAGE-CONTENT-POLISH-20260508 =====
   Общая полировка: типографика, отступы, консистентность.           */

/* Базовый размер шрифта для контентных блоков */
.content-wrapper p,
.content-wrapper li,
.section-block p {
    font-size: 1rem;
    line-height: 1.75;
    color: #333;
}

/* Заголовки секций */
.section-block h2 {
    font-size: 1.45rem;
    line-height: 1.3;
    margin-bottom: 14px;
}
.section-block h3 {
    font-size: 1.2rem;
    line-height: 1.35;
    margin-bottom: 10px;
}

/* Инлайн CTA-блоки */
.cta-inline-block {
    border-radius: 12px;
    overflow: hidden;
}
@media (max-width: 600px) {
    .cta-inline-inner {
        flex-direction: column !important;
        text-align: center !important;
        padding: 18px 16px !important;
        gap: 12px !important;
    }
    .cta-inline-logo { flex: 0 0 auto !important; }
    .cta-inline-btn  { width: 100% !important; text-align: center !important; }
}

/* Trust-badges — равномерный перенос на малых экранах */
.trust-indicators {
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding: 1rem !important;
}
.trust-item {
    flex: 1 1 120px;
    justify-content: center;
}

/* Testimonials */
.cls_testim_section {
    border-radius: 12px;
    margin: 20px 0 !important;
}

/* FAQ */
.cls_a7c3d1n5 {
    margin-bottom: 8px;
}
.cls_accord_content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
    padding: 2px 0 6px;
}

/* Sticky footer — убрать дублирование padding-bottom */
body { padding-bottom: 0 !important; }

/* Убрать min-height: 80px у логотипов внутри таблицы сравнения */
.comparison-block-xc img[src*="/logos/"] {
    min-height: auto !important;
}

/* Responsive max-width для img во всём контенте */
.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Улучшить читаемость affiliate disclosure */
.main-container-mw > div[style*="fff8e1"] {
    font-size: 0.88rem;
    line-height: 1.6;
}
/* ===== END PAGE-CONTENT-POLISH-20260508 ===== */

/* ===== POPUP-REDESIGN-20260508 — цвета, размер лого, центровка ===== */

/* Оверлей — чуть теплее */
#exitPopup.exit-popup-overlay {
    background: rgba(0, 10, 30, 0.88) !important;
}

/* Попап: голубоватый верх переходит в белый низ */
#exitPopup .exit-popup {
    background: linear-gradient(170deg, #e8f0fb 0%, #f4f7fd 30%, #ffffff 55%) !important;
    border-top: 4px solid #002345 !important;
    padding: 30px 26px 24px !important;
    text-align: center !important;
    border-radius: 18px !important;
    min-height: auto !important;
    max-height: 92vh !important;
}

/* Бейдж — золотой акцент */
#exitPopup .exit-popup-badge {
    background: linear-gradient(135deg, #002345, #003d7a) !important;
    color: #ffd700 !important;
    font-size: 0.7rem !important;
    letter-spacing: 1.5px !important;
    padding: 5px 16px !important;
    margin-bottom: 12px !important;
}

/* Заголовок — тёмно-синий, крупнее */
#exitPopup .exit-popup h2 {
    text-align: center !important;
    font-size: 1.4rem !important;
    color: #002345 !important;
    margin: 0 0 8px !important;
}

/* Подзаголовок — центрирован, чуть мягче */
#exitPopup .exit-popup p {
    text-align: center !important;
    color: #445 !important;
    font-size: 0.9rem !important;
    margin: 0 0 18px !important;
}

/* Список оферов */
#exitPopup .exit-popup-offers {
    gap: 10px !important;
}

/* Карточка оффера — белая с тенью */
#exitPopup .exit-popup-offer {
    background: #ffffff !important;
    border: 1px solid #dce6f5 !important;
    border-radius: 12px !important;
    padding: 11px 14px !important;
    gap: 14px !important;
    box-shadow: 0 2px 8px rgba(0,35,69,0.07) !important;
    text-align: left !important;
}
#exitPopup .exit-popup-offer:hover {
    border-color: #b0c8e8 !important;
    box-shadow: 0 4px 16px rgba(0,35,69,0.13) !important;
    transform: translateX(2px) !important;
}

/* Лого — 80px */
#exitPopup .exit-popup-offer img {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    min-width: auto !important;
    min-height: auto !important;
    border-radius: 12px !important;
    padding: 6px !important;
    background: #f5f7fa !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
}

/* Название оффера */
#exitPopup .exit-popup-offer-name {
    font-size: 0.97rem !important;
    color: #002345 !important;
    margin-bottom: 3px !important;
}

/* Бонус — золотой */
#exitPopup .exit-popup-offer-bonus {
    color: #b8860b !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
}

/* Кнопка — золотой градиент */
#exitPopup .exit-popup-offer-btn {
    background: linear-gradient(135deg, #c9a82c, #e8c84a) !important;
    color: #002345 !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.4px !important;
    padding: 8px 14px !important;
    border-radius: 7px !important;
    box-shadow: 0 2px 6px rgba(200,168,44,0.35) !important;
}
#exitPopup .exit-popup-offer:hover .exit-popup-offer-btn {
    background: linear-gradient(135deg, #b8970a, #d4b83a) !important;
}

/* Кнопка закрытия */
#exitPopup .exit-popup-close {
    color: #889 !important;
    font-size: 1.5rem !important;
}
#exitPopup .exit-popup-close:hover { color: #002345 !important; }

/* Мобильный */
@media (max-width: 480px) {
    #exitPopup .exit-popup {
        padding: 22px 14px 18px !important;
        border-radius: 14px !important;
    }
    #exitPopup .exit-popup-offer img {
        width: 60px !important;
        height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
    }
}
/* ===== END POPUP-REDESIGN-20260508 ===== */


/* avatar-center-fix-20260512: force inline-block so parent's text-align:center actually centers avatar; harmless inside flex containers */
img[src*="/avatar"] { display: inline-block !important; }


/* exit-popup-text-white-20260512: ensure exit-popup headlines/text are white with black shadow for readability across all sites */
.exit-popup h1, .exit-popup h2, .exit-popup h3,
.exit-popup p,
.exit-popup .exit-popup-badge,
[class*="exit-popup"] > h1,
[class*="exit-popup"] > h2,
[class*="exit-popup"] > h3,
.exit-popup-overlay h1, .exit-popup-overlay h2, .exit-popup-overlay h3,
.exit-popup-overlay > p,
.kt-exit-popup h1, .kt-exit-popup h2, .kt-exit-popup h3,
.kt-exit-popup-header, .kt-exit-popup p {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.85), 0 0 2px rgba(0,0,0,0.6) !important;
}


/* sticky-footer-center-group-20260512: prevent .sticky-footer-info flex-grow so logo+info+cta group in center */
.sticky-footer-inner, .sticky-footer-bar-inner, #stickyFooter > div, #stickyFooterBar > div {
  justify-content: center !important;
  gap: 14px !important;
}
.sticky-footer-info, .sticky-footer-bar-info, .sticky-footer-text {
  flex: 0 0 auto !important;
}


/* sticky-footer-borderbox-20260512: enforce border-box so width:100%+padding doesn't overflow viewport */
.sticky-footer-bar, #stickyFooterBar, #stickyFooter, .sticky-footer, .sticky-footer-bar-inner, .sticky-footer-inner {
  box-sizing: border-box !important;
  max-width: 100vw !important;
}


/* sticky-footer-close-static-20260513: make close button flow as flex item (was absolute, overlapped CTA when inner narrowed by group-center fix) */
.sticky-footer-close, .sticky-footer-bar-close,
#stickyFooter .sticky-footer-close, #stickyFooterBar .sticky-footer-close,
#stickyFooterBar .sticky-footer-bar-close, .sticky-footer-bar .sticky-footer-bar-close,
.sticky-footer-bar .sticky-footer-close {
  position: static !important;
  transform: none !important;
  right: auto !important;
  top: auto !important;
  margin: 0 !important;
}


/* cta-card-x-mobile-fix-20260513: mobile responsive for compact CTA cards and BLUF block */
@media (max-width: 540px) {
  .cta-card-x {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    column-gap: 12px !important;
    row-gap: 8px !important;
  }
  .cta-card-x > * { justify-self: center !important; }
  .cta-card-x-btn { width: 100%; max-width: 280px; box-sizing: border-box; }
  .cta-card-x img { grid-row: auto !important; }
  .bluf-block-20260513 {
    margin: 12px auto !important;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
  }
}

/* === CONTRAST-FIX-C28-20260517 === */
/* WCAG AA contrast fixes - C28 2026-05-17 */
[style*="color:#f0c040"],[style*="color: #f0c040"],
[style*="color:#F0C040"],[style*="color: #F0C040"],
[style*="color:#A07E5E"],[style*="color: #A07E5E"]{color:#b8860b !important}
.cls_review_card .cls_stars,.cls_stars,
.testim-card .stars,.testimonial .stars,.review-card .stars,
.cls_r5e2v8i0 > div:first-of-type{color:#b8860b !important}
[style*="color:#888;"],[style*="color: #888;"],[style*="color:#888\""],[style*="color: #888\""],
[style*="color:#999;"],[style*="color: #999;"],[style*="color:#999\""],[style*="color: #999\""],
[style*="color:#777;"],[style*="color: #777;"],[style*="color:#777\""],[style*="color: #777\""],
[style*="color:#9aa5b4"],[style*="color: #9aa5b4"],
[style*="color:#a8b8c8"],[style*="color: #a8b8c8"]{color:#3a3a4a !important}
[style*="rgba(255,255,255,0.3)"],[style*="rgba(255, 255, 255, 0.3)"],
[style*="rgba(255,255,255,0.4)"],[style*="rgba(255, 255, 255, 0.4)"]{color:rgba(255,255,255,0.92) !important}
.cls_review_card [style*="color:#c79152"],
.cls_review_card [style*="color: #c79152"]{color:#8B5A2B !important}
/* === END CONTRAST-FIX-C28-20260517 === */

/* heading-faq-fix-20260519 */
h2 { text-align: center !important; }
h3 { text-align: center !important; }
.faq-question.active + div {
  display: block !important;
  max-height: 9999px !important;
  overflow: visible !important;
}

/* logo-center-fix-20260522 */

/* ux-fix-20260612 */
@media(max-width:768px){h1,.label,[class*="hero"] h1,[class*="title"] h1{white-space:normal!important;overflow-wrap:break-word!important;word-break:break-word}}
h2:empty,h3:empty{display:none!important}
@media(max-width:480px){.comparison-block-xc,.iv-table-row,.amz-casino-table,.casino-table,[class*="casino-table"]{max-width:100%!important;overflow-x:auto}}

/* ux-fix-table-20260613 */
@media(max-width:768px){table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}}

/* ux-fix-clip-20260613 */
@media(max-width:768px){html,body{overflow-x:clip}}

/* hdr-compact-20260614: trim oversized desktop header (logo-row padding + force horizontal nav + cap logo); mobile (<=768) untouched */
@media(min-width:769px){.header,.header-container,.header-inner,.header-top,.header-main,[class*="header-top"],[class*="header-inner"]{padding-top:9px!important;padding-bottom:9px!important}header nav ul,header nav ol{display:flex!important;flex-wrap:wrap!important;align-items:center!important;margin-top:0!important;margin-bottom:0!important}header nav li{display:inline-flex!important;float:none!important;width:auto!important}header img{max-height:46px!important;height:auto!important;width:auto!important}}
