html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

:root {
    --bg: #0b0c10;
    --panel: #11131a;
    --muted: #a9b2c3;
    --text: #e6ecf2;
    --brand: #5cd2b9;
    --accent: #80b3ff;
    --danger: #ff6b6b;
    --maxw: 1140px;
    --rad: 14px;
    --shadow: 0 10px 30px rgba(0,0,0,.25);
}

html {
    scroll-behavior: smooth
}

body {
    background: linear-gradient(180deg,#0a0b0f,#0b0c10 60%);
    color: var(--text)
}

/* NAVBAR */
.navbar {
    background: rgba(11,12,16,.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #1c2030
}

.navbar-brand {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .5rem
}

.navbar .badge {
    padding: 2px 8px;
    border: 1px solid #23304a;
    border-radius: 999px;
    color: #b8c6e3;
    font-size: .75rem
}

/* HERO */
.hero {
    background: linear-gradient(180deg, rgba(13,110,253,.08), transparent)
}

    .hero h1 {
        font-size: clamp(28px,3.5vw,40px);
        line-height: 1.15
    }

.sub {
    color: var(--muted);
    max-width: 720px
}

/* cards */
.card {
    background: linear-gradient(180deg,#11131a,#0f1118);
    border: 1px solid #1b2335;
    border-radius: var(--rad);
    box-shadow: var(--shadow);
    color: var(--text);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(92, 210, 185, 0.2);
}

    .card h2 {
        font-size: 20px;
        margin-bottom: .5rem
    }

    .card .desc {
        color: var(--muted)
    }

/* bookmaker cards */
.bookmaker-card {
    position: relative;
    overflow: visible;
}

.bookmaker-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(92, 210, 185, 0.15);
    border-color: rgba(92, 210, 185, 0.3);
}

.bookmaker-logo-wrapper {
    min-height: 35px;
}

.bookmaker-rank {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), #4ab8a3);
    color: #0b0c10;
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(92, 210, 185, 0.3);
    z-index: 1;
}

.top-pick-badge {
    position: absolute;
    top: 12px;
    right: -6px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #0b0c10;
    padding: 4px 12px 4px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px 0 0 4px;
    box-shadow: 0 2px 8px rgba(92, 210, 185, 0.25);
}

.score-display {
    display: flex;
    align-items: baseline;
}

.score-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand);
}

.bookmaker-grid > [class*="col-"] {
    padding-top: 12px;
    padding-left: 12px;
}

/* forms */
.form-control, .form-select {
    background: #0d0f16;
    color: var(--text);
    border: 1px solid #223150;
    border-radius: 10px
}

    .form-control:focus, .form-select:focus {
        box-shadow: none;
        outline: 2px solid var(--accent);
        border-color: transparent
    }

.form-text {
    color: var(--muted)
}

.form-control::placeholder {
    color: #a9b2c3;
}

/* buttons */
.btn-brand {
    --bs-btn-bg: linear-gradient(180deg,#5cd2b9,#4db9a2);
    --bs-btn-color: #061018;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-filter: brightness(1.02)
}

.btn-brand {
    background: var(--bs-btn-bg);
    color: var(--bs-btn-color);
    border: 0;
    font-weight: 800
}

    .btn-brand:hover {
        filter: var(--bs-btn-hover-filter);
        box-shadow: 0 0 20px rgba(92, 210, 185, 0.35);
    }

.btn-brand {
    transition: filter 0.2s ease, box-shadow 0.2s ease;
}

/* results */
.result {
    margin-top: 12px;
    padding: 12px;
    border: 1px dashed #2a3756;
    border-radius: 12px;
    background: #0c101a
}

    .result h3 {
        margin: 0 0 8px
    }

.pill {
    display: inline-block;
    background: #0b1323;
    border: 1px solid #203256;
    border-radius: 999px;
    padding: 6px 10px;
    margin: 4px 8px 0 0
}

    .pill strong {
        color: var(--brand)
    }

/* tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px
}

th, td {
    border: 1px solid #1e2842;
    padding: 8px;
    text-align: left
}

th {
    background: #0f1422
}

/* footer */
footer {
    border-top: 1px solid #1b2335;
    color: #94a3b8
}

a {
    color: var(--accent)
}

    a:hover {
        text-decoration: underline
    }

.sr-only {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px,1px,1px,1px)
}

