/* Version 1: Verified Badge */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.verified-badge {
    background: rgba(0, 75, 147, 0.1);
    color: #004B93;
    border: 2px solid #004B93;
}

.trust-badge__text {
    font-weight: 600;
}

.trust-badge__icon {
    flex-shrink: 0;
}

/* Version 2: License Badge */
.license-badge {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.license-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.license-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.license-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
}

.license-name {
    font-size: 0.875rem;
    font-weight: bold;
    color: #333;
}

/* Version 3: Security Badge */
.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
}

.security-icon {
    flex-shrink: 0;
}

/* Version 4: Responsible Gaming */
.responsible-gaming-badges {
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 12px;
    margin: 2rem 0;
}

.responsible-gaming-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.responsible-gaming-header h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.responsible-gaming-header p {
    color: #666;
    font-size: 1rem;
}

.badges-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.badge-item {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-item img,
.badge-item svg {
    height: 100%;
    width: auto;
    filter: grayscale(0.5);
    opacity: 0.8;
    transition: all 0.3s;
}

.badge-item img:hover,
.badge-item svg:hover {
    filter: grayscale(0);
    opacity: 1;
}

.help-text {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.help-text p {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.help-text a {
    color: #004B93;
    font-weight: 600;
    text-decoration: none;
}

.help-text a:hover {
    text-decoration: underline;
}

/* Version 5: Trust Indicators Row */
.trust-indicators {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    gap: 1rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.trust-item svg {
    flex-shrink: 0;
}

.trust-item span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
}

/* 18+ Age Restriction Badge */
.age-restriction {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f44336;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .badges-container {
        gap: 1rem;
    }

    .badge-item {
        height: 40px;
    }

    .trust-indicators {
        flex-wrap: wrap;
        justify-content: center;
    }

    .trust-item {
        flex: 0 0 calc(50% - 0.5rem);
    }
}

/* Amazon-Style Casino Comparison Table */
.amazon-casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.amazon-casino-card {
    background-color: #FFFFFF;
    border: 1px solid #DDD;
    border-radius: 8px;
    padding: 20px;
    font-family: 'Amazon Ember', Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

.amazon-casino-card .casino-image-container {
    text-align: center;
    margin-bottom: 15px;
}

.amazon-casino-card .jp-casino-logo-card {
    max-height: 80px;
    width: auto;
}

.amazon-casino-card .casino-title {
    font-size: 18px;
    font-weight: 700;
    color: #0F1111;
    margin-bottom: 10px;
}

.amazon-casino-card .rating-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.amazon-casino-card .rating-stars {
    color: #FFA41C;
}

.amazon-casino-card .reviews-count {
    color: #555;
}

.amazon-casino-card .price-section {
    margin-bottom: 15px;
}

.amazon-casino-card .bonus-amount {
    font-size: 24px;
    font-weight: 700;
    color: #B12704;
}

.amazon-casino-card .bonus-tag {
    font-size: 12px;
    color: #555;
}

.amazon-casino-card .features-list {
    margin-bottom: 15px;
    font-size: 14px;
    color: #333;
}

.amazon-casino-card .feature-item {
    margin-bottom: 5px;
}

.amazon-casino-card .shipping-info {
    font-size: 12px;
    color: #555;
    margin-bottom: 20px;
}

.amazon-casino-card .jr-action-buttons {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.amazon-casino-card .buy-now-button,
.amazon-casino-card .view-details-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid;
}

.amazon-casino-card .buy-now-button {
    background-color: #FFD814;
    border-color: #FCD200;
    color: #0F1111;
}

.amazon-casino-card .view-details-button {
    background-color: #FFF;
    border-color: #DDD;
    color: #0F1111;
}

.amazon-casino-card .featured-badge-text,
.amazon-casino-card .hot-badge-text {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 5px;
    color: #FFF;
    margin-bottom: 10px;
    display: inline-block;
}

.amazon-casino-card .featured-badge-text {
    background-color: #004B93;
}

.amazon-casino-card .hot-badge-text {
    background-color: #dc3545;
}

/* Custom Fixes */
body { color: #333; background-color: #f9f9f9; }
.gpro_section { background-color: #fff; color: #333; padding: 20px; border-radius: 8px; margin-bottom: 20px; }
footer { background-color: #222; color: #fff; }
footer a { color: #ddd; }
footer h3 { color: #fff; }
@media (min-width: 992px) { .content-wrapper { max-width: 66%; margin: 0 auto; } }

/* Table Styles from Update Script */
.cv-comparison-table { width: 100%; border-collapse: collapse; margin: 20px 0; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.ts-table-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; padding: 15px; border-bottom: 1px solid #eee; align-items: center; }
.ts-table-row:last-child { border-bottom: none; }
.cx-table-header { font-weight: bold; background: #f5f5f5; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }
.ld-play-button { display: inline-block; background: #28a745; color: white; padding: 10px 20px; text-decoration: none; border-radius: 5px; font-weight: bold; text-align: center; }
.ld-play-button:hover { background: #218838; }
.review-text-link { color: #007bff; text-decoration: none; font-size: 12px; display: block; margin-top: 5px; }
.stars { color: #ffc107; font-size: 18px; }
.advantage-item-cm { font-size: 13px; color: #555; margin-bottom: 3px; }

@media (max-width: 768px) {
    .ts-table-row { grid-template-columns: 1fr; gap: 15px; text-align: center; }
    .cx-table-header { display: none; }
    .im-casino-info { justify-content: center; }
}
/* === 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;
}
