﻿
/* roboto-regular - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    /* relative to Content/site.css → ../fonts/... */
    src: url('/fonts/roboto-v48-latin-regular.woff2') format('woff2');
}

/* roboto-700 - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/roboto-v48-latin-700.woff2') format('woff2');
}



/* =============================================================== */
/* REVISED & SIMPLIFIED Testimonial Scroller Styles                */
/* =============================================================== */





/* Site.master styles taken */

.sr-only {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap; /* Prevent line breaks */
    display: none !important;
}

*, *::before, *::after {
    box-sizing: border-box !important;
}


/* Global & Body */
body, html {
    font-family: 'Roboto', sans-serif !important;
}








.betbetter-dropdown-menu {
    min-width: 140px !important;
}

.betbetter-dropdown-toggle {
    min-width: 140px !important;
}


/* RESPONSIVE BEHAVIOR */
@media (max-width: 1300px) {
    .betbetter-nav-links {
        display: none !important;
    }

    .betbetter-nav-dropdown {
        display: block !important;
    }

    .betbetter-dropdown,
    .betbetter-nav-dropdown {
        width: 100% !important;
    }

    .betbetter-dropdown-toggle,
    .betbetter-nav-dropdown-toggle {
        width: 100% !important;
        text-align: center !important;
    }
}




/* === COMPLETE CSS for Performance Spotlight Card === */
/* Performance Spotlights Section Container */
.performance-spotlight-container-single {
    width: 100%;
    max-width: 450px;
    margin: 30px auto; /* Centering and vertical spacing */
    font-family: 'Roboto', sans-serif;
    display: none !important;
}

/* THE CARD ITSELF */
.single-performance-card.ultra-concise-layout {
    background: #FFFFFF;
    border: 1px solid #E0E4E8;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

    .single-performance-card.ultra-concise-layout:hover {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.06);
        transform: translateY(-3px);
    }

/* Centered Card Header Area (Rocket icon + "AFL Best Bets Performance" title) */
.performance-card-header-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F0F3F7;
}

.performance-main-icon {
    font-size: 2em;
    color: #2563EB; /* BetBetter Blue */
    margin-bottom: 8px;
    padding: 8px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.1); /* Light blue tint */
}

.main-card-title-single {
    font-size: 1.15em;
    font-weight: 600;
    color: #1A202C;
    margin: 0;
}

.performance-card-header-area.no-data-header { /* For when no data */
    border-bottom: none;
    margin-bottom: 10px;
}

    .performance-card-header-area.no-data-header .main-card-title-single {
        font-size: 1.1em;
    }

/* === REDESIGNED Main Performance Metrics Row (Two-Panel Layout) === */
.main-performance-metrics-row.redesigned {
    display: flex;
    gap: 15px; /* Space between left (ROI) and right (other stats) panels */
    padding-top: 0px;
    padding-bottom: 0px;
    align-items: stretch; /* Makes both panels equal height by default */
}

    /* If Top Filter row exists, metrics row needs bottom margin */
    .main-performance-metrics-row.redesigned:not(:last-child) {
        margin-bottom: 18px;
    }
    /* If Top Filter row DOES NOT exist, it is the last child */
    .main-performance-metrics-row.redesigned:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
    }

/* Left Half: Overall ROI Panel Styling */
/* === CSS MODIFICATION FOR ROI ICON CENTERING === */

.metric-main-roi-panel {
    flex: 1 1 40%;
    background-color: #EFF6FF;
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #E9ECEF;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

    .metric-main-roi-panel .roi-icon-wrapper {
        background-color: #EFF6FF;
        border: 1px solid rgba(37, 99, 235, 0.15);
        border-radius: 50%;
        width: 56px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px auto;
    }

    .metric-main-roi-panel .roi-icon-inner {
        font-size: 1.8em;
        color: #10B981; /* Green for the icon color */
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1em;
        height: 1em;
        line-height: 1;
        text-align: center;
        position: relative; /* Added for precise positioning */
    }

    .metric-main-roi-panel .main-roi-value {
        font-size: 2.8em;
        color: #10B981; /* Vibrant Green for ROI value */
        font-weight: 700;
        line-height: 1;
        margin-bottom: 6px;
    }

    .metric-main-roi-panel .roi-label {
        font-size: 0.75em;
        color: #6B7280; /* Standard muted grey for labels */
        text-transform: uppercase;
        font-weight: 500;
        letter-spacing: 0.5px;
    }
/* === END OF CSS MODIFICATION FOR ROI ICON CENTERING === */


/* Right Half: Other Stats Panel Styling (UNCHANGED) */
.metric-other-stats-panel {
    flex: 1 1 60%;
    background-color: #EFF6FF;
    border: 1px solid #DBEAFE;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.sub-metric-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 5px;
    border-bottom: 1px solid rgba(219, 234, 254, 0.7);
}

    .sub-metric-item:last-child {
        border-bottom: none;
    }

.sub-metric-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-metric-icon {
    font-size: 1.2em;
    color: #2563EB; /* BetBetter Blue */
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.sub-metric-label {
    font-size: 0.9em;
    color: #1E40AF; /* Darker Blue for labels */
    font-weight: 500;
}

.sub-metric-value {
    font-size: 1.05em;
    color: #1A202C; /* Dark Neutral for values */
    font-weight: 600;
    white-space: nowrap;
}

    .sub-metric-value.period-value {
        font-size: 0.9em;
        font-weight: 500;
    }

/* Row 2: Top Filter Highlight Row (UNCHANGED) */
.top-filter-details-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background-color: #EFF6FF;
    border-radius: 8px;
    border: 1px solid #DBEAFE;
    text-align: center;
}

.top-filter-intro-text {
    font-weight: 600;
    color: #1E3A8A;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9em;
}

.top-filter-icon {
    color: #2563EB;
    font-size: 1.2em;
}

.top-filter-content-below {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 5px 10px;
    width: 100%;
}

.top-filter-name-text {
    font-weight: 500;
    color: #1E40AF;
    font-style: italic;
    font-size: 0.95em;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.top-filter-value-text {
    font-weight: 700;
    white-space: nowrap;
    color: #10B981;
    font-size: 1.1em;
    background-color: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
}

/* No Data state specific message styling (UNCHANGED) */
.no-data-message {
    text-align: center;
    color: #6B7280;
    padding: 25px 0 10px 0;
    font-size: 0.95em;
    line-height: 1.5;
}

.roi-positive { /* General helper if needed elsewhere (UNCHANGED) */
    color: #10B981 !important;
}





/* wrap all the tip-rows in a responsive grid */
#AFL-player-props-section, #nba-player-props-section, #MLB-player-props-section, #NFL-player-props-section, #NHL-player-props-section,
#EPL-player-props-section, #Bundesliga-player-props-section, #LaLiga-player-props-section, #Ligue1-player-props-section, #SerieA-player-props-section,
#WTA-player-props-section, #ATP-player-props-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px,1fr));
    gap: 20px; /* space between cards */
}


/* keep your existing .tip-row width:auto so they flex to fill */
.tip-row { /* This class is also on .player-prop-row */
    width: 100%;
}

.bb-button-logo {
    width: 20px;
    height: auto;
}

.tip-row,
.player-prop-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    grid-template-areas:
        "game-details   bet-units"
        "player-section stats-body"
        "tip-footer     tip-footer"; /* Reasoning will occupy tip-footer */
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
    font-size: 0.9em;
    margin: 0; /* Removed bottom margin to let grid gap handle it */
    overflow: hidden;
}

    .tip-row.hosting-promo,
    .player-prop-row.hosting-promo {
        padding: 0;
    }

.game-details {
    grid-area: game-details;
    padding: 8px 12px;
    font-size: 0.95em;
    color: #333;
}

.bet-units {
    grid-area: bet-units;
    padding: 8px 12px;
    background-color: #E3F2FD; /* Light Blue */
    color: #1E88E5; /* Bet Better Blue */
    font-size: 0.75em;
    font-weight: bold;
    border-radius: 5px;
    justify-self: end;
    align-self: start; /* Align to the start of its grid cell (top) */
}

.player-section {
    grid-area: player-section;
    display: flex;
    align-items: center;
    padding: 8px 12px; /* Added some vertical padding */
    min-width: 0;
    overflow: hidden;
}

.player-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

    .player-info .player-name {
        font-weight: bold;
        color: #101828; /* Darker text */
        margin-bottom: 3px;
        font-size: 1.05em; /* Slightly larger player name */
        overflow: hidden;
        text-overflow: ellipsis;
        /* white-space: nowrap; /* Consider if player name should ever wrap */
    }

    .player-info .selection {
        font-size: 0.9em; /* Slightly larger selection text */
        color: #374151; /* Dark grey */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.stats-body {
    grid-area: stats-body;
    display: flex;
    gap: 15px; /* Increased gap for better separation */
    align-items: center;
    margin-left: auto;
    padding: 8px 12px;
}

    /* Removed individual span styling with borders, rely on gap and consistent items */
    .stats-body span.probability,
    .stats-body span.edge {
        white-space: nowrap; /* Keep label and value together */
        padding: 0; /* Remove internal padding, gap on parent handles spacing */
        border-left: none; /* Remove individual borders */
        display: inline-flex; /* To align <strong> and value if structured so */
        align-items: center; /* Align items if using icons later */
        font-size: 1.1em;
    }

    .stats-body span strong { /* For "Probability:" and "Edge:" labels */
        color: #4A5568; /* Grey for the label part */
        font-weight: 500;
        margin-right: 4px;
        text-transform: uppercase; /* Match parlay labels */
        font-size: 0.9em; /* Make label slightly smaller than value */
    }

    .stats-body .probability span[id*="spanProbabilityValue"], /* Target the value span */
    .stats-body .edge span[id*="spanEdgeValue"] { /* Assuming you might add an ID for edge value */
        color: #2563EB; /* Bet Better Blue for values */
        font-weight: bold;
    }
    /* If the structure is just "<strong>Label:</strong> Value%", this will style the value part if not in separate span */
    .stats-body .probability {
        color: #2563EB;
        font-weight: bold;
    }

    .stats-body .edge {
        color: #16A34A;
        font-weight: bold;
    }


.tip-footer { /* Used for odds or unlock button if not reasoning */
    grid-area: tip-footer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 10px 12px; /* Added consistent padding */
}

    .tip-footer .decimal-odds,
    .tip-footer .outcome-price {
        white-space: normal;
        text-align: center;
    }

