:root {
    --winx-brand-ink: #f8fbff;
    --winx-brand-accent: #7dd3fc;
    --winx-brand-accent-strong: #facc15;
    --winx-modal-backdrop: rgba(8, 12, 22, 0.75);
    --winx-modal-enter-duration: 180ms;
    --winx-modal-exit-duration: 90ms;
    --winx-modal-enter-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --winx-modal-exit-ease: cubic-bezier(0.4, 0, 1, 1);
}

/* WinX keeps every modal surface on one flat, neutral dimming layer. */
body .modal-backdrop.show,
body .navbarTimedPromotionBackdrop.is-open,
body .navbarTimedPromotionBackdrop.is-closing,
body .logoutQuickConfirmBackdrop.is-open,
body .logoutQuickConfirmBackdrop.is-closing,
body .registerCountrySheet,
body .registerCurrencySheet,
body .authFeedbackOverlay.is-open,
body .authFeedbackOverlay.is-closing,
body .gameFeedbackOverlay.is-open,
body .gameFeedbackOverlay.is-closing,
body .gelirseSocialPreviewModal.is-open,
body .gelirseSocialPreviewModal.is-closing,
body .gelirseUserPreviewModal.is-open,
body .gelirseUserPreviewModal.is-closing,
body .gelirseSocialConversationBackdrop.is-open,
body .gelirseSocialConversationBackdrop.is-closing,
body .financeCasinoDrawerBackdrop.is-open,
body .financeCasinoDrawerBackdrop.is-closing,
body .catalogDiscoverySearchOverlay,
body .catalogCasinoCommandBackdrop {
    background: var(--winx-modal-backdrop) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

html body.modal-open .modal-backdrop.show,
html body.auth-sheet-closing .modal-backdrop.show {
    background: var(--winx-modal-backdrop) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

/* The catalog stylesheet loads later, so this deliberately wins its route-specific backdrop. */
html body.catalog-discovery-modal-open .modal-backdrop.show {
    background: var(--winx-modal-backdrop) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

/* Standard WinX dialogs share one crisp enter/exit motion; campaign keeps its own sheet motion. */
body .modal-backdrop.fade {
    background: var(--winx-modal-backdrop) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    opacity: 0 !important;
    transition: opacity var(--winx-modal-exit-duration) ease-in !important;
}

body .modal-backdrop.fade.show {
    opacity: 1 !important;
    transition: opacity var(--winx-modal-enter-duration) ease-out !important;
}

body .modal.fade:not(.navbarTimedPromotionModal) {
    opacity: 0;
    transition: opacity var(--winx-modal-exit-duration) ease-in !important;
}

body .modal.fade.show:not(.navbarTimedPromotionModal) {
    opacity: 1;
    transition: opacity var(--winx-modal-enter-duration) ease-out !important;
}

body .modal.fade:not(.navbarTimedPromotionModal) .modal-dialog {
    opacity: 1 !important;
    filter: none !important;
    transform: translate3d(0, 12px, 0) scale(0.985) !important;
    transition: transform var(--winx-modal-exit-duration) var(--winx-modal-exit-ease) !important;
}

body .modal.fade.show:not(.navbarTimedPromotionModal) .modal-dialog {
    opacity: 1 !important;
    filter: none !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
    transition: transform var(--winx-modal-enter-duration) var(--winx-modal-enter-ease) !important;
}

/* Desktop form dialogs use the tighter WinX measure; mobile sheets keep their existing layouts. */
@media (min-width: 1025px) {
    body #loginModal .modal-dialog,
    body #registerModal .modal-dialog,
    body #cashModal .modal-dialog,
    body #walletCenterModal .modal-dialog,
    body #zeroBalanceDepositModal .modal-dialog,
    body #zeroBalanceWithdrawModal .modal-dialog {
        max-width: min(420px, calc(100vw - 24px)) !important;
    }
}

/* Top-level modal surfaces stay shadow-free to avoid an extra large paint layer. */
body .modal .modal-content,
body .logoutQuickConfirmCard,
body .registerCountrySheetDialog,
body .registerCurrencySheetDialog,
body .authFeedbackCard,
body .gameFeedbackDialog,
body .gelirseSocialPreviewDialog,
body .gelirseUserPreviewDialog,
body .gelirseSocialConversationShell,
body .financeCasinoDrawer,
body .catalogDiscoverySearchSheet,
body .catalogCasinoCommandPalette {
    box-shadow: none !important;
}

/* Campaign keeps its distinct geometry while using the shared WinX timing contract. */
body .navbarTimedPromotionModal .modal-dialog,
body .navbarTimedPromotionModal.fade .modal-dialog {
    transition:
        opacity var(--winx-modal-enter-duration) ease-out,
        transform var(--winx-modal-enter-duration) var(--winx-modal-enter-ease),
        visibility 0s !important;
}

html body .navbarTimedPromotionModal.is-opening .modal-dialog,
html body .navbarTimedPromotionModal.is-open .modal-dialog,
html body .navbarTimedPromotionModal.fade.is-opening .modal-dialog,
html body .navbarTimedPromotionModal.fade.is-open .modal-dialog {
    transition:
        opacity var(--winx-modal-enter-duration) ease-out,
        transform var(--winx-modal-enter-duration) var(--winx-modal-enter-ease),
        visibility 0s !important;
}

body .navbarTimedPromotionModal.is-closing .modal-dialog,
body .navbarTimedPromotionModal.fade.is-closing .modal-dialog {
    transition:
        opacity var(--winx-modal-exit-duration) ease-in,
        transform var(--winx-modal-exit-duration) var(--winx-modal-exit-ease),
        visibility 0s linear var(--winx-modal-exit-duration) !important;
}

body .navbarTimedPromotionBackdrop {
    transition: opacity var(--winx-modal-enter-duration) ease-out !important;
}

body .navbarTimedPromotionBackdrop.is-closing {
    transition: opacity var(--winx-modal-exit-duration) ease-in !important;
}

body .authFeedbackOverlay.is-closing {
    visibility: visible !important;
}

body .logoutQuickConfirmBackdrop.is-closing,
body .logoutQuickConfirm.is-closing,
body .registerCountrySheet.is-closing,
body .registerCurrencySheet.is-closing,
body .authFeedbackOverlay.is-closing,
body .gameFeedbackOverlay.is-closing,
body .gelirseSocialPreviewModal.is-closing,
body .gelirseUserPreviewModal.is-closing,
body .gelirseSocialConversationBackdrop.is-closing,
body .gelirseSocialConversationShell.is-closing {
    pointer-events: none !important;
}

/* Custom overlays remain mounted for the exit duration so the reverse motion can render. */
body .logoutQuickConfirmBackdrop,
body .authFeedbackOverlay,
body .gameFeedbackOverlay,
body .gelirseSocialPreviewModal,
body .gelirseUserPreviewModal,
body .gelirseSocialConversationBackdrop {
    opacity: 0;
    transition: opacity var(--winx-modal-exit-duration) ease-in !important;
}

body .logoutQuickConfirmBackdrop.is-open,
body .authFeedbackOverlay.is-open,
body .gameFeedbackOverlay.is-open,
body .gelirseSocialPreviewModal.is-open,
body .gelirseUserPreviewModal.is-open,
body .gelirseSocialConversationBackdrop.is-open {
    opacity: 1;
    transition: opacity var(--winx-modal-enter-duration) ease-out !important;
}

body .logoutQuickConfirm,
body .authFeedbackCard,
body .gameFeedbackDialog,
body .gelirseSocialPreviewDialog,
body .gelirseUserPreviewDialog,
body .gelirseSocialConversationShell {
    transition:
        opacity var(--winx-modal-exit-duration) ease-in,
        transform var(--winx-modal-exit-duration) var(--winx-modal-exit-ease) !important;
}

body .logoutQuickConfirm.is-open,
body .authFeedbackOverlay.is-open .authFeedbackCard,
body .gameFeedbackOverlay.is-open .gameFeedbackDialog,
body .gelirseSocialPreviewModal.is-open .gelirseSocialPreviewDialog,
body .gelirseUserPreviewModal.is-open .gelirseUserPreviewDialog,
body .gelirseSocialConversationShell.is-open {
    transition:
        opacity var(--winx-modal-enter-duration) ease-out,
        transform var(--winx-modal-enter-duration) var(--winx-modal-enter-ease) !important;
}

body .registerCountrySheet,
body .registerCurrencySheet {
    opacity: 0;
    transition: opacity var(--winx-modal-exit-duration) ease-in !important;
}

body .registerCountrySheetDialog,
body .registerCurrencySheetDialog {
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(0.985);
    transition:
        opacity var(--winx-modal-exit-duration) ease-in,
        transform var(--winx-modal-exit-duration) var(--winx-modal-exit-ease) !important;
}

body .registerCountrySheet.is-open,
body .registerCurrencySheet.is-open {
    opacity: 1;
    transition: opacity var(--winx-modal-enter-duration) ease-out !important;
}

body .registerCountrySheet.is-open .registerCountrySheetDialog,
body .registerCurrencySheet.is-open .registerCurrencySheetDialog {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    transition:
        opacity var(--winx-modal-enter-duration) ease-out,
        transform var(--winx-modal-enter-duration) var(--winx-modal-enter-ease) !important;
}

body .gelirseSocialPreviewModal.is-mounted,
body .gelirseUserPreviewModal.is-mounted {
    display: flex !important;
}

body .gelirseSocialConversationBackdrop.is-mounted {
    display: block !important;
}

body .gelirseSocialConversationShell.is-mounted {
    display: flex !important;
    flex-direction: column;
}

body .gameFeedbackOverlay.is-mounted {
    display: flex !important;
}

body .gelirseSocialPreviewDialog,
body .gelirseUserPreviewDialog,
body .gameFeedbackDialog {
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(0.985);
}

body .gelirseSocialPreviewModal.is-open .gelirseSocialPreviewDialog,
body .gelirseUserPreviewModal.is-open .gelirseUserPreviewDialog,
body .gameFeedbackOverlay.is-open .gameFeedbackDialog {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

body .gelirseSocialConversationShell {
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(0.985);
}

body .gelirseSocialConversationShell.is-open {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

body .catalogCasinoCommandOverlay,
body .catalogCasinoCommandPalette {
    transition-duration: var(--winx-modal-exit-duration) !important;
}

body .catalogCasinoCommandOverlay.is-open,
body .catalogCasinoCommandOverlay.is-open .catalogCasinoCommandPalette {
    transition-duration: var(--winx-modal-enter-duration) !important;
}

body .catalogCasinoCommandOverlay.is-closing,
body .catalogCasinoCommandOverlay.is-closing .catalogCasinoCommandPalette {
    transition-duration: var(--winx-modal-exit-duration) !important;
}

body .catalogDiscoverySearchOverlay,
body .catalogDiscoverySearchSheet,
body .financeCasinoDrawerBackdrop,
body .financeCasinoDrawer {
    transition-duration: var(--winx-modal-exit-duration) !important;
}

body .catalogDiscoverySearchOverlay.is-open,
body .catalogDiscoverySearchOverlay.is-open .catalogDiscoverySearchSheet,
body .financeCasinoDrawerBackdrop.is-open,
body .financeCasinoDrawer.is-open {
    transition-duration: var(--winx-modal-enter-duration) !important;
}

body .financeCasinoDrawerBackdrop.is-mounted {
    display: block !important;
    opacity: 0;
    transition: opacity var(--winx-modal-exit-duration) ease-in !important;
}

body .financeCasinoDrawerBackdrop.is-mounted.is-open {
    opacity: 1;
    transition: opacity var(--winx-modal-enter-duration) ease-out !important;
}

/* Campaigns stay distinct, but must not collapse into a narrow card on phones. */
@media (max-width: 767px) {
    html body .navbarTimedPromotionModal .modal-dialog {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
    }
}

/* Finance modals use the shared Bootstrap backdrop instead of stacking a second overlay. */
body #cashModal::before,
body #walletCenterModal::before {
    background: transparent !important;
}

@media (prefers-reduced-motion: reduce) {
    body .modal-backdrop.fade,
    body .modal.fade:not(.navbarTimedPromotionModal),
    body .modal.fade:not(.navbarTimedPromotionModal) .modal-dialog,
    body .navbarTimedPromotionModal .modal-dialog,
    body .navbarTimedPromotionBackdrop,
    body .logoutQuickConfirmBackdrop,
    body .logoutQuickConfirm,
    body .registerCountrySheet,
    body .registerCurrencySheet,
    body .registerCountrySheetDialog,
    body .registerCurrencySheetDialog,
    body .authFeedbackOverlay,
    body .authFeedbackCard,
    body .gameFeedbackOverlay,
    body .gameFeedbackDialog,
    body .gelirseSocialPreviewModal,
    body .gelirseSocialPreviewDialog,
    body .gelirseUserPreviewModal,
    body .gelirseUserPreviewDialog,
    body .gelirseSocialConversationBackdrop,
    body .gelirseSocialConversationShell,
    body .financeCasinoDrawerBackdrop,
    body .financeCasinoDrawer,
    body .catalogDiscoverySearchOverlay,
    body .catalogDiscoverySearchSheet,
    body .catalogCasinoCommandOverlay,
    body .catalogCasinoCommandPalette {
        transition: none !important;
    }
}

.homepageTopHeroLogoLink span,
.polarisInstallBrand span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    color: var(--winx-brand-ink);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.homepageTopHeroLogoLink span {
    font-size: clamp(32px, 4vw, 46px);
}

.homepageTopHeroLogoLink img,
.polarisInstallBrand img {
    display: block;
    width: auto;
    max-width: min(210px, 46vw);
    height: auto;
    max-height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.28));
}

.homepageTopHeroLogoLink img[src*="/winx-logo-full.png"] {
    max-width: min(260px, 54vw);
    max-height: none;
}

.polarisInstallBrand img[src*="/winx-logo-full.png"] {
    max-width: min(180px, 48vw);
    max-height: none;
}

.polarisInstallBrand span {
    font-size: 30px;
}

body .gelirseRailNavIcon.winxRailBrandMark {
    color: #08111f;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0;
    background:
        radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.88), transparent 28%),
        linear-gradient(135deg, var(--winx-brand-accent-strong), var(--winx-brand-accent));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.66),
        0 10px 22px rgba(0, 0, 0, 0.2);
}

