:root {
    --spacing-0: 0px;
    --spacing-2: 2px;
    --spacing-4: 4px;
    --spacing-6: 6px;
    --spacing-8: 8px;
    --spacing-12: 12px;
    --spacing-16: 16px;
    --spacing-20: 20px;
    --spacing-24: 24px;
    --spacing-32: 32px;
    --spacing-40: 40px;
    --spacing-48: 48px;
    --spacing-64: 64px;
}

:root {
	--size-control-l: 40px;
    --size-control-m: 36px;
    --size-control-s: 32px;
    --size-element-s: 20px;
    --size-control-xl: 44px;
    --size-control-xs: 28px;
    --size-control-xxl: 48px;
    --size-control-xxs: 24px;
    --size-game-height-max: 900px;
    --size-tooltip-width-max: 270px;
    --size-tooltip-width-min: 140px;
    --size-container-width-max: 1640px;
    --size-popover-mobile-width: 328px;
    --size-modal-desktop-width-m: 620px;
    --size-modal-desktop-width-s: 390px;
    --size-popover-desktop-width: 308px;
    --size-footer-width-links-max: 140px;
    --size-table-column-width-max: 220px;
    --size-table-column-width-min: 110px;
    --size-popover-list-height-max: 376px;
    --size-modal-desktop-height-max: 768px;
    --size-popover-notifications-height-min: 500px;
}

:root {
    --popover-padding: var(--spacing-16);
    --modal-margin-mobile: var(--spacing-24);
    --modal-margin-desktop: var(--spacing-64);
    --container-padding-mobile: var(--spacing-16);
    --container-padding-desktop: var(--spacing-48);
    --modal-padding-modal-mobile: var(--spacing-16);
    --modal-padding-modal-desktop: var(--spacing-20);
    --modal-padding-modal-gap-form: var(--rounding-16);
    --container-padding-betting-desktop: var(--spacing-0);
    --modal-padding-modal-gap-stack-form: var(--rounding-12);
    --modal-padding-modal-header-bottom-mobile: var(--spacing-12);
    --container-page-content-padding-top-mobile: var(--spacing-12);
    --modal-padding-modal-header-bottom-desktop: var(--spacing-16);
    --container-page-content-padding-top-desktop: var(--spacing-24);
    --container-page-content-padding-bottom-mobile: var(--spacing-24);
    --container-padding-betting-gap-vertical-mobile: var(--spacing-16);
    --container-page-content-padding-bottom-desktop: var(--spacing-32);
    --container-padding-betting-gap-vertical-desktop: var(--spacing-24);
    --container-padding-betting-gap-horizontal-mobile: var(--spacing-0);
    --container-padding-betting-gap-horizontal-desktop: var(--spacing-48);
}

