/* ============================================
   Tabbed Content Blocks (.kazino-info-tabs)
   Modernized to match site's purple/gold palette.
   Overrides legacy style.css rules via high-specificity selectors.
   ============================================ */

body .kazino-info-tabs {
    margin: 28px 0;
    background: transparent;
    border-radius: 0;
}

/* ===== Tabs row ===== */
body .kazino-info-tabs .tabbedContent-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px;
    background: linear-gradient(135deg, #faf5ff, #fff 60%);
    border: 1px solid rgba(92,38,152,0.12);
    border-radius: 14px 14px 0 0;
    border-bottom: none;
    box-shadow: none;
    overflow: visible;
    position: relative;
    z-index: 1;
}

/* Each tab button */
body .kazino-info-tabs .tabbedContent-tabs a,
body .kazino-info-tabs .tabbedContent-tabs .casino-tab {
    flex: 1 1 auto;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px !important;
    margin: 0 !important;
    width: auto !important;
    text-align: center;
    text-decoration: none !important;
    background: transparent !important;
    color: #4b5563 !important;
    font-size: 0.94em !important;
    line-height: 1.3 !important;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.25s;
    box-shadow: none !important;
    position: relative;
}

/* Hover (non-active) */
body .kazino-info-tabs .tabbedContent-tabs a:hover:not(.active),
body .kazino-info-tabs .tabbedContent-tabs .casino-tab:hover:not(.active) {
    color: #5c2698 !important;
    background: rgba(92,38,152,0.06) !important;
    border-color: rgba(92,38,152,0.12) !important;
    box-shadow: none !important;
}

/* Active tab — purple-pink gradient pill.
   NB: don't use [data-active="true"] — the theme JS toggles only the .active
   class, leaving the data-active attribute stuck on the initial tab. */
body .kazino-info-tabs .tabbedContent-tabs a.active,
body .kazino-info-tabs .tabbedContent-tabs .casino-tab.active {
    background: linear-gradient(135deg, #5c2698, #7c3aed) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(92,38,152,0.35) !important;
    transform: translateY(-1px);
}

/* ===== Content panel ===== */
body .kazino-info-tabs .tabbedContent-inner {
    position: relative;
    background: #fff;
    border: 1px solid rgba(92,38,152,0.12);
    border-radius: 0 0 14px 14px;
    padding: 24px 26px;
    box-shadow: 0 1px 3px rgba(17,24,39,0.04), 0 10px 30px rgba(17,24,39,0.06);
}

/* Individual tab content — fade-in when becoming active */
body .kazino-info-tabs .casino-tab-content {
    animation: mrcTabFadeIn 0.25s ease;
    color: #1f2937;
    line-height: 1.6;
}
@keyframes mrcTabFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Content typography */
body .kazino-info-tabs .casino-tab-content > *:first-child { margin-top: 0; }
body .kazino-info-tabs .casino-tab-content > *:last-child  { margin-bottom: 0; }
body .kazino-info-tabs .casino-tab-content h3,
body .kazino-info-tabs .casino-tab-content h4 {
    color: #1f2937;
    font-weight: 800;
    margin: 18px 0 10px;
    font-size: 1.05em;
    line-height: 1.3;
}
body .kazino-info-tabs .casino-tab-content h3:first-child,
body .kazino-info-tabs .casino-tab-content h4:first-child {
    margin-top: 0;
}
body .kazino-info-tabs .casino-tab-content p {
    margin: 0 0 12px;
}
body .kazino-info-tabs .casino-tab-content a {
    color: #5c2698;
    text-decoration: underline;
    text-underline-offset: 2px;
}
body .kazino-info-tabs .casino-tab-content a:hover {
    color: #e84393;
}

/* Lists inside tabs */
body .kazino-info-tabs .casino-tab-content ul,
body .kazino-info-tabs .casino-tab-content ol {
    padding-left: 0 !important;
    margin: 0 0 14px !important;
    list-style: none !important;
}
body .kazino-info-tabs .casino-tab-content ul li,
body .kazino-info-tabs .casino-tab-content ol li {
    position: relative;
    padding: 6px 0 6px 26px;
    margin: 0;
    line-height: 1.55;
    list-style: none !important;
}
body .kazino-info-tabs .casino-tab-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: rgba(92,38,152,0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c2698' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 10px;
}
body .kazino-info-tabs .casino-tab-content ol {
    counter-reset: mrc-tab-counter;
}
body .kazino-info-tabs .casino-tab-content ol li {
    counter-increment: mrc-tab-counter;
}
body .kazino-info-tabs .casino-tab-content ol li::before {
    content: counter(mrc-tab-counter);
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(92,38,152,0.1);
    color: #5c2698;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

/* ===== Mobile ===== */
@media (max-width: 640px) {
    body .kazino-info-tabs .tabbedContent-tabs {
        /* flex-wrap: nowrap; */
        overflow-x: auto;
        scrollbar-width: none;
        border-radius: 12px 12px 0 0;
        padding: 5px;
    }
    body .kazino-info-tabs .tabbedContent-tabs::-webkit-scrollbar {
        display: none;
    }
    body .kazino-info-tabs .tabbedContent-tabs a,
    body .kazino-info-tabs .tabbedContent-tabs .casino-tab {
        flex: 0 0 auto;
        padding: 10px 16px !important;
        font-size: 0.88em !important;
        white-space: nowrap;
    }
    body .kazino-info-tabs .tabbedContent-inner {
        padding: 18px 18px;
        border-radius: 0 0 12px 12px;
    }
    body .kazino-info-tabs .casino-tab-content ul li {
        padding-left: 24px;
        font-size: 0.95em;
    }
}

@media (prefers-reduced-motion: reduce) {
    body .kazino-info-tabs .casino-tab-content { animation: none; }
    body .kazino-info-tabs .tabbedContent-tabs a,
    body .kazino-info-tabs .tabbedContent-tabs .casino-tab { transition: none; }
}