body .gelirseRailNavIcon.winxRailBrandMark img {
    display: block;
    width: clamp(38px, 3.1vw, 40px);
    height: clamp(38px, 3.1vw, 40px);
    object-fit: contain;
}

body .winxRailFullBrand {
    display: none;
    align-items: center;
    min-width: 0;
    line-height: 1;
}

body .winxRailFullBrand img {
    display: block;
    width: auto;
    max-width: 124px;
    height: auto;
    max-height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.24));
}

body .winxRailFullBrand img[src*="/winx-logo-full.png"] {
    max-width: 146px;
    max-height: none;
    margin-block: -14px;
}

body.gelirse-menu-variant-2.gelirse-left-rail-expanded .gelirseRailTopHomeLink {
    flex: 1 1 auto;
    width: 100%;
    min-height: var(--gelirse-rail-row-height);
    gap: 12px;
    justify-content: flex-start;
}

body.winx-theme.gelirse-menu-variant-2.gelirse-left-rail-expanded .gelirseLeftRailTop.is-guest,
body.winx-theme .gelirseLeftRailShell.is-mobile-open .gelirseLeftRailTop.is-guest {
    align-items: flex-start;
    justify-content: center;
}

body.winx-theme.gelirse-menu-variant-2.gelirse-left-rail-expanded .gelirseLeftRailTop.is-guest .gelirseRailTopHomeLink,
body.winx-theme .gelirseLeftRailShell.is-mobile-open .gelirseLeftRailTop.is-guest .gelirseRailTopHomeLink {
    flex: 1 1 auto;
    width: 100%;
    min-height: 66px;
    justify-content: center;
    transform: translateY(-11px);
}