:root {
    --blue-body: #0f192f;
    --blue-contrast: #0f2240;
    --blue-button-0: #0f467f6e;
    --blue-hover-0: #076cd275;
    --blue-button-1: #0671d4;
    --blue-hover-1: #0984f5;
    --blue-transparent: #0f467f1a;
    --blue-text: #9bb0c9;
    --white-0: #ffffff;
    --white-1: #f0f2f5;
    --orange-0: #ef651c;
    --orange-hover-0: #ef7737;
    --green-0: #00b24b;
    --green-hover-0: #00d95b;
    --red-0: #d93600;
    --red-hover-0: #bb2f00;
	
	--color-background-base-primary: #0f192f;
	--color-content-base-primary: #f0f2f5;
	--tab-color-segment-bg: #0f2240;
	
	--rounding-square: 8px;
	
	--container-padding-mobile: var(--spacing-16);
	--container-padding-desktop: var(--spacing-48);
	--header-layout-height-mobile: 60px;
	--header-layout-height-desktop: 68px;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100dvw;
  min-height: 100dvh;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html,
body {
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

* {
  -webkit-tap-highlight-color: transparent;
}

input,
textarea,
select {
  font-size: 16px;
}

img {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

.layout-main_wrapper {
	flex-direction: column;
    flex-grow: 1;
    min-width: 0;
    display: flex;
}

/* header-start */
.header-main_wrapper {
	width: 100%;
    max-width: var(--size-container-width-max);
    height: var(--header-layout-height-mobile);
    background-color: var(--color-background-base-primary);
    color: var(--color-content-base-primary);
    padding-inline: var(--container-padding-mobile);
    align-items: center;
    margin-inline: auto;
    display: flex;
}

.header-main_content {
	align-items: center;
    gap: var(--spacing-12);
    width: 100%;
    min-width: 0;
    display: flex;
}

.header-main_trailing {
	align-items: center;
    gap: var(--spacing-12);
    display: flex;
}

.header-main_logoLink {
	position: relative;
}

.icon-sprite_root {
    height: 50px;
    aspect-ratio: 1 / 1;
}

.header-main_logo {
    height: 70px;
    display: flex;
}

.segment-control_root {
	align-items: center;
    display: inline-flex;
	padding: var(--spacing-2);
    border-radius: var(--rounding-square);
    background: var(--tab-color-segment-bg);
    gap: 3px;
}

.tab_root {
	position: relative;
	cursor: pointer;
	height: var(--size-control-l);
	justify-content: center;
    align-items: center;
    gap: var(--spacing-8);
    padding-inline: var(--spacing-16);
    -webkit-user-select: none;
    user-select: none;
    white-space: nowrap;
    will-change: transform;
    display: flex;
	border-radius: var(--rounding-square);
	line-height: 20px;
	letter-spacing: 0;
	font-weight: 600;
	font-size: 14px;
}

.tab_root:hover {
	background: var(--blue-hover-0);
}

.tab_root svg {
	width: 24px;
    height: 24px;
    padding: var(--spacing-2);
	color: var(--blue-text);
    fill: currentColor;
}

.tab_root:hover svg {
	color: var(--white-1);
}

.tab_root:not(:first-child)::before {
    background-color: var(--blue-button-0);
    content: "";
    width: 1px;
    height: var(--size-control-xxs);
    position: absolute;
    inset-inline-start: -2px;
}

.tab_root:not(:first-child):hover::before,
.tab_root:hover + .tab_root::before,
.tab_root.tab_selected::before,
.tab_root.tab_selected + .tab_root::before {
  background-color: unset;
}

.tab_selected {
	background: var(--blue-button-1);
    color: var(--white-1);
}

.tab_selected svg {
	color: var(--white-1);
}

.tab_selected:hover {
	background: var(--blue-hover-1);
}

.tab_root:active {
	opacity: 0.86;
}

.img_link {
    background-size: contain !important;
    background-position: center center !important;
	min-width: 75px;
	height: 100%;
}

.aviator {
	background: url(/img/games-ico/header/aviator.png) no-repeat;
}

.lj {
	background: url(/img/games-ico/header/lj.png) no-repeat;
}

.crash {
	background: url(/img/games-ico/header/crash.png?v=1) no-repeat;
}

.mines {
	background: url(/img/games-ico/header/mines.png) no-repeat;
}

.aof {
	background: url(/img/games-ico/header/aof.png?v=1) no-repeat;
}

.thimbles {
	background: url(/img/games-ico/header/thimbles.png?v=1) no-repeat;
}

.header-main_leading {
	justify-content: flex-end;
    align-items: center;
    gap: var(--spacing-12);
    flex-grow: 1;
    min-width: 0;
    margin-inline-start: auto;
    display: flex;
}

.buttons_root {
	gap: var(--spacing-8);
    display: flex;
}

.buttons_variant {
	cursor: pointer;
	border-radius: var(--rounding-square);
	display: flex;
	transition: all 0.1s ease;
    justify-content: center;
    align-items: center;
	font-size: 14px;
    font-weight: 600;
	color: var(--white-1);
	height: 32px;
	padding: 12px;
}

.buttons_variant:active {
	opacity: 0.86;
}

.header-auth-button {
    background: var(--blue-button-0); 
}

.header-auth-button:hover {
	background: var(--blue-hover-0);
}

.header-registration-button {
    background: var(--blue-button-1);
    border: 1px solid transparent;
    translate: 0px 0px 1px;
}

.header-registration-button:hover {
	background: var(--blue-hover-1);
}

.header-registration-button::before {
    content: " ";
    position: absolute;
    inset: calc(1px* -1);
    z-index: -1;
    border: inherit;
    border-radius: inherit;
    background-image: conic-gradient(from var(--angle), #1d5b6a00 80%, #d1f2ff 88%, #d1f9ff 92%, #1d626a00 100%);
    background-origin: border-box;
    -webkit-mask: linear-gradient(black, black) content-box, linear-gradient(black, black);
    mask: linear-gradient(black, black), linear-gradient(black, black);
    -webkit-mask-clip: content-box, border-box;
    mask-clip: content-box, border-box;
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: spin 3s linear infinite;
}

.header-balance-rendered {
	align-items: center;
    gap: var(--spacing-12);
    display: flex;
	flex-grow: 1;
    min-width: 0;
}

.header-balanceBlock {
	flex-direction: column;
    flex-grow: 1;
    min-width: 0;
    display: flex;
    align-items: end;
    background: var(--blue-contrast);
	height: var(--size-control-xl);
    padding-inline: 8px;
    border-radius: var(--rounding-square);
    justify-content: center;
}

.balance-currency {
    display: flex;
    align-items: center;
    color: var(--blue-text);
    font-size: 12px;
    font-weight: 400;
    justify-content: flex-end;
}

.balance-money {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.balance-money-view {
    white-space-collapse: unset;
    font-size: 14px;
    text-align: end;
    font-weight: 600;
    color: var(--white-1);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-deposit-button {
	background: var(--green-0);
}

.header-deposit-button:hover {
    background: var(--green-hover-0);
}

.settings-header {
	display: flex;
    position: relative;
    align-items: center;
}

.settings-header__button {
    cursor: pointer;
    transition: .1s ease;
    height: var(--size-control-xl);
    width: var(--size-control-xl);
    border-radius: 8px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: var(--blue-contrast);
    color: var(--blue-text);
}

.settings-header__button:hover {
    background: var(--blue-hover-0);
    color: var(--white-1);
}

.settings-header__button:active {
    opacity: 0.86;
}

.notifications-icon-active {
    position: absolute;
    right: 14px;
    top: 9px;
    width: 8px;
    height: 8px;
    background: var(--red-0);
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
}

.notifications-icon-active.active {
	animation: notifications-icon-key .5s linear infinite alternate;
}

.settings-header__button svg {
    fill: currentColor;
    width: 100%;
    height: 100%;
    padding: 12px;
}

@media (min-width: 1024px) {
    .header-main_wrapper {
        height: var(--header-layout-height-desktop);
        padding-inline: var(--container-padding-desktop);
    }
	
	.header-main_logo {
		height: 70px;
	}
	
	.buttons_root {
		gap: var(--spacing-12);
		display: flex;
	}
	
	.buttons_variant {
		height: 44px;
		padding: 20px;
	}
}

@media (max-width: 1024px) {
	/* tablet / small laptop */
	.segment-control_root {
		display: none;
	}
	
	.header-balanceBlock {
		height: var(--size-control-s);
	}
	
	.balance-currency {
		font-size: 11px;
	}
	
	.balance-money-view {
		font-size: 13px;
	}
	
	.settings-header__button {
		height: var(--size-control-s);
		width: var(--size-control-s);
	}
	
	.settings-header__button svg {
		padding: 8px;
	}
	
	.notifications-icon-active {
		right: 10px;
		top: 7px;
		width: 5px;
		height: 5px;
	}
}

@media (max-width: 1740px) {
	.segment-control_root.games {
		display: none;
	}
}

/* header-end */
/* home-start */
.game-box {
    --container__padding: var(--container-padding-mobile);
    width: 100%;
    max-width: var(--size-container-width-max);
    gap: var(--spacing-24);
    padding-block: var(--container-page-content-padding-top-mobile)var(--container-page-content-padding-bottom-mobile);
    padding-inline: var(--container__padding);
    flex-direction: column;
    margin-inline: auto;
    display: flex;
}

@media (min-width: 1024px) {
    .game-box {
        --container__padding: var(--container-padding-desktop);
        gap: var(--spacing-32);
        padding-block: var(--container-page-content-padding-top-desktop) var(--container-page-content-padding-bottom-desktop);
        padding-inline: var(--container-padding-desktop);
    }
}

@media (max-width: 1440px) {
	.game-box {
		gap: var(--spacing-24);
	}
}

.casino-preset-navigation_root {
	display: none;
	justify-content: center;
    
}

@media (max-width: 1740px) {
	.casino-preset-navigation_root {
		display: flex;
	}
}

.segment-chips-tab_root {
	isolation: isolate;
    grid-auto-columns: minmax(0, max-content);
    grid-auto-flow: column;
    width: max-content;
    display: grid;
    position: relative;
	border-radius: var(--rounding-square);
    background: var(--tab-color-segment-bg);
}

.chips-tab {
	position: relative;
    cursor: pointer;
    height: var(--size-control-xl);
    justify-content: center;
    align-items: center;
    gap: var(--spacing-8);
    padding-inline: var(--spacing-16);
    -webkit-user-select: none;
    user-select: none;
    white-space: nowrap;
    will-change: transform;
    display: flex;
    border-radius: var(--rounding-square);
    line-height: 20px;
    letter-spacing: 0;
    font-weight: 600;
    font-size: 14px;
}

.chips-tab:not(:first-child)::before {
    background-color: var(--blue-button-0);
    content: "";
    width: 1px;
    height: var(--size-control-xxs);
    position: absolute;
    inset-inline-start: -2px;
}

.chips-tab:not(:first-child):hover::before,
.chips-tab:hover + .chips-tab::before,
.chips-tab.tab_selected::before,
.chips-tab.tab_selected + .chips-tab::before {
  background-color: unset;
}

.chips-tab:hover {
    background: var(--blue-hover-0);
}

.chips-tab:active {
	opacity: 0.86;
}

.chips-tab .img_link {
	min-width: 80px;
}

.carouel-grid_root {
    max-width: 100%;
    display: grid;
	
	grid-template: "a b" / 67% auto;
	gap: var(--spacing-16);
}

.banners-carousel_root {
	border-radius: 12px;
    min-width: 0;
    max-width: 100%;
    aspect-ratio: 2.625;
    box-shadow: 0 0 0 1px rgba(179, 182, 189, 0.12);
    flex-direction: column;
    display: flex;
    position: relative;
    overflow: hidden;
	grid-area: a;
}

.scaler_root {
    width: 100%;
    height: 100%;
    position: relative;
	flex-grow: 1;
    transition: opacity .28s ease-in;
}

.scaler_item {
	transform-origin: 0 0;
	width: 100%;
	height: 100%;
}

.swiper {
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    list-style: none;
    display: block;
    position: relative;
    overflow: hidden;
	touch-action: pan-y;
	height: 100%;
}

.swiper-wrapper {
	z-index: 1;
    width: 100%;
    height: 100%;
    transition-property: transform;
    transition-timing-function: initial;
    box-sizing: content-box;
    display: flex;
    position: relative;
}

.slider-controls {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
	padding: 16px;
	opacity: 0;
	pointer-events: none;
	transition: 0.3s ease;
	z-index: 2;
}

.banners-carousel_root:hover .slider-controls {
	opacity: 1;
	pointer-events: auto;
}

.slider-container {
	padding: 4px;
    background: var(--blue-transparent);
    border-radius: 8px;
    display: flex;
    gap: 4px;
}

.prev-slide, .next-slide {
    background: var(--blue-button-0);
    border: none;
    color: var(--blue-text);
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: .3s ease;
}

.prev-slide:hover, .next-slide:hover {
    background: var(--blue-hover-0);
	color: var(--white-1);
}

.prev-slide:active, .next-slide:active {
    opacity: 0.86;
}

.game-of-the-week-container {
	width: 100%;
    height: 100%;
    position: relative;
	overflow: hidden;
	border-radius: 12px;
	background: linear-gradient(70deg, #076cd2 -8%, #008dc3 96%);
    box-shadow: 0px 0px 15px 8px rgba(0, 0, 0, 0.1);
	grid-area: b;
}

.game-of-the-week {
	position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
	width: 100%;
}

.game-of-the-week-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 0.8;
	background-image: url('/img/game_of_week.png?v=1');
	background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

.game-of-the-week-header {
	text-align: center;
    color: var(--white-1);
    font-size: 24px;
    font-weight: bold;
    padding: 16px 0px 0px 16px;
}

.game-of-the-week-main {
	text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 16px;
	display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

.game-of-the-week-picture {
	background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
    border-radius: 12px;
	box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.1);
	border: 1px solid #ffffff52;
	scale: 1;
	transition: 0.3s ease;
}

.game-of-the-week-picture:hover {
	scale: 1.05;
}

.game-of-the-week-button {
	position: relative;
	width: 100%;
    background: #dbdbdb;
    color: #076cd2;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
	transition: .3s ease;
}

.game-of-the-week-button:hover {
	background: #ffffff;
	color: #008dc3;
	box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.1);
}

.game-of-the-week-button:active {
	background: #dbdbdb;
	color: #008dc3;
	box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.1);
}

.game-of-the-week-picture-container {
    position: absolute;
    top: 50%;
    height: 70%;
    left: 50%;
    transform: translate(-50%) translateY(-50%);
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

@media (min-width: 1024px) {
    .banners-carousel_root {
        overflow: hidden;
    }
}

@media (max-width: 1440px) {
	.carouel-grid_root {
		grid-template: "a b" / 57.52% auto;
		gap: var(--spacing-16);
	}
	
	.game-of-the-week {
		align-items: flex-start;
	}
	
	.game-of-the-week-header {
		max-width: 160px;
		text-align: left;
	}
	
	.game-of-the-week-button {
		min-width: 120px;
	}
	
	.game-of-the-week-picture-container {
		top: 100%;
		height: 90%;
		left: 90%;
		transform: translate(-100%) translateY(-90%);
	}
	
	.game-of-the-week-overlay {
		left: 21%;
	}
}

@media (max-width: 1024px) {
	.carouel-grid_root {
		grid-template: "a" 'b';
        grid-template-rows: 1fr 1fr;
        grid-template-columns: 1fr;
	}
}

.swiper-wrapper.is-resizing .slide {
    transition: none !important;
}

.slide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.games-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.game-categories {
    width: 100%;
}

.game-categories ul {
	display: flex;
    gap: 8px;
	flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.game-categories li {
    position: relative;
}

.game-categories a {
	height: 40px;
    display: flex;
	justify-content: center;
	border-radius: 8px;
    align-items: center;
    user-select: none;
    white-space: nowrap;
    will-change: transform;
    color: var(--white-1);
	gap: 8px;
    text-decoration: none;
    font-size: 14px;
	font-weight: 600;
    line-height: 20px;
	padding-inline: 16px;
	background: var(--blue-contrast);
    transition: .1s ease;
}

.game-categories a:hover {
    background: var(--blue-hover-0);
	box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.1);
}

.game-categories a:active {
    opacity: 0.86;
}

.game-categories a.active {
    background: var(--blue-button-1);
}

.game-categories a.active:hover {
    background: var(--blue-hover-1);
}

.game-categories .category-icon {
    margin-right: 12px;
    opacity: 0.7;
}

.category-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
	text-align: center;
}

.category-section {
    width: 100%;
	display: flex;
    flex-direction: column;
    gap: 16px;
}

.title_root {
	display: flex;
    align-items: center;
    gap: 12px;
}

.icon-box_root {
	width: 44px;
    height: 44px;
    display: flex;
	justify-content: center;
    align-items: center;
    border-radius: 8px;
    color: var(--white-1);
    background: var(--blue-contrast);
}

.title_title {
	color: var(--white-1);
    font-size: 20px;
    font-weight: 600;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 12px;
    color: #f0f2f5;
}

.game-category {
    pointer-events: auto;
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
}

.game-category:focus {
    outline: none;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.game-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(16, 100, 191, 0.2) 0%, rgba(15, 25, 47, 0.2) 100%);
    transition: .1s ease;
    aspect-ratio: 4/5;
	border: 1px solid #b3b6bd1f;
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	position: absolute;
	transition: 0.1s linear;
    scale: 1;
}

.game-card img:hover {
    scale: 1.05;
}

.game-card .game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
	pointer-events: none;
   
    color: #fff;
}

.game-card .game-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.game-card .game-provider {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 4px;
}

.game-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    will-change: transform, opacity; /* Улучшает производительность анимации */
}

.game-card:hover::before {
    margin: 0px;
}

.game-card::after {
    content: '';
    position: absolute;
	pointer-events: none;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
	z-index: 2;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: skewX(-25deg);
}

.game-card:hover::after {
    animation: shine 0.7s ease-in-out;
}

@keyframes shine {
    100% {
        left: 200%;
    }
}

.game-card.hidden {

}

/* Добавим эффект наведения для карточек */
.game-card:hover {
	box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.1);
}

/* Анимация для заголовков категорий */
.section-title {
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform-origin: left center;
}

.section-title.hidden {
	display: none;
    opacity: 0;
    transform: translateX(-20px);
}

/* =========================
   FIX: hidden не ломает grid
========================= */

.game-card.hidden {
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    position: static !important;
}


/* =========================
   FIX: убираем прыжки секций
========================= */

.category-section {
    animation: none !important;
    transform: none !important;
}

.game-card.with-animation {
    animation: none !important;
}

.game-card {
    transform: none !important;
}


/* =========================
   Game card loading
========================= */

.game-card {
    position: relative;
}

.game-card img {
    z-index: 2;
    opacity: 0;
    transition: opacity 0.25s ease, scale 0.3s ease;
}

.game-card.is-card-loaded img {
    opacity: 1;
}

.game-card.is-card-error img {
    display: none;
}

.game-card.is-card-loading::before,
.game-card.is-skeleton::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    margin: 0;
    opacity: 1;

    background: linear-gradient(
        90deg,
        rgba(15, 25, 47, 0.85) 0%,
        rgba(24, 50, 82, 0.95) 45%,
        rgba(15, 25, 47, 0.85) 100%
    );

    background-size: 220% 100%;
    animation: gameSkeletonLoading 1.15s ease-in-out infinite;
}

