
body:has(.wrapper--homeRefresh) {
    overflow-x: clip;
    --bh-pm-catalog-page-bg: linear-gradient(180deg, #111b29 0%, #0a0e14 55%, #111b29 100%);
    background: var(--bh-pm-catalog-page-bg);
}

body:has(.wrapper--homeRefresh) .bgMain__img {
    display: none !important;
}

.wrapper--homeRefresh.catalogRootPage {
    padding: 0 0 72px;
    min-width: 0;
    background: transparent;
}

.wrapper--homeRefresh .pmPageMain {
    flex: 1 1 auto;
    width: 100%;
    padding: 22px 0 40px;
}

.wrapper--homeRefresh .pmPageContainer {
    max-width: var(--bh-home-container, 1370px);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.wrapper--homeRefresh .pmPageBlock {
    margin-top: 24px;
    padding: 24px 24px 22px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, #152238 0%, #0f1828 100%);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.wrapper--homeRefresh .pmPageBlock__title {
    margin: 0 0 8px;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.96);
}

.wrapper--homeRefresh .pmPageBlock__lead {
    margin: 0 0 18px;
    max-width: 72ch;
    font-size: 1.3rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.55);
}

.wrapper--homeRefresh .homeAboutBlock__social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.wrapper--homeRefresh .homeAboutBlock__social .setBtnSocnet {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wrapper--homeRefresh .homeAboutBlock__social a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.15rem;
    text-decoration: none;
}

.wrapper--homeRefresh .homeAboutBlock__social a:hover {
    border-color: rgba(254, 153, 0, 0.4);
    color: #fff;
}

.pmReviewsCarousel__toolbar.is-singlePage {
    display: none;
}

.pmReviewsCarousel__toolbar.is-cardStep {
    justify-content: space-between;
}

.pmPageSkip {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 10000;
    padding: 10px 16px;
    border-radius: 8px;
    background: #0b1220;
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
}

.pmPageSkip:focus {
    left: 12px;
    top: 12px;
    width: auto;
    height: auto;
    overflow: visible;
    outline: 2px solid #fe9900;
    outline-offset: 2px;
}

.homeAdvantagesSection__title {
    margin: 0 0 16px;
}

/**
 * Home page refresh (production).
 * Pair with catalog-root-refresh.css, bh-premium-cart-btn.css, home-promo-slider.css
 */

.wrapper--homeRefresh {
    --bh-home-container: 1370px;
    --bh-home-section-gap: 24px;
    /* Site default is content-box; without this, width:100% + padding overflows on mobile. */
    box-sizing: border-box;
}

.wrapper--homeRefresh *,
.wrapper--homeRefresh *::before,
.wrapper--homeRefresh *::after {
    box-sizing: border-box;
}

@media (min-width: 1600px) {
    .wrapper--homeRefresh {
        --bh-home-container: 1520px;
        --bh-home-section-gap: 28px;
    }
}

@media (min-width: 1920px) {
    .wrapper--homeRefresh {
        --bh-home-container: 1680px;
        --bh-home-section-gap: 32px;
    }
}

@media (min-width: 2560px) {
    .wrapper--homeRefresh {
        --bh-home-container: 1840px;
    }
}

.wrapper--homeRefresh .pmPageContainer {
    width: 100%;
    max-width: var(--bh-home-container);
    box-sizing: border-box;
}