/* --- REASONING SECTION STYLES (To match Parlay Reasoning) --- */
.player-prop-row .tip-reasoning { /* This is your div.tip-reasoning.player-prop-reasoning */
    grid-area: tip-footer; /* Occupies the footer slot */
    width: 100%;
    padding: 0;
    background-color: #F9FAFB; /* Light grey background for the reasoning section */
    border-top: 1px solid #E5E7EB; /* Separator from content above */
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

    .player-prop-row .tip-reasoning .reason-toggle {
        background-color: transparent; /* Consistent with parlay toggle */
        border: none;
        color: #3B82F6; /* Bet Better Blue for text */
        width: 100%;
        padding: 10px 15px; /* Consistent padding */
        font-size: 0.9em;
        cursor: pointer;
        font-weight: 600;
        transition: background-color 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center; /* Horizontally center text and icon */
        gap: 6px;
    }

        .player-prop-row .tip-reasoning .reason-toggle:hover {
            background-color: #F0F2F5; /* Slight hover effect */
        }

        .player-prop-row .tip-reasoning .reason-toggle i.fas { /* Target the icon */
            transition: transform 0.3s ease-in-out;
            font-size: 0.9em; /* Match parlay icon size */
            display: inline-block;
        }
            /* JS should toggle 'rotated' on the icon or 'open' on .tip-reasoning for CSS to catch this */
            .player-prop-row .tip-reasoning.open .reason-toggle i.fas,
            .player-prop-row .tip-reasoning .reason-toggle i.fas.rotated {
                transform: rotate(180deg);
            }

    .player-prop-row .tip-reasoning .reason-text {
        display: none; /* Hidden by default */
        padding: 10px 15px 15px 15px; /* Consistent padding */
        font-size: 0.95em;
        line-height: 1.6;
        color: #374151; /* Dark grey text for readability */
        /* background-color: #F9FAFB; /* Inherits from .tip-reasoning */
    }
        /* JS should toggle 'expanded' on text or 'open' on .tip-reasoning */
        .player-prop-row .tip-reasoning.open .reason-text,
        .player-prop-row .tip-reasoning .reason-text.expanded {
            display: block;
        }

        /* Styles for headings, p, hr within the reasoning text (match parlay) */
        .player-prop-row .tip-reasoning .reason-text h1,
        .player-prop-row .tip-reasoning .reason-text h2,
        .player-prop-row .tip-reasoning .reason-text h3,
        .player-prop-row .tip-reasoning .reason-text h4,
        .player-prop-row .tip-reasoning .reason-text h5,
        .player-prop-row .tip-reasoning .reason-text h6 {
            font-size: 1.1em;
            font-weight: 600;
            color: #101828;
            margin-top: 12px;
            margin-bottom: 6px;
        }

        .player-prop-row .tip-reasoning .reason-text > *:first-child {
            margin-top: 0;
        }

        .player-prop-row .tip-reasoning .reason-text p {
            margin-bottom: 10px; /* Consistent with parlay */
        }

            .player-prop-row .tip-reasoning .reason-text p:last-child {
                margin-bottom: 0;
            }

        .player-prop-row .tip-reasoning .reason-text hr {
            border: none;
            border-top: 1px solid #E5E7EB; /* Consistent light border */
            margin: 12px 0;
        }
/* --- END OF REASONING SECTION STYLES --- */


@media (max-width: 600px) {
    #AFL-player-props-section, #nba-player-props-section, #MLB-player-props-section, #NFL-player-props-section, #NHL-player-props-section,
    #EPL-player-props-section, #Bundesliga-player-props-section, #LaLiga-player-props-section, #Ligue1-player-props-section, #SerieA-player-props-section,
    #WTA-player-props-section, #ATP-player-props-section {
        grid-template-columns: 1fr; /* Single column for cards */
        gap: 15px;
    }

    .tip-row, .player-prop-row {
        /* On mobile, make player section and stats body stack neatly */
        grid-template-columns: 1fr; /* Single column for all content */
        grid-template-rows: auto auto auto auto; /* game-details, player-section, stats-body, tip-footer */
        grid-template-areas:
            "game-details"
            "player-section"
            "stats-body"
            "tip-footer";
        gap: 0px; /* Let padding handle spacing between internal areas */
    }

    .bet-units { /* Reposition or hide bet units on mobile if needed */
        justify-self: end; /* Still try to keep it right */
        padding: 6px 8px;
        font-size: 0.7em;
        /* Optional: make it full width or attach differently if it looks odd */
        grid-row: 1; /* Ensure it stays with game-details if not explicitly placed */
        grid-column: 1; /* Take full width if needed, or position with game-details */
        margin: 8px 12px 0 auto; /* Position it top-rightish of card */
        background-color: transparent; /* Make it less blocky */
        color: #1E88E5;
    }

    .game-details {
        padding-bottom: 0; /* Reduce bottom padding if stats stack below player-section */
    }

    .player-section {
        padding: 8px 12px; /* Consistent padding */
    }

    .stats-body {
        flex-direction: row; /* Try to keep prob and edge side-by-side on mobile if space */
        justify-content: flex-end; /* Align to the right */
        align-items: center;
        padding: 8px 12px;
        border-top: 1px solid #E5E7EB; /* Add separator if it follows player-section directly */
        gap: 10px;
    }

        .stats-body span.probability,
        .stats-body span.edge {
            border-left: none;
            padding: 0;
            font-size: 1em;
        }

    .tip-footer { /* For odds or unlock button */
        padding: 12px;
        border-top: 1px solid #E5E7EB;
    }

    .player-prop-row .tip-reasoning { /* Ensure reasoning footer also has top border */
        border-top: 1px solid #E5E7EB;
    }
}


.positive-edge { /* This class needs to be applied via JS or server-side to the edge value span */
    color: #16A34A !important; /* Green for positive */
    font-weight: bold;
}

.negative-edge { /* Optional: for negative edge values */
    color: #DC2626 !important; /* Red for negative */
    font-weight: bold;
}


/* Promo Bar Styles (Copied from your provided CSS) */
.promo-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #182959;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    width: 100%;
    margin: 0 auto 20px;
    font-family: 'Roboto', sans-serif;
}

.promo-bar-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
}

    .promo-bar-content i {
        font-size: 1.6rem;
        color: #ffffff;
    }

.promo-bar-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, #2563EB, #3B82F6);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 16px;
    border-radius: 6px;
    transition: background 0.3s ease;
    cursor: pointer;
}

    .promo-bar-button:hover {
        background: linear-gradient(180deg, #3B82F6, #2563EB);
        transform: scale(1.01);
        color: #fff;
        text-decoration: none;
    }

.promo-bar-logo {
    height: 20px;
    width: auto;
}

@media (max-width: 600px) {
    .promo-bar {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .promo-bar-content {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .promo-bar-button {
        align-self: center;
        width: 95%;
        justify-content: center;
    }
}

/* Unlock Bet Button (Copied from your provided CSS) */
.unlock-bet-container {
    text-align: center;
    padding: 10px 0;
}

.btn-unlock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background-color: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9em;
    cursor: pointer;
    width: 90%;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
}

    .btn-unlock i {
        margin-right: 6px;
        font-size: 0.9em;
    }

    .btn-unlock:hover {
        background-color: #f9fafb;
        border-color: #adb5bd;
        color: #1f2937;
        box-shadow: 0 2px 5px rgba(0,0,0,0.15), 0 1px 3px rgba(0,0,0,0.1);
    }


/* Parlay Styling - Bet Better Theme Update */
/* Main Parlay Card Container */
#AFL-parlays-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px; /* Ensured gap between cards */
    padding: 20px 10px;
    max-width: 800px;
    margin: 0 auto;
}

#MLB-parlays-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px; /* Ensured gap between cards */
    padding: 20px 10px;
    max-width: 800px;
    margin: 0 auto;
}

#nba-parlays-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px; /* Ensured gap between cards */
    padding: 20px 10px;
    max-width: 800px;
    margin: 0 auto;
}

#NHL-parlays-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px; /* Ensured gap between cards */
    padding: 20px 10px;
    max-width: 800px;
    margin: 0 auto;
}

#NFL-parlays-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px; /* Ensured gap between cards */
    padding: 20px 10px;
    max-width: 800px;
    margin: 0 auto;
}

#EPL-parlays-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px; /* Ensured gap between cards */
    padding: 20px 10px;
    max-width: 800px;
    margin: 0 auto;
}

#Bundesliga-parlays-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px; /* Ensured gap between cards */
    padding: 20px 10px;
    max-width: 800px;
    margin: 0 auto;
}

#LaLiga-parlays-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px; /* Ensured gap between cards */
    padding: 20px 10px;
    max-width: 800px;
    margin: 0 auto;
}

#Ligue1-parlays-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px; /* Ensured gap between cards */
    padding: 20px 10px;
    max-width: 800px;
    margin: 0 auto;
}

#SerieA-parlays-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px; /* Ensured gap between cards */
    padding: 20px 10px;
    max-width: 800px;
    margin: 0 auto;
}


#WTA-parlays-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px; /* Ensured gap between cards */
    padding: 20px 10px;
    max-width: 800px;
    margin: 0 auto;
}


#ATP-parlays-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px; /* Ensured gap between cards */
    padding: 20px 10px;
    max-width: 800px;
    margin: 0 auto;
}

.parlay-tip-row {
    position: relative;
    background: #FFFFFF;
    color: #101828;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    /* DESKTOP: Narrow timeline column (20px), rest for legs */
    grid-template-columns: 20px 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "topbar    topbar"
        "timeline  legs"
        "reasoning reasoning";
    border: 1px solid #E5E7EB;
}

    /* Conditional styling for SGP or no-legs cards (hides timeline on desktop too) */
    .parlay-tip-row.sgp-parlay,
    .parlay-tip-row.no-legs {
        grid-template-columns: 1fr; /* Full width for content if no timeline needed */
        grid-template-areas:
            "topbar"
            "legs"
            "reasoning";
    }

        .parlay-tip-row.sgp-parlay .parlay-timeline,
        .parlay-tip-row.no-legs .parlay-timeline {
            display: none;
        }

        .parlay-tip-row.sgp-parlay .parlay-legs,
        .parlay-tip-row.no-legs .parlay-legs,
        .parlay-tip-row.sgp-parlay .parlay-leg-item,
        .parlay-tip-row.no-legs .parlay-leg-item {
            padding-left: 15px; /* Standard left padding if no timeline on desktop */
        }

        .parlay-tip-row.sgp-parlay .leg-item-dot,
        .parlay-tip-row.no-legs .leg-item-dot {
            display: none;
        }

/* Parlay Top Bar (Header) */
.parlay-topbar {
    grid-area: topbar;
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 12px 15px;
    color: #FFFFFF;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.parlay-tip-row.sgp-parlay .parlay-topbar {
    background: linear-gradient(135deg, #1E3A8A, #0F172A);
}

.parlay-time {
    font-size: 0.8em;
    opacity: 0.9;
    color: #FFFFFF !important;
    white-space: nowrap;
}

.parlay-logos {
    display: flex;
    gap: 8px;
}

.team-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.parlay-title {
    flex-grow: 1;
    font-weight: 600;
    font-size: 1.05em;
    letter-spacing: 0.3px;
    min-width: 150px;
}

.sgp-badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Parlay Timeline Area (Desktop) */
.parlay-timeline {
    grid-area: timeline;
    position: relative;
    width: 20px; /* Narrower timeline column */
    padding-top: 22px; /* Illusion of line starting near first dot */
    padding-bottom: 22px; /* Illusion of line ending near last dot */
}

.timeline-line {
    position: absolute;
    top: 22px; /* Respects parent padding */
    bottom: 22px; /* Respects parent padding */
    right: -55%;
    width: 2px;
    background-color: #3B82F6; /* BLUE TIMELINE LINE */
    z-index: 1;
}

/* Parlay Legs Container */
.parlay-legs {
    grid-area: legs;
    padding: 0 15px 0 0; /* T,R,B,L - Right padding for content */
    display: flex;
    flex-direction: column;
}

/* Individual Parlay Leg Item (Desktop) */
.parlay-leg-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #E5E7EB;
    position: relative;
    padding-left: 30px; /* Space for the dot, matches timeline width */
}

    .parlay-leg-item:last-child {
        border-bottom: none;
    }

