/* Fleep Home — clean markup from Figma (1920 / home / not logged) */

body.fleep-ui #pageHome {
    background: transparent;
}

body.fleep-ui #guestView,
body.fleep-ui #lobbyView {
    display: block;
    width: 100%;
}

.fleep-home {
    width: 100%;
    color: #fff;
}

.fleep-home__inner {
    max-width: var(--fleep-content-max, 1560px);
    margin: 0 auto;
    padding: 40px var(--fleep-content-pad, 60px) 80px;
    display: flex;
    flex-direction: column;
    gap: 80px;
    box-sizing: border-box;
}

/* .casino-main already has horizontal padding — avoid double inset vs footer */
@media (min-width: 768px) {
    body.fleep-ui .casino-main .fleep-home__inner {
        padding-left: 0;
        padding-right: 0;
    }
}

/* --- Slider b --- */
.fleep-slider-b {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.fleep-slider-b__rail.home-desktop-dual-promo {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    min-height: 0;
}

@media (min-width: 768px) {
    .fleep-slider-b__rail.home-desktop-dual-promo {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        min-height: 306px;
    }
}

/* Figma Slider b — static promo cards */
.fleep-promo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 306px;
    height: 306px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    box-sizing: border-box;
}

.fleep-promo-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fleep-promo-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(29, 30, 32, 0.7) 0%, rgba(29, 30, 32, 0) 70%);
    pointer-events: none;
}

.fleep-promo-card__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    height: 100%;
    padding: 28px 40px;
    box-sizing: border-box;
    max-width: 420px;
}

.fleep-promo-card__label {
    margin: 0;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
}

.fleep-promo-card__copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fleep-promo-card__title {
    margin: 0;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    color: #fff;
}

.fleep-promo-card__desc {
    margin: 0;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    color: #fff;
}

.fleep-promo-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
}

.fleep-promo-card__link:hover {
    opacity: 0.9;
}

.fleep-promo-card--brand .fleep-promo-card__shade {
    background: linear-gradient(90deg, rgba(29, 30, 32, 0.55) 0%, rgba(29, 30, 32, 0) 65%);
}

body.fleep-ui .home-desktop-dual-promo .home-mini-promo--fleep-dual {
    min-height: 306px !important;
    height: 306px !important;
    border-radius: 8px !important;
}

body.fleep-ui .home-desktop-dual-promo .home-mini-promo--fleep-dual .home-mini-promo-viewport,
body.fleep-ui .home-desktop-dual-promo .home-mini-promo--fleep-dual .home-mini-promo-track,
body.fleep-ui .home-desktop-dual-promo .home-mini-promo--fleep-dual .home-mini-promo-slide {
    min-height: 306px !important;
    height: 306px !important;
    border-radius: 8px !important;
}

body.fleep-ui .home-desktop-dual-promo .home-mini-promo--fleep-dual .home-mini-promo-slide-grid {
    min-height: 306px !important;
    padding: 28px 40px !important;
    box-sizing: border-box;
}

body.fleep-ui .home-desktop-dual-promo .home-mini-promo--fleep-dual .home-mini-promo-title {
    font-size: 28px !important;
    line-height: 36px !important;
}

body.fleep-ui .home-desktop-dual-promo .home-mini-promo--fleep-dual .home-mini-promo-text {
    font-size: 16px !important;
    line-height: 28px !important;
    color: #fff !important;
}

body.fleep-ui .home-desktop-dual-promo .home-mini-promo--fleep-dual .home-mini-promo-cta {
    background: transparent !important;
    color: #fff !important;
    padding: 0 !important;
    min-height: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
}

.fleep-slider-b__rail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    min-height: 0;
}

@media (min-width: 768px) {
    .fleep-slider-b__rail:not(.home-desktop-dual-promo) {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        min-height: 306px;
    }
}

.fleep-slider-b__pager {
    display: none;
    width: auto;
    max-width: 100%;
    height: auto;
    gap: 6px;
}

