* {
    box-sizing: border-box;
}

:root {
    --bg: #05070b;
    --navy: #0b1426;
    --card: #0c111b;
    --gold: #f0c84b;
    --gold2: #ff9f1c;
    --orange: #ff7a00;
    --text: #ffffff;
    --muted: #aeb8cc;
    --line: rgba(255,255,255,.09);
    --ease: cubic-bezier(.22,1,.36,1);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
}

button,
input,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

.mbx-container {
    width: min(1360px, calc(100% - 48px));
    margin: 0 auto;
}

.mbx-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5,7,11,.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.mbx-topbar {
    height: 76px;
}

.mbx-topbar-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mbx-logo {
    display: flex;
    align-items: center;
    gap: 13px;
}

.mbx-logo-mark {
    width: 58px;
    height: 58px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    font-size: 38px;
    font-weight: 1000;
    background: linear-gradient(135deg, var(--orange), var(--gold));
    color: #111;
    box-shadow: 0 0 28px rgba(255,122,0,.22);
}

.mbx-logo-word {
    font-size: 34px;
    line-height: 1;
    font-weight: 1000;
    letter-spacing: -.045em;
    color: #fff;
}

.mbx-logo-word span {
    color: var(--orange);
}

.mbx-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mbx-btn,
.mbx-lang-current,
.mbx-round-icon {
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.045);
    color: #fff;
    padding: 0 24px;
    font-weight: 850;
    transition: .22s var(--ease);
}

.mbx-btn:hover,
.mbx-lang-current:hover,
.mbx-round-icon:hover {
    border-color: rgba(240,200,75,.55);
    color: var(--gold);
}

.mbx-btn-gold {
    border: 0;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: #111;
    box-shadow: 0 12px 26px rgba(240,200,75,.22);
}

.mbx-btn-gold:hover {
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(240,200,75,.30);
}

.mbx-round-icon {
    width: 44px;
    padding: 0;
    display: grid;
    place-items: center;
}

.mbx-lang {
    position: relative;
}

.mbx-lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mbx-lang-panel {
    position: absolute;
    top: 56px;
    right: 0;
    width: 278px;
    padding: 10px;
    background: #111927;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0,0,0,.58);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: .22s var(--ease);
}

.mbx-lang.open .mbx-lang-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mbx-lang-panel button {
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #fff;
    text-align: left;
    padding: 0 14px;
    font-weight: 750;
}

.mbx-lang-panel button:hover,
.mbx-lang-panel button.active {
    background: rgba(255,255,255,.075);
    color: var(--gold);
}

.mbx-nav {
    height: 58px;
    border-top: 1px solid var(--line);
}

.mbx-nav-inner {
    height: 58px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.mbx-nav-link {
    border: 0;
    background: transparent;
    color: #d9deea;
    font-size: 16px;
    font-weight: 900;
    transition: .2s var(--ease);
    padding: 0;
    white-space: nowrap;
}

.mbx-nav-link:hover,
.mbx-nav-link.active,
.mbx-nav-link.is-open {
    color: var(--gold);
}

.mbx-nav-link small {
    color: #ff4747;
    font-style: italic;
    margin-left: 3px;
}

.mbx-mega {
    position: absolute;
    left: 0;
    top: 134px;
    width: 100%;
    padding: 18px 0;
    background: rgba(8,11,17,.985);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 70px rgba(0,0,0,.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: .25s var(--ease);
}

.mbx-mega.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mbx-mega-panel {
    display: none;
    grid-template-columns: 260px 1fr 230px;
    gap: 18px;
}

.mbx-mega-panel.active {
    display: grid;
}

.mbx-mega-title,
.mbx-mega-hot {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.04);
    padding: 20px;
}

.mbx-mega-title span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: .18em;
}

.mbx-mega-title h3 {
    font-size: 28px;
    margin: 10px 0;
}

.mbx-mega-title p {
    color: var(--muted);
    line-height: 1.5;
}

.mbx-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.mbx-provider-tile {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,255,255,.04);
    color: #fff;
    padding: 10px;
    transition: .25s var(--ease);
}

.mbx-provider-tile div {
    height: 70px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(240,200,75,.14), rgba(255,255,255,.04));
    color: var(--gold);
    font-weight: 1000;
    text-transform: uppercase;
    font-size: 12px;
    text-align: center;
    padding: 8px;
}

.mbx-provider-tile strong {
    display: block;
    margin-top: 9px;
    font-weight: 800;
}

.mbx-provider-tile:hover,
.mbx-game-card:hover,
.mbx-match-card:hover,
.mbx-logo-tile:hover {
    transform: translateY(-5px);
    border-color: rgba(240,200,75,.6);
}

.mbx-mega-hot h4 {
    margin: 0 0 12px;
}

.mbx-mega-hot button {
    width: 100%;
    min-height: 42px;
    margin-bottom: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    color: #fff;
}