/* accordion / FAQ */
.accordion-item {
    background: #0c101a;
    border: 1px solid #1e2842;
    border-radius: 12px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.accordion-item:first-child {
    margin-top: 0;
}

.accordion-button {
    background: #0c101a;
    color: var(--text);
    font-weight: 500;
    padding: 1rem 1.25rem;
    transition: background 0.2s ease;
}

.accordion-button:not(.collapsed) {
    background: #0f1420;
    color: var(--text);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(92, 210, 185, 0.3);
}

.accordion-button::after {
    filter: invert(1) brightness(0.7);
    transition: transform 0.3s ease;
}

.accordion-body {
    color: #e6ecf2;
    background: #0c101a;
    padding: 1rem 1.25rem;
}

nav.navbar.navbar-dark .navbar-nav .nav-item .nav-link {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
    transition: text-shadow 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

    nav.navbar.navbar-dark .navbar-nav .nav-item .nav-link:hover,
    nav.navbar.navbar-dark .navbar-nav .nav-item .nav-link:focus {
        color: #ffffff !important;
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
    }

a {
    text-decoration: none !important;
}

.navbar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffc107 !important;
    text-decoration: none !important;
}

/* Responsive navbar: tighter spacing for medium-large screens */
@media (min-width: 768px) and (max-width: 1199px) {
    .navbar-nav .nav-link {
        font-size: 0.85rem;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding-left: 0.6rem !important;
        padding-right: 0.6rem !important;
    }
}

.btn-outline-secondary {
    color: #e0e6f0;
    border-color: #e0e6f0;
}

    .btn-outline-secondary:hover {
        background-color: #e0e6f0;
        color: #0c101a;
    }


.ts-wrapper {
    background: #11151f;
    color: var(--text);
    border: 1px solid var(--brand);
    border-radius: 8px;
    padding: 6px 8px;
}

    .ts-wrapper .ts-control::placeholder {
        color: #6c7a96;
        opacity: 1;
    }

    .ts-wrapper .ts-control {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: var(--text);
        font-size: 1rem;
    }

    .ts-wrapper.single .ts-control:after {
        border-color: var(--text);
        opacity: 0.7;
    }

.ts-dropdown {
    background: #0c101a;
    border: 1px solid #1e2842;
    color: var(--text);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

    .ts-dropdown .option {
        padding: 8px 10px;
        color: var(--text);
    }

        .ts-dropdown .option:hover {
            background: #1b2338;
            color: #fff;
        }

        .ts-dropdown .option.selected {
            background: #28324d;
            color: #fff;
        }

        .ts-dropdown .option.active {
            background: #1e2a44;
        }

.ts-wrapper.single .ts-control .item {
    color: var(--text);
    background: transparent !important;
}

.ts-wrapper.focus {
    border-color: var(--brand) !important;
}

.ts-wrapper.single .ts-control:after {
    border-top-color: var(--text);
}

.ts-wrapper .ts-control input::placeholder {
    color: var(--text);
}

.ts-wrapper .ts-control input, .no-results {
    color: var(--text);
}




.ts-dropdown,
.ts-dropdown .ts-dropdown-content {
    background: #0c101a !important;
    border: 1px solid #1e2842;
}

    .ts-dropdown .option {
        background: transparent;
        color: #e6ecf2 !important;
        padding: 8px 10px;
    }

        .ts-dropdown .option:hover,
        .ts-dropdown .option.active,
        .ts-dropdown .option.selected {
            background: #1b2338 !important;
            color: #ffffff !important;
        }

        .ts-dropdown .option .highlight {
            background: none;
            color: #ffd666;
            font-weight: 600;
        }

.status-info {
    color: var(--brand);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    margin-bottom: 30px;
    aspect-ratio: 16 / 9;
    width: 100%;
}

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.nav-tabs .nav-link {
    color: #4bc0c0 !important;
}

    .nav-tabs .nav-link.active {
        color: #000 !important;
        border-color: #4bc0c0 #4bc0c0 #050814 !important;
    }
.bt-panel {
    background: #0c101a;
    border: 1px solid #1e2842;
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .35);
    color: var(--text);
}

.bt-toc {
    font-size: 0.9rem;
}

    .bt-toc h2 {
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: var(--text);
        margin-bottom: 0.75rem;
    }

    .bt-toc ul {
        margin: 0;
        padding-left: 0;
    }

    .bt-toc li {
        margin-bottom: 0.35rem;
    }

    .bt-toc a {
        color: rgba(229, 236, 255, 0.85); 
        text-decoration: none;
    }

        .bt-toc a:hover {
            color: #15d1c2; 
            text-decoration: underline;
        }

.bt-table {
    background: #0c101a;
    color: var(--text);
    border-color: #1e2842;
    margin-bottom: 0;
}

    .bt-table > :not(caption) > * > * {
        background-color: transparent;
        border-color: #1e2842;
    }

    .bt-table thead th {
        background: #111629;
        font-weight: 600;
        border-bottom: 1px solid #1e2842;
    }

    .bt-table tbody tr:nth-of-type(even) {
        background: #0f131f;
    }

    .bt-table tbody tr:hover {
        background: #151b2a;
    }

    .bt-table td,
    .bt-table th {
        padding: 0.6rem 0.9rem;
        vertical-align: middle;
    }

/* Sticky Bookmakers Bar */
.sticky-bookmakers-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--panel) 0%, #151b2a 100%);
    border-top: 2px solid var(--brand);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.sticky-bookmakers-bar.show {
    transform: translateY(0);
}

.sticky-bookmakers-bar.collapsed .sticky-bookmakers-body {
    display: none;
}

.sticky-bookmakers-content {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0;
}

.sticky-bookmakers-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(92, 210, 185, 0.2);
}

.sticky-bookmakers-title {
    font-weight: 600;
    color: var(--brand);
    font-size: 0.95rem;
}

