.brbetano-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #060e10;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

.brbetano-hero::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgb(3 10 12 / 30%), rgb(3 10 12 / 8%) 48%, transparent 68%);
    content: "";
}

.brbetano-hero-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 80%;
}

.brbetano-hero-inner {
    display: flex;
    min-height: clamp(340px, 23vw, 400px);
    align-items: center;
    padding-block: 28px;
}

.brbetano-hero-content {
    width: 56%;
    max-width: 840px;
}

.brbetano-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: #ff702f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.brbetano-hero-eyebrow::before {
    width: 20px;
    height: 2px;
    flex-shrink: 0;
    border-radius: 1px;
    background: currentColor;
    content: "";
}

.brbetano-hero-title {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(36px, 3.8vw, 64px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.02;
}

.brbetano-hero-title span {
    display: block;
}

.brbetano-hero-description {
    margin: 12px 0 18px;
    color: #cbd3d5;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.45;
}

.brbetano-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.brbetano-hero-button {
    display: inline-flex;
    width: 232px;
    max-width: 100%;
    flex-shrink: 0;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 20px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #12ad79, #008b59);
    box-shadow: 0 6px 20px rgb(0 139 89 / 20%), inset 0 1px rgb(255 255 255 / 14%);
    color: #ffffff;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    cursor: pointer;
    transition: box-shadow 160ms ease;
}

.brbetano-hero-button svg {
    width: 20px;
    height: auto;
    flex-shrink: 0;
    transition: transform 160ms ease;
}

.brbetano-hero-button:hover {
    background: linear-gradient(180deg, #18bd86, #009b64);
    box-shadow: 0 8px 24px rgb(0 139 89 / 30%), inset 0 1px rgb(255 255 255 / 20%);
}

.brbetano-hero-button:hover svg {
    transform: translateX(3px);
}

.brbetano-hero-button:focus-visible {
    outline-color: #ffffff;
}

.brbetano-hero-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    color: #c4ccce;
    font-size: 13px;
    line-height: 1.3;
}

.brbetano-hero-details span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brbetano-hero-details span + span::before {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #ff702f;
    content: "";
}

.brbetano-hero-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 0;
    color: #adb9bd;
    font-size: 11px;
    line-height: 1.4;
}

.brbetano-hero-age {
    flex-shrink: 0;
    padding: 2px 4px;
    border: 1px solid rgb(173 185 189 / 45%);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.brbetano-bonuses {
    padding-block: 20px;
    border-bottom: 1px solid var(--brbetano-color-border);
    background: var(--brbetano-color-surface);
}

.brbetano-hero + .brbetano-bonuses {
    position: relative;
    z-index: 1;
    margin-top: -16px;
    padding-top: 32px;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -8px 24px rgb(0 0 0 / 10%);
}

.brbetano-hero + .brbetano-bonuses::before {
    position: absolute;
    top: 0;
    left: max(var(--brbetano-container-gutter), calc((100% - var(--brbetano-container-width)) / 2));
    width: 72px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--brbetano-color-primary), #ffad70);
    content: "";
    pointer-events: none;
}

.brbetano-bonuses-header {
    display: flex;
    min-height: 28px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.brbetano-bonuses-copy {
    min-width: 0;
}

.brbetano-bonuses-title {
    margin: 0;
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.brbetano-bonuses-intro {
    max-width: 850px;
    margin: 6px 0 0;
    color: var(--brbetano-color-muted);
    font-size: 14px;
    line-height: 1.55;
}

.brbetano-bonuses-controls,
.brbetano-markets-controls {
    display: flex;
    flex-shrink: 0;
    gap: 6px;
}

.brbetano-bonuses-controls[hidden],
.brbetano-markets-controls[hidden] {
    display: none;
}

.brbetano-bonuses-control,
.brbetano-markets-control {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--brbetano-color-border);
    border-radius: 50%;
    background: var(--brbetano-color-surface);
    color: var(--brbetano-color-text);
    cursor: pointer;
}

.brbetano-bonuses-control:hover:not(:disabled),
.brbetano-markets-control:hover:not(:disabled) {
    border-color: var(--brbetano-color-primary);
    color: var(--brbetano-color-primary);
}

.brbetano-bonuses-control:disabled,
.brbetano-markets-control:disabled {
    cursor: default;
    opacity: 0.35;
}

.brbetano-bonuses-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    margin: 0;
    padding: 3px 0 5px;
    list-style: none;
}