.leg-item-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #3B82F6;
    border-radius: 50%;
    border: 1.5px solid #FFFFFF;
    box-shadow: 0 0 0 1.5px #3B82F6;
    z-index: 2;
    top: 50%;
    /* Centering dot (10px wide) in timeline column (20px wide)
       Left edge of dot is (20px - 10px) / 2 = 5px from left of timeline column.
       This is 5px into the padding-left of .parlay-leg-item */
    left: 5px;
    transform: translateY(-50%);
}

/* LEG CONTENT & STATS ALIGNMENT */
.leg-content { /* Container for leg-info and leg-odds-stats */
    display: flex;
    flex-direction: column; /* Mobile first: description above stats */
    align-items: flex-start;
    width: 100%;
    gap: 8px;
}

.leg-info {
    width: 100%;
}

    .leg-info strong {
        font-weight: 500;
        color: #101828;
        font-size: 0.95em;
        line-height: 1.4;
    }

.leg-odds-stats { /* Container for: bookie logo+odds, prob block, edge block */
    display: flex;
    align-items: center; /* Vertically center all items in this line */
    flex-wrap: wrap; /* Default to wrap for mobile */
    gap: 10px 12px;
    width: 100%;
    padding-top: 4px;
}

.bookmaker-leg-logo {
    height: 18px;
    width: auto;
    margin-right: 5px;
    flex-shrink: 0;
}

img.bookmaker-leg-logo[src*='williamhill_logo_odds.png'] {
    height: 24px;
}

.leg-odds-stats .odds-data {
    white-space: nowrap;
    font-weight: 600;
    color: #101828;
    font-size: 0.9em;
    line-height: 1.4;
    margin-right: 8px;
}

.leg-odds-stats .stat-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1.4;
}

.leg-odds-stats .leg-icon {
    margin-right: 5px;
    font-size: 0.9em;
    color: #3B82F6;
    line-height: 1;
}

    .leg-odds-stats .leg-icon.fa-lock {
        color: #8892b0;
        font-size: 0.9em;
    }

.leg-odds-stats .stat-value {
    font-weight: 700;
    color: #2563EB;
    margin-right: 4px;
    font-size: 1.1em;
}

.leg-odds-stats .stat-label {
    font-size: 0.8em;
    color: #4A5568;
    text-transform: uppercase;
    font-weight: 500;
}

.leg-odds-stats .stat-item.locked .stat-value,
.leg-odds-stats .stat-item.locked .leg-icon:not(.fa-lock) {
    display: none;
}

.leg-odds-stats .stat-item.locked .lock-placeholder-icon {
    display: inline-flex;
    align-items: center;
}

.parlay-tip-row.sgp-parlay .edge-data .leg-icon.fa-chart-line,
.parlay-tip-row.sgp-parlay .probability-data .leg-icon.fa-calculator {
    display: none;
}

/* Parlay Reasoning Section */
.parlay-reasoning {
    grid-area: reasoning;
    grid-column: 1 / -1;
    background-color: #F9FAFB;
    border-top: 1px solid #E5E7EB;
}

.reason-toggle {
    background-color: transparent;
    border: none;
    color: #3B82F6; /* Bet Better Blue */
    width: 100%;
    padding: 10px 15px;
    font-size: 0.9em;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease;
    /* --- Key changes for centering --- */
    display: flex;
    justify-content: center; /* Horizontally center the flex items (text and icon) */
    align-items: center; /* Vertically center the flex items */
    text-align: center; /* Ensures text itself is centered if it were a block */
}

    .reason-toggle:hover {
        background-color: #F0F2F5;
    }

    .reason-toggle .fas {
        transition: transform 0.3s ease;
        font-size: 0.8em;
    }

.parlay-reasoning.open .reason-toggle .fas {
    transform: rotate(180deg);
}

.reason-text {
    display: none;
    padding: 0px 15px 15px 15px;
    font-size: 0.85em;
    line-height: 1.6;
    color: #374151;
}

    .reason-text hr {
        border: none;
        border-top: 1px solid #E5E7EB;
        margin: 12px 0;
    }

    .reason-text h1, .reason-text h2, .reason-text h3, .reason-text h4, .reason-text h5, .reason-text h6 {
        font-size: 1.1em;
        font-weight: 600;
        color: #101828;
        margin-top: 12px;
        margin-bottom: 6px;
    }

    .reason-text p {
        margin-bottom: 10px;
    }

        .reason-text p:last-child {
            margin-bottom: 0;
        }

/* Unlock Bet Button Placeholder */
.unlock-bet-container {
    padding: 15px;
    background-color: #F9FAFB;
    text-align: center;
}