.sticky-bookmakers-toggle,
.sticky-bookmakers-close {
    background: transparent;
    border: none;
    color: var(--muted);
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.sticky-bookmakers-toggle:hover,
.sticky-bookmakers-close:hover {
    color: var(--brand);
}

.sticky-bookmakers-body {
    padding: 1rem;
}

.sticky-bookmaker-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(17, 19, 26, 0.5);
    border: 1px solid rgba(92, 210, 185, 0.2);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    height: 100%;
}

.sticky-bookmaker-card:hover {
    border-color: var(--brand);
    background: rgba(92, 210, 185, 0.05);
    transform: translateY(-2px);
}

.sticky-bookmaker-card img {
    max-width: 100%;
    height: auto;
}

.sticky-bookmaker-bonus {
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 500;
}

.sticky-bookmaker-cta {
    font-size: 0.85rem;
    color: var(--brand);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: auto;
}

.sticky-bookmaker-cta i {
    transition: transform 0.2s;
}

.sticky-bookmaker-card:hover .sticky-bookmaker-cta i {
    transform: translateX(3px);
}

@media (max-width: 767px) {
    .sticky-bookmakers-body {
        padding: 0.75rem;
    }
    
    .sticky-bookmaker-card {
        padding: 0.5rem;
    }
}

/* Breadcrumbs */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--muted);
    content: "›";
    font-weight: 600;
}

.breadcrumb-item a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--brand);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--muted);
}

/* Site Footer */
.site-footer {
    background: linear-gradient(180deg, #080910 0%, #0a0b0f 100%);
    border-top: 1px solid #1b2335;
    padding: 3rem 0 0;
    margin-top: 3rem;
}

.footer-badge-18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    color: #d1d1d1;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.footer-tagline {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.footer-heading i {
    font-size: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--brand);
}

.footer-links a i {
    font-size: 0.85rem;
    width: 1rem;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #1e2842;
    border-radius: 8px;
    color: var(--muted);
    font-size: 1.25rem;
    transition: all 0.15s ease;
}

.footer-social a:hover {
    background: rgba(92, 210, 185, 0.1);
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-2px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid #1e2842;
    padding: 1rem 0;
    margin-top: 2rem;
}

.footer-copyright {
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-langs {
    display: flex;
    gap: 0.75rem;
}

.footer-langs a {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.footer-langs a:hover {
    color: var(--brand);
    background: rgba(92, 210, 185, 0.1);
}

.footer-disclaimer {
    color: #6b7280;
    font-size: 0.8rem;
    max-width: 400px;
    text-align: right;
}

@media (max-width: 767px) {
    .site-footer {
        padding: 2rem 0 0;
    }
    
    .footer-disclaimer {
        text-align: center;
        max-width: 100%;
        order: 3;
        flex-basis: 100%;
    }
    
    .footer-copyright,
    .footer-langs {
        flex-basis: auto;
    }
}

/* Calculator Bookmakers Section */
.calculator-bookmakers {
    padding: 1.5rem;
    background: rgba(92, 210, 185, 0.03);
    border: 1px solid rgba(92, 210, 185, 0.2);
    border-radius: var(--rad);
}

.calculator-bookmakers h3 {
    color: var(--brand);
}

/* Related Content Section */
.related-content .related-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: 1px solid #1e2842;
    background: #0c101a;
    color: var(--text);
}

.related-content .related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: var(--brand);
}

.related-content .bi {
    color: var(--brand);
}

/* Mega Menu */
.mega-menu {
    position: static;
}

.mega-menu .dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: rgba(11, 12, 16, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid #1e2842;
    border-radius: 0 0 var(--rad) var(--rad);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.mega-menu-container {
    max-width: var(--maxw);
    margin: 0 auto;
}

.mega-menu-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.mega-menu-column h6 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(92, 210, 185, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mega-menu-column h6 i {
    font-size: 1rem;
}

.mega-menu-column .dropdown-item {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    color: var(--text);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.15s ease;
}

.mega-menu-column .dropdown-item i {
    font-size: 1rem;
    color: var(--muted);
    width: 1.25rem;
    text-align: center;
    transition: color 0.15s ease;
}

.mega-menu-column .dropdown-item:hover {
    background: rgba(92, 210, 185, 0.1);
    color: #fff;
}

.mega-menu-column .dropdown-item:hover i {
    color: var(--brand);
}

.mega-menu-column .dropdown-item .badge {
    font-size: 0.65rem;
    padding: 0.2em 0.5em;
    background: var(--brand);
    color: #061018;
    font-weight: 700;
    margin-left: auto;
}

/* Responsive mega menu */
@media (max-width: 991px) {
    .mega-menu .dropdown-menu {
        position: relative;
        padding: 0.75rem;
        background: #0c101a;
    }
    
    .mega-menu-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .mega-menu-column {
        border-bottom: 1px solid #1e2842;
        padding-bottom: 1rem;
    }
    
    .mega-menu-column:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .mega-menu-column h6 {
        margin-bottom: 0.5rem;
    }
    
    .mega-menu-column .dropdown-item {
        padding: 0.6rem 0.5rem;
    }
}