.brbetano-bonuses-list::-webkit-scrollbar {
    display: none;
}

.brbetano-bonuses-list:focus-visible {
    outline-offset: 2px;
}

.brbetano-bonus-item {
    width: 96px;
    height: 140px;
    flex: 1 0 96px;
    scroll-snap-align: start;
}

.brbetano-bonus-item-wide {
    width: 200px;
    flex: 2 0 200px;
}

.brbetano-bonus-card {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: #101222;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    text-align: left;
    cursor: pointer;
}

.brbetano-bonus-card::after {
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(180deg, transparent, rgb(5 8 16 / 45%) 55%, rgb(5 8 16 / 95%));
    content: "";
}

.brbetano-bonus-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brbetano-bonus-mark {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 1;
    display: flex;
    width: 21px;
    height: 21px;
    align-items: center;
    justify-content: center;
    border: 1px solid #ff702f;
    border-radius: 50%;
    background: #17202b;
}

.brbetano-bonus-mark img {
    display: block;
    width: 14px;
    height: 14px;
}

.brbetano-bonus-title {
    position: absolute;
    right: 7px;
    bottom: 8px;
    left: 7px;
    z-index: 1;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 1px 3px rgb(0 0 0 / 45%);
}

.brbetano-bonus-card:hover,
.brbetano-bonus-card:focus-visible {
    box-shadow: inset 0 0 0 2px var(--brbetano-color-primary);
    outline: 2px solid var(--brbetano-color-primary);
    outline-offset: 1px;
}

.brbetano-markets {
    padding-block: 28px;
    background: var(--brbetano-color-background);
}

.brbetano-markets-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.brbetano-markets-copy {
    min-width: 0;
}