body.winx-theme.gelirse-menu-variant-2.gelirse-left-rail-expanded .gelirseLeftRailTop.is-guest .gelirseRailNavCopy,
body.winx-theme .gelirseLeftRailShell.is-mobile-open .gelirseLeftRailTop.is-guest .gelirseRailNavCopy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

body.gelirse-menu-variant-2.gelirse-left-rail-expanded .gelirseRailTopHomeLink .winxRailBrandMark,
body.gelirse-menu-variant-2.gelirse-left-rail-expanded .gelirseRailTopHomeLink .gelirseRailNavLabel,
body.gelirse-menu-variant-2.gelirse-left-rail-expanded .gelirseRailTopHomeLink .gelirseRailNavMeta {
    display: none;
}

body.gelirse-menu-variant-2.gelirse-left-rail-expanded .gelirseRailTopHomeLink .winxRailFullBrand {
    display: inline-flex;
}

@media (min-width: 1024px) {
    body.gelirse-menu-variant-2:not(.gelirse-left-rail-expanded) .gelirseRailTopHomeLink .winxRailBrandMark {
        transform: translateY(-14px);
    }
}

@media (min-width: 768px) {
    body .navbarTopWalletChrome .navbarTopWalletDropdown,
    body .navbarTopWalletChrome .navbarTopAccountNotification .menuNotificationDropdown {
        top: calc(100% + 2px);
    }
}