.game-card.is-card-loading::after,
.game-card.is-skeleton::after {
    display: none;
}

.game-card.is-card-loading:hover::before,
.game-card.is-skeleton:hover::before {
    margin: 0;
}

.game-card.is-skeleton {
    pointer-events: none;
    cursor: default;
    aspect-ratio: 4/5;
}


/* =========================
   Title loading
========================= */

.category-section.is-section-loading .title_root,
.title_root.is-skeleton-title {
    pointer-events: none;
}

.category-section.is-section-loading .icon-box_root,
.title_root.is-skeleton-title .icon-box_root {
    position: relative;
    overflow: hidden;
}

.category-section.is-section-loading .icon-box_root svg,
.title_root.is-skeleton-title .icon-box_root svg {
    opacity: 0;
}

.category-section.is-section-loading .title_title,
.title_root.is-skeleton-title .title_title {
    position: relative;
    overflow: hidden;
    color: transparent;
    border-radius: 8px;
}

.category-section.is-section-loading .title_title {
    min-width: 120px;
}

.title_root.is-skeleton-title .title_title {
    width: 160px;
    height: 24px;
}

.category-section.is-section-loading .icon-box_root::before,
.category-section.is-section-loading .title_title::before,
.title_root.is-skeleton-title .icon-box_root::before,
.title_root.is-skeleton-title .title_title::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(15, 25, 47, 0.85) 0%,
        rgba(24, 50, 82, 0.95) 45%,
        rgba(15, 25, 47, 0.85) 100%
    );

    background-size: 220% 100%;
    animation: gameSkeletonLoading 1.15s ease-in-out infinite;
}