/* Pills (shared; catalog-root-refresh.css only on variant A) */
.homeHero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.homeHero__meta .catalogRootPage__pill {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.35rem;
    line-height: 1.3;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Ultrawide ambient edges — content stays centered */
@media (min-width: 1920px) {
    .wrapper--homeRefresh {
        position: relative;
        isolation: isolate;
    }

    .wrapper--homeRefresh::before,
    .wrapper--homeRefresh::after {
        content: "";
        position: fixed;
        top: 0;
        bottom: 0;
        width: min(18vw, 360px);
        pointer-events: none;
        z-index: 0;
    }

    .wrapper--homeRefresh::before {
        left: 0;
        background: radial-gradient(ellipse 100% 70% at 0% 40%, rgba(56, 98, 168, 0.14), transparent 72%);
    }

    .wrapper--homeRefresh::after {
        right: 0;
        background: radial-gradient(ellipse 100% 70% at 100% 55%, rgba(254, 153, 0, 0.08), transparent 72%);
    }

    .wrapper--homeRefresh .pmPageMain {
        position: relative;
        z-index: 1;
    }
}

/* ========== Hero ========== */
.homeHero {
    display: grid;
    gap: 28px;
    margin-bottom: var(--bh-home-section-gap);
}

@media (min-width: 1180px) {
    .homeHero {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        align-items: center;
        gap: 36px 48px;
    }
}

@media (min-width: 1920px) {
    .homeHero {
        gap: 44px 64px;
    }
}

.homeHero__intro .pmPageHero__title {
    margin: 0 0 14px;
    font-size: clamp(2.8rem, 3.6vw, 4.6rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.homeHero__lead {
    margin: 0 0 20px;
    max-width: 52ch;
    font-size: clamp(1.35rem, 1.1vw + 1rem, 1.65rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.68);
}

.homeHero__meta {
    margin-bottom: 22px;
}

.homeHero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.homeHero__ctaPrimary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 14px;
    border: 1px solid rgba(254, 153, 0, 0.45);
    background: linear-gradient(180deg, rgba(254, 153, 0, 0.22) 0%, rgba(254, 153, 0, 0.08) 100%);
    box-shadow: 0 0 28px rgba(254, 153, 0, 0.12);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.homeHero__ctaPrimary:hover {
    transform: translateY(-2px);
    border-color: rgba(254, 153, 0, 0.65);
    box-shadow: 0 0 36px rgba(254, 153, 0, 0.2);
    color: #fff;
}

.homeHero__ctaGhost {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.28rem;
    font-weight: 600;
    text-decoration: none;
}

.homeHero__ctaGhost:hover {
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.homePromoSlider {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

@media (min-width: 1180px) {
    .homePromoSlider {
        max-width: none;
        margin: 0;
    }
}

.homePromoSlider__frame {
    position: relative;
    padding: 8px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02)),
        rgba(6, 11, 20, 0.44);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    max-width: 100%;
}

.homePromoSlider__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 18px;
    /* Keep off-screen slides from expanding page scrollWidth */
    max-width: 100%;
}

.homePromoSlider__viewport::-webkit-scrollbar {
    display: none;
}

.homePromoSlider__viewport:focus-visible {
    outline: 2px solid rgba(254, 153, 0, 0.5);
    outline-offset: 3px;
}

.homePromoSlider__track {
    display: flex;
    width: 100%;
}

.homePromoSlider__slide {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.homePromoSlider__controls {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(6, 10, 18, 0.58);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
}

.homePromoSlider__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.homePromoSlider__arrow:hover {
    background: rgba(254, 153, 0, 0.2);
    color: #fff;
}

.homePromoSlider__arrow:focus-visible {
    outline: 2px solid rgba(254, 153, 0, 0.55);
    outline-offset: 2px;
}

.homePromoSlider__arrowIcon {
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.homePromoSlider__arrow--prev .homePromoSlider__arrowIcon {
    transform: rotate(-135deg);
    margin-left: 2px;
}

.homePromoSlider__arrow--next .homePromoSlider__arrowIcon {
    transform: rotate(45deg);
    margin-right: 2px;
}

.homePromoSlider__dots {
    display: flex;
    align-items: center;
    gap: 5px;
}

.homePromoSlider__dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.homePromoSlider__dot:hover {
    background: rgba(254, 153, 0, 0.7);
}

.homePromoSlider__dot:focus-visible {
    outline: 2px solid rgba(254, 153, 0, 0.55);
    outline-offset: 2px;
}

.homePromoSlider__dot.is-active {
    background: #fe9900;
    width: 18px;
}

.homePromoSlider[data-home-promo-single="1"] .homePromoSlider__controls {
    display: none;
}

@media (max-width: 1023px) {
    .homePromoSlider__controls {
        top: auto;
        right: 16px;
        bottom: 16px;
    }
}

/* Spotlight card — one glass surface with background art and CTA */
.homePromoCard--spotlight {
    --home-promo-tint: 11, 18, 32;
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 292px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0d1524;
    color: #fff;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: border-color 0.22s ease, transform 0.22s ease;
}

.homePromoCard--spotlight:hover,
.homePromoCard--spotlight:focus-visible {
    border-color: rgba(254, 153, 0, 0.38);
    transform: translateY(-2px);
    color: #fff;
}

.homePromoCard--spotlight::before,
.homePromoCard--spotlight::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.homePromoCard--spotlight::before {
    z-index: 1;
    background:
        radial-gradient(circle at 76% 14%, rgba(254, 153, 0, 0.18), transparent 30%),
        linear-gradient(90deg, rgba(6, 10, 18, 0.86) 0%, rgba(6, 10, 18, 0.52) 48%, rgba(6, 10, 18, 0.1) 100%);
}

.homePromoCard--spotlight::after {
    z-index: 2;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(var(--home-promo-tint), 0.32) 58%,
        rgba(var(--home-promo-tint), 0.82) 100%
    );
    mix-blend-mode: normal;
}

.homePromoCard__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    display: block;
    transform: scale(1.01);
    transition: transform 0.45s ease;
}

.homePromoCard--spotlight:hover .homePromoCard__img,
.homePromoCard--spotlight:focus-visible .homePromoCard__img {
    transform: scale(1.045);
}

.homePromoCard__badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(254, 153, 0, 0.45);
    background: rgba(254, 153, 0, 0.14);
    color: #ffd08a;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
    backdrop-filter: blur(10px);
}

.homePromoCard__copy {
    position: relative;
    z-index: 3;
    width: min(72%, 390px);
    padding: 74px 22px 24px;
}

.homePromoCard__kicker {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.homePromoCard__title {
    margin: 0 0 8px;
    font-size: clamp(1.7rem, 1.2vw + 1.1rem, 2.28rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.homePromoCard__desc {
    margin: 0 0 16px;
    font-size: 1.35rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.homePromoCard__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffd08a;
    font-size: 1.14rem;
    font-weight: 800;
}

.homePromoCard__cta::after {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.homePromoCard--spotlight:hover .homePromoCard__cta::after,
.homePromoCard--spotlight:focus-visible .homePromoCard__cta::after {
    transform: translateX(3px) rotate(45deg);
}

@media (max-width: 1179px) {
    .homePromoCard--spotlight {
        min-height: 260px;
    }
}

@media (max-width: 520px) {
    .homePromoSlider__frame {
        padding: 6px;
        border-radius: 22px;
    }

    .homePromoCard--spotlight {
        min-height: 280px;
    }

    .homePromoCard--spotlight::before {
        background:
            radial-gradient(circle at 75% 14%, rgba(254, 153, 0, 0.2), transparent 35%),
            linear-gradient(180deg, rgba(6, 10, 18, 0.28) 0%, rgba(6, 10, 18, 0.92) 100%);
    }

    .homePromoCard__copy {
        width: 100%;
        padding: 88px 18px 54px;
    }

    .homePromoCard__title {
        font-size: 1.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .homePromoCard--spotlight,
    .homePromoCard__img {
        transition: none;
    }

    .homePromoCard--spotlight:hover,
    .homePromoCard--spotlight:focus-visible {
        transform: none;
    }

    .homePromoCard--spotlight:hover .homePromoCard__img,
    .homePromoCard--spotlight:focus-visible .homePromoCard__img {
        transform: none;
    }
}

/* Product promo uses gallery_2 inside hero */
.homeHero__promoProduct {
    margin: 0;
}

.homeHero__promoProduct.catalog-section--bhModern .gallery_2 {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0;
    max-width: none;
}

@media (min-width: 720px) {
    .homeHero__promoProduct.catalog-section--bhModern .gallery_2 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1920px) {
    .homeHero__promoProduct.catalog-section--bhModern .gallery_2 {
        gap: 18px;
    }
}

.homeHero__promoProduct .cardService__img {
    aspect-ratio: 16 / 10;
}

.homeHero__promoProduct .cardService__desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Grid cards inherit content-box from global CSS — pad/border extend outside grid rows */
.homeAdvantageCard,
.homeHowItWorks__step,
.homePromoCard--spotlight,
.homeFaqItem {
    box-sizing: border-box;
}

/* ========== Advantages (without pmPageBlock) ========== */
.homeAdvantagesSection {
    margin-top: var(--bh-home-section-gap);
    margin-bottom: var(--bh-home-section-gap);
    position: relative;
    z-index: 1;
}

.wrapper--homeRefresh .homeAdvantagesSection + .pmPageBlock {
    margin-top: var(--bh-home-section-gap);
    position: relative;
    z-index: 0;
}

.homeAdvantagesGrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 640px) {
    .homeAdvantagesGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .homeAdvantagesGrid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1920px) {
    .homeAdvantagesGrid {
        gap: 18px;
    }
}

.homeAdvantageCard {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    min-height: 100%;
    padding: 18px 18px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.22) 100%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.homeAdvantageCard__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 50% 42%, rgba(254, 153, 0, 0.18) 0%, rgba(254, 153, 0, 0.08) 72%);
    border: 1px solid rgba(254, 153, 0, 0.32);
    color: #fe9900;
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 0 20px rgba(254, 153, 0, 0.1);
}

.homeAdvantageCard__iconSvg {
    display: block;
    width: 24px;
    height: 24px;
    transform: translateY(-0.5px);
}

.homeAdvantageCard__title {
    margin: 0 0 6px;
    font-size: 1.38rem;
    font-weight: 800;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.95);
}

.homeAdvantageCard__desc {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.58);
}

.wrapper--homeRefresh .pmPageBlock--homeGames .catalogRootGrid__header,
.wrapper--homeRefresh .pmPageBlock--catalogRootGrid.homeGamesBlock .catalogRootGrid__header {
    margin-bottom: 20px;
    text-align: center;
}

.wrapper--homeRefresh .pmPageBlock--homeGames .catalogRootGrid__header .pmPageBlock__title,
.wrapper--homeRefresh .pmPageBlock--catalogRootGrid.homeGamesBlock .catalogRootGrid__header .pmPageBlock__title {
    margin-bottom: 0;
}

/* ========== Games (catalog root on home) ========== */
.wrapper--homeRefresh.catalogRootPage .homeGamesBlock .catalogRootGrid,
.wrapper--homeRefresh.catalogRootPage .pmPageBlock--catalogRootGrid .catalogRootGrid {
    justify-content: center;
}

/* Home mobile: compact 2-col game tiles (shared base in catalog-root-refresh.css) */
@media (max-width: 767px) {
    .wrapper--homeRefresh.catalogRootPage .homeGamesBlock .catalogRootGrid,
    .wrapper--homeRefresh.catalogRootPage .pmPageBlock--catalogRootGrid .catalogRootGrid {
        justify-content: stretch;
        gap: 10px;
    }
}

@media (min-width: 1600px) {
    .wrapper--homeRefresh.catalogRootPage .homeGamesBlock .catalogRootGrid,
    .wrapper--homeRefresh.catalogRootPage .pmPageBlock--catalogRootGrid .catalogRootGrid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 230px));
        gap: 20px;
    }
}