.mbx-hero {
    min-height: 520px;
    background: radial-gradient(circle at 70% 35%, rgba(240,200,75,.22), transparent 30%), linear-gradient(90deg, #05070b, #10151f);
    border-bottom: 1px solid var(--line);
}

.mbx-hero-inner {
    height: 520px;
    position: relative;
    display: flex;
    align-items: center;
}

.mbx-hero-copy {
    position: relative;
    z-index: 2;
    width: 55%;
}

.mbx-hero-copy span {
    color: var(--gold);
    font-weight: 1000;
    letter-spacing: .12em;
}

.mbx-hero-copy h1 {
    font-size: 50px;
    line-height: 1.08;
    text-transform: uppercase;
    margin: 16px 0;
}

.mbx-hero-copy p {
    color: #d0d8e8;
    font-size: 18px;
}

.mbx-hero-placeholder {
    position: absolute;
    right: 0;
    top: 40px;
    width: 55%;
    height: 430px;
    border: 1px dashed rgba(240,200,75,.35);
    border-radius: 26px;
    display: grid;
    place-items: center;
    text-align: center;
    color: rgba(255,255,255,.28);
    font-size: 34px;
    font-weight: 1000;
    letter-spacing: .08em;
}

.mbx-countdown {
    border-bottom: 1px solid var(--line);
    background: #070b12;
}

.mbx-countdown-inner {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.mbx-cup {
    font-size: 46px;
}

.mbx-count-title h2 {
    margin: 0;
    color: var(--gold);
    text-transform: uppercase;
}

.mbx-count-title p {
    margin: 4px 0 0;
    color: var(--muted);
}

.mbx-timebox {
    min-width: 120px;
    height: 72px;
    border: 1px solid rgba(240,200,75,.35);
    border-radius: 12px;
    display: grid;
    place-items: center;
}

.mbx-timebox strong {
    font-size: 30px;
    color: var(--gold);
}

.mbx-timebox span {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
}

.mbx-section {
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.mbx-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.mbx-section-head h2 {
    margin: 0;
    font-size: 23px;
    text-transform: uppercase;
}

.mbx-section-head em {
    font-style: normal;
    background: #ff2d2d;
    color: #fff;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 12px;
}

.mbx-scroll-btn,
.mbx-view-btn {
    border: 1px solid rgba(240,200,75,.5);
    border-radius: 999px;
    background: transparent;
    color: var(--gold);
    height: 36px;
    padding: 0 16px;
    font-weight: 900;
}

.mbx-match-row,
.mbx-provider-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 8px;
}

.mbx-match-row::-webkit-scrollbar,
.mbx-provider-row::-webkit-scrollbar {
    height: 0;
}

.mbx-match-card {
    min-width: 285px;
    border: 1px solid rgba(240,200,75,.35);
    border-radius: 10px;
    background: #0b1019;
    color: #fff;
    padding: 16px;
    transition: .25s var(--ease);
}

.mbx-match-date {
    text-align: center;
    color: #fff;
    margin-bottom: 18px;
}

.mbx-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mbx-teams b {
    color: var(--gold);
    font-size: 22px;
}

.mbx-teams span {
    width: 38%;
    font-size: 14px;
}

.mbx-odds {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.mbx-odds span {
    flex: 1;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    color: var(--gold);
}

.mbx-logo-tile {
    min-width: 150px;
    height: 70px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 1000;
    transition: .25s var(--ease);
}

.mbx-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.mbx-game-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #0b1019;
    color: #fff;
    padding: 12px;
    text-align: left;
    transition: .25s var(--ease);
}

.mbx-game-card div {
    height: 220px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    text-align: center;
    color: rgba(255,255,255,.3);
    background: linear-gradient(135deg, #151b27, #070a10);
    font-weight: 1000;
}

.mbx-game-card h3 {
    margin: 12px 0 0;
}

.mbx-footer {
    padding: 36px;
    text-align: center;
    color: var(--muted);
}

.mbx-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: .2s;
}

.mbx-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.mbx-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -45%) scale(.96);
    width: min(420px, calc(100% - 34px));
    background: #111927;
    border: 1px solid rgba(240,200,75,.35);
    border-radius: 22px;
    padding: 28px;
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: .22s var(--ease);
    box-shadow: 0 24px 70px rgba(0,0,0,.55);
}

.mbx-modal.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.mbx-modal input,
.mbx-modal select {
    width: 100%;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,.06);
    color: #fff;
    padding: 0 12px;
    margin-bottom: 10px;
}

.mbx-close {
    position: absolute;
    right: 16px;
    top: 14px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 26px;
}

.mbx-link-btn {
    border: 0;
    background: transparent;
    color: var(--gold);
    font-weight: 900;
    margin-top: 12px;
    width: 100%;
}

@media (max-width: 1000px) {
    .mbx-nav-inner {
        gap: 18px;
        overflow-x: auto;
    }

    .mbx-game-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mbx-mega-panel {
        grid-template-columns: 1fr;
    }

    .mbx-mega-hot {
        display: none;
    }

    .mbx-hero-copy {
        width: 100%;
    }

    .mbx-hero-placeholder {
        display: none;
    }
}