@keyframes gameSkeletonLoading {
    0% {
        background-position: 120% 0;
    }

    100% {
        background-position: -120% 0;
    }
}

/* FIX: когда карточка одновременно loaded + loading,
   прячем картинку, чтобы skeleton выглядел как skeleton, а не затемнение */
.game-card.is-card-loading img {
    opacity: 0 !important;
}

/* На всякий случай skeleton поверх всего */
.game-card.is-card-loading::before,
.game-card.is-skeleton::before {
    z-index: 5;
}

/* Overlay с названием/текстом тоже не должен торчать во время loading */
.game-card.is-card-loading .game-overlay,
.game-card.is-skeleton .game-overlay {
    opacity: 0;
}

.slider-win_main {
    width: 100%;
    height: 99px;
    position: relative;
    overflow: hidden;
    translate: 0px 0px 1px;
}

/* Добавляем тени слева и справа */
.slider-win_main::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: linear-gradient(90deg, #0f192f 0%, rgba(15, 25, 47, 0) 0%, rgba(15, 25, 47, 0) 85%, #0f192f 100%);
    z-index: 10;
}

.slider-win_container:hover {
	background: var(--blue-hover-0);
}

.slider-win_container:active {
	opacity: 0.86 !important;
}

.slider-win_wrapper {
    display: flex;
    position: relative;
    left: 0;
    top: 0;
    height: 100%;
    transition: transform 0.5s ease;
	align-items: flex-end;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: nowrap;
}