body.winx-theme .menuNotificationDeleteAction {
    border-radius: 15px;
}

body.gelirse-left-rail-expanded .gelirseRailTopHomeLink .gelirseRailNavLabel {
    color: var(--winx-brand-ink);
    font-weight: 900;
}

body.gelirse-left-rail-expanded .gelirseRailTopHomeLink .gelirseRailNavMeta {
    color: rgba(248, 251, 255, 0.68);
}

.navbarTopAccountIdentity {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.navbarTopAccountIdentityProfile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.navbarTopAccountIdentityAvatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--winx-brand-accent-strong), var(--winx-brand-accent));
    color: #08111f;
    font-size: 11px;
    font-weight: 900;
}

.navbarTopAccountIdentityCopy {
    display: grid;
    min-width: 0;
    line-height: 1.05;
}

.navbarTopAccountIdentityCopy strong,
.navbarTopAccountIdentityCopy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.navbarTopAccountIdentityCopy strong { font-size: 12px; }
.navbarTopAccountIdentityCopy small { margin-top: 3px; opacity: 0.68; font-size: 10px; }

.cmsPresenceControl--winx {
    position: relative;
    flex: 0 0 auto;
}

.cmsPresenceControl--winx .cmsPresenceControlTrigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.cmsPresenceControlDot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #94a3b8;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.12);
}