@media (min-width: 1920px) {
    .wrapper--homeRefresh.catalogRootPage .homeGamesBlock .catalogRootGrid,
    .wrapper--homeRefresh.catalogRootPage .pmPageBlock--catalogRootGrid .catalogRootGrid {
        grid-template-columns: repeat(6, minmax(200px, 240px));
        max-width: 1560px;
        margin-inline: auto;
    }
}

/* ========== How it works (sequential step highlight) ========== */
.homeHowItWorks.pmPageBlock {
    position: relative;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 40%),
        linear-gradient(168deg, rgba(28, 48, 78, 0.94) 0%, rgba(18, 30, 52, 0.97) 42%, rgba(11, 18, 32, 0.99) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 22px 48px rgba(0, 0, 0, 0.28);
}

.homeHowItWorks__head {
    margin-bottom: 20px;
    text-align: center;
}

.homeHowItWorks__head .pmPageBlock__title {
    margin-bottom: 8px;
}

.homeHowItWorks__lead {
    margin: 0 auto;
    max-width: 62ch;
    font-size: 1.32rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.58);
}

.homeHowItWorks__steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .homeHowItWorks__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (min-width: 1100px) {
    .homeHowItWorks__steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (min-width: 1920px) {
    .homeHowItWorks__steps {
        gap: 16px;
    }
}

.homeHowItWorks__step {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 100%;
    padding: 16px 16px 18px;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(0, 0, 0, 0.18);
    transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.homeHowItWorks__step.is-active {
    border-color: rgba(254, 153, 0, 0.45);
    background: rgba(254, 153, 0, 0.08);
    box-shadow: 0 0 28px rgba(254, 153, 0, 0.12);
}

.homeHowItWorks__step.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #fe9900, #ffd08a);
    border-radius: 0 2px 0 0;
    animation: homeHowStepProgress var(--home-how-step-ms, 5500ms) linear forwards;
}

.homeHowItWorks__step.is-active.is-paused::after {
    animation-play-state: paused;
}

@keyframes homeHowStepProgress {
    from { width: 0; }
    to { width: 100%; }
}

.homeHowItWorks__stepTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.homeHowItWorks__stepNum {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: rgba(254, 153, 0, 0.85);
    line-height: 1;
    flex-shrink: 0;
}

.homeHowItWorks__step.is-active .homeHowItWorks__stepNum {
    color: #ffd08a;
}

.homeHowItWorks__stepIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    flex-shrink: 0;
    border-radius: 14px;
    border: 1px solid rgba(254, 153, 0, 0.22);
    background: rgba(254, 153, 0, 0.08);
    color: rgba(254, 153, 0, 0.85);
    transition: border-color 0.35s ease, background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.homeHowItWorks__step.is-active .homeHowItWorks__stepIcon {
    border-color: rgba(254, 153, 0, 0.38);
    background: rgba(254, 153, 0, 0.14);
    color: #fe9900;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.homeHowItWorks__stepIcon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.homeHowItWorks__stepTitle {
    margin: 0;
    font-size: 1.32rem;
    font-weight: 800;
    line-height: 1.28;
    color: rgba(255, 255, 255, 0.96);
}

.homeHowItWorks__stepText {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 1100px) {
    .homeHowItWorks__step {
        padding: 18px 16px 20px;
    }

    .homeHowItWorks__stepTitle {
        font-size: 1.28rem;
    }

    .homeHowItWorks__stepText {
        font-size: 1.15rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .homeHowItWorks__step {
        transition: none;
    }

    .homeHowItWorks__step.is-active::after {
        animation: none;
        width: 100%;
    }
}

.homeHowItWorks__cta {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.homeHowItWorks__ctaBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 14px;
    border: 1px solid rgba(254, 153, 0, 0.45);
    background: linear-gradient(180deg, rgba(254, 153, 0, 0.22) 0%, rgba(254, 153, 0, 0.08) 100%);
    box-shadow: 0 0 28px rgba(254, 153, 0, 0.12);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.homeHowItWorks__ctaBtn:hover,
.homeHowItWorks__ctaBtn:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(254, 153, 0, 0.65);
    box-shadow: 0 0 36px rgba(254, 153, 0, 0.2);
    color: #fff;
    outline: none;
}

/* ========== About (homeAboutBlock — catalog prototype) ========== */
.pmPageBlock--homeAbout.homeAboutBlock {
    padding: 28px 26px 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 42%),
        linear-gradient(168deg, rgba(22, 36, 58, 0.96) 0%, rgba(12, 20, 34, 0.99) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 44px rgba(0, 0, 0, 0.26);
}

.homeAboutBlock__layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    width: 100%;
}

@media (min-width: 900px) {
    .homeAboutBlock__layout {
        flex-direction: row;
        align-items: center;
        gap: 44px 56px;
    }
}

@media (min-width: 1920px) {
    .homeAboutBlock__layout {
        gap: 52px 72px;
    }

    .homeAboutBlock__visual {
        width: 260px;
    }

    .homeAboutBlock__logoRing {
        width: 260px;
    }
}

.homeAboutBlock__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 0 0 auto;
    width: 100%;
    max-width: 260px;
    margin-inline: auto;
}