.slider-win_container {
	display: flex;
	gap: 18px;
    align-items: center;
	border-radius: 8px;
    background: var(--blue-button-0);
    height: 87px;
	width: 180px;
	position: absolute;
	z-index: 5;
	transition: .1s ease;
	cursor: pointer;
}

.slider-win_img-container {
    width: auto;
    height: 87px;
    left: 10px;
    bottom: 10px;
    position: relative;
    z-index: 20;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    aspect-ratio: 4 / 5;
}

.slider-win_img {
	width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
	transition: .3s ease;
}

.slider-win_img-container:hover .slider-win_img {
	scale: 1.05;
}

.slider-win_text-container {
	display: flex;
    flex-direction: column;
    align-items: flex-start;
	gap: 4px;
}

.slider-win_text-money {
	color: var(--white-1);
    background: #12B857;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    position: relative;
    z-index: 3;
}

.slider-win_text-id {
	color: var(--blue-text);
    font-size: 10px;
    font-weight: 400;
}

.slider-win_container.high::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    radial-gradient(1px 1px at 5% 10%, #fff 100%, transparent 0),
    radial-gradient(1px 1px at 15% 30%, #fff 100%, transparent 0),
    radial-gradient(1px 1px at 25% 70%, #fff 100%, transparent 0),
    radial-gradient(1px 1px at 35% 20%, #fff 100%, transparent 0),
    radial-gradient(1px 1px at 45% 50%, #fff 100%, transparent 0),
    radial-gradient(1px 1px at 55% 80%, #fff 100%, transparent 0),
    radial-gradient(1px 1px at 65% 40%, #fff 100%, transparent 0),
    radial-gradient(1px 1px at 75% 60%, #fff 100%, transparent 0),
    radial-gradient(1px 1px at 85% 15%, #fff 100%, transparent 0),
    radial-gradient(1px 1px at 95% 75%, #fff 100%, transparent 0);

  opacity: 0.6;
  animation: starsFloat 2s linear infinite;
}




@keyframes starsFloat {
  from { background-position-y: 0; }
  to   { background-position-y: -60px; }
}


.slider-win_container.high {
	background: linear-gradient(135deg, var(--orange-0), #FFB347);
	
}

.slider-win_container.high:hover {
	background: linear-gradient(135deg, var(--orange-hover-0), #FFB347);
}

.slider-win_container.high .slider-win_text-money {
	color: var(--white-0);
	background: var(--orange-0);
}

.slider-win_container.high .slider-win_text-id {
	color: var(--white-1);
}

@media (max-width: 1024px) {
	.chips-tab {
		height: var(--size-control-l);
	}
	
	.games-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
    }
	
	.slider-win_main {
		height: 79px;
	}
	
	.slider-win_container {
		height: 70px;
		gap: 12px;
	}
	
	.slider-win_img-container {
		height: 70px;
		left: 5px;
		bottom: 5px;
	}
	
	
}

@media (max-width: 768px) {
	/* mobile */
	.chips-tab {
		height: var(--size-control-m);
	}
	
	.chips-tab .img_link {
		min-width: 60px;
	}
}

@media (max-width: 480px) {
  /* small mobile */
	.casino-preset-navigation_root {
		display: none;
	}
}


/* home-end */
/* sidebar-start */

.common-layout_space-mobile {
    display: none;
}

.sidebar_root {
    z-index: 131;
    position: relative;
}

.common-layout_space {
    width: 280px;
    transition: .3s ease;
}

.common-layout_backdrop {
    background-color: var(--blue-contrast);
    width: 280px;
    height: 100dvh;
    position: fixed;
    transition: .3s ease;
}

.common-layout_sleave {
    height: 100dvh;
    position: fixed;
    overscroll-behavior: contain;
    scrollbar-width: none;
    padding-block-start: 16px;
    padding-inline-end: 20px;
}

.common-layout_content {
    position: relative;
    width: 280px;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    gap: 16px;
    transition: .3s ease;
}

.sidebar-slot_root {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}



@media (max-width: 1440px) {
  /* tablet / small laptop */
}

@media (max-width: 1024px) {
	/* tablet / small laptop */
    .common-layout_space-mobile {
        width: 100dvw;
        height: 1000dvh;
        transition: .3s ease;
        position: absolute;
        background: #00000085;
        display: none;
        opacity: 0;
        z-index: 130;
    }
	
	.sidebar_root {
		position: absolute;
		transform: translate(-280px, 0);
		opacity: 0;
		pointer-events: none;
		transition: .3s ease;
		position: fixed;
	}
	
	.common-layout_content {
		max-height: 100dvh;
	}
}

@media (max-width: 768px) {
  /* mobile */
}

@media (max-width: 480px) {
  /* small mobile */
}

/* mobile-bar-start */
.mobile-bar-root {
    display: none;
}

.mobile-bar-tabs {
	width: 100%;
	height: 60px;
	padding: 0;
	margin: 0;
	display: flex;
}

.mobile-bar-tab {
	flex: 1 1 0;
	list-style-type: none;
}

.tab-root {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.10px;
    line-height: 14px;
    width: 100%;
    height: 100%;
    padding: 8px 4px;
    background-color: unset;
    color: var(--white-1);
    cursor: pointer;
    justify-content: center;
    align-items: center;
    gap: 6px;
    -webkit-user-select: none;
    user-select: none;
    white-space: nowrap;
    flex-direction: column;
    display: flex;
    text-decoration: none;
}

.tab-icon {
    background-color: transparent;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
}

.tab-icon-box {
    display: flex;
    width: 30px;
    height: 24px;
    padding: 2px;
    align-items: center;
    justify-content: center;
}

.tab-icon-box svg {
    color: var(--blue-text);
    fill: currentColor;
    stroke: currentColor;
}

@media (max-width: 1024px) {
	.mobile-bar-root {
		z-index: 125;
		transition-property: z-index;
		transition-delay: .5s;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		background-color: #0f2c52;
		width: 100%;
		box-shadow: inset 0 1px 0 0 rgba(179, 182, 189, 0.12);
		justify-content: center;
		display: flex;
	}
}