.fleep-slider-b__dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
}

.fleep-slider-b__dot.is-active {
    background: #fff;
    width: 16px;
    border-radius: 999px;
}

.fleep-quick-promos {
    display: none;
}

/* --- Game categories a --- */
.fleep-categories-a {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.fleep-categories-a__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.fleep-categories-a__title {
    margin: 0;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 32px;
    font-weight: 700;
    line-height: 44px;
    color: #AEB4BA;
}

.fleep-categories-a__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.fleep-categories-a__providers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 12px;
    border: none;
    border-radius: 8px;
    background: #262628;
    color: #fff;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
}

.fleep-categories-a__providers-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.fleep-categories-a__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 22px;
    padding: 0 8px;
    border-radius: 11px;
    background: #383C41;
    font-size: 11px;
    font-weight: 600;
    color: #AEB4BA;
}

.fleep-categories-a__nav {
    display: inline-flex;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    background: #262628;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
}

.fleep-categories-a__nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: #262628;
    cursor: pointer;
    padding: 0;
}

.fleep-categories-a__nav-btn + .fleep-categories-a__nav-btn {
    border-left: 1px solid #383C41;
}

.fleep-categories-a__track-wrap {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.fleep-categories-a__track-wrap::-webkit-scrollbar {
    display: none;
}

.fleep-categories-a__track {
    display: flex;
    gap: 20px;
    padding-bottom: 4px;
}

.fleep-cat-item {
    flex: 0 0 138px;
    width: 138px;
    height: 108px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 12px;
    border-radius: 8px;
    background: #1D1E20;
    color: #AEB4BA;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    transition: background 0.15s, color 0.15s;
}

.fleep-cat-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.fleep-cat-item:hover,
.fleep-cat-item.is-active {
    background: #383D43;
    color: #fff;
}

/* --- Section heads --- */
.fleep-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 40px;
}

.fleep-section-head--lg .fleep-section-head__title {
    font-size: 44px;
    line-height: 56px;
}

.fleep-section-head__title {
    margin: 0;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    color: var(--fleep-text, #fff);
    letter-spacing: 0;
}

body.fleep-ui .fleep-game-group-b .fleep-section-head--lg .fleep-section-head__title {
    font-size: 32px;
    line-height: 44px;
    font-weight: 700;
    color: #AEB4BA;
}

.fleep-section-head__actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

.fleep-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
}

