/* Custom Component Styles - Google art-deco golden-autumn sapphire Venice */

/* Общие стили для всех компонентов */
.component-section {
    margin-bottom: 38px;
    padding: 36px;
    border-radius: 9px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.component-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

/* Заголовки компонентов */
.component-section h2,
.component-section h3 {
    color: var(--primary-color, #1976d2);
    margin-bottom: 21px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-color, #e91e63);
    font-weight: 700;
}

.component-section h2 {
    font-size: 28px;
}

.component-section h3 {
    font-size: 25px;
}

/* Параграфы и текст */
.component-section p {
    line-height: 1.7;
    color: #333;
    margin-bottom: 14px;
}

/* Списки */
.component-section ul,
.component-section ol {
    margin: 17px 0;
    padding-left: 28px;
}

.component-section li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Кнопки в компонентах */
.component-section .btn,
.component-section button,
.component-section .cta-button,
.component-section a.button {
    background: linear-gradient(135deg, var(--primary-color, #1976d2), var(--secondary-color, #2196f3));
    color: #ffffff;
    padding: 14px 30px;
    border: none;
    border-radius: var(--border-radius, 8px);
    font-size: 19px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
    display: inline-block;
}

.component-section .btn:hover,
.component-section button:hover,
.component-section .cta-button:hover,
.component-section a.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Таблицы в компонентах */
.component-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.component-section th {
    background: linear-gradient(135deg, var(--primary-color, #1976d2), var(--secondary-color, #2196f3));
    color: #ffffff;
    padding: 15px;
    text-align: left;
    font-weight: 700;
}

.component-section td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.component-section tr:hover {
    background-color: var(--bg-color, #f5f5f5);
}

/* Карточки в компонентах */
.component-section .card,
.component-section .review-card,
.component-section .casino-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    margin-bottom: 22px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color, #e91e63);
}

.component-section .card:hover,
.component-section .review-card:hover,
.component-section .casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-color: var(--primary-color, #1976d2);
}

/* Бейджи и метки */
.component-section .badge,
.component-section .tag,
.component-section .label {
    background: var(--accent-color, #e91e63);
    color: #ffffff;
    padding: 2px 12px;
    border-radius: 22px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 8px;
}

/* Иконки и изображения */
.component-section img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius, 8px);
}

.component-section .icon {
    color: var(--primary-color, #1976d2);
    font-size: 21px;
    margin-right: 13px;
}

/* Аккордеоны и FAQ */
.component-section .accordion-item,
.component-section .faq-item {
    background: #ffffff;
    border: 2px solid var(--secondary-color, #2196f3);
    border-radius: 14px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.component-section .accordion-header,
.component-section .faq-question {
    background: linear-gradient(to right, var(--primary-color, #1976d2), var(--secondary-color, #2196f3));
    color: #ffffff;
    padding: 13px 20px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
}

.component-section .accordion-header:hover,
.component-section .faq-question:hover {
    background: var(--accent-color, #e91e63);
}

.component-section .accordion-content,
.component-section .faq-answer {
    padding: 21px;
    background: #ffffff;
}

/* Pros & Cons */
.component-section .pros-cons-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 27px;
    margin: 27px 0;
}

.component-section .pros,
.component-section .cons {
    padding: 26px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.component-section .pros {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: #ffffff;
}

.component-section .cons {
    background: linear-gradient(135deg, #f44336, #ef5350);
    color: #ffffff;
}

/* Trust Badges */
.component-section .trust-badges,
.component-section .badges-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 23px;
    margin: 29px 0;
}

.component-section .trust-badge {
    padding: 20px;
    background: #ffffff;
    border-radius: 11px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    text-align: center;
    min-width: 147px;
    transition: all 0.3s ease;
}

.component-section .trust-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Author Box */
.component-section .author-box {
    background: linear-gradient(135deg, var(--bg-color, #f5f5f5), #ffffff);
    padding: 28px;
    border-radius: 10px;
    border-left: 8px solid var(--accent-color, #e91e63);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 20px;
}

.component-section .author-avatar {
    width: 82px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-color, #1976d2);
}

/* Bonus Highlight */
.component-section .bonus-highlight {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    padding: 28px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
    border: 3px solid #ffa000;
    margin: 38px 0;
}

.component-section .bonus-amount {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color, #1976d2);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Featured Casino Detail */
.component-section .featured-casino {
    background: linear-gradient(to bottom right, var(--primary-color, #1976d2), var(--secondary-color, #2196f3));
    color: #ffffff;
    padding: 38px;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    margin: 37px 0;
}

.component-section .featured-casino h3 {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.component-section .casino-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 19px;
    margin-top: 25px;
}

.component-section .feature-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 17px;
    border-radius: 9px;
    text-align: center;
}

/* Review Cards Grid */
.component-section .review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
    margin: 30px 0;
}

.component-section .review-card {
    background: #ffffff;
    border: 2px solid var(--secondary-color, #2196f3);
}

.component-section .rating {
    color: #ffd700;
    font-size: 19px;
    font-weight: 700;
}

/* CTA Buttons */
.component-section .cta-container {
    text-align: center;
    margin: 40px 0;
}

.component-section .cta-button {
    font-size: 22px;
    padding: 18px 50px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Responsive */
@media (max-width: 968px) {
    .component-section {
        padding: 27px;
    }

    .component-section .pros-cons-container {
        grid-template-columns: 1fr;
        gap: 21px;
    }

    .component-section .casino-features {
        grid-template-columns: 1fr;
    }

    .component-section .author-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .component-section {
        padding: 23px;
        margin-bottom: 28px;
    }

    .component-section h2 {
        font-size: 24px;
    }

    .component-section h3 {
        font-size: 22px;
    }

    .component-section .bonus-amount {
        font-size: 37px;
    }

    .component-section .review-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 480px) {
    .component-section {
        padding: 14px;
        margin-bottom: 21px;
    }

    .component-section .btn,
    .component-section .cta-button {
        padding: 12px 20px;
        font-size: 13px;
    }

    .component-section .featured-casino,
    .component-section .bonus-highlight {
        padding: 20px;
    }
}

/* === CONTRAST FIX 2026-04-12 === */
/* Tables inside white content area need dark text */
.gpro_cont_main table td,
.gpro_cont_main table th,
.content-block table td,
.content-block table th {
    color: #333 !important;
}
.gpro_cont_main table thead th,
.content-block table thead th {
    color: #fff !important;
}
/* Green emphasis in tables */
.gpro_cont_main td[style*='color:#0a7e3d'],
.content-block td[style*='color:#0a7e3d'] {
    color: #0a7e3d !important;
}
/* === END CONTRAST FIX === */

/* === HIDE CASINO NAMES UNDER LOGOS === */
[class*="-casino-name"], .casino-name, .dl-casino-name, .gb-casino-name { display: none !important; }


/* 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;
}