.btn-unlock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    font-size: 0.95em;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, #10B981, #059669);
    color: #FFFFFF !important;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}

    .btn-unlock:hover {
        background: linear-gradient(135deg, #059669, #10B981);
        box-shadow: 0 6px 14px rgba(16, 185, 129, 0.35);
        transform: translateY(-2px);
    }

    .btn-unlock .fas {
        margin-right: 8px;
    }

/* --- DESKTOP REFINEMENTS --- */
@media (min-width: 700px) { /* Adjust this breakpoint as needed */
    .leg-content {
        flex-direction: row; /* Description and stats line side-by-side */
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }

    .leg-info {
        width: auto;
        flex-grow: 1; /* Allows description to shrink/grow */
        padding-right: 15px; /* Space before stats block */
    }

    .leg-odds-stats {
        width: auto; /* Allow stats block to size to its content */
        flex-shrink: 0; /* Prevent stats block from shrinking */
        justify-content: flex-end; /* Align items within stats block to its end */
        padding-top: 0; /* No top padding when side-by-side */
        gap: 15px; /* Wider gap between stat items on desktop */
        flex-wrap: nowrap; /* << PREVENT WRAPPING ON DESKTOP for single line */
    }
}

/* --- MOBILE REFINEMENTS --- */
@media (max-width: 699px) { /* Adjust breakpoint as needed, must be less than desktop one */
    .parlay-tip-row {
        grid-template-columns: 1fr !important; /* Force single column for content */
        grid-template-areas:
            "topbar"
            "legs"
            "reasoning" !important;
    }

    .parlay-timeline,
    .leg-item-dot {
        display: none !important; /* Hide timeline and dots on mobile */
    }

    .parlay-legs {
        padding-left: 15px !important; /* Standard left padding for legs container */
    }

    .parlay-leg-item {
        padding-left: 0 !important; /* Leg item itself has no specific left padding */
    }

    /* leg-content is already column by default (mobile-first) */
    .leg-odds-stats {
        justify-content: flex-start; /* Align wrapped items to the start on mobile */
        gap: 8px 10px; /* Tighter gap for mobile, allows some wrapping */
    }

    .bookmaker-leg-logo {
        height: 16px;
    }

    img.bookmaker-leg-logo[src*='williamhill_logo_odds.png'] {
        height: 22px;
    }
}

@media (max-width: 480px) { /* Very small screens */
    .parlay-topbar {
        padding: 10px;
    }

    .parlay-title {
        font-size: 0.95em;
    }

    .sgp-badge {
        font-size: 0.8em;
        padding: 3px 8px;
    }

    .leg-info strong {
        font-size: 0.9em;
    }

    .leg-odds-stats {
        gap: 6px 8px;
    }
        /* Even tighter gaps */
        .leg-odds-stats .odds-data,
        .leg-odds-stats .stat-item,
        .leg-odds-stats .stat-value {
            font-size: 1em;
        }

        .leg-odds-stats .stat-label {
            font-size: 0.75em;
        }

    .btn-unlock {
        padding: 10px 15px;
        font-size: 0.9em;
    }
}

.noselect {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.reason-toggle .reasoning-arrow-icon {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
    margin-left: 5px; /* Keeps a small space between "Reasoning" and the icon */
}

.parlay-reasoning.open .reason-toggle .reasoning-arrow-icon {
    transform: rotate(180deg);
}

.reason-text {
    display: none; /* Hidden by default */
    /* ... other styles for reason-text ... */
}

.parlay-reasoning.open .reason-text {
    display: block; /* Shown when .parlay-reasoning has .open class */
}



/* --- Enhanced No Tips Card --- */
.no-tips-card.enhanced {
    background: #ffffff; /* Clean white background */
    border: 1px solid #E0E7FF; /* Lighter, subtle blue-grey border */
    color: #1E293B;
    padding: 25px; /* More internal padding */
    border-radius: 10px; /* Slightly larger radius */
    margin: 25px auto;
    box-shadow: 0 5px 15px rgba(60, 71, 88, 0.1); /* Softer, slightly larger shadow */
    max-width: 550px; /* Can be a bit wider */
    width: 100%;
    text-align: left;
    font-family: 'Roboto', sans-serif;
}

    .no-tips-card.enhanced .no-tips-card-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 18px;
        padding-bottom: 15px;
        border-bottom: 1px solid #E0E7FF;
    }

        .no-tips-card.enhanced .no-tips-card-header .icon {
            font-size: 1.6em; /* Slightly smaller icon in header */
            color: #3B82F6; /* Use the slightly lighter primary blue */
            flex-shrink: 0; /* Prevent icon shrinking */
        }

        .no-tips-card.enhanced .no-tips-card-header h4 {
            font-size: 1.4em;
            font-weight: 600;
            color: #111827;
            margin: 0;
            line-height: 1.3;
            /* === ADD THESE TWO LINES === */
            flex-grow: 1; /* Allows the heading to take up the remaining space */
            text-align: center; /* Centers the text within the heading's space */
        }

    .no-tips-card.enhanced .context-text {
        font-size: 1.05em; /* Slightly larger context text */
        line-height: 1.6;
        color: #4B5563; /* Keep muted text color */
        margin-bottom: 25px; /* More space before action */
        text-align: center; /* Center the context text */
    }

    /* Primary Action Button Area */
    .no-tips-card.enhanced .no-tips-primary-action {
        margin-bottom: 25px; /* Space below primary button */
        text-align: center; /* Center the button container */
    }

    .no-tips-card.enhanced .btn-primary-action {
        display: inline-flex; /* Use inline-flex to fit content */
        align-items: center;
        justify-content: center;
        gap: 10px;
        /* Steal styles from .promo-bar-button */
        background: linear-gradient(180deg, #2563EB, #3B82F6);
        color: #fff;
        text-decoration: none;
        font-weight: bold;
        padding: 12px 24px; /* Generous padding */
        border-radius: 8px; /* Match card radius */
        transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
        cursor: pointer;
        font-size: 1.05em;
        border: none;
        box-shadow: 0 3px 6px rgba(59, 130, 246, 0.2);
    }

        .no-tips-card.enhanced .btn-primary-action:hover {
            background: linear-gradient(180deg, #1E40AF, #2563EB); /* Darker blue on hover */
            transform: translateY(-2px);
            box-shadow: 0 5px 10px rgba(59, 130, 246, 0.3);
            color: #fff;
            text-decoration: none;
        }

        .no-tips-card.enhanced .btn-primary-action .icon-nav {
            font-size: 1.1em; /* Adjust icon size within button */
        }


    /* Secondary Actions Area */
    .no-tips-card.enhanced .no-tips-secondary-actions {
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid #E0E7FF; /* Separator line */
    }

        .no-tips-card.enhanced .no-tips-secondary-actions h5 {
            font-size: 0.95em;
            font-weight: 600; /* Semi-bold */
            color: #4B5563;
            text-transform: uppercase;
            margin-bottom: 15px;
            letter-spacing: 0.5px;
            text-align: center;
        }

    .no-tips-card.enhanced .secondary-links-grid {
        display: grid;
        /* Adjust minmax for desired minimum item width */
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 12px; /* Gap between grid items */
    }

        .no-tips-card.enhanced .secondary-links-grid a {
            display: flex;
            flex-direction: column; /* Stack icon and text vertically */
            align-items: center;
            justify-content: center;
            gap: 6px; /* Gap between icon and text */
            background-color: #F8FAFC; /* Very light grey background */
            color: #3B82F6; /* Blue text */
            padding: 10px 5px; /* Padding inside link */
            border-radius: 6px;
            text-decoration: none;
            font-size: 0.85em; /* Smaller text for secondary links */
            font-weight: 500;
            border: 1px solid #F1F5F9; /* Very subtle border */
            transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
            text-align: center;
            min-height: 60px; /* Ensure consistent height */
        }

            .no-tips-card.enhanced .secondary-links-grid a:hover {
                background-color: #E0E7FF; /* Lighter blue background on hover */
                border-color: #C7D2FE;
                color: #1E40AF; /* Darker blue text */
                transform: translateY(-1px);
            }

        .no-tips-card.enhanced .secondary-links-grid .icon-nav {
            font-size: 1.4em; /* Larger icon for secondary links */
            margin-bottom: 2px; /* Space below icon */
            color: #3B82F6; /* Ensure icon color matches text */
        }

        .no-tips-card.enhanced .secondary-links-grid a:hover .icon-nav {
            color: #1E40AF; /* Darker icon color on hover */
        }

/* Responsive adjustments */
@media (max-width: 768px) {
    .no-tips-card.enhanced {
        padding: 20px;
    }

        .no-tips-card.enhanced .secondary-links-grid {
            /* Adjust columns for smaller screens if needed */
            grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
            gap: 8px;
        }

            .no-tips-card.enhanced .secondary-links-grid a {
                font-size: 0.8em;
            }
}

@media (max-width: 480px) {
    .no-tips-card.enhanced .no-tips-card-header h4 {
        font-size: 1.25em;
    }

    .no-tips-card.enhanced .context-text {
        font-size: 1em;
    }

    .no-tips-card.enhanced .btn-primary-action {
        font-size: 1em;
        padding: 10px 20px;
    }

    .no-tips-card.enhanced .secondary-links-grid {
        /* Might want fewer columns on very small screens */
        grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
    }
}













/* Partners Logos Section */
.partners-section {
    width: 100%;
    background: #011423; /* Adjust background color as needed */
    padding: 20px 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}


    .partners-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(ellipse at 50% -20%, rgba(59, 130, 246, 0.07) 0%, transparent 60%), radial-gradient(ellipse at 50% 120%, rgba(59, 130, 246, 0.07) 0%, transparent 60%);
        opacity: 0.7;
        z-index: 0;
        pointer-events: none;
    }



.partners-logos-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    animation: scroll 60s linear infinite;
}

.partners-logos {
    display: flex;
    gap: 40px;
}

    .partners-logos i {
        font-size: 50px; /* Adjust the size of the icons */
        color: white; /* Icon color */
        transition: filter 0.3s ease, transform 0.3s ease;
    }

        .partners-logos i:hover {
            color: #3D8BFD; /* Change color on hover */
            transform: scale(1.1); /* Slight zoom on hover */
        }

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partners-section:hover .partners-logos-wrapper {
    animation-play-state: paused; /* Stops animation on hover */
}















/* **UPDATED & SIMPLIFIED CSS - RESTORES DESIGN + RED ERROR - BLUE CARD & WHITE TEXT** */
.seo-content-email-signup {
    width: 100%;
    margin: 20px auto;
    padding: 0;
    background-color: transparent; /* Keep transparent background for seo-content-email-signup */
}

.email-signup-card { /* **RENAMED from email-signup-container - Important** */
    background: linear-gradient(25deg, #111827, #1E3A8A);
    color: #fff; /* White text */
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    box-sizing: border-box;
    width: 100%;
}

.email-signup-logo-container {
    margin-bottom: 15px;
}

.email-signup-logo {
    height: auto;
    width: 60px;
    display: block;
    margin: 0 auto;
}

.email-signup-content {
    margin-bottom: 20px;
}

.email-signup-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 10px;
}

.email-signup-description {
    font-size: 1em;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0.9;
    color: #fff !important;
}

.email-signup-form-container { /* **NEW CONTAINER - for form layout** */
    display: flex; /* Use flexbox for form elements */
    justify-content: center; /* Center input and button */
    gap: 10px; /* Spacing between input and button */
    max-width: 400px; /* Limit form width */
    margin: 0 auto; /* Center form container */
}

.email-input {
    flex-grow: 1;
    padding: 10px 12px;
    border-radius: 6px;
    border: none;
    color: #333;
    font-size: 1em;
}

.signup-button {
    background: linear-gradient(180deg, #2563EB, #3B82F6);
    color: #fff;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s;
    margin-top: 20px;
}

    .signup-button:hover {
        background: linear-gradient(180deg, #3B82F6, #2563EB);
        transform: scale(1.01);
    }

.email-signup-disclaimer {
    font-size: 0.8em;
    opacity: 0.7;
    margin-top: 15px;
    color: #fff !important;
}

.email-signup-message, /* Styles for confirmation message */
.email-signup-error { /* Styles for error message */
    margin-top: 0px; /* Add some space above messages */
    display: block; /* Ensure they take full width if needed */
    color: #fff !important;
}

.email-signup-error { /* Styles for error message - **RED COLOR** */
    color: red !important; /* **ERROR MESSAGE IS NOW RED** */
}


.email-signup-disclaimer a {
    color: #F0F4FF;
    text-decoration: underline;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    .email-signup-card {
        padding: 20px 15px;
    }

    .email-signup-title {
        font-size: 1.5em;
    }

    .email-signup-form-container { /* RESPONSIVE FORM CONTAINER */
        flex-direction: column; /* Stack input and button on mobile */
        align-items: stretch;
        max-width: 100%;
    }

    .email-input, .signup-button {
        width: 100%;
        box-sizing: border-box;
    }

    .email-signup-description, .email-signup-disclaimer {
        font-size: 0.9em;
    }
}


/* Container style */
.all-access-pro-section {
    background: linear-gradient(180deg, #F5F9FC, #ffffff);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    font-family: 'Roboto', sans-serif;
}

/* Layout */
.all-access-pro-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 768px) {
    .all-access-pro-content {
        flex-direction: row;
    }
}

/* Left column */
.all-access-pro-left {
    flex: 1;
}

.all-access-pro-logo h2 {
    font-size: 2.8em;
    color: #2563EB;
    margin-bottom: 5px;
    font-weight: bold;
}

.all-access-pro-headline {
    font-size: 1.6em;
    color: #1F2937;
    margin-bottom: 15px;
}

.all-access-pro-desc {
    font-size: 1em;
    color: #4A5568;
    line-height: 1.5;
}

.bb-section-logo {
    width: 40px;
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
}

.all-access-pro-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}
/* Right column */
.all-access-pro-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}
/* Feature List Container (light grey box with checkmarks) */
.all-access-pro-features {
    list-style: none;
    margin: 0 0 20px;
    padding: 15px;
    background-color: #f9fafb;
    border-radius: 15px;
    font-weight: 500;
    color: #374151;
    width: 100%;
    line-height: 1.4em;
}

    .all-access-pro-features li {
        display: flex;
        align-items: flex-start; /* Aligns items to the top */
    }


        /* This styles the check-in-a-circle icon that you liked */
        .all-access-pro-features li i.fa-check-circle {
            color: #3B82F6; /* Bet Better Blue */
            margin-right: 10px; /* Adds space between the icon and the text */
            font-size: 1.2em;
        }

    .all-access-pro-features li {
        position: relative;
        padding: 10px 0 10px 0px;
        border-bottom: 1px solid #fff; /* White divider */
    }

        .all-access-pro-features li:last-child {
            border-bottom: none;
        }

        .all-access-pro-features li::before {
            position: absolute;
            left: 10px;
            color: #3B82F6; /* Bet Better Blue */
            font-weight: bold;
            font-size: 1.2em;
            top: 50%;
            transform: translateY(-50%);
        }

.all-access-pro-price-options {
    margin-bottom: 20px;
}

.plan-selection {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-option {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 12px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, border 0.2s;
    min-height: 100px; /* ensure uniform height */
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

    .plan-option.active {
        background: #2563EB;
        border-color: #1E40AF;
        color: #fff;
    }

.plan-badge {
    position: relative;
    top: -20px;
    background: #10B981;
    color: #fff;
    padding: 4px 8px;
    font-size: 0.8em;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0px;
}

.plan-price {
    font-size: 1.3em;
    font-weight: 700;
    display: block;
}

.plan-term {
    font-size: 0.85em;
    display: block;
    margin-top: 4px;
}

.plan-discount {
    display: inline-block;
    background: #10B981; /* bright yellow badge */
    font-size: 0.9em; /* slightly larger for emphasis */
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 8px;
    color: #FFF;
}

.plan-option.active .plan-discount {
    color: #FFF; /* white text when active */
}

/* Subscribe button */
.all-access-pro-button {
    padding: 15px;
    background: linear-gradient(180deg, #2563EB, #3B82F6);
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    width: 100%;
}

    .all-access-pro-button:hover {
        background: #1E40AF;
    }

/* Testimonials */
.testimonial-slider {
    margin-top: 30px;
    overflow: hidden;
    border-radius: 8px;
}

.slider-track {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 60s linear infinite;
}

.review {
    display: inline-block;
    padding: 0 25px;
    font-size: 0.9em;
    color: #4A5568;
}

    .review .stars {
        color: #F6E05E;
        margin-right: 6px;
    }

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


@media (max-width: 768px) {
    .all-access-pro-content {
        flex-direction: column;
    }

    .plan-selection {
        gap: 10px;
    }

    .plan-option {
        min-height: auto;
        padding: 16px;
    }

    .plan-badge {
        top: -24px;
    }

    .all-access-pro-button {
        margin-top: 16px;
    }

    .plan-term {
        font-size: 0.75em;
    }

    .all-access-pro-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}



/* VERY SMALL MOBILE LAYOUT */
@media (max-width: 475px) {
    .all-access-pro-content {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .plan-selection {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
    }

    .plan-option {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }

        .plan-option[data-plan="annual"] {
            flex: 0 0 100%;
            max-width: 100%;
            order: 0;
        }

        .plan-option[data-plan="weekly"] {
            order: 1;
        }

        .plan-option[data-plan="monthly"] {
            order: 2;
        }
}









/* --- Enhanced SEO Content Styling --- */
.seo-content {
    background-color: #F9FAFB;
    border-radius: 10px;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid #ddd;
    width: 100%;
    margin: 0 auto;
    padding: 30px 35px;
    text-align: left; /* Default alignment for paragraphs and lists */
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    color: #374151;
}

    /* Base styles for all headings in .seo-content */
    .seo-content h1,
    .seo-content h2,
    .seo-content h3,
    .seo-content h4,
    .seo-content h5,
    .seo-content h6 {
        margin-top: 1.5em;
        font-weight: 700;
        color: #1f2937;
        line-height: 1.3;
    }

    /* H1 Styling */
    .seo-content h1 {
        font-size: 2.2rem;
        margin-top: 0;
        margin-bottom: 0; /* Space below will be controlled by the ::after element */
        text-align: center; /* H1 Centered */
        position: relative; /* For positioning context if ::after were absolute, but not strictly needed here */
    }



    /* H2 Styling */
    .seo-content h2 {
        font-size: 1.9rem;
        text-align: left; /* H2 Left-aligned */
        margin-bottom: 0.8em; /* Standard bottom margin */
        /* No underline */
    }

    /* H3 Styling */
    .seo-content h3 {
        font-size: 1.6rem;
        text-align: left; /* H3 Left-aligned */
        margin-bottom: 0.8em;
    }

    /* H4 Styling */
    .seo-content h4 {
        font-size: 1.3rem;
        text-align: left; /* H4 Left-aligned */
        margin-top: 1.2em;
        margin-bottom: 0.6em;
    }

    /* H5 Styling */
    .seo-content h5 {
        font-size: 1.15rem;
        text-align: left; /* H5 Left-aligned */
        margin-bottom: 0.5em;
    }

    /* H6 Styling */
    .seo-content h6 {
        font-size: 1.0rem;
        text-align: left; /* H6 Left-aligned */
        margin-bottom: 0.5em;
        font-weight: 600;
    }

    .seo-content p {
        margin-bottom: 1.2em;
        font-size: 1em;
        /* text-align: left; /* Inherits from .seo-content */
    }

    .seo-content ul,
    .seo-content ol {
        margin-top: 0;
        margin-bottom: 1.2em;
        padding-left: 25px;
        /* text-align: left; /* Inherits from .seo-content */
    }

    .seo-content li {
        margin-bottom: 0.6em;
    }

    .seo-content a {
        color: #3B82F6;
        text-decoration: underline;
        font-weight: 500;
    }

        .seo-content a:hover {
            color: #2563EB;
            text-decoration: none;
        }
/* --- End SEO Content Styling --- */

/* Inherit base styling from .seo-content */
.seo-content-faq {
    /* Add any specific overrides here if needed */
}

    .seo-content-faq article { /* Style the article wrapper for each FAQ */
        margin-bottom: 10px; /* Spacing between FAQ items */
        border: 1px solid #ddd; /* Optional: Add a border */
        border-radius: 5px; /* Optional: Rounded corners */
        overflow: hidden; /* Ensure background colors stay within rounded corners */
        background-color: #fff; /* Default background white */
    }


    .seo-content-faq summary {
        padding: 10px;
        cursor: pointer;
        font-weight: bold;
        background-color: #fff; /* Summary background color (white) */
        border-bottom: 1px solid #ddd; /* Separator line below question */
        list-style: none; /* ** Remove default marker ** */
    }

        .seo-content-faq summary::-webkit-details-marker { /* ** Remove default marker in Webkit browsers ** */
            display: none;
        }

        .seo-content-faq summary::before { /* ** Custom expand/collapse icon (the arrow) ** */
            content: '\25B6'; /* Right-pointing triangle Unicode character */
            display: inline-block;
            margin-right: 10px;
            transition: transform 0.2s ease-in-out; /* Smooth rotation */
            color: #333; /* Color for the arrow */
        }

    .seo-content-faq details[open] > summary::before {
        transform: rotate(90deg); /* ** Rotate icon when expanded ** */
    }


    .seo-content-faq details[open] > summary {
        border-bottom: none; /* Remove separator when expanded */
    }

    /* Apply blue background to the entire expanded <details> area */
    .seo-content-faq details[open] {
        background-color: #F5F9FC; /* Blue background for the ENTIRE answer section when open */
    }

    .seo-content-faq details p,
    .seo-content-faq details ul,
    .seo-content-faq details li {
        padding: 0 10px 10px 10px; /* Padding for content (top, right, bottom, left) */
        color: inherit; /* Inherit text color */
        background-color: transparent; /* Make content box backgrounds TRANSPARENT so blue shows through */
        margin: 0; /* Remove default margins on paragraphs and lists */
    }

    .seo-content-faq details ul {
        list-style-type: disc; /* Keep bullet points for lists */
        padding-left: 30px; /* Indent list items including bullet */
        margin-top: 5px; /* Add a little space above the list */
        line-height: 1.5; /* Standard line height for readability */
    }

        .seo-content-faq details ul li {
            margin-bottom: 5px; /* Spacing between list items */
        }


/* --- How To Bet Guides Section - Enhanced Clickability --- */
.how-to-bet-guides-section {
    width: 100%;
    background-color: #F9FAFB; /* Light grey background for the section */
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid #ddd;
}

    .how-to-bet-guides-section h2 {
        text-align: center;
        font-size: 2.4rem;
        font-weight: 700;
        color: #1f2937;
        margin-top: 0;
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 15px;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
        margin-top: 20px;
    }

        .how-to-bet-guides-section h2::after {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 0;
            width: 65px;
            height: 4px;
            background-image: linear-gradient(90deg, #3B82F6 0%, #2563EB 60%, #1D4ED8 100%);
            border-radius: 2px;
        }

    .how-to-bet-guides-section p {
        font-size: 1.4rem;
        color: #4B5563;
        line-height: 1.7;
        text-align: center;
        margin-top: 0;
        margin-bottom: 35px;
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
    }

    /* List Container (ul) - Now just a container, no panel styling itself */
    .how-to-bet-guides-section ul {
        list-style-type: none;
        padding-left: 0 !important;
        margin: 0 !important;
    }

    /* List item (li) - Provides spacing between link "buttons" */
    .how-to-bet-guides-section li {
        margin-bottom: 12px; /* Space between each link/button */
    }

        .how-to-bet-guides-section li:last-child {
            margin-bottom: 0;
        }

        /* Anchor link (a) - Styled as an interactive button/panel */
        .how-to-bet-guides-section li a {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: #1f2937; /* Darker, more assertive text */
            background-color: #ffffff; /* Each link is a white card/button */
            border: 1px solid #dfe4e8; /* Slightly more visible default border */
            border-radius: 10px; /* Softer, more button-like radius */
            padding: 15px 20px; /* Comfortable padding */
            transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
            font-weight: 600; /* Semi-bold for more assertive link text */
            font-size: 1.3rem; /* Increased font size for readability */
            box-shadow: 0 2px 5px rgba(0,0,0,0.06); /* Subtle initial lift */
        }

            .how-to-bet-guides-section li a:hover {
                background-color: #f8faff; /* Very subtle light blue/off-white hover */
                color: #3B82F6; /* Brand blue text on hover */
                border-color: #3B82F6; /* Brand blue border on hover */
                transform: translateY(-3px) scale(1.01); /* Lift and slight scale effect */
                box-shadow: 0 5px 12px rgba(59, 130, 246, 0.12); /* Softer brand shadow */
            }

        /* Icon (i) style within the anchor link */
        .how-to-bet-guides-section li i {
            margin-right: 15px;
            color: #3B82F6;
            font-size: 1.4em;
            width: 1.3em;
            text-align: center;
            flex-shrink: 0;
            transition: transform 0.2s ease;
        }

        .how-to-bet-guides-section li a:hover i {
            transform: scale(1.05); /* Icon reacts too */
        }

        /* Arrow icon on the right of the link */
        .how-to-bet-guides-section li a .link-arrow {
            margin-left: auto; /* Pushes arrow to the far right */
            font-size: 1.2em; /* Make arrow noticeable */
            color: #adb5bd; /* Light grey, less prominent than text */
            transition: transform 0.2s ease, color 0.2s ease;
        }

        .how-to-bet-guides-section li a:hover .link-arrow {
            color: #3B82F6; /* Brand blue on hover */
            transform: translateX(4px); /* Slight shift on hover */
        }


/* Responsive adjustments */
@media (max-width: 600px) {

    .how-to-bet-guides-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .how-to-bet-guides-section p {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    .how-to-bet-guides-section li a {
        padding: 14px 15px;
        font-size: 1.2rem;
    }

        .how-to-bet-guides-section li a .link-arrow {
            font-size: 1.3em;
        }

    .how-to-bet-guides-section li i {
        font-size: 1.3em;
        margin-right: 12px;
    }
}


/* --- Sports Markets Accordion - Enhanced Styling & Centering --- */
.sports-markets-section-wrapper {
    display: block;
    max-width: 800px;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 45px;
    margin-bottom: 45px !important;
    width: 100%;
    background-color: #F9FAFB;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid #ddd;
    padding: 30px 25px 40px 25px;
    box-sizing: border-box;
}

.sports-markets-section {
    width: 100%;
    margin: 0;
    background-color: transparent !important;
    font-family: 'Roboto', sans-serif;
    box-shadow: none !important;
    padding: 0;
}

    .sports-markets-section h2 {
        text-align: center;
        font-size: 2.4rem;
        font-weight: 700;
        color: #1f2937;
        margin-top: 0;
        margin-bottom: 35px;
        position: relative;
        padding-bottom: 15px;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }

        .sports-markets-section h2::after {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 0;
            width: 65px;
            height: 4px;
            background-image: linear-gradient(90deg, #3B82F6 0%, #2563EB 60%, #1D4ED8 100%);
            border-radius: 2px;
        }

    .sports-markets-section details {
        margin-bottom: 12px;
        background-color: #ffffff;
        border: 1px solid #dfe4e8;
        border-radius: 10px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.06);
        overflow: hidden;
        transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

        .sports-markets-section details:last-child {
            margin-bottom: 0;
        }

        .sports-markets-section details:hover {
            border-color: #3B82F6;
            transform: translateY(-3px) scale(1.01);
            box-shadow: 0 5px 12px rgba(59, 130, 246, 0.12);
        }

        .sports-markets-section details[open]:focus-within { /* Keep hover style if details is open and summary is focused */
            border-color: #3B82F6;
            box-shadow: 0 5px 12px rgba(59, 130, 246, 0.12);
        }

    .sports-markets-section summary {
        padding: 15px 20px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        list-style: none;
        transition: background-color 0.2s ease;
        outline: none;
    }

        .sports-markets-section summary::-webkit-details-marker {
            display: none;
        }

    .sports-markets-section details[open] > summary {
        background-color: #f8faff;
        border-bottom: 1px solid #e9ecef;
    }

    .sports-markets-section summary h3 {
        font-weight: 600;
        font-size: 1.3rem;
        color: #1f2937;
        margin: 0;
        transition: color 0.2s ease;
    }

    .sports-markets-section summary:hover h3,
    .sports-markets-section details[open] > summary h3 {
        color: #3B82F6;
    }

    .sports-markets-section .dropdown-icon {
        display: inline-block;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        color: #3B82F6; /* MODIFIED: Default color is now brand blue */
        font-size: 1.2em;
        margin-left: 10px;
        line-height: 1;
    }
    /* Color change on hover/open for icon is no longer needed as default is the target color */
    /* .sports-markets-section summary:hover .dropdown-icon, (Removed color from here) */
    .sports-markets-section details[open] > summary .dropdown-icon { /* Kept for transform */
        transform: rotate(-180deg);
    }

    .sports-markets-section details > ul {
        padding: 0px 25px 0px 25px;
        background-color: #fdfdff;
        color: #333;
        font-weight: 500;
        margin: 0;
        list-style-type: none;
        opacity: 0;
        max-height: 0;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease-in-out 0.05s, padding-top 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding-bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .sports-markets-section details[open] > ul {
        opacity: 1;
        max-height: 1200px;
        padding-top: 15px;
        padding-bottom: 25px;
    }

    .sports-markets-section details li {
        margin-bottom: 0;
    }

        .sports-markets-section details li a {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: #34495e;
            padding: 10px 8px;
            border-bottom: 1px solid #f0f2f5;
            transition: color 0.2s ease, background-color 0.2s ease, padding-left 0.2s ease;
            border-radius: 6px;
            margin: 2px 0;
        }

        .sports-markets-section details li:last-child a {
            border-bottom: none;
        }

        .sports-markets-section details li a:hover {
            color: #3B82F6;
            background-color: rgba(59, 130, 246, 0.07);
            padding-left: 12px;
        }

        .sports-markets-section details li i {
            margin-right: 12px;
            color: #3B82F6;
            font-size: 1.1em;
            width: 1.25em;
            text-align: center;
            transition: transform 0.2s ease-out;
        }

        .sports-markets-section details li a:hover i {
            transform: scale(1.1);
        }

@media (max-width: 600px) {
    .sports-markets-section-wrapper {
        padding: 20px 15px 30px 15px;
        margin-top: 30px;
        margin-bottom: 30px !important;
    }

    .sports-markets-section h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .sports-markets-section summary {
        padding: 14px 15px;
    }

        .sports-markets-section summary h3 {
            font-size: 1.2rem;
        }

    .sports-markets-section details > ul {
        padding: 0px 15px 0px 15px;
    }

    .sports-markets-section details[open] > ul {
        padding-top: 10px;
        padding-bottom: 20px;
    }

    .sports-markets-section details li a {
        padding: 8px 5px;
        font-size: 0.95em;
    }

        .sports-markets-section details li a:hover {
            padding-left: 8px;
        }

    .sports-markets-section details li i {
        font-size: 1em;
        margin-right: 10px;
    }
}




.dropbtn {
    background-color: #3B82F6; /* Dark navy background */
    color: white; /* White text */
    padding: 0px 15px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    box-sizing: border-box; /* Include padding in the height calculation */
    border-radius: 6px; /* Increase border-radius for a modern look */
    height: 40px; /* Adjust height for better appearance */
    justify-content: center;
    margin-right: 0px;
    margin-left: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease; /* Smooth transition */
    background: linear-gradient(90deg, rgba(59, 130, 246, 1) 0%, rgba(43, 108, 218, 1) 100%);
    z-index: 9999;
}

.cmdMenuButton_BestBets {
    background: none; /* Removes any background styles */
    border: none; /* Removes the border */
    color: inherit; /* Inherits the color from the parent */
    font-family: 'Roboto', sans-serif; /* Consistent font */
    font-size: 15px; /* Adjust font size for better readability */
    font-weight: bold; /* Bold font weight */
    line-height: 1.5; /* Improves readability */
    height: auto; /* Allows the button to size to its content */
    padding: 0; /* Resets any padding */
    margin: 0; /* Resets any margin */
    z-index: 9999;
}


.dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 22px;
    height: 33px; /* Fixed height */
    padding-top: 0px;
    box-sizing: border-box; /* Include padding and borders in the height */
    width: 90px;
    margin-left: 15px;
    z-index: 9999;
    position: relative;
}

.dropdown-content {
    padding: 0;
    max-height: 0; /* Start collapsed */
    position: fixed;
    background-color: #1E293B;
    width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    top: 53px;
    right: 40px;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    border-radius: 8px;
    opacity: 0; /* Hidden by default */
    visibility: hidden; /* Ensures it's not clickable or takes up space when not visible */
}

    .dropdown-content.show {
        max-height: 400px; /* Adjust to fit the content */
        opacity: 1; /* Make it visible */
        visibility: visible; /* Allow interaction */
    }

/* Dropdown Buttons Styles */
.dropdown_buttons {
    display: block; /* Make the buttons block elements to fill the container */
    width: 100%; /* Ensure buttons fill the width of the dropdown */
    padding: 12px; /* Reduced padding for buttons */
    background-color: transparent; /* Transparent background */
    font-family: 'Roboto', sans-serif; /* Maintain the font family */
    font-size: 16px; /* Slightly larger font size for better readability */
    font-weight: bold; /* Keep the font weight bold */
    color: white; /* White text for contrast with the dark background */
    text-align: left; /* Align text to the left */
    border: none; /* Remove borders */
    cursor: pointer; /* Ensure it's clear the buttons are clickable */
    transition: background-color 0.2s ease-out, color 0.2s ease-out; /* Smooth transition for hover */
    z-index: 9999;
}

    /* Hover effect for Dropdown Buttons */
    .dropdown_buttons:hover {
        background-color: #3B82F6; /* Blue hover background */
        color: #FFFFFF; /* White text on hover */
        width: 100%; /* Ensure the button stays full width */
    }

.dropdown_button_signout {
    border-style: none;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-align: "center";
    color: white;
    background-color: transparent;
    padding-top: 4px;
    max-width: 65px;
    margin-left: 10px;
}


.persuasive-stats-container {
    margin-top: 50px !important;
}

.no-outline {
    outline: none;
}

.flex-container { /*Introduced on 05 Aug 23*/
    display: flex;
    box-sizing: border-box;
    float: none;
    line-height: normal;
    position: static;
    z-index: auto;
    height: 100vh;
}




/* For the entire page scrollbar */
html, body {
    /* For Firefox */
    scrollbar-color: #3B82F6 #1E3A8A !important; /* thumb-color track-color */
    scrollbar-width: thin !important; /* 'auto' | 'thin' | 'none' */
}

    /* For Chrome, Edge, Safari (Webkit browsers) */
    /* Define the scrollbar itself for the HTML element */
    html::-webkit-scrollbar {
        width: 3px !important;
    }



    /* Define the thumb for the HTML element */
    html::-webkit-scrollbar-thumb {
        background-color: #3B82F6 !important;
        border-radius: 5px !important;
    }



    /* --- Repeat for the Body element, just in case it's the primary scrollable element --- */
    body::-webkit-scrollbar {
        width: 3px !important;
    }


    body::-webkit-scrollbar-thumb {
        background-color: #3B82F6 !important;
        border-radius: 5px !important;
    }

::-webkit-scrollbar {
    width: 3px; /* Width of the scrollbar */
}

::-webkit-scrollbar-thumb {
    background-color: #3B82F6; /* Light blue color for scrollbar thumb */
    border-radius: 5px; /* Rounds the corners of the scrollbar thumb */
}





html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    padding: 20px;
    box-sizing: border-box;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s, visibility .3s;
}

    .modal-overlay.show {
        display: flex;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

body.modal-open {
    overflow: hidden;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    width: 100%;
    max-width: 800px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    animation: fadeInModalContent .2s ease-out .1s backwards;
    margin: auto;
}

@keyframes fadeInModalContent {
    from {
        opacity: 0;
        transform: scale(.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e0e0e0;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1010;
}

    .modal-close-btn:hover {
        background: #d0d0d0;
    }

.modal-left-pane, .modal-right-pane {
    flex: 1;
    padding: 30px;
    box-sizing: border-box;
}

.modal-left-pane {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.modal-right-pane {
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-card {
    width: 100%;
    max-width: 280px;
    margin-bottom: 20px;
    padding: 10px;
    background: linear-gradient(180deg,#f1f7ff 3%,#fff 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 3px 9px rgba(0,0,0,0.1);
}

    .info-card img {
        height: 30px;
        margin: 7px 0 15px;
        width: auto;
    }

    .info-card h2 {
        font-size: 1.2em;
        font-weight: 600;
        color: #333;
        margin: 0 0 8px;
        text-align: center;
        line-height: 1.4;
    }

.plan-selector {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.plan-tab {
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    background: #f0f2f5;
    cursor: pointer;
    font-weight: 600;
    transition: background .2s,color .2s,border-color .2s;
}

    .plan-tab.active {
        background: #3B82F6;
        color: #fff;
        border-color: #2563EB;
    }

.price-display {
    text-align: center;
    margin-bottom: 5px;
}

    .price-display .current-price {
        font-size: 2.5em;
        font-weight: bold;
        color: #212529;
    }

.billing-info {
    text-align: center;
    font-size: .85em;
    color: #6c757d;
    margin-bottom: 20px;
}

.save-info {
    text-align: center;
    font-size: .9em;
    color: #40c79a;
    font-weight: 600;
}

.subscribe-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    background: linear-gradient(180deg,#2563EB,#3B82F6);
    color: #fff;
    cursor: pointer;
    transition: background-color .2s;
}

    .subscribe-btn:hover {
        background-color: #0056b3;
    }

.secure-checkout-info {
    text-align: center;
    font-size: 12px;
    color: #6c757d;
    margin-top: 15px;
    line-height: 1.6;
}

.secure-icon {
    color: #28a745;
    margin-right: 7px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .features-list li {
        display: flex;
        align-items: flex-start;
        padding: 12px 5px;
        border-bottom: 1px solid #e9ecef;
        font-size: 15px;
        color: #333;
    }

        .features-list li:last-child {
            border-bottom: none;
        }

    .features-list .fa-circle-check {
        color: #28a745;
        margin-right: 12px;
        font-size: 1.2em;
        margin-top: 2px;
    }

.login-prompt {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #555;
}

    .login-prompt a {
        color: #007bff;
        text-decoration: none;
        font-weight: 500;
    }

        .login-prompt a:hover {
            text-decoration: underline;
        }

@media (max-width:768px) {
    .modal-content {
        flex-direction: column;
    }

    .modal-left-pane, .modal-right-pane {
        padding: 18px;
    }

    .modal-right-pane {
        border-top: 1px solid #dee2e6;
    }

    .info-card h2 {
        font-size: 1.1em;
    }

    .price-display .current-price {
        font-size: 2.2em;
    }

    .features-list li {
        font-size: 14px;
        padding: 10px 5px;
    }

    .modal-close-btn {
        top: 10px;
        right: 10px;
    }
}


/* === Popular Pages Navigation Widget === */
.popular-nav-container {
    font-family: 'Roboto', sans-serif;
    width: 100%;
    max-width: 1100px;
    margin: 25px auto;
    padding: 0 20px;
}

.popular-nav-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #4A5568;
    margin: 0 0 15px 0;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

    /* Live indicator for that 'big website' feel */
    .popular-nav-title::before {
        content: '';
        display: inline-block;
        width: 9px;
        height: 9px;
        background-color: #10B981; /* Green from your CTA button */
        border-radius: 50%;
        margin-right: 10px;
        animation: pulse-live 2s infinite;
    }

@keyframes pulse-live {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}


.popular-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.popular-nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #1F2937;
    text-decoration: none;
    padding: 25px 15px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    overflow: hidden;
}

    .popular-nav-item::before {
        content: attr(data-rank);
        position: absolute;
        top: -1px;
        right: -1px;
        background-color: #2563EB;
        color: white;
        font-size: 0.75em;
        font-weight: 700;
        padding: 5px 10px;
        border-radius: 0 12px 0 8px;
        box-shadow: -2px 2px 5px rgba(0,0,0,0.2);
        transition: all 0.3s ease;
        z-index: 1; /* Ensure tag is above other content */
    }

    .popular-nav-item:hover {
        transform: translateY(-5px);
        border-color: #2563EB;
        background-color: #2d3748;
        color: #ffffff;
        box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
    }

        .popular-nav-item:hover::before {
            background-color: #10B981;
        }


.popular-nav-icon {
    height: 70px;
    margin-bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .popular-nav-icon img {
        max-height: 100%;
        max-width: 80px;
        object-fit: contain;
    }

.popular-nav-label {
    font-size: 0.95em;
    font-weight: 500;
    line-height: 1.4;
    text-transform: capitalize;
    height: 40px;
    display: flex;
    align-items: center;
}

/* ================================================= */
/* === UPDATED Mobile Styles (Tiny Icon Bar) === */
/* ================================================= */
@media (max-width: 768px) {
    .popular-nav-container {
        padding: 0 10px;
    }

    .popular-nav-title {
        padding: 0 10px;
        font-size: 1em;
        margin-bottom: 15px;
    }

    .popular-nav-grid {
        display: flex;
        justify-content: space-around;
        align-items: flex-start;
        gap: 8px;
    }

    .popular-nav-item {
        background-color: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
        flex: 1;
        min-width: 0;
        transition: opacity 0.2s ease;
        overflow: visible;
    }

        .popular-nav-item:hover {
            transform: none;
            background: none;
            box-shadow: none;
            opacity: 0.7;
        }

        /* MODIFICATION START: Styles for mobile rank tag */

        /* THE FIX: Changed top and right to negative values to push the tag outwards */
        .popular-nav-item::before {
            top: -6px; /* A negative value lifts the tag up */
            right: 6px; /* A negative value pushes the tag to the right */
            font-size: 0.65em;
            padding: 2px 6px;
            border-radius: 20px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

    .popular-nav-icon {
        position: relative;
        height: 50px;
        width: 50px;
        background-color: #ffffff;
        border-radius: 50%;
        margin-bottom: 0px;
        padding: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
        /* MODIFICATION END */

        .popular-nav-icon img {
            max-width: 100%;
            max-height: 100%;
        }

    .popular-nav-label {
        font-size: 0.7em;
        line-height: 1.3;
        height: auto;
        min-height: 28px;
        font-weight: 500;
        color: #1F2937;
        text-transform: capitalize;
    }
}










/* Inherit base styling from .seo-content for the FAQ section */
.seo-content {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    width: 100%;
    margin: 30px auto 30px 0 !important; /* Centers the block */
    padding: 20px;
    text-align: left;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* --- FAQ Section Styling (Adapted for .seo-content-faq) --- */

/* Applying .faq-content-wrapper styles directly to the section and original .faq-section styles */
section.seo-content-faq.seo-content {
    background-color: transparent !important;
    padding: 15px !important; /* Original padding-top was 10px, bottom 70px */
    width: 100% !important; /* from original .faq-content-wrapper */
    max-width: 800px !important; /* from original .faq-content-wrapper */
    margin: 30px auto 30px 0 !important; /* from original .faq-content-wrapper */
}

    section.seo-content-faq.seo-content h2 { /* Was .faq-section .section-main-title-faq */
        font-size: 2.4em !important;
        font-weight: 700 !important;
        color: #1A202C !important;
        text-align: center !important;
        margin-bottom: 50px !important;
    }

    /* The .highlight-blue class was for a span within the title.
   Your current h2 HTML: "<h2>Ligue 1 Player Prop Betting FAQs</h2>"
   does not contain a span with this class. If you add <span class="highlight-blue">Ligue 1</span>
   around "Ligue 1" in your H2, this rule would apply to it. Otherwise, it won't have an effect.
section.seo-content-faq.seo-content h2 .highlight-blue {
    color: #2563EB !important;
}
*/

    section.seo-content-faq.seo-content article { /* Was .faq-section article */
        margin-bottom: 12px !important;
        border: 1px solid #E2E8F0 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        background-color: #fff !important; /* Default background white for the article */
        transition: background-color 0.3s ease !important;
    }

    section.seo-content-faq.seo-content details { /* Was .faq-section details */
        width: 100% !important;
    }

    section.seo-content-faq.seo-content summary { /* Was .faq-section summary */
        padding: 18px 20px !important;
        cursor: pointer !important;
        font-weight: 600 !important; /* This applies to the summary text, strong tag inside also contributes */
        font-size: 1.1em !important;
        color: #1F2937 !important;
        list-style: none !important;
        position: relative !important;
        transition: background-color 0.2s ease !important;
    }

        section.seo-content-faq.seo-content summary::-webkit-details-marker { /* Was .faq-section summary::-webkit-details-marker */
            display: none !important;
        }

        section.seo-content-faq.seo-content summary::before { /* Was .faq-section summary::before */
            content: '+' !important;
            position: absolute !important;
            right: 20px !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
            font-weight: bold !important; /* Original style */
            font-size: 1.4em !important;
            color: #2563EB !important; /* Bet Better Blue */
            transition: transform 0.2s ease-in-out !important;
        }

    section.seo-content-faq.seo-content details[open] > summary { /* Was .faq-section details[open] > summary */
        background-color: #EBF4FF !important; /* Light blue background when open */
        border-bottom: 1px solid #E2E8F0 !important; /* Separator line when open */
    }

        section.seo-content-faq.seo-content details[open] > summary::before { /* Was .faq-section details[open] > summary::before */
            content: '−' !important; /* Minus sign for expanded state (U+2212) */
            transform: translateY(-50%) !important;
        }

    /* Styling for the answer content */
    /* In your HTML, answers are <p> tags directly inside <details> (after summary) */
    section.seo-content-faq.seo-content details > p { /* Replaces .faq-section details .faq-answer styling */
        padding: 20px 25px 25px !important;
        font-size: 1em !important;
        line-height: 1.65 !important;
        color: #4A5568 !important; /* Standard text color */
        background-color: #fff !important; /* Ensure answer area is white */
        margin-top: 0 !important; /* From original .faq-answer p */
        margin-bottom: 1em !important; /* From original .faq-answer p, for spacing if multiple direct p */
    }

        /* If there are multiple <p> tags acting as the answer within one <details> element,
   this ensures the last one doesn't have extra bottom margin. */
        section.seo-content-faq.seo-content details > p:last-of-type { /* Replaces .faq-answer p:last-child */
            margin-bottom: 0 !important;
        }

        section.seo-content-faq.seo-content details > p a { /* Replaces .faq-section details .faq-answer a */
            color: #2563EB !important; /* Standard link color */
            text-decoration: underline !important;
        }

            section.seo-content-faq.seo-content details > p a:hover { /* Replaces .faq-section details .faq-answer a:hover */
                text-decoration: none !important;
            }

/* Responsive */
@media (max-width: 768px) {
    section.seo-content-faq.seo-content h2 { /* Was .faq-section .section-main-title-faq */
        font-size: 2em !important;
        margin-bottom: 40px !important;
    }

    section.seo-content-faq.seo-content summary { /* Was .faq-section summary */
        font-size: 1em !important;
        padding: 15px !important;
    }

        section.seo-content-faq.seo-content summary::before { /* Was .faq-section summary::before */
            font-size: 1.2em !important;
            right: 15px !important;
        }
    /* Targeting the p as the answer block for responsive styles */
    section.seo-content-faq.seo-content details > p { /* Was .faq-section details .faq-answer */
        font-size: 0.95em !important;
        padding: 15px 20px 20px !important;
    }
}






/* --- STYLES FOR SITE-WIDE FEEDBACK WIDGET (BET BETTER THEME) --- */
.feedback-tab {
    position: fixed;
    right: 0px;
    top: 40%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: bottom right;
    background-color: #fafafa; /* Bet Better Blue */
    color: #333;
    padding: 2px 8px; /* Increased padding for a bolder look */
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    cursor: pointer;
    z-index: 9990;
    font-weight: 700; /* Bolder font weight */
    font-size: 1rem;
    transition: right 0.3s ease, background-color 0.2s ease;
    box-shadow: -3px 0px 15px rgba(0,0,0,0.3); /* Stronger shadow */
    letter-spacing: 0.5px; /* Slightly more spaced letters */
}



    .feedback-tab i {
        margin-right: 3px; /* Increased margin for icon */
    }

.feedback-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.7); /* Matching overlay with modal */
    display: flex; /* <-- CHANGE THIS LINE */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(8px); /* Stronger frosted glass effect */
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-out, visibility 0.4s;
}

    .feedback-modal-overlay.visible { /* Added class for showing/hiding with transition */
        opacity: 1;
        visibility: visible;
    }

.feedback-modal-content {
    background: #111827; /* Dark background matching the new modal */
    color: #E5E7EB; /* Light text for dark background */
    padding: 40px; /* More padding */
    border-radius: 16px; /* Larger border-radius */
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.7); /* Deeper shadow */
    position: relative;
    border: 1px solid rgba(59, 130, 246, 0.2); /* Soft blue border */
    transform: translateY(50px); /* Initial state for animation */
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.215, 0.610, 0.355, 1), opacity 0.3s ease-out;
}

.feedback-modal-overlay.visible .feedback-modal-content {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
}

.feedback-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent background for close button */
    border: none;
    font-size: 28px;
    color: #9CA3AF; /* Muted light grey */
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
    border-radius: 50%;
    width: 35px; /* Fixed size for circular button */
    height: 35px;
    display: flex; /* Use flex to center the 'x' */
    align-items: center;
    justify-content: center;
}

    .feedback-modal-close:hover {
        color: #FFF;
        background-color: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }

.feedback-modal-content h3 {
    text-align: center;
    font-size: 1.9em; /* Larger heading */
    font-weight: 700;
    color: #FFFFFF; /* White heading */
    margin-top: 0;
    margin-bottom: 12px; /* Adjusted margin */
    line-height: 1.2;
}

.feedback-modal-content p {
    text-align: center;
    font-size: 1em;
    color: #CBD5E1; /* Lighter grey for paragraph */
    margin-top: 0;
    margin-bottom: 25px;
    line-height: 1.5;
}

.feedback-textarea {
    width: 100%;
    padding: 15px 18px; /* More padding in textarea */
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    background-color: #1F2937; /* Darker input background */
    color: #ffffff; /* Light text for input */
    border: 1px solid #374151; /* Darker border */
    border-radius: 8px;
    box-sizing: border-box;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

    .feedback-textarea::placeholder { /* Placeholder color */
        color: #6B7280;
    }

    .feedback-textarea:focus {
        outline: none;
        border-color: #3B82F6; /* Bet Better Blue on focus */
        background-color: #1F2937;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3); /* Focus ring */
    }

.feedback-send-btn {
    display: block;
    width: 100%;
    padding: 16px; /* Larger button padding */
    margin-top: 20px;
    background: linear-gradient(135deg, #10B981, #059669); /* Bet Better Green Gradient */
    color: #fff !important; /* Ensure white text */
    border: none;
    border-radius: 8px;
    font-weight: 600; /* Slightly less bold */
    font-size: 1.05em; /* Slightly smaller font for consistency */
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    letter-spacing: 0.5px;
}

    .feedback-send-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
        background: linear-gradient(135deg, #059669, #10B981); /* Reverse gradient on hover */
    }

/* Error message styling */
.feedback-error-message {
    margin-top: 10px; /* Adjusted margin */
    color: #FEE2E2; /* Lighter red for error message */
    background-color: #991B1B; /* Red background for error message */
    font-size: 0.9em;
    text-align: left; /* Left align text */
    padding: 10px 14px; /* Padding for error box */
    border-radius: 6px; /* Rounded corners for error box */
    font-weight: 500;
}

    .feedback-error-message i { /* Style the icon within the error message */
        margin-right: 8px;
        color: inherit; /* Inherit color from parent */
    }

.feedback-thanks-panel {
    text-align: center;
    padding: 20px 0;
}

    .feedback-thanks-panel .thanks-icon {
        font-size: 3.5rem;
        color: #10B981; /* Bet Better Green */
        margin-bottom: 15px;
    }
    /* Ensure thanks text is also visible */
    .feedback-thanks-panel h3 {
        color: #FFFFFF;
    }

    .feedback-thanks-panel p {
        color: #CBD5E1;
    }

@media (min-width: 768px) {
    .feedback-tab {
        font-size: 1.1rem;
        padding: 8px 12px; /* Adjusted padding for larger screens */
    }

        .feedback-tab i {
            font-size: 1em;
            margin-right: 10px;
        }
}




.footer {
    background: #011423;
    color: #E2E8F0;
    padding: 50px 0 30px 0;
    width: 100%;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
    margin-top: auto;
    border-top: 2px solid #3B82F6;
    font-family: 'Roboto', sans-serif;
    position: relative;
    overflow: hidden;
}

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(ellipse at 50% -20%, rgba(59, 130, 246, 0.07) 0%, transparent 60%), radial-gradient(ellipse at 50% 120%, rgba(59, 130, 246, 0.07) 0%, transparent 60%);
        opacity: 0.7;
        z-index: 0;
        pointer-events: none;
    }

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 0 25px;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

/* ---- Section 1: Branding Area (Logo & Tagline) ---- */
.footer-branding-area {
    width: 100%; /* Takes full width of its container (.footer-container) */
    display: flex; /* Enable flexbox */
    flex-direction: column; /* Stack items vertically (logo above tagline) */
    align-items: center; /* Horizontally center the flex items (logo and tagline block) */
    margin-bottom: 40px; /* Space below this branding area */
    text-align: center; /* Ensures text within the <p> (tagline) is centered */
}

    /* Specific styling for the logo if needed, already good from previous */
    .footer-branding-area img {
        width: 90px;
        height: 90px;
        margin-bottom: 15px;
    }

    /* Specific styling for the tagline if needed, already good from previous */
    .footer-branding-area p {
        color: #E2E8F0;
        font-size: 1.1em;
        font-weight: 500;
        opacity: 0.9;
    }

/* ---- Section 2: Link Columns Area ---- */
.footer-links-area {
    display: grid;
    /* Mobile first: default to 1 column, will be overridden for >=769px */
    grid-template-columns: 1fr;
    gap: 30px; /* Gap for mobile stacked view */
    width: 100%;
    margin-bottom: 40px;
}

.footer-col {
    text-align: center; /* Default for mobile: center content */
    padding: 0;
    display: flex; /* Helps with centering h4 and ul in mobile */
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

    .footer-col h4 {
        font-size: 1.2em;
        margin-bottom: 20px;
        color: #FFFFFF;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        padding-bottom: 10px;
        position: relative;
        display: inline-block;
    }

        .footer-col h4::after {
            content: '';
            position: absolute;
            bottom: 0; /* Position at the bottom of the h4 */
            height: 2px; /* Thickness of the line */
            background-color: #3B82F6; /* Your brand blue color */
            /* Centering mechanism */
            left: 50%;
            transform: translateX(-50%); /* This centers the pseudo-element itself */
            /* Initial width */
            width: 30px;
            /* Animation */
            transition: width 0.3s ease-in-out; /* Animate only the width */
        }

    .footer-col:hover h4::after {
        width: 60%; /* Expands (already centered by transform) */
    }

    .footer-col ul {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center; /* Center list items text for mobile */
    }

        .footer-col ul li {
            margin-bottom: 10px;
        }

            .footer-col ul li a {
                color: #CBD5E0;
                text-decoration: none;
                font-size: 0.95em;
                font-weight: 400;
                padding: 3px 0;
                display: inline-block;
                position: relative;
                transition: color 0.2s ease, transform 0.2s ease;
            }

                .footer-col ul li a:hover {
                    color: #60A5FA;
                    transform: translateX(4px);
                }

/* ---- Section 3: Social/Payment, Disclaimer, Copyright Stack ---- */
.footer-final-stack {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 10px;
}

/* Wrapper for Social Media and Payment Methods - will be a column on desktop */
.footer-social-payment-group {
    display: flex;
    flex-direction: column; /* Stack social links above payment methods */
    align-items: center; /* Center these two groups */
    gap: 20px; /* Space between social group and payment group */
    width: 100%;
    padding: 20px 0;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.social-links { /* Horizontal row of social icons */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

    .social-links a {
        color: #CBD5E0;
        font-size: 1.8em;
        transition: color 0.3s ease, transform 0.3s ease;
    }

        .social-links a:hover {
            transform: translateY(-2px);
        }

            .social-links a:hover .fa-discord {
                color: #5865F2;
            }

            .social-links a:hover .fa-instagram {
                color: #E1306C;
            }

            .social-links a:hover .fa-telegram {
                color: #2AABEE;
            }

            .social-links a:hover .fa-reddit {
                color: #FF4500;
            }

            .social-links a:hover .fa-facebook {
                color: #1877F2;
            }

            .social-links a:hover .fa-twitter {
                color: #1DA1F2;
            }


.payment-methods { /* Horizontal row of payment icons */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

    .payment-methods img {
        width: 42px;
        height: auto;
        opacity: 1;
    }

        .payment-methods img:hover {
            transform: scale(1.12);
            opacity: 1;
            filter: grayscale(0%);
        }

.footer-disclaimer {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(10, 15, 25, 0.15);
    border-radius: 6px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    text-align: center; /* Center the block */
    margin: 0 auto;
}

    .footer-disclaimer p {
        color: #A0AEC0;
        font-size: 0.85em;
        line-height: 1.65;
        text-align: left; /* Paragraph text remains left-aligned */
    }

    .footer-disclaimer a {
        color: #8bb7f0;
        text-decoration: none;
        font-weight: 500;
        border-bottom: 1px dotted rgba(139, 183, 240, 0.4);
        transition: color 0.2s ease, border-bottom-color 0.2s ease;
    }

        .footer-disclaimer a:hover {
            color: #AEE2FF;
            border-bottom-color: rgba(174, 226, 255, 0.7);
        }

.footer-copyright {
    width: 100%;
    text-align: center;
    padding-top: 10px;
    font-size: 0.9em;
    color: #A0AEC0;
}

    .footer-copyright p {
        color: #A0AEC0;
    }


/* --- Desktop Specific Layout (769px and wider) --- */
@media (min-width: 769px) {
    .footer-container {
        padding: 0 30px; /* Desktop padding */
    }

    .footer-branding-area {
        /* Already centered, margin-bottom is fine */
    }

    .footer-links-area {
        display: grid; /* Ensure display:grid is explicitly set for desktop */
        grid-template-columns: 1fr 1fr 1fr; /* Three equal-width columns */
        gap: 35px; /* Space between columns */
        width: auto; /* UPDATED: Allows the area to be only as wide as its content needs */
        /* The parent .footer-container with 'align-items: center' will center this block */
        margin-bottom: 40px; /* Retain existing margin */
        /* If further explicit centering of this block is needed (though align-items on parent should suffice): */
        /* margin-left: auto; */
        /* margin-right: auto; */
    }

    .footer-col {
        text-align: center;
        align-items: center;
    }

        .footer-col:hover h4::after {
            width: 60%;
        }

        .footer-col ul {
            text-align: center;
        }

    /* Social/Payment group styling for desktop */
    .footer-social-payment-group {
        /* Already display:flex, flex-direction:column, align-items:center by default */
        /* This ensures it's a centered column containing two rows of icons */
        padding-top: 30px; /* More space above */
    }
}

/* --- Mobile Specific (Minor adjustments from the previous version if needed, but mostly keep as is) --- */
/* This media query should now primarily ensure that elements revert to mobile stacking if they were changed for desktop.
   Most mobile styling is now the default.
*/
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px 0;
    }

    .footer-container {
        padding: 0 20px;
    }
    /* Mobile padding */

    .footer-branding-area {
        margin-bottom: 30px;
    }

        .footer-branding-area img {
            width: 75px;
            height: 75px;
        }

        .footer-branding-area p {
            font-size: 1em;
        }

    .footer-links-area {
        grid-template-columns: 1fr; /* Ensures stacking on mobile */
        gap: 25px;
        margin-bottom: 30px;
    }

    /* .footer-col is already set to text-align: center and align-items: center by default */
    .footer-col h4 {
        font-size: 1.15em;
    }
    /* h4::after already centered by default styles */
    .footer-col:hover h4::after {
        /* width is fine from default hover */
    }

    .footer-final-stack {
        gap: 25px;
    }

    .footer-social-payment-group {
        padding: 20px 0;
        border-bottom: none; /* Remove bottom border when elements stack fully */
    }
    /* social-links and payment-methods are already centered horizontally within their parent */

    .footer-disclaimer {
        padding: 15px;
        margin-bottom: 25px;
    }

        .footer-disclaimer p {
            font-size: 0.82em;
        }

    .footer-copyright {
        font-size: 0.85em;
        padding-top: 0;
    }
}


