/* Header desktop estilo Betano — casino */
:root {
    --betano-header-bg: #0f3d2e;
    --betano-header-fg: #ffffff;
    --betano-btn-login-bg: #c4ff00;
    --betano-btn-login-fg: #1a1a1a;
    --betano-nav-active-bar: #ffffff;
}

body.casino-layout-7g {
    --header-height: 64px;
}

.casino-layout-7g .header.desktop-header.casino-betano-desktop-header {
    position: sticky;
    top: 0;
    left: auto;
    right: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    display: block !important;
    align-items: stretch;
    justify-content: flex-start;
    z-index: 2500;
}

.casino-betano-header {
    position: sticky;
    top: 0;
    z-index: 2500;
    background: var(--betano-header-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.casino-betano-header__nav {
    padding: 0 16px;
}

.casino-betano-header__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    gap: 8px 12px;
}

@media (min-width: 768px) {
    .casino-betano-header__row {
        min-height: 64px;
    }
}

.casino-betano-header__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    order: 0;
    flex: 0 0 auto;
}

.casino-betano-header__logo {
    position: relative;
    top: -2px;
    margin: 0;
    display: flex;
    align-items: center;
}

.casino-betano-header__logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding-right: 12px;
}

.casino-betano-header__logo-link--lg {
    display: none;
}

.casino-betano-header__logo-link--sm {
    display: flex;
}

@media (min-width: 768px) {
    .casino-betano-header__logo-link--lg {
        display: flex;
        min-width: 125px;
    }

    .casino-betano-header__logo-link--sm {
        display: none;
    }
}

.casino-betano-header__logo-img {
    display: block;
    height: auto;
    max-height: 48px;
    width: auto;
    max-width: 108px;
}

.casino-betano-header__logo-img--sm {
    max-width: initial;
    width: 30px;
    height: 40px;
    object-fit: contain;
}

.casino-betano-header__menu-btn {
    display: none;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border: 0;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    white-space: nowrap;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .casino-betano-header__menu-btn {
        display: inline-flex;
    }
}

.casino-betano-header__actions {
    order: 2;
    margin-left: auto;
}

.casino-betano-header__actions-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.casino-betano-header__icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.casino-betano-header__icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}

.casino-betano-header__icon-btn svg {
    display: block;
}

.casino-betano-header__auth {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}

.casino-betano-header__btn {
    white-space: nowrap;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 11px;
    line-height: 16px;
    text-align: center;
    border: 2px solid transparent;
    font-family: inherit;
}

.casino-betano-header__btn--register {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.casino-betano-header__btn--register:hover {
    background: rgba(255, 255, 255, 0.08);
}

.casino-betano-header__btn--login {
    background: var(--betano-btn-login-bg);
    border-color: transparent;
    color: var(--betano-btn-login-fg);
}

.casino-betano-header__btn--login:hover {
    filter: brightness(1.05);
}

.casino-betano-header__user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.casino-betano-header__balance {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 4px 4px 12px;
}

.casino-betano-header__balance-amount {
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

.casino-betano-header__btn-deposit {
    border: 0;
    border-radius: 999px;
    min-height: 30px;
    padding: 0 14px;
    background: #1ccf3a;
    color: #08210f;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
}

.casino-betano-header__account {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 4px;
}

.casino-betano-header__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.casino-betano-header__user-name {
    font-size: 11px;
    font-weight: 700;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.casino-betano-header__menu-dots {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.casino-betano-header__nav-menu {
    order: 1;
    display: none;
    width: 100%;
    justify-content: center;
    align-items: center;
}

@media (min-width: 992px) {
    .casino-betano-header__nav-menu {
        display: flex;
        width: auto;
        flex: 1 1 auto;
    }
}

.casino-betano-header__nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.casino-betano-header__nav-item {
    position: relative;
    list-style: none;
    margin: 0;
    display: flex;
    align-items: center;
}

.casino-betano-header__nav-item::after {
    content: '';
    width: 100%;
    height: 4px;
    border-radius: 4px 4px 0 0;
    position: absolute;
    bottom: 0;
    left: 0;
    background: transparent;
}

.casino-betano-header__nav-item.is-active::after {
    background: var(--betano-nav-active-bar);
}

.casino-betano-header__nav-link {
    box-sizing: border-box;
    border: 0;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.15s ease, background 0.15s ease;
    height: 64px;
    display: flex;
    align-items: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
    padding: 0 4px;
}

.casino-betano-header__nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.casino-betano-header__nav-item.is-active .casino-betano-header__nav-link {
    font-weight: 700;
    color: #fff;
}

@media (max-width: 991px) {
    .casino-betano-header__nav-menu.is-open {
        display: flex;
        order: 3;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 8px 0 4px;
    }

    .casino-betano-header__nav-menu.is-open .casino-betano-header__nav-list {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 4px 12px;
        width: 100%;
    }

    .casino-betano-header__nav-menu.is-open .casino-betano-header__nav-link {
        height: 40px;
        font-size: 12px;
    }
}

/* Mobile — casino Betano */
@media (max-width: 900px) {
    body.casino-layout-7g {
        --header-height: 48px;
    }

    .casino-betano-header {
        position: relative;
        top: auto;
    }

    .casino-betano-header__nav {
        padding: 0 10px;
    }

    .casino-betano-header__row {
        flex-wrap: nowrap;
        min-height: 48px;
        gap: 6px;
    }

    .casino-betano-header__brand {
        gap: 6px;
        min-width: 0;
    }

    .casino-betano-header__logo-link {
        padding-right: 0;
    }

    .casino-betano-header__menu-btn {
        display: none !important;
    }

    .casino-betano-header__nav-menu {
        display: none !important;
    }

    .casino-betano-header__actions {
        flex: 1 1 auto;
        min-width: 0;
    }

    .casino-betano-header__actions-inner {
        justify-content: flex-end;
        gap: 6px;
    }

    .casino-betano-header__icons {
        gap: 8px;
    }

    .casino-betano-header__icon-btn {
        width: 20px;
        height: 20px;
    }

    .casino-betano-header__icon-btn svg {
        width: 18px;
        height: 18px;
    }

    .casino-betano-header__auth {
        gap: 4px;
    }

    .casino-betano-header__btn {
        padding: 6px 8px;
        font-size: 10px;
        line-height: 14px;
    }

    .casino-betano-header__user {
        gap: 4px;
    }

    .casino-betano-header__balance {
        padding: 2px 2px 2px 8px;
        gap: 4px;
    }

    .casino-betano-header__balance-amount {
        font-size: 11px;
        max-width: 72px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .casino-betano-header__btn-deposit {
        min-height: 26px;
        padding: 0 10px;
        font-size: 10px;
    }

    .casino-betano-header__account {
        padding: 2px;
        border: 0;
        background: transparent;
    }

    .casino-betano-header__user-name {
        display: none;
    }

    .casino-betano-header__avatar {
        width: 28px;
        height: 28px;
    }

    .casino-betano-header__menu-dots {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 380px) {
    .casino-betano-header__icons .casino-betano-header__icon-btn:last-child {
        display: none;
    }

    .casino-betano-header__btn--register {
        padding: 6px;
    }
}

/* Sub-nav oculta no mobile Betano — conteúdo começa após header */
@media (max-width: 900px) {
    body.casino-layout-7g .MobileSubNav-module-scss-module__mt-qwq__content {
        display: none !important;
    }
}