.brbetano-markets-title {
    margin: 0;
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.brbetano-markets-intro {
    margin: 6px 0 0;
    color: var(--brbetano-color-muted);
    font-size: 14px;
    line-height: 1.55;
}

.brbetano-markets-list {
    display: flex;
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    margin: 0;
    padding: 3px 0 5px;
    list-style: none;
}

.brbetano-markets-list::-webkit-scrollbar {
    display: none;
}

.brbetano-market-card {
    display: flex;
    min-width: 0;
    flex: 1 0 194px;
    flex-direction: column;
    padding: 12px;
    border: 1px solid var(--brbetano-color-border);
    border-radius: 10px;
    background: var(--brbetano-color-surface);
    scroll-snap-align: start;
}

.brbetano-market-top {
    display: flex;
    min-height: 32px;
    align-items: center;
    gap: 7px;
}

.brbetano-market-icon {
    display: block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.brbetano-market-sport {
    min-width: 0;
    flex: 1;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.25;
}

.brbetano-market-season {
    flex-shrink: 0;
    padding: 3px 5px;
    border-radius: 5px;
    background: #fff0e7;
    color: #9c350d;
    font-size: 10px;
    line-height: 1.2;
    white-space: nowrap;
}

.brbetano-market-competition {
    min-height: 2.6em;
    margin: 12px 0 0;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.3;
}

.brbetano-market-question {
    margin: 8px 0;
    color: var(--brbetano-color-muted);
    font-size: 11px;
    line-height: 1.4;
}

.brbetano-market-selections {
    display: grid;
    gap: 6px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.brbetano-market-choice {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 8px;
    border: 1px solid #e7ebee;
    border-radius: 7px;
    background: #f7f9fa;
    color: var(--brbetano-color-text);
    font: inherit;
    font-size: 12px;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

.brbetano-market-name {
    min-width: 0;
}

.brbetano-market-odd {
    min-width: 43px;
    flex-shrink: 0;
    padding: 4px 5px;
    border-radius: 5px;
    background: #e7f5ed;
    color: #12653e;
    font-size: 13px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    text-align: center;
    white-space: nowrap;
}

.brbetano-market-choice:hover {
    border-color: #75b698;
    background: #f0faf5;
}

.brbetano-market-more {
    display: flex;
    width: 100%;
    min-height: 32px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding: 10px 0 0;
    border: 0;
    border-top: 1px solid var(--brbetano-color-border);
    background: transparent;
    color: #a83a11;
    font: inherit;
    font-size: 11px;
    font-weight: 650;
    text-align: left;
    cursor: pointer;
}

.brbetano-market-more:hover {
    color: var(--brbetano-color-primary);
}

.brbetano-market-more svg {
    flex-shrink: 0;
}

.brbetano-games {
    padding-block: 24px 32px;
    border-top: 1px solid var(--brbetano-color-border);
    background: var(--brbetano-color-surface);
}

.brbetano-games-title {
    margin: 0;
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.brbetano-games-intro {
    margin: 6px 0 16px;
    color: var(--brbetano-color-muted);
    font-size: 14px;
    line-height: 1.55;
}

.brbetano-games-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.brbetano-game-item {
    min-width: 0;
}

.brbetano-game-card {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    gap: 6px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--brbetano-color-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.brbetano-game-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 340 / 191;
    border-radius: 8px;
    object-fit: cover;
}

.brbetano-game-name {
    font-size: 12px;
    font-weight: 550;
    line-height: 1.4;
}

.brbetano-game-card:hover .brbetano-game-name {
    color: #a83a11;
}

@media (max-width: 1023px) {
    .brbetano-games-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .brbetano-games {
        padding-block: 20px 24px;
    }

    .brbetano-games-title {
        font-size: 20px;
    }

    .brbetano-games-intro {
        margin-bottom: 14px;
        font-size: 13px;
    }

    .brbetano-games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
    }
}

@media (max-width: 600px) {
    .brbetano-hero::after {
        background: linear-gradient(90deg, rgb(3 10 12 / 90%), rgb(3 10 12 / 45%));
    }

    .brbetano-hero-image {
        object-position: 68% bottom;
    }

    .brbetano-hero-inner {
        min-height: 320px;
        padding-block: 24px;
    }

    .brbetano-hero-content {
        width: 100%;
        text-align: center;
    }

    .brbetano-hero-eyebrow {
        justify-content: center;
        font-size: 12px;
    }

    .brbetano-hero-title {
        font-size: clamp(26px, 8.6vw, 46px);
    }

    .brbetano-hero-description {
        max-width: 100%;
        margin-inline: auto;
        margin-bottom: 12px;
        font-size: clamp(15px, 3vw, 17px);
    }

    .brbetano-hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .brbetano-hero-button {
        width: clamp(220px, 72vw, 340px);
        justify-content: center;
        gap: 12px;
        padding-inline: 16px;
        font-size: clamp(13px, 3.8vw, 16px);
        white-space: nowrap;
    }

    .brbetano-hero-button > span {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .brbetano-hero-details {
        justify-content: center;
        font-size: 13px;
    }

    .brbetano-hero-note {
        justify-content: center;
        margin-top: 16px;
    }

    .brbetano-bonuses {
        padding-block: 16px;
    }

    .brbetano-hero + .brbetano-bonuses {
        margin-top: -12px;
        padding-top: 26px;
        border-radius: 18px 18px 0 0;
    }

    .brbetano-bonuses-title {
        font-size: 20px;
    }

    .brbetano-bonuses-intro {
        font-size: 13px;
    }

    .brbetano-bonus-item {
        width: 80px;
        height: 118px;
        flex-basis: 80px;
    }

    .brbetano-bonus-item-wide {
        width: 168px;
        flex-basis: 168px;
    }

    .brbetano-markets {
        padding-bottom: 22px;
    }

    .brbetano-markets-title {
        font-size: 20px;
    }

    .brbetano-markets-intro {
        font-size: 13px;
    }

    .brbetano-markets-list {
        gap: 10px;
    }

    .brbetano-market-card {
        flex: 0 0 240px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .brbetano-hero-button,
    .brbetano-hero-button svg {
        transition: none;
    }

    .brbetano-hero-button:hover svg {
        transform: none;
    }
}