@media (min-width: 900px) {
    .homeAboutBlock__visual {
        width: 220px;
        max-width: none;
        margin-inline: 0;
        align-self: center;
    }
}

.homeAboutBlock__logoRing {
    width: min(100%, 260px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    padding: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 50% 38%, rgba(83, 126, 191, 0.22), transparent 58%),
        rgba(0, 0, 0, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 14px 32px rgba(0, 0, 0, 0.22);
}

.homeAboutBlock__logoRing img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.homeAboutBlock__est {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 208, 138, 0.88);
}

.homeAboutBlock__body {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.homeAboutBlock__title {
    margin: 0 0 10px;
    font-size: clamp(2rem, 2.4vw, 2.45rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: rgba(255, 255, 255, 0.97);
}

.homeAboutBlock__lead {
    margin: 0 0 14px;
    max-width: none;
    font-size: 1.38rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.68);
}

.homeAboutBlock__copy {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.homeAboutBlock__copy p {
    margin: 0;
    font-size: 1.32rem;
    line-height: 1.62;
    color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 899px) {
    .pmPageBlock--homeAbout.homeAboutBlock {
        padding: 22px 18px 20px;
    }

    .homeAboutBlock__visual {
        margin-bottom: 4px;
    }

    .homeAboutBlock__logoRing {
        width: min(72vw, 220px);
    }
}

/* ========== FAQ ========== */
.homeFaqList {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.homeFaqItem {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.homeFaqItem summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    list-style: none;
}

.homeFaqItem summary::-webkit-details-marker {
    display: none;
}

.homeFaqItem summary::after {
    content: "+";
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(254, 153, 0, 0.12);
    border: 1px solid rgba(254, 153, 0, 0.28);
    color: #ffb347;
    font-size: 1.4rem;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.homeFaqItem[open] summary::after {
    content: "−";
}

.homeFaqItem__answer {
    padding: 0 18px 16px;
    font-size: 1.28rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.65);
}

/* Section spacing */
.wrapper--homeRefresh .pmPageBlock + .pmPageBlock,
.wrapper--homeRefresh .homeHero + .pmPageBlock,
.wrapper--homeRefresh .homeAdvantagesSection + .pmPageBlock,
.wrapper--homeRefresh .homeHowItWorks + .bhPmReviewsHost {
    margin-top: var(--bh-home-section-gap);
}

.wrapper--homeRefresh .homeHowItWorks + .bhPmReviewsHost {
    position: relative;
    z-index: 0;
}

.wrapper--homeRefresh .pmPageBlock--homeGames,
.wrapper--homeRefresh .pmPageBlock--catalogRootGrid,
.wrapper--homeRefresh .pmPageBlock--homePromoStandalone {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, transparent 38%),
        linear-gradient(168deg, rgba(28, 48, 78, 0.94) 0%, rgba(18, 30, 52, 0.97) 42%, rgba(11, 18, 32, 0.99) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 22px 48px rgba(0, 0, 0, 0.28);
}

@media (max-width: 767px) {
    .homeHero__intro .pmPageHero__title {
        font-size: clamp(2.35rem, 8vw, 3.2rem);
    }

    .homeHero__lead {
        font-size: 1.35rem;
    }

    .homeHero__actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .homeHero__ctaPrimary,
    .homeHero__ctaGhost {
        justify-content: center;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .homePromoSlider,
    .homePromoSlider__frame,
    .homeHero,
    .homeHero__intro {
        max-width: 100%;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .homePromoCard:hover,
    .homeHero__ctaPrimary:hover {
        transform: none;
    }
}

/* ========== Home reviews: layout in catalog-pm-reviews-carousel.css + JS metrics ========== */
.bhPmReviewsHost--home.bhPmReviewsHost.pmPageBlock {
    margin-top: var(--bh-home-section-gap);
}

/* ========== Header — home refresh (aligned with page blocks, not prototype clone) ========== */
.wrapper--homeRefresh .header {
    position: sticky;
    top: 0;
    z-index: 100;
    margin: 0 auto;
    padding: 22px 50px 20px;
    border-bottom: none;
    background: transparent;
    isolation: isolate;
}

.wrapper--homeRefresh .header::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    background: linear-gradient(180deg, rgba(21, 34, 56, 0.96) 0%, rgba(15, 24, 40, 0.94) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.wrapper--homeRefresh .header::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 0;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

@media (max-width: 767px) {
    .wrapper--homeRefresh .header {
        padding: 16px 20px 14px;
    }

    /*
     * main.css sets .dashboard__signup { min-width: 138px } globally,
     * then only shrinks width to 30px on mobile — min-width wins and
     * the icon button overflows the right edge (~60px).
     */
    .wrapper--homeRefresh .dashboard__signup,
    .wrapper--homeRefresh .dashboard__signup_new {
        min-width: 0;
        width: 30px;
        max-width: 30px;
        padding: 0;
    }

    .wrapper--homeRefresh .homePromoSlider__viewport {
        overflow-x: auto;
        overscroll-behavior-x: contain;
    }

    .wrapper--homeRefresh .homePromoSlider__frame {
        overflow: hidden;
    }
}

.wrapper--homeRefresh .header__block_1,
.wrapper--homeRefresh .header__block_2,
.wrapper--homeRefresh .header__block_3 {
    position: relative;
    z-index: 1;
}

/* Mobile drawer styles: assets/css/mob-menu.css (injected site-wide via OnEndBufferContent). */

/* ========== Mobile sticky catalog CTA ========== */
.homeStickyCta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9000;
    display: none;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 10, 18, 0.88) 38%, rgba(6, 10, 18, 0.96) 100%);
}

.homeStickyCta.is-visible {
    display: block;
}

.homeStickyCta__btn {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 14px;
    border: 1px solid rgba(254, 153, 0, 0.45);
    background: linear-gradient(180deg, rgba(254, 153, 0, 0.28) 0%, rgba(254, 153, 0, 0.12) 100%);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 24px rgba(254, 153, 0, 0.14);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
}

.homeStickyCta__btn:hover,
.homeStickyCta__btn:focus-visible {
    color: #fff;
    border-color: rgba(254, 153, 0, 0.65);
    outline: 2px solid rgba(254, 153, 0, 0.45);
    outline-offset: 2px;
}

@media (min-width: 768px) {
    .homeStickyCta {
        display: none !important;
    }
}

/* Lift “back to top” above the sticky catalog CTA (same bottom-left corner otherwise) */
@media (max-width: 767px) {
    body.bh-home-sticky-cta #topcontrol {
        bottom: calc(12px + 52px + 12px + env(safe-area-inset-bottom, 0px) + 8px) !important;
        left: 12px !important;
        z-index: 9001;
    }

    body.bh-home-sticky-cta #topcontrol img {
        width: 40px !important;
        height: 40px !important;
        opacity: 0.85;
    }
}

/* ========== Footer — home page spacing only ========== */
.wrapper--homeRefresh .sectionFooter {
    margin-top: var(--bh-home-section-gap);
}

.wrapper--homeRefresh .footer .payment {
    max-width: var(--bh-home-container);
}

.wrapper--homeRefresh .footer_cont_2__boxs {
    max-width: var(--bh-home-container);
}

@media (max-width: 767px) {
    .wrapper--homeRefresh .footer .payment {
        padding-inline: 16px;
    }
}