.fleep-btn--outline {
    background: var(--fleep-panel-bg, #262628);
    color: var(--fleep-text-muted, #9AA0A6);
}

body.fleep-ui #pageHome a.fleep-btn.home-all-games-link,
body.fleep-ui #guestView a.fleep-btn.home-all-games-link,
body.fleep-ui #lobbyView a.fleep-btn.home-all-games-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 40px;
    height: 40px;
    padding: 0 16px;
    border-radius: var(--fleep-radius, 8px);
    background: var(--fleep-panel-bg, #262628) !important;
    color: var(--fleep-text-muted, #9AA0A6) !important;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: var(--fleep-shadow-btn, 0 4px 4px rgba(0, 0, 0, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    flex-shrink: 0;
}

body.fleep-ui #pageHome a.fleep-btn.home-all-games-link:hover,
body.fleep-ui #guestView a.fleep-btn.home-all-games-link:hover,
body.fleep-ui #lobbyView a.fleep-btn.home-all-games-link:hover {
    background: var(--fleep-panel-hover, #2e3034) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
}

.fleep-strip-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.fleep-strip-nav-btn,
body.fleep-ui .home-strip-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: var(--fleep-radius, 8px) !important;
    background: var(--fleep-panel-bg, #262628) !important;
    color: var(--fleep-text-muted, #83898E) !important;
    box-shadow: var(--fleep-shadow-btn, 0 4px 4px rgba(0, 0, 0, 0.15)) !important;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1 !important;
    transform: none !important;
}

/* Dune casino-surface-polish рисует ::after-стрелки поверх SVG — убираем дубли */
body.fleep-ui .fleep-strip-nav-btn::after,
body.fleep-ui .home-strip-nav-btn::after {
    content: none !important;
    display: none !important;
}

.fleep-strip-nav-btn:hover,
body.fleep-ui .home-strip-nav-btn:hover {
    background: var(--fleep-panel-hover, #2e3034) !important;
    color: var(--fleep-text, #fff) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    transform: none !important;
}

.fleep-strip-nav-btn svg {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
    pointer-events: none;
}

.fleep-btn--primary {
    background: #D91000;
    color: #fff;
}

/* --- Game group d (mosaic grid) --- */
.fleep-game-group-d {
    width: 100%;
}

.fleep-mosaic {
    display: grid;
    width: 100%;
}

body.fleep-ui .fleep-mosaic.home-slots-grid.games-grid--pinko {
    gap: 10px !important;
    grid-auto-rows: auto !important;
}

@media (min-width: 768px) {
    body.fleep-ui .fleep-mosaic.home-slots-grid.games-grid--pinko {
        grid-template-columns: repeat(var(--icons-per-row, 12), minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    body.fleep-ui .fleep-mosaic .game-card--grid .game-card-img,
    body.fleep-ui .fleep-mosaic .game-card--pinko .game-card-img {
        aspect-ratio: 3 / 4;
        width: 100%;
        min-height: 0;
    }
}

.fleep-games-hint {
    margin: 16px 0 0;
    text-align: center;
    font-size: 14px;
    color: #83898E;
}

/* --- Game group b (horizontal strips) --- */
.fleep-game-group-b {
    width: 100%;
}

.fleep-game-group-b .fleep-section-head {
    margin-bottom: 32px;
}

.fleep-strip-row {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    max-width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

@media (min-width: 768px) {
  body.fleep-ui .fleep-strip-row,
  body.fleep-ui .home-stories-row,
  body.fleep-ui .home-catalog-tabs,
  body.fleep-ui .catalog-tabs-scroll,
  body.fleep-ui .home-games-strip-wrap {
    overscroll-behavior: auto !important;
    touch-action: auto !important;
  }
}

.fleep-strip-row::-webkit-scrollbar {
    display: none;
}

.fleep-strip-row__track,
.fleep-strip-row > .home-games-strip.fleep-strip-row__track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: max-content;
    min-width: 100%;
    gap: 10px;
    min-height: 0;
    padding-bottom: 4px;
    box-sizing: border-box;
}

body.fleep-ui .fleep-strip-row__track .game-card,
body.fleep-ui .fleep-strip-row__track .slot-card {
    flex: 0 0 auto;
    width: min(88px, 20vw);
    max-width: 88px;
    height: auto !important;
    min-height: 0;
    border-radius: 8px !important;
    overflow: hidden;
    border: none !important;
    background: #1D1E20 !important;
}

body.fleep-ui .fleep-strip-row__track {
    min-height: 0;
    gap: 10px;
}

body.fleep-ui .fleep-strip-row__track .game-card-img-wrap,
body.fleep-ui .fleep-strip-row__track .game-card-inner--thumb {
    height: 100%;
}

/* --- Carousel a --- */
.fleep-carousel-a {
    width: 100%;
    min-height: 214px;
    border-radius: 8px;
    background: #1D1E20;
    padding: 32px;
    box-sizing: border-box;
}

.fleep-carousel-a__title {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.fleep-carousel-a__desc {
    margin: 0 0 16px;
    color: #AEB4BA;
    font-size: 14px;
}

/* --- Content block a --- */
.fleep-content-a {
    width: 100%;
    padding: 40px;
    border-radius: 8px;
    background: #1D1E20;
    box-sizing: border-box;
}

.fleep-content-a__title {
    margin: 0 0 24px;
    font-size: 32px;
    font-weight: 700;
    line-height: 44px;
    color: #fff;
}

.fleep-content-a__body {
    font-size: 16px;
    line-height: 28px;
    color: #AEB4BA;
}

/* --- Payment methods a --- */
.fleep-payments-a {
    width: 100%;
}

.fleep-payments-a__title {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: var(--fleep-text, #fff);
}

.fleep-payments-a__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fleep-payments-a__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: var(--fleep-radius-ui, 10px);
    border: none;
    background: var(--fleep-panel-bg, #262628);
    box-shadow: var(--fleep-shadow-btn, 0 4px 4px rgba(0, 0, 0, 0.15));
    color: var(--fleep-link, #AEB4BA);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* --- Footer a --- */
.fleep-footer-a {
    width: 100%;
    padding-top: 40px;
    border-top: 1px solid #383C41;
}

.fleep-footer-a__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.fleep-footer-a__col h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.fleep-footer-a__col a {
    display: block;
    margin-bottom: 8px;
    color: #AEB4BA;
    font-size: 14px;
    text-decoration: none;
}

.fleep-footer-a__col a:hover {
    color: #fff;
}

.fleep-footer-a__bottom {
    padding-top: 24px;
    border-top: 1px solid #383C41;
    font-size: 12px;
    color: #83898E;
}

/* Reset Dune home overrides inside new shell (not Fleep section heads / fleep-btn links) */
body.fleep-ui #pageHome .home-games-block-head {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

body.fleep-ui #pageHome .home-games-block-head .section-title {
    all: unset;
    display: block;
    margin: 0;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-weight: 700;
    color: var(--fleep-text, #fff);
}

body.fleep-ui #pageHome .home-slots-section-head,
body.fleep-ui #pageHome .games-nav-block,
body.fleep-ui #pageHome .games-toolbar-actions-wrap {
    display: none !important;
}

@media (max-width: 1279px) {
    .fleep-home__inner {
        padding-left: 32px;
        padding-right: 32px;
        gap: 56px;
    }

    .fleep-mosaic.home-slots-grid.games-grid--pinko {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-auto-rows: auto !important;
    }

    .fleep-section-head--lg .fleep-section-head__title {
        font-size: 32px;
        line-height: 44px;
    }

    .fleep-slider-b__rail,
    .fleep-slider-b__rail.home-desktop-dual-promo {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .fleep-promo-card {
        min-height: 280px;
        height: auto;
    }

    .fleep-footer-a__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    body.fleep-ui .fleep-game-group-b .fleep-section-head {
        margin-bottom: 10px;
    }

    body.fleep-ui .fleep-home__inner {
        padding: 12px 16px 32px;
        gap: 20px;
    }

    .fleep-slider-b {
        gap: 8px;
        align-items: stretch;
    }

    .fleep-slider-b__rail.home-desktop-dual-promo,
    .fleep-slider-b__rail {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 0 !important;
        min-height: 0 !important;
        scrollbar-width: none;
    }

    .fleep-slider-b__rail::-webkit-scrollbar {
        display: none;
    }

    .fleep-slider-b__pager {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        position: relative;
        margin-top: -22px;
        margin-left: 16px;
        z-index: 2;
        pointer-events: none;
    }

    .fleep-slider-b__dot {
        pointer-events: auto;
    }

    .fleep-promo-card {
        flex: 0 0 100%;
        width: 100%;
        min-height: 168px !important;
        height: 168px !important;
        border-radius: 20px;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .fleep-promo-card__body {
        max-width: 72%;
        padding: 16px 18px;
        gap: 8px;
    }

    .fleep-promo-card__title {
        font-size: 20px;
        line-height: 26px;
    }

    .fleep-promo-card__desc {
        font-size: 12px;
        line-height: 16px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .fleep-promo-card__link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 28px;
        padding: 0 12px;
        border-radius: 999px;
        background: #fff;
        color: #111 !important;
        font-size: 11px;
        font-weight: 700;
        line-height: 28px;
        text-transform: none;
        width: fit-content;
    }

    .fleep-promo-card--brand .fleep-promo-card__bg {
        background-position: 88% center;
    }

    .fleep-promo-card--brand .fleep-promo-card__shade {
        background: linear-gradient(105deg, rgba(11, 12, 14, 0.94) 0%, rgba(11, 12, 14, 0.78) 52%, rgba(11, 12, 14, 0.35) 100%);
    }

    .fleep-quick-promos {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .fleep-quick-promo {
        display: flex;
        align-items: flex-end;
        min-height: 118px;
        padding: 14px 12px 14px 14px;
        border-radius: 20px;
        text-decoration: none !important;
        color: #fff !important;
        overflow: hidden;
        box-sizing: border-box;
        position: relative;
        isolation: isolate;
    }

    .fleep-quick-promo::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(115deg, rgba(255, 255, 255, 0.12) 0%, transparent 36%, transparent 100%);
        pointer-events: none;
        z-index: 1;
    }

    .fleep-quick-promo__glow {
        position: absolute;
        right: -18%;
        top: -40%;
        width: 78%;
        height: 110%;
        border-radius: 50%;
        filter: blur(28px);
        pointer-events: none;
        z-index: 0;
    }

    .fleep-quick-promo--bonus {
        background:
            radial-gradient(90% 80% at 100% 110%, rgba(255, 170, 60, 0.28) 0%, transparent 55%),
            linear-gradient(155deg, #5a3118 0%, #1c100c 52%, #2a1610 100%) !important;
        box-shadow: inset 0 1px 0 rgba(255, 220, 160, 0.22);
        border: 1px solid rgba(255, 196, 110, 0.16);
    }

    .fleep-quick-promo--bonus .fleep-quick-promo__glow {
        background: #ffb347;
        opacity: 0.5;
    }

    .fleep-quick-promo--cups {
        padding-right: 56px;
        background:
            radial-gradient(90% 80% at 100% 110%, rgba(70, 150, 255, 0.28) 0%, transparent 55%),
            linear-gradient(155deg, #1c3358 0%, #0d1524 52%, #152238 100%) !important;
        box-shadow: inset 0 1px 0 rgba(150, 200, 255, 0.2);
        border: 1px solid rgba(110, 170, 255, 0.16);
    }

    .fleep-quick-promo--cups .fleep-quick-promo__glow {
        background: #4d9fff;
        opacity: 0.45;
    }

    .fleep-quick-promo__copy {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        position: relative;
        z-index: 2;
        max-width: 62%;
    }

    .fleep-quick-promo__kicker {
        display: inline-flex;
        align-items: center;
        height: 18px;
        padding: 0 8px;
        margin-bottom: 4px;
        border-radius: 999px;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        background: rgba(255, 255, 255, 0.14);
        color: rgba(255, 255, 255, 0.9);
    }

    .fleep-quick-promo__title {
        font-size: 18px;
        font-weight: 800;
        line-height: 1.15;
        color: #fff;
        letter-spacing: -0.02em;
    }

    .fleep-quick-promo__sub {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.72);
        line-height: 1.3;
    }

    .fleep-quick-promo__art {
        position: absolute;
        right: -6px;
        bottom: -12px;
        width: 98px;
        height: 98px;
        object-fit: contain;
        z-index: 1;
        pointer-events: none;
        filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.4));
    }

    .fleep-quick-promo--cups .fleep-quick-promo__copy {
        max-width: 100%;
        padding-right: 4px;
        z-index: 3;
    }

    .fleep-quick-promo--cups .fleep-quick-promo__title {
        font-size: 16px;
    }

    .fleep-quick-promo--cups .fleep-quick-promo__art {
        width: 68px;
        height: 68px;
        right: -8px;
        bottom: -8px;
        z-index: 1;
    }

    body.fleep-ui .fleep-categories-a {
        display: none !important;
    }

    body.fleep-ui .fleep-mosaic.home-slots-grid,
    body.fleep-ui .fleep-mosaic.home-slots-grid.games-grid--pinko,
    body.fleep-ui .home-slots-section.fleep-home-grid .home-slots-grid.games-grid--pinko {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 10px !important;
        grid-template-columns: none !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
    }

    body.fleep-ui .fleep-mosaic.home-slots-grid::-webkit-scrollbar,
    body.fleep-ui .home-slots-section.fleep-home-grid .home-slots-grid::-webkit-scrollbar {
        display: none;
    }

    body.fleep-ui .fleep-mosaic.home-slots-grid .game-card,
    body.fleep-ui .home-slots-section.fleep-home-grid .game-card {
        flex: 0 0 132px;
        width: 132px;
        max-width: 132px;
        border-radius: 16px !important;
    }

    body.fleep-ui .home-slots-load-more-wrap {
        display: none !important;
    }

    .fleep-section-head {
        margin-bottom: 12px;
        gap: 8px;
    }

    .fleep-section-head--lg .fleep-section-head__title,
    body.fleep-ui .fleep-game-group-b .fleep-section-head--lg .fleep-section-head__title {
        font-size: 18px !important;
        line-height: 24px !important;
        color: #fff !important;
    }

    body.fleep-ui #pageHome a.fleep-btn.home-all-games-link,
    body.fleep-ui #guestView a.fleep-btn.home-all-games-link,
    body.fleep-ui #lobbyView a.fleep-btn.home-all-games-link {
        min-height: 32px;
        height: 32px;
        padding: 0 12px;
        border-radius: 999px;
        background: var(--fleep-elevated, #1C1E22) !important;
        color: var(--fleep-text-muted, #9AA0A6) !important;
        border: none !important;
        font-size: 12px !important;
        text-transform: none;
        letter-spacing: 0;
        box-shadow: none;
    }

    body.fleep-ui .fleep-strip-row__track .game-card,
    body.fleep-ui .fleep-strip-row__track .slot-card {
        width: 132px !important;
        max-width: 132px !important;
        border-radius: 16px !important;
    }

    body.fleep-ui .fleep-strip-row__track .game-card-img,
    body.fleep-ui .fleep-mosaic.home-slots-grid .game-card-img,
    body.fleep-ui .game-card--strip .game-card-img {
        aspect-ratio: 3 / 4;
    }

    .fleep-footer-a__grid {
        grid-template-columns: 1fr;
    }
}

/* --- SEO block (главная и разделы) --- */
body.fleep-ui .home-seo-block {
    width: 100%;
    max-width: var(--fleep-content-max, 1560px);
    margin: 32px auto 40px !important;
    padding: 32px 40px !important;
    border-radius: 12px !important;
    background: var(--fleep-surface, #1D1E20) !important;
    border: 1px solid var(--fleep-border, rgba(255, 255, 255, 0.08)) !important;
    box-shadow: var(--fleep-shadow-card, 0 2px 8px rgba(0, 0, 0, 0.2)) !important;
    box-sizing: border-box;
}

body.fleep-ui .home-seo-title,
body.fleep-ui .fleep-content-a__title.home-seo-title {
    margin: 0 0 20px !important;
    padding: 0 !important;
    border: none !important;
    font-family: var(--fleep-font, Roboto, sans-serif) !important;
    font-size: clamp(1.25rem, 2.2vw, 1.75rem) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em !important;
    color: var(--fleep-text, #fff) !important;
}

body.fleep-ui .home-seo-content,
body.fleep-ui .fleep-content-a__body.home-seo-content {
    --home-seo-prose: #AEB4BA;
    --home-seo-prose-strong: #FFFFFF;
    --home-seo-fade-bottom: var(--fleep-elevated, #262628);
    margin-top: 0 !important;
    padding: 20px 24px !important;
    border-radius: 8px !important;
    background: var(--fleep-elevated, #262628) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    font-family: var(--fleep-font, Roboto, sans-serif) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: var(--home-seo-prose) !important;
    box-shadow: none !important;
    overflow-x: hidden;
}

body.fleep-ui .home-seo-content p,
body.fleep-ui .home-seo-content li,
body.fleep-ui .home-seo-content td,
body.fleep-ui .home-seo-content th,
body.fleep-ui .home-seo-content span,
body.fleep-ui .home-seo-content div:not([class]) {
    color: var(--home-seo-prose) !important;
    -webkit-text-fill-color: var(--home-seo-prose) !important;
}

body.fleep-ui .home-seo-content strong,
body.fleep-ui .home-seo-content b {
    color: var(--home-seo-prose-strong) !important;
    -webkit-text-fill-color: var(--home-seo-prose-strong) !important;
    font-weight: 600;
}

body.fleep-ui .home-seo-content h1,
body.fleep-ui .home-seo-content h2,
body.fleep-ui .home-seo-content h3 {
    color: var(--fleep-text, #fff) !important;
    -webkit-text-fill-color: var(--fleep-text, #fff) !important;
}

body.fleep-ui .home-seo-content h2 {
    border-left-color: var(--fleep-red, #D91000) !important;
    border-bottom-color: var(--fleep-border, rgba(255, 255, 255, 0.08)) !important;
}

body.fleep-ui .home-seo-content.collapsed::after {
    display: block !important;
    content: "" !important;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, var(--home-seo-fade-bottom) 88%);
}

body.fleep-ui .home-seo-content.collapsed {
    position: relative;
    max-height: 220px;
    overflow: hidden;
}

body.fleep-ui .home-seo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

body.fleep-ui .home-seo-toggle-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px !important;
    padding: 0 18px !important;
    border-radius: 8px !important;
    font-family: var(--fleep-font, Roboto, sans-serif) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.fleep-ui .home-seo-toggle-btn--more {
    width: auto !important;
    align-self: flex-start;
    border: 1px solid rgba(217, 16, 0, 0.45) !important;
    background: rgba(217, 16, 0, 0.1) !important;
    color: var(--fleep-red-light, #F3372B) !important;
    box-shadow: none !important;
}

body.fleep-ui .home-seo-toggle-btn--more:hover {
    border-color: rgba(217, 16, 0, 0.7) !important;
    background: rgba(217, 16, 0, 0.16) !important;
    color: #fff !important;
}

body.fleep-ui .home-seo-toggle-btn--less {
    border: 1px solid var(--fleep-border, rgba(255, 255, 255, 0.08)) !important;
    background: var(--fleep-panel-bg, #262628) !important;
    color: var(--fleep-text-muted, #83898E) !important;
    box-shadow: none !important;
}

body.fleep-ui .home-seo-toggle-btn--less:hover {
    background: var(--fleep-panel-hover, #2e3034) !important;
    color: var(--fleep-text, #fff) !important;
}

html[data-theme="light"] body.fleep-ui .home-seo-block {
    background: var(--fleep-surface, #fff) !important;
    border-color: var(--fleep-border, rgba(0, 0, 0, 0.08)) !important;
}

html[data-theme="light"] body.fleep-ui .home-seo-content {
    --home-seo-prose: #5C6369;
    --home-seo-prose-strong: #1A1B1E;
    --home-seo-fade-bottom: var(--fleep-elevated, #EEEDEB);
    background: var(--fleep-elevated, #EEEDEB) !important;
    border-color: var(--fleep-border, rgba(0, 0, 0, 0.08)) !important;
}

@media (max-width: 767px) {
    body.fleep-ui .home-seo-block {
        margin: 24px 0 32px !important;
        padding: 20px 16px !important;
    }

    body.fleep-ui .home-seo-content {
        padding: 16px !important;
        font-size: 14px !important;
    }
}
