@font-face {
    font-family: 'Kyron';
    src: url('../fonts/kyron-semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* BetMines Inspired Dark Theme */

body.betmines-theme {
    background-color: #121212 !important;
    color: #e0e0e0;
    font-family: 'Sofia Sans', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Layout */
.bm-layout-wrapper {
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Sidebar Nav */
.bm-sidebar-nav {
    width: 220px;
    background-color: #121212;
    border-right: 1px solid #2d2d2d;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    left: 0;
}

/* Sidebar */
.bm-sidebar {
    width: 260px;
    background-color: transparent;
    border-right: none;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: calc(100vh - 80px);
    top: 80px;
    overflow-y: auto;
    z-index: 999;
    left: 250px;
    padding: 0 15px 20px 0;
}

/* Sidebar Custom Scrollbar */
.bm-sidebar::-webkit-scrollbar {
    width: 6px;
}

.bm-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.bm-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.bm-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.bm-sidebar-logo {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #2d2d2d;
}

.bm-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.bm-sidebar-section {
    padding: 15px 0;
}

.bm-sidebar-title {
    font-family: 'Kyron', sans-serif;
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    padding: 0 20px 10px;
    font-weight: 600;
}

/* Card Styling for Secondary Sidebar Sections */
.bm-sidebar .bm-sidebar-section {
    background-color: #1a1a1a;
    /* Distinct grey to stand out off #121212 background */
    border-radius: 16px;
    margin-bottom: 20px;
    padding: 15px 0 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.bm-sidebar .bm-sidebar-title {
    color: #fff;
    font-size: 15px;
    text-transform: none;
    /* Reference uses normal case like "Predictions", "Top Leagues" */
    font-weight: 700;
    padding: 5px 20px 15px 20px;
}

.bm-sidebar-link {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #bbb;
    text-decoration: none;
    font-size: 13px;
    gap: 12px;
    transition: background 0.2s, color 0.2s;
}

.bm-sidebar-link i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.bm-sidebar-link:hover,
.bm-sidebar-link.active {
    background-color: #2a2a2a;
    color: #fff;
    text-decoration: none;
}

.bm-sidebar-link.active {
    border-left: 3px solid #fff;
    padding-left: 17px;
}

/* Main Content */
.bm-main-content {
    flex: 1;
    margin-left: 520px;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Top Navbar */
.bm-top-navbar {
    height: 60px;
    background-color: #121212;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid #2d2d2d;
}

.bm-top-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bm-top-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bm-top-link:hover {
    color: #fff;
    text-decoration: none;
}

.bm-premium-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000 !important;
    padding: 8px 18px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none !important;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bm-premium-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.6);
    background: linear-gradient(135deg, #FFE033 0%, #FFB833 100%);
}

.bm-premium-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
    transform: rotate(30deg);
    animation: bm-shine 4s infinite linear;
    pointer-events: none;
}

@keyframes bm-shine {
    0% {
        left: -150%;
    }

    25% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

.bm-premium-btn i {
    margin-right: 4px;
    font-size: 14px;
}

.bm-premium-btn span:first-child {
    font-size: 15px;
    font-weight: 850;
    line-height: 1;
    margin-bottom: 2px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
}

.bm-premium-btn span:last-child {
    font-size: 9px;
    font-weight: 600;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* Content Body */
.bm-content-body {
    padding: 20px 40px;
    background-color: #0a0a0a;
    flex: 1;
    overflow-x: hidden;
}

.bm-page-title {
    font-family: 'Kyron', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    overflow-wrap: break-word;
    word-break: break-word;
    text-align: center;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.bm-page-subheader {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    font-weight: 400;
}

.bm-info-link {
    font-size: 12px;
    color: #ccc;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Date Navigator Redesign */
.bm-date-nav {
    display: flex;
    align-items: center;
    background: #0d0d0d;
    border: 2px solid #1a1a1a;
    border-radius: 12px;
    padding: 6px;
    margin: 0 auto 25px auto;
    width: fit-content;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 2px;
}

.bm-date-nav::-webkit-scrollbar {
    display: none;
}

.bm-date-live {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #c0392b;         /* Always red */
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s;
    position: relative;
}

.bm-date-live:hover {
    background: #e74c3c;         /* Brighter red on hover */
}

.bm-date-live.active {
    background: #e74c3c;         /* Active = brighter red */
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.4);
}

.bm-date-live .badge {
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 50%;
    position: absolute;
    top: -8px;
    right: -8px;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.bm-date-divider {
    width: 2px;
    height: 24px;
    background: #333;
    margin: 0 10px;
}

.bm-date-item {
    color: #888;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 15px;
    text-decoration: none !important;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 45px;
}

.bm-date-item .bm-date-label {
    display: none;
}

.bm-date-item:hover {
    color: #fff;
}

.bm-date-item.active {
    background: #fff;
    color: #000 !important;
    border-radius: 10px;
    padding: 8px 12px;
}

.bm-date-item.active .bm-date-day {
    color: #000;
    font-size: 18px;
}

.bm-date-item.active .bm-date-label {
    display: block;
    color: #888;
    font-size: 8px;
    font-weight: 700;
    margin-top: 2px;
}

.bm-date-day {
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    color: #888;
}

.bm-date-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: #888;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .bm-date-nav {
        width: auto;
        padding: 4px;
        border-radius: 10px;
        margin-left: -10px;
        margin-right: -10px;
        margin-bottom: 20px;
        gap: 2px;
    }

    .bm-date-divider {
        width: 1px;
        height: 20px;
        margin: 0 5px;
    }

    .bm-date-live {
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 6px;
        gap: 5px;
    }

    .bm-date-live .badge {
        font-size: 8px;
        padding: 2px 5px;
        top: -5px;
        right: -5px;
    }

    .bm-date-item {
        padding: 5px 10px;
        min-width: 35px;
        font-size: 14px;
    }

    .bm-date-item.active {
        padding: 5px 10px;
        border-radius: 8px;
    }

    .bm-date-item.active .bm-date-day {
        font-size: 14px;
    }

    .bm-date-day {
        font-size: 14px;
    }

    .bm-date-label {
        font-size: 7px;
        margin-top: 1px;
    }
}

/* Market Filters */
.bm-market-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.bm-market-filters::-webkit-scrollbar {
    display: none;
}

.bm-market-btn {
    background: #262626;
    color: #fff !important;
    border: none;
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.2s;
}

.bm-market-btn.active,
.bm-market-btn:hover {
    background: #fff;
    color: #000 !important;
    text-decoration: none !important;
}

/* Search Bar */
.bm-search-bar {
    display: flex;
    align-items: center;
    background: #1e1e1e;
    padding: 10px 15px;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #2d2d2d;
}

.bm-search-input {
    display: flex;
    align-items: center;
    background: #121212;
    border-radius: 20px;
    padding: 5px 15px;
    flex: 1;
    max-width: 300px;
}

.bm-search-input input {
    background: transparent;
    border: none;
    color: #fff;
    padding-left: 10px;
    font-size: 13px;
    width: 100%;
}

.bm-search-input input:focus {
    outline: none;
}

.bm-filter-btn {
    background: transparent;
    border: 1px solid #444;
    color: #ccc;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    margin-left: 15px;
    cursor: pointer;
}

.bm-table-headers {
    display: flex;
    margin-left: auto;
    gap: 30px;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    padding-right: 15px;
}

.bm-table-headers span {
    width: 60px;
    text-align: center;
}

/* Match List */
.bm-match-list {
    background: #1e1e1e;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.bm-league-header {
    background: #2a2a2a;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bm-league-header img {
    height: 16px;
    width: 16px;
}

.bm-match-row {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #2d2d2d;
    font-size: 13px;
    color: #ccc;
}

.bm-match-row:hover {
    background: #252525;
}

.bm-star {
    color: #666;
    cursor: pointer;
    font-size: 16px;
}

.bm-star:hover {
    color: #fbbf24;
}

.bm-time {
    width: 50px;
    text-align: center;
    margin-left: 10px;
}

.bm-teams {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bm-team {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bm-team img {
    width: 16px;
    height: 16px;
}

.bm-prob,
.bm-market,
.bm-tip,
.bm-odd {
    width: 60px;
    text-align: center;
    margin-left: 30px;
}

.bm-tip {
    color: #fff;
    font-weight: 600;
}

.bm-odd {
    color: #fbbf24;
}


/* --- Card System --- */
.bm-card {
    background: #1e1e1e;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bm-section-title {
    font-family: 'Kyron', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Article Cards Refinement */
.bm-article-card {
    background: #181818;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.bm-article-card:hover {
    transform: translateY(-5px);
    border-color: #4CAF50;
}

.bm-article-img {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.bm-article-body {
    padding: 15px;
}

.bm-article-date {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.bm-article-title {
    font-family: 'Kyron', sans-serif;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.bm-article-title a {
    color: #fff !important;
    /* Force white title */
    text-decoration: none;
}

.bm-article-excerpt {
    font-size: 12px;
    color: #aaa;
    line-height: 1.4;
    margin: 0;
}

/* Winning Cards Refinement */
.bm-winning-card {
    background: linear-gradient(145deg, #222222, #1a1a1a);
    border-radius: 10px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bm-winning-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    border-color: rgba(76, 175, 80, 0.25);
}

.bm-winning-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: #4CAF50;
}

.bm-winning-badge {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bm-winning-match {
    margin: 8px 0;
    flex-grow: 1;
}

.bm-winning-team-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #eee;
    font-weight: 500;
    margin-bottom: 3px;
}

.bm-team-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bm-team-logo-tiny {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.bm-score {
    font-weight: 700;
    color: #fff;
    font-size: 12px;
    min-width: 15px;
    text-align: right;
}

.bm-header-tip {
    font-size: 8.5px;
    color: #4CAF50;
    font-weight: 700;
    background: rgba(76, 175, 80, 0.12);
    padding: 1px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
}

.bm-winning-team-row i {
    font-size: 11px;
    color: #4CAF50;
}

.bm-winning-info {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bm-winning-tip-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bm-winning-category {
    font-size: 8px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
}

.bm-winning-tip {
    font-size: 11px;
    color: #4CAF50;
    font-weight: 700;
    background: rgba(76, 175, 80, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    white-space: nowrap;
}

.bm-winning-odds {
    font-size: 11px;
    font-weight: 700;
    color: #888;
}

.bm-winning-odds {
    background: #252525;
    color: #fbbf24;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(251, 191, 36, 0.1);
}

/* Standings Table Refinement */
.bm-standings-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.bm-standings-table th {
    background: transparent !important;
    padding: 12px 10px;
    font-size: 11px;
    color: #555 !important;
    /* Darker header text */
    text-transform: uppercase;
    text-align: center;
    border: none !important;
    font-weight: 600;
}

.bm-standings-table td {
    padding: 12px 10px;
    font-size: 13px;
    vertical-align: middle;
    border-top: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
    text-align: center;
}

.bm-standings-table tr:last-child td {
    border-bottom: none !important;
}

.bm-standings-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Tab button override for standings */
.bm-market-filters .bm-market-btn.nav-link {
    border-radius: 30px;
    padding: 6px 15px;
}

.bm-market-filters .bm-market-btn.nav-link.active {
    background: #fff;
    color: #000 !important;
}

.hideLG {
    display: none !important;
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .bm-sidebar-nav {
        width: 60px;
        left: -60px;
        transition: left 0.3s ease;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
        overflow: hidden; /* Prevent any child from causing horizontal expansion */
        flex-shrink: 0;   /* Ensure sidebar never shrinks below its width */
    }

    .bm-sidebar-nav .bm-sidebar-logo,
    .bm-sidebar-nav .bm-sidebar-link span,
    .bm-sidebar-nav h6,
    .bm-sidebar-nav .bm-sidebar-divider {
        display: none; /* Also hide the category label and divider that overflow */
    }

    .bm-sidebar-nav .bm-sidebar-link {
        justify-content: center;
        padding: 15px 0;
        min-width: 0; /* Allow flex items to shrink */
        width: 60px;  /* Lock each link to sidebar width */
        box-sizing: border-box;
    }

    .bm-sidebar-nav.show-mobile {
        left: 0;
    }

    /* The logo slot in collapsed sidebar nav: hide content, just show close btn area */
    .bm-sidebar-nav .bm-sidebar-logo {
        display: flex;
        width: 60px;
        height: 60px;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid #2d2d2d;
        flex-shrink: 0;
        padding: 0;
    }

    .bm-sidebar {
        display: flex;
        flex-direction: column;  /* Stack content vertically to allow scroll */
        position: fixed;
        top: 0;
        height: 100vh;
        left: -310px;
        transition: left 0.3s ease;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 999;
        background-color: #1a1a1a;
        padding-top: 0;
        overflow-y: auto;       /* Allow the right sidebar panel to scroll */
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .bm-sidebar.show-mobile {
        left: 60px;
    }

    .bm-main-content {
        margin-left: 0;
    }

    .hideLG {
        display: flex !important;
        align-items: center;
    }

    .bm-content-body {
        padding: 15px;
    }

    .bm-page-title {
        font-size: 1.75rem;
        margin-top: 10px;
        text-align: center;
        line-height: 1.2;
    }

    .bm-page-subheader {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }

    .bm-info-link {
        justify-content: center;
        text-align: center;
    }

    .bm-table-headers {
        display: none;
    }

    .bm-prob,
    .bm-market {
        display: none;
    }

    .bm-top-navbar {
        justify-content: space-between;
        position: sticky;
        top: 0;
        z-index: 900;
    }

    .bm-market-btn {
        padding: 6px 12px;
        font-size: 11px;
    }

    .bm-navbar-left {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        flex: 1;
        min-width: 0;
    }

    .bm-mobile-logo {
        display: flex;
        align-items: center;
        white-space: nowrap;
        overflow: hidden;
        flex-shrink: 1;
    }

    .bm-standings-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .bm-standings-table-wrapper::-webkit-scrollbar {
        display: none;
    }

    .bm-standings-table {
        min-width: 100%;
    }

    .bm-date-nav {
        white-space: nowrap;
        gap: 5px;
    }
}

.bm-icon-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- League Standings Redesign --- */
.bm-standings-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.bm-standings-tabs {
    display: flex;
    gap: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 5px;
}

.bm-standings-tab {
    color: #888;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding-bottom: 10px;
    position: relative;
    cursor: pointer;
}

.bm-standings-tab.active {
    color: #fff;
}

.bm-standings-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #fff;
}

.bm-sub-pills {
    display: flex;
    gap: 10px;
}

.bm-sub-pill {
    background: #2a2a2a;
    color: #aaa;
    border: none;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.bm-sub-pill:hover {
    background: #333;
    color: #fff;
}

.bm-sub-pill.active {
    background: #fff;
    color: #000;
}

/* Rank Circles */
.bm-rank-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    color: #888;
}

.bm-rank-green {
    background: #4caf50;
    color: #fff;
}

.bm-rank-blue {
    background: #007bff;
    color: #fff;
}

.bm-team-logo-small {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 12px;
}

.bm-team-name-small {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Table columns matching screenshot */
.bm-col-team {
    text-align: left !important;
    min-width: 140px;
}

.bm-col-stat {
    width: 40px;
    color: #888;
    text-align: center;
}

.bm-col-pts {
    width: 40px;
    color: #fff;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 600px) {
    .bm-col-team {
        min-width: 100px;
    }

    .bm-team-logo-small {
        margin-right: 6px;
        width: 16px;
        height: 16px;
    }

    .bm-team-name-small {
        font-size: 11px;
    }

    .bm-col-stat,
    .bm-col-pts {
        width: 30px;
        font-size: 10px;
        padding: 10px 2px !important;
    }

    .bm-standings-table td,
    .bm-standings-table th {
        padding: 10px 2px !important;
    }

    .bm-rank-num {
        width: 18px;
        height: 18px;
        font-size: 9px;
    }

    .bm-standings-table th {
        font-size: 9px;
    }
}

/* Info Article Card */
.bm-info-article-card {
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bm-article-content {
    color: #bbb;
    font-size: 14px;
    line-height: 1.6;
}

.bm-content-h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 12px;
}

.bm-content-h4 {
    color: #eee;
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 8px;
}

.bm-article-content p {
    margin-bottom: 12px;
}

.bm-content-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.bm-content-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 13.5px;
}

.bm-content-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #888;
    font-weight: bold;
}

.bm-disclaimer {
    background: rgba(239, 68, 68, 0.05);
    border-left: 3px solid #ef4444;
    padding: 12px 15px;
    font-size: 13px;
    color: #d19a9a;
    font-style: italic;
    margin: 25px 0;
    border-radius: 0 6px 6px 0;
}

/* Legend */
.bm-standings-legend {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
}

.bm-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #888;
}

.bm-indicator {
    width: 4px;
    height: 12px;
    border-radius: 2px;
}

.bg-uefa-cl {
    background: #4caf50;
}

.bg-uefa-el {
    background: #03a9f4;
}

.bg-relegation {
    background: #f44336;
}

/* --- New Footer Redesign --- */
.bm-footer {
    background-color: #0f0f0f;
    padding: 60px 0 30px;
    color: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.bm-footer-title {
    font-family: 'Kyron', sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    color: #fff;
}

.bm-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bm-footer-list li {
    margin-bottom: 12px;
}

.bm-footer-link {
    color: #999;
    text-decoration: none !important;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-block;
}

.bm-footer-link:hover {
    color: #fff;
    transform: translateX(5px);
}

.bm-footer-social {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.bm-footer-social a {
    color: #fff;
    font-size: 22px;
    transition: transform 0.2s ease, color 0.2s ease;
    opacity: 0.9;
}

.bm-footer-social a:hover {
    transform: translateY(-3px);
    color: #4CAF50;
    opacity: 1;
}

.bm-app-badges {
    display: flex;
    gap: 12px;
    margin-top: 40px;
}

.bm-app-badge {
    height: 40px;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.bm-app-badge:hover {
    transform: scale(1.05);
}

.bm-footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.bm-copyright {
    color: #666;
    font-size: 13px;
}

.bm-copyright span {
    color: #4CAF50;
    font-weight: 600;
}

.bm-footer-extra-links {
    display: flex;
    gap: 20px;
}

.bm-footer-extra-link {
    color: #666;
    font-size: 13px;
    text-decoration: none !important;
}

.bm-footer-extra-link:hover {
    color: #999;
}

@media (max-width: 768px) {
    .bm-footer-col {
        margin-bottom: 40px;
    }

    .bm-footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .bm-footer-extra-links {
        justify-content: center;
    }
}

/* Premium Dark Pagination */
.pagination {
    margin-bottom: 0;
    gap: 5px;
}

.pagination .page-item .page-link {
    background: #1e1e1e !important;
    border: 1px solid #2c2c2c !important;
    color: #eee !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination .page-item.active .page-link {
    background: #d4af37 !important;
    border-color: #d4af37 !important;
    color: #000 !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.pagination .page-item:not(.active):hover .page-link {
    background: #252525 !important;
    border-color: #444 !important;
    color: #fff !important;
}

.pagination .page-item.disabled .page-link {
    background: #181818 !important;
    border-color: #222 !important;
    color: #555 !important;
    cursor: not-allowed;
}

/* Custom Install App Button */
.bm-install-app-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #d4af37 0%, #996515 100%);
    color: #000 !important;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    border: none;
}

.bm-install-app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #e5be48 0%, #ab761a 100%);
    color: #000 !important;
}

.bm-install-app-btn i {
    font-size: 20px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    padding-right: 10px;
}

.bm-footer-partners {
    width: 100%;
}

.bm-partners-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 30px;
}

.bm-partner-link {
    color: #666;
    font-size: 13px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    font-weight: 500;
}

.bm-partner-link:hover {
    color: #4CAF50;
}

@media (max-width: 768px) {
    .bm-partners-list {
        gap: 10px 20px;
    }

    .bm-partner-link {
        font-size: 12px;
    }
}

/* Floating Ad Banner Styles */
.bm-floating-ad-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.bm-floating-ad-wrapper {
    position: relative;
    background: transparent;
    padding: 0;
    margin: 0;
}

.bm-floating-ad-close {
    position: absolute;
    top: -12px;
    right: -12px;
    background: #ff3b30;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid white;
    z-index: 10001;
    transition: transform 0.2s ease;
}

.bm-floating-ad-close:hover {
    transform: scale(1.1);
    background: #e03126;
}

@media (max-width: 768px) {
    .bm-floating-ad-container {
        bottom: 10px;
        right: 10px;
    }

    .bm-floating-ad-wrapper img {
        width: 150px !important;
        height: auto !important;
    }
}
/* Dynamic Article Content Styling */
.bm-info-article-dynamic, 
.bm-article-content {
    color: #e0e0e0 !important;
    line-height: 1.6;
}

.bm-info-article-dynamic h1, .bm-article-content h1,
.bm-info-article-dynamic h2, .bm-article-content h2,
.bm-info-article-dynamic h3, .bm-article-content h3,
.bm-info-article-dynamic h4, .bm-article-content h4 {
    color: #fff !important;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.bm-info-article-dynamic p, .bm-article-content p {
    margin-bottom: 1rem;
    color: #ccc;
}

.bm-info-article-dynamic ul, .bm-article-content ul,
.bm-info-article-dynamic ol, .bm-article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.bm-info-article-dynamic li, .bm-article-content li {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.bm-info-article-dynamic a, .bm-article-content a {
    color: #4CAF50;
    text-decoration: underline;
}

.bm-info-article-dynamic strong, .bm-article-content strong {
    color: #fff;
    font-weight: 800;
}

.bm-disclaimer {
    font-size: 0.85rem;
    font-style: italic;
    color: #888 !important;
    border-top: 1px solid #333;
    padding-top: 10px;
}

/* Premium Styling for Article Content */
.bm-article-content h1, .bm-article-content h2, .bm-article-content h3,
.bm-article-content h4, .bm-article-content h5, .bm-article-content h6 {
    text-align: left !important;
    color: #4CAF50 !important;
    border-left: 4px solid #4CAF50;
    padding-left: 15px;
    margin-top: 1.5rem !important;
    margin-bottom: 0.75rem;
    background: transparent !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
}

.bm-article-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.bm-article-content ul {
    list-style-type: none;
    padding-left: 10px;
}

.bm-article-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 6px;
}

.bm-article-content ul li::before {
    content: '\f00c';
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    color: #888;
    font-size: 0.9rem;
}

.bm-article-content strong {
    color: #fff !important;
    font-weight: 800;
}

/* Aggressive Color Overrides to fix black text from Admin Panel */
.bm-article-content, 
.bm-article-content *,
.bm-info-article-dynamic,
.bm-info-article-dynamic * {
    color: #fff !important;
}

/* Preserving Link Colors */
.bm-article-content a, 
.bm-article-content a *,
.bm-info-article-dynamic a,
.bm-info-article-dynamic a * {
    color: #4CAF50 !important;
    text-decoration: underline !important;
}

/* Reset backgrounds for nested elements from Admin Panel */
.bm-article-content div, 
.bm-article-content section,
.bm-article-content span,
.bm-info-article-dynamic div,
.bm-info-article-dynamic section,
.bm-info-article-dynamic span {
    background-color: transparent !important;
}

/* Footer Partners UI */
.bm-footer-partners-container {
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    padding: 15px 20px 20px 20px;
    position: relative;
    margin-top: 30px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}
.bm-footer-partners-box {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 2.2;
    max-height: 28px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.bm-footer-partners-box.expanded {
    max-height: 1000px;
}
.bm-partners-label {
    color: rgba(255, 255, 255, 0.9);
    margin-right: 5px;
}
.bm-partner-link-item {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}
.bm-partner-link-item:hover {
    color: var(--color-brand-secondary, #14588B);
}
.bm-partner-separator {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 4px;
}
.bm-partners-unfold-wrapper {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
}
.bm-partners-unfold-btn {
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 3px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 26px;
    backdrop-filter: blur(4px);
}
.bm-partners-unfold-btn:hover {
    background-color: var(--color-brand-secondary, rgba(255, 255, 255, 0.1));
    color: #ffffff;
}

/* VIP Results Page Styles - Refined */
.vip-results-header {
    background: #1e1e1e;
    padding: 30px 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.vip-results-header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 6px;
    background: #ff5e57;
    border-radius: 0 10px 10px 0;
}

.vip-results-title h1 {
    font-size: 36px;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.vip-results-title h1 span {
    color: #fbc531; /* Bright yellow */
    margin-left: 10px;
}

.vip-results-title p {
    margin: 8px 0 0;
    color: #a4b0be; /* Grey/Blue muted color */
    font-size: 16px;
    font-weight: 500;
}

.win-rate-badge {
    background: #252525;
    padding: 20px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
    min-width: 140px;
}

.win-rate-badge .label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #747d8c;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.win-rate-badge .value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #fbc531;
    line-height: 1;
}

.vip-date-group {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid #f1f2f6;
}

.vip-date-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.vip-date-info {
    display: flex;
    align-items: center;
}

.vip-date-icon {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #adb5bd;
    font-size: 20px;
}

.vip-date-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #333;
}

.vip-date-text .odds {
    font-size: 13px;
    color: #27ae60;
    font-weight: 600;
}

.vip-match-card {
    background: #fdfdfd;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    border: 1px solid #f2f2f2;
    transition: transform 0.2s;
}

.vip-match-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.vip-match-time {
    width: 80px;
    color: #999;
    font-size: 13px;
    font-weight: 500;
}

.vip-match-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vip-match-league {
    font-size: 10px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 5px;
    font-weight: 600;
}

.vip-match-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.vip-team {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    width: 40%;
    text-align: center;
}

.vip-score {
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 16px;
    margin: 0 15px;
    color: #d35400;
}

.vip-match-tip {
    width: 150px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.vip-tip-label {
    font-size: 9px;
    color: #bbb;
    text-transform: uppercase;
}

.vip-tip-value {
    font-size: 14px;
    font-weight: 700;
    color: #444;
    display: flex;
    align-items: center;
}

.vip-tip-value i {
    color: #2ecc71;
    margin-left: 8px;
    font-size: 18px;
}

.vip-status-sticker {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.sticker-won {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.sticker-lost {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}