.cmsPresenceControlDot.is-online { background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.13); }
.cmsPresenceControlDot.is-do_not_disturb { background: #fbbf24; box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.13); }
.cmsPresenceControlDot.is-invisible { background: #94a3b8; box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.13); }

.cmsPresenceControl--winx .cmsPresenceControlMenu {
    position: absolute;
    z-index: 1080;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    width: min(290px, calc(100vw - 24px));
    padding: 7px;
    border: 1px solid rgba(125, 211, 252, 0.18);
    border-radius: 14px;
    background: #101b2d;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.cmsPresenceControl--winx .cmsPresenceControlOption,
.cmsPresenceControl--winx .cmsPresenceControlPrivacyLink {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    width: 100%;
    padding: 9px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #f8fbff;
    text-align: left;
    cursor: pointer;
}

.cmsPresenceControl--winx .cmsPresenceControlOption:hover,
.cmsPresenceControl--winx .cmsPresenceControlOption.is-selected,
.cmsPresenceControl--winx .cmsPresenceControlPrivacyLink:hover { background: rgba(125, 211, 252, 0.1); }
.cmsPresenceControl--winx .cmsPresenceControlOption strong,
.cmsPresenceControl--winx .cmsPresenceControlOption small { display: block; }
.cmsPresenceControl--winx .cmsPresenceControlOption strong { font-size: 12px; }
.cmsPresenceControl--winx .cmsPresenceControlOption small { margin-top: 3px; color: rgba(248, 251, 255, 0.65); font-size: 10px; line-height: 1.35; }
.cmsPresenceControl--winx .cmsPresenceControlPrivacyLink { align-items: center; justify-content: space-between; margin-top: 2px; border-top: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0; color: var(--winx-brand-accent); font-size: 11px; font-weight: 800; }

.homepageSliderOverlay .homepageSliderBadge {
    border-color: rgba(125, 211, 252, 0.22);
    background: rgba(8, 17, 31, 0.56);
}

.homepageSliderOverlay h5 {
    text-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

body.winx-theme #zeroBalanceDepositModal .zeroBalancePromoCard {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

body.winx-theme #zeroBalanceDepositModal .zeroBalancePromoToggle {
    display: inline-flex;
    width: auto;
    min-height: 0;
    padding: 2px 0;
    border: 0;
    background: transparent;
    color: rgba(222, 231, 255, 0.7);
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
}

body.winx-theme #zeroBalanceDepositModal .zeroBalancePromoHeader {
    display: block;
}

body.winx-theme #zeroBalanceDepositModal .zeroBalancePromoHeader strong {
    color: #ffd341;
    font: inherit;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.winx-theme #zeroBalanceDepositModal .zeroBalancePromoBody {
    padding: 8px 0 0;
}

body.winx-theme .navbarTopGuestWalletChrome .navbarTopGuestSignupPill {
    min-width: 108px;
    padding: 0 10px;
    cursor: pointer;
    background: transparent;
    color: rgba(242, 246, 255, 0.96);
    font-family: "Manrope", var(--gelirse-font-family, system-ui, sans-serif);
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    box-shadow: none;
    filter: none;
    opacity: 1;
    transform: none;
    transition: none;
}

body.winx-theme .navbarTopGuestWalletChrome .navbarTopGuestSignupPillLabel {
    display: grid;
    align-items: center;
    justify-items: center;
    height: 1.9em;
    line-height: 1.35;
    overflow: hidden;
}

body.winx-theme .navbarTopGuestWalletChrome .navbarTopGuestSignupPillLabelPrimary,
body.winx-theme .navbarTopGuestWalletChrome .navbarTopGuestSignupPillLabelSecondary {
    grid-area: 1 / 1;
    line-height: 1.35;
    white-space: nowrap;
    transition:
        opacity 420ms ease,
        transform 880ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

body.winx-theme .navbarTopGuestWalletChrome .navbarTopGuestSignupPillLabelPrimary {
    position: relative;
    color: rgba(242, 246, 255, 0.96);
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition:
        opacity 420ms ease,
        transform 880ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes winx-signup-label-sweep {
    0%,
    24% {
        background-position: 155% 50%;
    }
    76%,
    100% {
        background-position: -55% 50%;
    }
}

@media (prefers-reduced-motion: no-preference) {
    @supports ((-webkit-background-clip: text) or (background-clip: text)) {
        body.winx-theme .navbarTopGuestWalletChrome .navbarTopGuestSignupPillLabelPrimary::after {
            position: absolute;
            inset: 0;
            content: attr(data-winx-label);
            color: transparent;
            background: linear-gradient(
                105deg,
                transparent 0%,
                transparent 24%,
                rgba(255, 212, 92, .04) 35%,
                rgba(255, 212, 92, .18) 41%,
                rgba(255, 212, 92, .52) 47%,
                #ffda67 50%,
                #fffdf2 53%,
                #ffda67 56%,
                rgba(255, 212, 92, .52) 59%,
                rgba(255, 212, 92, .18) 65%,
                rgba(255, 212, 92, .04) 71%,
                transparent 86%,
                transparent 100%
            );
            background-position: 155% 50%;
            background-repeat: no-repeat;
            background-size: 360% 100%;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: winx-signup-label-sweep 7.2s cubic-bezier(.33, 0, .2, 1) infinite;
            filter: drop-shadow(0 0 4px rgba(255, 218, 103, .30))
                    drop-shadow(0 0 10px rgba(255, 218, 103, .12));
            pointer-events: none;
            will-change: background-position;
        }
    }
}

body.winx-theme .navbarTopGuestWalletChrome .navbarTopGuestSignupPillLabelSecondary {
    color: #ffd341;
    text-shadow: 0 0 12px rgba(255, 211, 65, .22);
    opacity: 0;
    transform: translate3d(0, 200%, 0);
}

body.winx-theme .navbarTopGuestWalletChrome .navbarTopGuestSignupPill:hover .navbarTopGuestSignupPillLabelPrimary,
body.winx-theme .navbarTopGuestWalletChrome .navbarTopGuestSignupPill:focus-visible .navbarTopGuestSignupPillLabelPrimary {
    opacity: 0;
    transform: translate3d(0, -200%, 0);
}

body.winx-theme .navbarTopGuestWalletChrome .navbarTopGuestSignupPill:hover .navbarTopGuestSignupPillLabelSecondary,
body.winx-theme .navbarTopGuestWalletChrome .navbarTopGuestSignupPill:focus-visible .navbarTopGuestSignupPillLabelSecondary {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

body.winx-theme .navbarTopGuestWalletChrome .navbarTopGuestSignupPill:hover {
    background: transparent;
    color: rgba(242, 246, 255, 0.96);
    box-shadow: none;
    filter: none;
    opacity: 1;
    transform: none;
}

body.winx-theme:has(.navbarTopGuestWalletChrome .navbarTopGuestSignupPill:hover) .homepageTopHeroSlider::before,
body.winx-theme:has(.navbarTopGuestWalletChrome .navbarTopGuestSignupPill:focus-visible) .homepageTopHeroSlider::before {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    body.winx-theme .navbarTopGuestWalletChrome .navbarTopGuestSignupPillLabelPrimary,
    body.winx-theme .navbarTopGuestWalletChrome .navbarTopGuestSignupPillLabelSecondary {
        animation: none;
        transition: none;
    }

    body.winx-theme .navbarTopGuestWalletChrome .navbarTopGuestSignupPillLabelPrimary {
        color: rgba(242, 246, 255, 0.96);
        -webkit-text-fill-color: currentColor;
    }

    body.winx-theme .navbarTopGuestWalletChrome .navbarTopGuestSignupPillLabelPrimary {
        animation: none;
        background: none;
    }
}

@media only screen and (max-width: 575px) {
    body .homepageTopHeroBand,
    body .homepageTopHeroFrame,
    body .homepageTopHeroSlider,
    body .homepageTopHeroSlider .homepageSliderBoxInner,
    body .homepageTopHeroSlider .slick-list {
        max-width: 100%;
        overflow-x: clip;
    }

    @supports not (overflow: clip) {
        body .homepageTopHeroBand,
        body .homepageTopHeroFrame,
        body .homepageTopHeroSlider,
        body .homepageTopHeroSlider .homepageSliderBoxInner,
        body .homepageTopHeroSlider .slick-list {
            overflow-x: hidden;
        }
    }

    body .navbarTopOuter,
    body .navbarTopOuter > .container,
    body .navbarTopInner,
    body .navbarTopRightOuter,
    body .navbarTopAccountRail,
    body .navbarTopWalletChrome {
        max-width: 100%;
        overflow-x: hidden;
    }

    body .navbarTopAccountActions {
        display: none;
    }

    body .navbarTopAccountIdentityCopy {
        display: none;
    }

    body .navbarTopAccountIdentity {
        gap: 5px;
    }

    body .cmsPresenceControl--winx .cmsPresenceControlTrigger {
        min-height: 30px;
        padding: 0 7px;
    }

    body .casinoProviderRailTrack {
        max-width: 100%;
        overflow-x: auto;
        overscroll-behavior-x: contain;
    }

    body .homeHeroQuickCard {
        overflow: hidden;
    }

    body .homeHeroQuickVisual.promo-gift-object {
        right: -7px;
    }

    body .homepagePaymentMethodRail {
        max-width: 100%;
        overflow-y: hidden;
    }

    body .footerOuter.siteFooterShell,
    body .footerOuter.siteFooterShell .siteFooterMobileCompact,
    body .footerOuter.siteFooterShell .siteFooterMobileTop,
    body .footerOuter.siteFooterShell .siteFooterMobileQuickLinks,
    body .footerOuter.siteFooterShell .siteFooterMobileDetails,
    body .footerOuter.siteFooterShell .siteFooterMobileLegalLinks {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    body .footerOuter.siteFooterShell .siteFooterMobileTop > *,
    body .footerOuter.siteFooterShell .siteFooterMobileQuickLinks > *,
    body .footerOuter.siteFooterShell .siteFooterMobileDetails > *,
    body .footerOuter.siteFooterShell .siteFooterMobileLegalLinks > * {
        min-width: 0;
    }

    body .footerOuter.siteFooterShell .siteFooterMobileTop span {
        flex: 0 1 auto;
        text-align: right;
    }

    body .footerOuter.siteFooterShell .siteFooterMobileLegalLinks a {
        max-width: 100%;
        white-space: normal;
    }
}
