:root {
	--font-family-primary: "Podkova", serif;
	--font-family-secondary: "Ultra", serif;

	--popup-text-primary: #ffffff;
	--popup-color-primary: #e7e917;
	--popup-color-accent: #000000;
	--popup-color-gradient-end: #e7e917;
	--popup-bg: #080c15;

	--stb-black: 0 0 0;
    --stb-white: 255 255 255;
    --stb-neutral-50: 244 239 236;
    --stb-neutral-100: 233 224 217;
    --stb-neutral-150: 221 208 198;
    --stb-neutral-200: 210 193 179;
    --stb-neutral-300: 188 162 141;
    --stb-neutral-400: 165 131 103;
    --stb-neutral-500: 143 100 65;
    --stb-neutral-600: 114 80 52;
    --stb-neutral-700: 86 60 39;
    --stb-neutral-800: 57 40 26;
    --stb-neutral-850: 41 27 15;
    --stb-neutral-900: 25 12 5;
    --stb-neutral-950: 16 11 7;
    --stb-neutral-1000: 22 17 71;
    --stb-brand-50: 255 231 178;
    --stb-brand-100: 255 227 162;
    --stb-brand-150: 255 222 147;
    --stb-brand-160: 242 211 142;
    --stb-brand-200: 255 218 132;
    --stb-brand-300: 255 208 101;
    --stb-brand-400: 255 199 71;
    --stb-brand-500: 255 190 40;
    --stb-brand-600: 210 154 24;
    --stb-brand-700: 210 154 24;
    --stb-brand-800: 187 135 16;
    --stb-brand-900: 153 108 4;
    --stb-brand-950: 142 99 0;
    --stb-brand-1000: 255 241 210;
    --stb-grey-25: 184 180 178;
    --stb-grey-50: 153 148 145;
    --stb-grey-100: 123 119 117;
    --stb-grey-200: 255 244 201;
    --stb-grey-300: 118 82 52;
    --stb-grey-400: 221 208 198;
    --stb-grey-500: 255 238 172;
    --stb-grey-600: 122 78 42;
    --stb-green-50: 213 227 243;
    --stb-green-450: 134 186 66;
    --stb-green-500: 112 176 31;
    --stb-green-700: 100 143 43;
    --stb-green-800: 23 69 17;
    --stb-green-900: 76 119 23;
    --stb-green-950: 43 62 18;
    --stb-green-1000: 73 112 22;
    --stb-green-1100: 113 159 51;
    --stb-red-500: 253 86 75;
    --stb-red-600: 222 0 0;
    --stb-red-700: 190 0 0;
    --stb-red-800: 104 7 7;
    --stb-red-850: 64 0 0;
    --stb-yellow-400: 242 184 112;
    --stb-yellow-500: 255 168 89;
    --stb-yellow-600: 255 152 59;
    --stb-yellow-700: 219 125 39;
    --stb-yellow-800: 174 91 14;
    --stb-yellow-850: 94 49 12;
    --stb-yellow-900: 255 227 115;
    --stb-yellow-950: 223 160 14;
    --stb-blue-500: 133 228 255;
    --stb-blue-550: 34 83 195;
    --stb-gradient-100: linear-gradient(180deg, rgb(var(--stb-red-600)) 0%, rgb(var(--stb-red-850)) 100%);
    --stb-gradient-200: linear-gradient(180deg, rgb(var(--stb-red-500)) 0%, rgb(var(--stb-red-600)) 100%);
    --stb-gradient-300: linear-gradient(180deg, rgb(var(--stb-red-700)) 0%, rgb(var(--stb-red-850)) 100%);
    --stb-gradient-400: linear-gradient(180deg, rgb(var(--stb-yellow-700)) 0%, rgb(var(--stb-yellow-800)) 100%);
    --stb-gradient-500: linear-gradient(180deg, rgb(var(--stb-yellow-400)) 0%, rgb(var(--stb-yellow-700)) 100%);
    --stb-gradient-600: linear-gradient(180deg, rgb(var(--stb-yellow-800)) 0%, rgb(var(--stb-yellow-850)) 100%);
    --stb-gradient-700: linear-gradient(180deg, rgb(var(--stb-neutral-300)) 0%, rgb(var(--stb-neutral-700)) 100%);
    --stb-gradient-750: linear-gradient(180deg, rgb(var(--stb-neutral-400)) 0%, rgb(var(--stb-neutral-500)) 100%);
    --stb-gradient-800: linear-gradient(180deg, rgb(var(--stb-neutral-200)) 0%, rgb(var(--stb-neutral-500)) 100%);
    --stb-gradient-850: linear-gradient(180deg, rgb(var(--stb-neutral-500)) 0%, rgb(var(--stb-neutral-600)) 100%);
    --stb-gradient-900: linear-gradient(180deg, rgb(var(--stb-neutral-700)) 0%, rgb(var(--stb-neutral-800)) 100%);
    --stb-gradient-950: linear-gradient(180deg, rgb(var(--stb-neutral-700)) 0%, rgb(var(--stb-neutral-850)) 100%);
    --stb-gradient-1000: linear-gradient(180deg, rgb(var(--stb-grey-25)) 0%, rgb(var(--stb-grey-100)) 100%);
    --stb-gradient-1050: linear-gradient(90deg, rgba(var(--stb-neutral-400) / 0) 0%, rgb(var(--stb-neutral-400)) 50%, rgba(var(--stb-neutral-400) / 0) 100%);
    --stb-gradient-1100: linear-gradient(180deg, rgb(var(--stb-neutral-500)) 0%, rgb(var(--stb-neutral-800)) 100%);
    --stb-gradient-1150: linear-gradient(90deg, rgba(var(--stb-white) / 0) 1%, rgb(var(--stb-white)) 3%, rgb(var(--stb-white)) 97%, rgba(var(--stb-white) / 0) 99%);
    --stb-text-primary: rgb(var(--stb-brand-500));
    --stb-text-secondary: rgb(var(--stb-brand-1000));
    --stb-text-contrast-primary: rgb(var(--stb-neutral-150));
    --stb-text-contrast-secondary: rgb(var(--stb-grey-100));
    --stb-text-accent: rgb(var(--stb-white));
    --stb-text-stroke: rgba(var(--stb-black) / .2);
    --stb-functional-info-plus: rgb(var(--stb-blue-500));
    --stb-button-primary: var(--stb-gradient-100);
    --stb-button-primary-hover: var(--stb-gradient-200);
    --stb-button-primary-active: var(--stb-gradient-300);
    --stb-button-secondary: var(--stb-gradient-400);
    --stb-button-secondary-hover: var(--stb-gradient-500);
    --stb-button-secondary-active: var(--stb-gradient-600);
    --stb-button-tertiary: var(--stb-gradient-700);
    --stb-button-tertiary-hover: var(--stb-gradient-800);
    --stb-button-tertiary-active: var(--stb-gradient-900);
    --stb-button-disable: var(--stb-gradient-1000);
    --stb-button-text-bright: rgb(var(--stb-white));
    --stb-button-text-dark: rgb(var(--stb-neutral-950));
    --stb-link-primary: rgb(var(--stb-white));
    --stb-link-secondary: rgb(var(--stb-brand-150));
    --stb-link-tertiary: rgb(var(--stb-neutral-150));
    --stb-link-accent: rgb(var(--stb-neutral-50));
    --stb-link-alert: rgb(var(--stb-red-600));
    --stb-bg-primary: rgb(var(--stb-neutral-950));
    --stb-bg-secondary: rgb(var(--stb-neutral-900));
    --stb-bg-tertiary: rgb(var(--stb-neutral-800));
    --stb-bg-fourth: rgb(var(--stb-neutral-700));
    --stb-bg-contrast-primary: rgb(var(--stb-neutral-500));
    --stb-bg-contrast-secondary: rgb(var(--stb-neutral-400));
    --stb-bg-contrast-tertiary: rgb(var(--stb-neutral-100));
    --stb-bg-popup: rgb(var(--stb-neutral-950) / .7);
    --stb-input-fill: rgb(var(--stb-neutral-800));
    --stb-input-fill-hover: rgb(var(--stb-neutral-700));
    --stb-input-fill-selected: rgb(var(--stb-neutral-600));
    --stb-input-stroke: rgb(var(--stb-neutral-500));
    --stb-input-stroke-hover: rgb(var(--stb-neutral-300));
    --stb-input-stroke-selected: rgb(var(--stb-neutral-400));
    --stb-icon-100: rgb(var(--stb-brand-50));
    --stb-icon-400: rgb(var(--stb-brand-1000));
    --stb-icon-800: rgb(var(--stb-neutral-500));
    --stb-icon-1000: rgb(var(--stb-neutral-950));
    --stb-banner: 28 20 14;
    --stb-functional-done: rgb(var(--stb-green-500));
    --stb-functional-warning: rgb(var(--stb-brand-500));
    --stb-functional-error: rgb(var(--stb-red-700));
    --stb-functional-alert: rgb(var(--stb-red-600));
    --stb-functional-info: rgb(var(--stb-brand-200));
    --stb-skeleton: rgb(var(--stb-neutral-850));
    --stb-button-text-bright-filter: invert(100%) sepia(0%) saturate(7487%) hue-rotate(126deg) brightness(108%) contrast(105%);
    --stb-button-text-middle-filter: invert(59%) sepia(22%) saturate(499%) hue-rotate(207deg) brightness(89%) contrast(87%);
    --stb-text-secondary-filter: invert(64%) sepia(11%) saturate(970%) hue-rotate(207deg) brightness(85%) contrast(83%);
    --stb-text-primary-filter: invert(92%) sepia(8%) saturate(1131%) hue-rotate(327deg) brightness(104%) contrast(105%);
    --stb-white-filter: invert(99%) sepia(3%) saturate(371%) hue-rotate(87deg) brightness(115%) contrast(100%);
    --stb-brand-500-filter: invert(86%) sepia(10%) saturate(6180%) hue-rotate(335deg) brightness(105%) contrast(103%);
    --stb-icon-400-filter: invert(58%) sepia(23%) saturate(462%) hue-rotate(207deg) brightness(91%) contrast(88%);
    --stb-neutral-800-filter: brightness(0) saturate(100%) invert(14%) sepia(7%) saturate(3305%) hue-rotate(344deg) brightness(97%) contrast(91%);
    --stb-neutral-900-filter: brightness(0) saturate(100%) invert(5%) sepia(21%) saturate(2016%) hue-rotate(338deg) brightness(100%) contrast(99%);
    --stb-shadow-primary: 0 6px 16px rgb(37 14 61 / .1);
    --stb-filter-drop-shadow: drop-shadow(-1px 6px 6px rgb(37 14 61 / .1));
    --stb-text-shadow: 0px 1px 0px rgba(var(--stb-black) / .3), 0px .5px 2px rgba(var(--stb-black) / .4);
    --stb-title-block-text-shadow-color: 0 2px 0 rgb(var(--stb-neutral-800)), 1.4px 0 0 rgb(var(--stb-neutral-950)), 1px 0 0 rgb(var(--stb-neutral-950)), .5px .8px 0 rgb(var(--stb-neutral-950)), -.4px .9px 0 rgb(var(--stb-neutral-950)), -.9px .1px 0 rgb(var(--stb-neutral-950)), -.6px -.7px 0 rgb(var(--stb-neutral-950)), .2px -.9px 0 rgb(var(--stb-neutral-950)), .9px -.2px 0 rgb(var(--stb-neutral-950));
    --stb-coin-progress-shadow: 0 1px 0 0 #1e1105;
}

/* ensure ingame-menu sticks under the fixed navbar */
:root {
    /* make sure this matches your actual navbar height */
    --navbar-height: 59px;
}

/* ingame-menu must be in a scrollable flow (no transformed/overflow ancestor) */
.ingame-menu{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 70px;
    border-bottom: #39281a;
    /* stick directly under the fixed navbar */
    position: sticky;
    top: var(--navbar-height);
    /* must be under the navbar z-index (navbar uses 11) */
    z-index: 9;
    border-bottom: 1px solid var(--stb-bg-tertiary);
    background-color: var(--stb-bg-primary);
}

/* allow vertical overflow but prevent horizontal page overflow so sticky works */
.inner-content,
.container,
.games-slider,
.slider-container,
.scroller,
.side-menu,
.navbar-menu-wrapper {
    max-width: 100%;
    overflow-x: hidden;   /* keep page from scrolling horizontally */
	/* must NOT be hidden/auto for position:sticky to work — explicitly keep visible */
	overflow-y: visible;
}

.slot-slider,
.slider-container,
.inner-content,
.container {
  /* only if these selectors are the offending ancestors — avoid global overrides */
  overflow-y: visible !important;
  transform: none !important;
}

.ingame-menu.fixed-under-nav {
  position: fixed !important;
  /* left: 0;
  right: 0; */
  z-index: 999;
  /* top is set from JS to match navbar height */
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.text-container {
    text-align: justify;
    text-align-last: left;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox, Safari 18.2+, Chromium 121+ */
	overflow-x: hidden;
	/* allow vertical scrolling on the root */
	overflow-y: auto;
}

html::-webkit-scrollbar { 
    display: none;  /* Older Safari and Chromium */
}

body {
	font-family: var(--font-family-primary);
	font-weight: 400;
	font-size: 12px;
	line-height: 1;
	font-style: normal;
	font-display: swap;
	color: #0f2a4b;
	background-color: var(--stb-bg-primary);
	/* ensure body itself is the scroll container (not hidden) */
	overflow-y: auto;
}

.container {
	margin: 0 auto;
	color: white;
}

.navbar {
	position: fixed;
	top: 0;
	width: 100%;
	background: #080c15;
	z-index: 11;
}

.navbar::before{
	position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url(../img/ui/header-bg.png);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 100% 64px;
    background-color: var(--stb-bg-primary);
    content: "";
}

.navbar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 10px;
	padding-bottom: 13px;
}

.navbar-nav {
	flex-grow: 1;
	padding: 0 20px;
	display: flex;
	justify-content: center;
}

.navbar-nav ul {
	list-style: none;
	display: flex;
	justify-content: center;
}

.navbar-nav ul a {
	color: #91b0d7;
	text-decoration: none;
	display: block;
	padding: 8px 12px;
	font-size: 13px;
	text-transform: uppercase;
	font-weight: 600;
}

.navbar-nav ul a.active {
	color: #fff;
}

.header-nav-grow{
	flex-grow: 10000;
    display: flex;
	align-items: center;
    gap: 20px;
    margin-inline-end: auto;
}

.header-actions{
	flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 5px;
	margin-right: 1vw;
}

.btn {
	text-decoration: none;
	font-size: 12px;
	padding: 10px 12px;
	border-radius: 2px;
	user-select: none;
	font-family: var(--font-family-primary);

	background-image: url("../img/ui/btn-header-left.png"), url("../img/ui/btn-header-center.png"), url("../img/ui/btn-header-right.png");
    background-repeat: no-repeat;
    background-position: left center, center, right 0 center;
    background-size: 16px 100%, calc(100% - (16px * 2 - 2px)) 100%, 16px 100%;
	color: #ffffff;
}

.btn-category {
	text-decoration: none;
	font-size: 12px;
	padding: 10px 23px 10px 0;
	border-radius: 2px;
	user-select: none;
	font-family: var(--font-family-primary);

	background-image: url("../img/ui/category-menu-left.png"), url("../img/ui/category-menu-center.png"), url("../img/ui/category-menu-right.png");
    background-repeat: no-repeat;
    /* push the right cap slightly out and increase its width/height so it looks more pointy */
    background-position: left center, center, right -1px center;
    background-size: 30px 100%, calc(100% - (30px * 2 - 2px)) 100%, 30px 100%;
	color: #ffffff;
	display: flex;
	height: 40px;
}

.category-img img{
	height: 250%;
    margin-top: -15px;
    margin-left: -15px;
}

.category-text{
	margin: auto;
}

.ingame-menu{
	display: flex;
	align-items: center;
	justify-content: flex-start;
    width: 100%;
	height: 70px;
	border-bottom: #39281a;
	/* stick directly under the fixed navbar */
	position: sticky;
	top: var(--navbar-height);
	/* must be under the navbar z-index (navbar uses 11) */
	z-index: 9;
	border-bottom: 1px solid var(--stb-bg-tertiary);
    background-color: var(--stb-bg-primary);
}

.search {
	color: #b6cbe5;
	fill: #b6cbe5;
	margin-right: 4px;
	padding: 6px 0 6px 26px;
    width: 80px;
}

.btn-search img{
	height: 250%;
    margin-top: -15px;
}

.buttons-categories{
	width: 74%;
}

.scroller{
	display: flex;
	gap: 20px;
	overflow-x: auto;
	overflow-y: hidden;
	padding-left: 10px;

	/* hide horizontal scrollbar but keep scrolling on all browsers */
	-webkit-overflow-scrolling: touch; /* smooth on iOS */
	-ms-overflow-style: none; /* IE and Edge */
	scrollbar-width: none; /* Firefox */
	overscroll-behavior-x: contain; /* avoid ancestor stealing horizontal swipe */
}
 
.scroller::-webkit-scrollbar { display: none; } /* Chrome, Safari, Opera */

.navbar-toggler {
	display: flex;
	justify-content: center;
	align-items: center;  
	background: none;
	width: 46px;
	height: 46px;
	margin-left: 4px;
	padding: 5px;
	color: #b6cbe5;
	border: none;
}

.navbar-toggler svg { display: inline-block; vertical-align: middle; }
.navbar-toggler svg:last-of-type { display: none; }

/* when toggled, show the second icon and hide the first */
.navbar-toggler.open svg:first-of-type { display: none; }
.navbar-toggler.open svg:last-of-type  { display: inline-block; }


.navbar-toggler-side {
	display: flex;
	justify-content: center;
	align-items: center;  
	background: none;
	width: 46px;
	height: 46px;
	margin-left: 4px;
	padding: 5px;
	color: #b6cbe5;
	border: none;
}

.navbar-toggler-side svg { display: inline-block; vertical-align: middle; }
.navbar-toggler-side svg:last-of-type { display: none; }

/* when toggled, show the second icon and hide the first */
.navbar-toggler-side.open svg:first-of-type { display: none; }
.navbar-toggler-side.open svg:last-of-type  { display: inline-block; }

/* navbar-toggler-side: show menu icon by default, close icon when .open */
.navbar-toggler-side .close-icon { display: none; }
.navbar-toggler-side .icon { display: inline-block; vertical-align: middle; color: #fff; width: 20px; height: 20px; }
.navbar-toggler-side.open .menu-icon { display: none; }
.navbar-toggler-side.open .close-icon { display: inline-block; }

.sub-menu-wrapper{
	position: absolute;
    z-index: 1;
	width: 100%;
	margin-top: 10px;
}

.sub-menu{
	position: relative;
    height: 50px;
	background: linear-gradient(#130C07, #382719);
    border-bottom: 1px solid rgb(var(--stb-neutral-700));
}

.nav-list{
	display: grid;
    grid-template-columns: 1fr minmax(140px, 1fr) 1fr;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    height: 100%;
    padding: 7px 0;
}

.nav-list__item{
	position: relative;
    z-index: 1;
    padding: 0 8px;
}

.nav-list__link{
	display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.2;
    color: var(--stb-link-secondary);
    text-transform: uppercase;
    transition: color .2s;
	text-decoration: none;
}

.nav-list__item:after {
    position: absolute;
    top: 50%;
    inset-inline-end: -12px;
    width: 25px;
    height: 16px;
    background-image: url(../img/divider.svg);
    background-position: center center;
    transform: translateY(-50%);
    content: "";
}

/*hero*/
.hero {
	position: relative;
	margin-top: 59px;
	height: 340px;
	margin-bottom: 30px;
	/* overflow: hidden; */
}

.hero .container {
	position: relative;
	top: 50px;
    left: 50px;
    margin: 0;
	z-index: 2;
	max-width: 360px;
}

.hero-plate{
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
	background-image: url(../img/plate-desktop.png);
    background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.plate-text{
	
}

.plate-text-title{
	font-size: 0.9rem;
	color: var(--stb-link-secondary);
	line-height: 1.2;
    letter-spacing: -.02em;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(var(--stb-black) / .25), 0 1px 0 rgba(var(--stb-black) / .3), 0 1px 2px rgba(var(--stb-black) / .4);
	margin-top: 70px;
}

.plate-text-description{
	font-size: 1rem;
	color: #ffffff;
	font-family: var(--font-family-secondary);
	font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: 0 4px 4px rgba(var(--stb-black) / .25), 0 2px 0 rgba(var(--stb-black) / .3), 0 1px 2px rgba(var(--stb-black) / .5), 1.4px 0 0 rgb(var(--stb-neutral-950)), 1px 0 0 rgb(var(--stb-neutral-950)), .5px .8px 0 rgb(var(--stb-neutral-950)), -.4px .9px 0 rgb(var(--stb-neutral-950)), -.9px .1px 0 rgb(var(--stb-neutral-950)), -.6px -.7px 0 rgb(var(--stb-neutral-950)), .2px -.9px 0 rgb(var(--stb-neutral-950)), .9px -.2px 0 rgb(var(--stb-neutral-950));
	width: 75%;
	text-align: center;
}

.hero-plate img{
	height: 100%;
}

.hero-plate a{
	position: absolute;
    z-index: 3;
    padding: 0 25px;
    min-width: 250px;
    width: auto;
    height: 72px;
    margin: 0 auto;
    background-image: url(../img/hero-plate-button.webp);
    background-repeat: no-repeat;
    background-size: 100% 100%;
	border: none;
    background-color: transparent;
	top: 50%;
	text-decoration: none;
	display: flex;
    align-items: center;
    justify-content: center;
}

.hero-plate a span{
	color: rgb(var(--stb-neutral-800));
    text-align: center;
    text-shadow: 0 1px 1px rgb(var(--stb-brand-400));
    font-size: 32px;
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.96px;
    text-transform: uppercase;
	height: fit-content;
}

.hero .container .highlight {
	color: #ffdd00;
	-webkit-text-stroke: 1px black;
	font-size: 36px;
	line-height: 48px;
	margin-bottom: 24px;
	font-family: var(--font-family-primary);
}

.hero .btn-brand {
	box-shadow: 0 0 10px rgba(255, 221, 0, 0.5);
	background: #e7e917;
	color: var(--stb-text-primary);
	border-color: #e7e917;
	padding: 13px 22px;
}

.hero-bg {
	position: absolute;
	left: 0;
	top: 50px;
	width: 100%;
	height: 100%;
	z-index: 0;
	object-fit: cover;
}

.hero-link {
	position: absolute;
	left: 0;
	top: 50px;
	width: 100%;
	height: 100%;
	z-index: 1;
}

/*slots*/
.slots {
	padding: 24px;
}

.slider-container {
	overflow: hidden;
}

.slider-container::-webkit-scrollbar { display: none; } 

.slots-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.slots-header img {
	width: 24px;
}

.slots-header .slider-title {
	margin: 0 15px 0 5px;
	font-weight: bold;
	color: #ffbe28;
	font-size: 1rem;
    font-family: var(--font-family-secondary);
}

.slots-header .tag-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: #010102;
	width: 100%;
}

.title-divider{
	display: block;
	width: 100%;
    height: 10px;
    background-image: url(../img/title-divider-start.png), url(../img/title-divider-middle.png), url(../img/title-divider-end.png);
    background-size: 8px 8px, calc(100% - 58px) 10px, 45px 10px;
    background-position: left 0 center, left 15px center, right 0 center;
    background-repeat: no-repeat;
}

.games-slider {
	display: flex;
	gap: 1rem;
	scroll-behavior: smooth;
	transition: transform 0.3s ease;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: none; 
	scrollbar-width: none;
	overflow-y: hidden;
}
 
.games-slider::-webkit-scrollbar { display: none; } 

.games-slider1 {
	margin-bottom: 40px;
}

.game-card {
	/* min-width: 240px; */
	width: calc(100% / 12);
	position: relative;
	cursor: pointer;
	flex-shrink: 0;
}

/* ensure card image is beneath the frame */
.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
	border-radius: 10px;
}



/* decorative frame on top of each card */
.game-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("../img/slots/card-frame.png");
    background-repeat: no-repeat;
    background-position: center center;
	background-size: 105% 105%;
    z-index: 5;
}

/* ensure overlays sit under the frame but above the image */
.game-card .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    text-decoration: none;
    z-index: 4;
}
.game-card:hover .play-overlay {
    opacity: 1;
}

.play-button {
	width: 48px;
	height: 48px;
	background: #0070f2;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	position: relative;
	color: white;
}

.play-button:before {
	content: "";
	position: absolute;
	left: 0px;
	right: 0px;
	bottom: 0px;
	top: 0px;
}

.slider-controls {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.slider-nav {
	display: flex;
}

.slider-btn {
	width: 34px;
	height: 32px;
	padding: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #6b95ca;
	transition: all 0.3s ease;
	background: none;
}

.slider-btn:hover {
	background: #edf5ff;
	border-color :#467abc;
}

.slider-btn.prev-btn {
	margin-right: 8px;
}

.slider-btn[disabled] {
	pointer-events: none;
	opacity: .33;
}



text{
	/* background: #fff; */
	font-family: var(--font-family-primary);
}

.seo-text--closed {
    mask-image: linear-gradient(0deg, rgb(var(--stb-white) / 0) 0%, var(--stb-bg-primary) 64.58%);
}

.show-tex{

}

.text-content{
	max-width: 832px;
    margin: 0 auto;
    padding: 0 16px;
}

.text-container img {
	max-width: 100%;
	height: auto;
}

.text-container .container {
	max-width: 1024px;
	padding: 48px 24px;
}

.casino-review{
	
}

.text-container h1, h2, h3, h4 {
	font-family: var(--font-family-secondary);
}

.text-container h1 {
	color: var(--stb-text-primary);
	font-size: 36px;
	line-height: 48px;
	margin-bottom: 24px;
	font-weight: 600;
}

.text-container p {
	margin-bottom: 16px;
	line-height: 1.715;
}

.text-container h2 {
	font-size: 28px;
	line-height: 40px;
	color: var(--stb-text-primary);
	margin-bottom: 24px;
	font-weight: 600;
}

.text-container h3 {
	font-size: 24px;
	line-height: 32px;
	color: var(--stb-text-primary);
	margin-bottom: 24px;
	font-weight: 600;
}

.text-container h4 {
	font-size: 20px;
	line-height: 32px;
	color: var(--stb-text-primary);
	margin-bottom: 12px;
	font-weight: 600;
}

.text-container a {
	color: #0070f2;
	text-decoration: none;
}

.text-container .table-wrapper {
	width: 100%;
	overflow-x: hidden;
	margin-bottom: 20px;
}

.text-container .table-wrapper.scrollable {
	overflow-x: auto;
}

.text-container table {
	width: 100%;
	border-collapse: collapse;
	min-width: 600px;
	border-radius: 10px;
	overflow: hidden;
}

.text-container tr {
	/* background: #9dc9ff; */
	background: var(--stb-gradient-850);
}

.text-container tr:hover {
	/* background: #7cafed; */
	background: var(--stb-gradient-400);
}

.text-container th, td {
	border-bottom: 1px solid #ffffff50;
	padding: 15px;
	font-size: 16px;
	text-align: left;
	white-space: nowrap;
}

.text-container th {
	font-weight: bold;
	background: #080c15;
	color: #fff;
	padding: 20px 15px;
	background-color: var(--stb-bg-tertiary);
    background-image: radial-gradient(171.47% 73.04% at 50% 100%, #0f070166, #0f070100);
	/* background: var(--stb-gradient-850); */
}

.faq-container {
	margin-top: 30px;
}

.faq-item {
	background: linear-gradient(135deg, #1f1f1f 0%, #131313 50%, var(--panel) 100%);
	border-radius: 10px;
	margin-bottom: 16px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
}

.faq-item:hover {
	box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

.faq-item.active .faq-arrow {
	transform: rotate(180deg);
}

.faq-item.active .faq-answer {
	opacity: 1;
	height: auto;
	transform: scaleY(1);
}

.faq-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 24px;
	cursor: pointer;
	background: #080c15;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;

	
}

.faq-question p{
	font-size: 18px;
	font-weight: 600;
	color: #fff;
	margin: 0;
	line-height: 1.3;
	letter-spacing: 0.3px;
	flex: 1;
	padding-right: 16px;
}

.faq-answer p{
	font-size: 24px;
	line-height: 32px;
	color: var(--stb-text-primary);
	margin-bottom: 24px;
	font-weight: 600;
}

.faq-arrow {
	font-size: 16px;
	color: #ffffff;
	transition: all 0.3s ease;
	font-weight: 600;
	min-width: 20px;
	text-align: center;
}

.faq-answer {
	opacity: 0;
	height: 0;
	overflow: hidden;
	transform: scaleY(0);
	transform-origin: top;
	transition: all 0.3s ease;
	background: #080c15;
	padding: 0 24px;
}

/*footer*/
.footer {
	
}

.footer-wrapper{
	position: relative;
	background: #080c15;
	padding-top: 48px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-top: 50px;
}

.footer-wrapper::before{
	content: "";
    position: absolute;
	background-image: url(../img/footer-border-left-mob.webp), url(../img/footer-border-top-tab.webp), url(../img/footer-border-right-mob.webp);
	background-size: 164px 20px, calc(100% - 328px) 20px, 164px 20px;
	background-repeat: no-repeat;
    background-position: left top, center top, right top;
    inset: 0;
    pointer-events: none;
    filter: drop-shadow(0 -2px 0 #67503d);
}

.footer-wrapper::after {
    content: "";
	position: absolute;
    background-image: url(../img/leaf-left.webp), url(../img/leaf-right.webp);
    background-size: 78px 36px, 78px 36px;
    background-repeat: no-repeat;
    background-position: left -4px top 0, right -2px;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.footer-bg{
	width: 100%;
	/* background-color: #3a281a; */
	background: linear-gradient(#3a281a, #2B1D11);
	padding: 50px 20px;
    margin-top: -30px;
}

.footer-actions-wrapper{
	width: 100%;
	margin-top: -20px;
	margin-bottom: 40px;
}

.footer-actions{
	display: flex;
    flex-direction: row;
    align-items: center;
    height: 50px;
    justify-content: space-around;
}

.btn-action{
	height: 90%;
    display: flex;
    align-items: center;
	justify-content: center;
    width: 48%;
    position: relative;
	border: none;
	border-radius: 10px;
	font-family: var(--font-family-primary);
	cursor: pointer;
}

.btn-action-mobile{
	height: 100%;
    display: flex;
    align-items: center;
    width: 48%;
    position: relative;
    border: none;
    border-radius: 10px;
    flex-direction: column;
    justify-content: center;
	cursor: pointer;
}

.btn-action::before, .btn-action::after, .btn-action-mobile::before, .btn-action-mobile::after{
	position: absolute;
    inset: 0; /* fill the parent */
    display: block;
	background-repeat: no-repeat;
	background-position: left center, center, right 0 center;
	background-size: 21px 100%, calc(100% - (21px * 2 - 2px)) 100%, 21px 100%;
	pointer-events: none;
	content: "";
	z-index: 0;
}

.btn-action::before, .btn-action-mobile::before{
	background-image: url(../img/ui/tertiary-hover-left.webp), url(../img/ui/tertiary-hover-middle.webp), url(../img/ui/tertiary-hover-right.webp);
}

.btn-action::after, .btn-action-mobile::after{
	background-image: url(../img/ui/tertiary-click-left.webp), url(../img/ui/tertiary-click-middle.png), url(../img/ui/tertiary-click-right.webp);
}

.btn-action img{
	height: 100%;
    padding: 10px;
    position: relative;
    z-index: 1;
}

.btn-action-mobile img {
    height: 40%;
    padding: 5px;
    position: relative;
    z-index: 1;
}

.btn-action-white img{
	filter: invert(1);
}

.btn-action p{
    position: relative;
    z-index: 1;
	font-size: 1rem;
	color: var(--stb-text-secondary);
}

.btn-action-mobile p{
    position: relative;
    z-index: 1;
	font-size: 0.7rem;
	color: var(--stb-text-secondary);
}

.footer-menu{
	display: none;
}

.footer-category{
	padding-inline-start: 16px;
    padding-inline-end: 16px;
}

.footer-category-list{
	display: grid;
    grid-template-rows: repeat(3, auto);
    grid-template-columns: repeat(7, 1fr);
    grid-column-gap: 40px;
}

.footer-category-list li{
	grid-row: 1 / 2;
}

.footer-category-title{
	text-transform: uppercase;
    color: white;
	user-select: none;
}

.footer-category-links{
	grid-row-gap: 12px;
    padding: 12px 0 0;
    border-top: none;
}

.footer-category-links li a{
	text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    color: var(--stb-link-secondary);
    padding-top: 8px;
    padding-bottom: 8px;

	display: inline-grid;
    grid-auto-flow: column;
    align-items: center;
    grid-column-gap: 8px;
    letter-spacing: -.28px;
}

/* FOOTER-MOBILE */
.footer-mobile-menu {
	padding: 48px 15px;
}

.footer-mobile-menu ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	flex-direction: column;
	list-style: none;
}

.footer-mobile-menu ul a {
	text-decoration: none;
	display: block;

    width: 100%;
    min-height: 48px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 800;
    text-align: left;
    color: var(--stb-link-primary);
    transition: background-color 0.5s;
    cursor: pointer;
    
}

.footer-mobile-menu ul a:hover {
	color: var(--stb-link-secondary);
}

/* footer-category dropdown */
.footer-mobile-category {
    position: relative;
}

.footer-mobile-category-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: transparent;
    border: none;
    color: inherit;
    padding: 14px 16px;
    font: inherit;
    cursor: pointer;
    gap: 8px;
	border-bottom: 2px solid transparent;
    border-image: url(../img/ui/separator-footer.svg) 2;
}

.footer-mobile-category-toggle svg {
    transition: transform .24s ease;
    color: currentColor;
}

/* footer toggle icon (uses img/arrow-down.svg) */
.footer-mobile-category-toggle .footer-mobile-toggle-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    object-fit: contain;
    vertical-align: middle;
    margin-left: 8px;
    transition: transform .24s ease, filter .12s ease;
    /* make icon white if the SVG is dark; adjust/remove filter if arrow-down.svg is already white */
    /* filter: invert(1) brightness(1); */
}

/* rotate when open */
.footer-mobile-category:not(.collapsed) .footer-mobile-category-toggle .footer-mobile-toggle-icon {
    transform: rotate(180deg);
}

.footer-mobile-category-title{
	font-size: 1.25rem;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--stb-link-primary);
}

/* list collapse/expand behaviour */
.footer-mobile-category-list {
    list-style: none;
    padding: 8px 0 0 0;
    margin: 0;
    overflow: hidden;
    max-height: 999px;
    transition: max-height .28s ease, opacity .18s ease;
    opacity: 1;
}

/* collapsed state */
.footer-mobile-category.collapsed .footer-mobile-category-list {
    max-height: 0;
    opacity: 0;
}

/* rotate chevron when collapsed = false (open) */
.footer-mobile-category:not(.collapsed) .footer-mobile-category-toggle svg {
    transform: rotate(180deg);
}

.payments {
	padding: 24px 0;
	margin-top: -50px;
	width: 100%;
}

.payments .container {
	max-width: 1024px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.payments-list{
	display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 26px 0 16px;
	gap: 12px;
}

.payments-list-item {
    list-style: none; /* remove default list marker */
    margin-left: 0;
    padding-left: 0;
}

/* ensure ::marker is hidden in browsers that render it */
.payments-list-item::marker {
    content: "";
    color: transparent;
    font-size: 0;
}

.payment-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 36px;
    padding: 6px;
    border-radius: 8px;
    border-image: url(../img/ui/payment-frame.svg) 16 fill / 16px stretch;
    background-color: var(--stb-bg-tertiary);
	cursor: pointer;
}

.payment-btn:hover{
	background-color: var(--stb-bg-fourth);
}

.payment-btn img {
	height: 100%;
	pointer-events: none;
}

.providers {
	margin-top: 20px;
	width: 48px;
}



.copyright {
	padding: 30px 15px 0;
	color: var(--stb-text-secondary);
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	line-height: 1.3;
}


/*popup*/
.casino-popup {
	position: fixed;
	top:0px;
	left:0px;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 5px;
	visibility: hidden;
	opacity: 0;
	background: var(--popup-bg);
	transition: opacity 0.3s ease, visibility 0.3s ease;
	z-index: 1100;
}

.casino-popup.show {
	visibility: visible;
	opacity: 1;
}

.redirect-notice {
	text-align: center;
	color: #fff;
	padding: 15px;
	animation: fadeIn 0.5s ease-in-out;
}

.notice-title {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 10px;
	color: white;
}

.roulette-wheel {
	position: relative;
	width: 120px;
	height: 120px;
	animation: spin 3s linear infinite;
}

.wheel-inner {
	position: relative;
	width: 100%;
	height: 100%;
	border: 3px solid var(--popup-text-primary);
	border-radius: 50%;
	background: conic-gradient( from 0deg, var(--popup-color-primary) 0deg 45deg, var(--popup-color-accent) 45deg 90deg, var(--popup-color-primary) 90deg 135deg, var(--popup-color-accent) 135deg 180deg, var(--popup-color-primary) 180deg 225deg, var(--popup-color-accent) 225deg 270deg, var(--popup-color-primary) 270deg 315deg, var(--popup-color-accent) 315deg 360deg);
	box-shadow: 0 0 30px rgba(32, 153, 255, 0.6), inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.wheel-center {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	display: flex;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	background: var(--popup-text-primary);
	transform: translate(-50%, -50%);
	box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.ball {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--popup-color-accent);
	box-shadow: 0 0 10px rgba(255, 107, 53, 0.8);
	animation: ballBounce 0.6s ease-in-out infinite alternate;
}

.progress-container {
	width: 280px;
	text-align: center;
}

.progress-bar {
	position: relative;
	width: 100%;
	height: 8px;
	border-radius: 4px;
	background: #9a68d1;
	box-shadow: 0 0 10px rgba(32, 153, 255, 0.6);
}

.progress-fill {
	width: 0%;
	height: 100%;
	overflow: hidden;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--popup-color-primary), var(--popup-color-gradient-end), var(--popup-color-primary));
	background-size: 200% 100%;
	transition: width 0.3s linear;
	animation: progressShine 2s ease-in-out infinite;
}

.progress-text {
	margin-top: 12px;
	font-size: 14px;
	font-weight: bold;
	color: var(--popup-color-primary);
}

.navbar-mobile {
	z-index: 10001;
	position: fixed;
	left: 0;
	top: 60px;
	width: 414px;
	height: 100%;
	transition: .5s;
	transform: translateX(-100%);
	border-top: 4px solid var(--stb-bg-primary);
}

.navbar-menu-bg{
	width: inherit;
	height: calc(100% - 120px);
	background-color: #000000;
	pointer-events: none;
}

.navbar-menu-bg::after{
	content: "";
    position: absolute;
    inset: 0;
    border-image: image-set(url(../img/ui/submenu-border.webp) 1x, url(submenu-border.f028c8d600d46181.png) 1x) 40 / 10px round;
    filter: drop-shadow(0 -2px 0 rgb(64, 53, 47));
	height: calc(100% - 120px);
}

.navbar-menu-wrapper {
	height: 100%;
	background: #15263a;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
    inset-inline-start: 0;
    background-image: linear-gradient(180deg, rgba(var(--stb-neutral-800) / .3), rgba(var(--stb-neutral-950) / .3));
    border-radius: 10px;
    box-shadow: 0 0 4px 13px rgba(var(--stb-black) / .4) inset;
    border-top: 4px solid var(--stb-bg-primary);
	background-color: var(--stb-bg-primary);
	pointer-events: none;
}

.show {
	transform: translateX(0);
}

.navbar-menu-wrapper strong {
	text-transform: uppercase;
	color: #b6cbe5;
	font-weight: 400;
	font-size: 12px;
}

.navbar-menu-wrapper ul {
	width: 100%;
	padding: 10px;
}

.navbar-menu-wrapper ul li {
	text-align: center;
	padding: 10px 20px;
}

.navbar-menu-wrapper a {
	display: flex;
    align-items: center;
    color: var(--stb-text-contrast-primary);
    text-shadow: 0 1px 2px rgba(var(--stb-black) / .5), 0 1px 0 rgba(var(--stb-neutral-900) / .2);
    font-size: 16px;
    line-height: 1.2;
	text-decoration: none;
	pointer-events: auto;
}

.navbar-menu-wrapper a.active svg{
	fill: rgb(var(--stb-brand-500));
}

.navbar-menu-wrapper a.active span{
	color: rgb(var(--stb-brand-500));
}

.navbar-menu-wrapper img {
	height: 20px;
	padding-right: 10px;
}

.navbar-menu-wrapper svg {
	fill: var(--stb-functional-info);
	margin-right: 10px;
	pointer-events: none;
}

.navbar-menu-wrapper span {
	pointer-events: none;
	/* prevent wrapping / breaking inside the side rail */
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
   word-break: normal;
   hyphens: none;
}

/* ensure icon and text go white on hover/focus for non-active items */
.navbar-menu-wrapper a:not(.active):hover svg,
.navbar-menu-wrapper a:not(.active):focus svg,
.navbar-menu-wrapper a:not(.active):hover svg *,
.navbar-menu-wrapper a:not(.active):focus svg * {
    fill: #ffffff;
}

.navbar-menu-wrapper a:not(.active):hover span,
.navbar-menu-wrapper a:not(.active):focus span {
    color: #ffffff;
}

.nav-divider{
	background-image: url(../img/ui/sidebar-divider.svg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 12px;
    width: 93%;
    margin-top: -4px;
    position: relative;
    inset-inline-end: -16px;
	left: 0;
}

.navbar-logo img{
	height: 36px;
}



.navbar-menu-buttons{
	position: absolute;
	width: 100%;
	background-color: #000000;
}

.menu-buttons-wrapper{
	display: flex;
    flex-direction: row;
    align-items: center;
    height: 60px;
    justify-content: space-around;
}


/* SIDE BAR */

.side-menu{
	position: fixed;
	top: 60px;
	left: 0;
	width: 80px;
	height: calc(100% - 60px);
	background-color: #000000;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 20px;
	z-index: 1000;
	display: none;
}



/* ensure inner wrapper sits above the decorative border */
.side-menu .side-menu-wrapper {
    position: relative;
    z-index: 1;
}

.side-menu-wrapper strong {
	text-transform: uppercase;
	color: #b6cbe5;
	font-weight: 400;
	font-size: 12px;
}

.side-menu-wrapper ul {
	width: 100%;
	padding: 10px;
}

.side-menu-wrapper ul li {
	text-align: center;
	padding: 10px 20px;
}

.side-menu-wrapper a {
	display: flex;
    align-items: center;
    color: var(--stb-text-contrast-primary);
    text-shadow: 0 1px 2px rgba(var(--stb-black) / .5), 0 1px 0 rgba(var(--stb-neutral-900) / .2);
    font-size: 16px;
    line-height: 1.2;
	text-decoration: none;
	pointer-events: auto;
}

.side-menu-wrapper a.active svg{
	fill: rgb(var(--stb-brand-500));
}

.side-menu-wrapper a.active span{
	color: rgb(var(--stb-brand-500));
}

.side-menu-wrapper img {
	height: 20px;
	padding-right: 10px;
}

.side-menu-wrapper svg {
	fill: var(--stb-functional-info);
	margin-right: 10px;
	pointer-events: none;
}

.side-menu-wrapper span {
	pointer-events: none;
	/* prevent wrapping / breaking inside the side rail */
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
   word-break: normal;
   hyphens: none;
}

/* ensure icon and text go white on hover/focus for non-active items */
.side-menu-wrapper a:not(.active):hover svg,
.side-menu-wrapper a:not(.active):focus svg,
.side-menu-wrapper a:not(.active):hover svg *,
.side-menu-wrapper a:not(.active):focus svg * {
    fill: #ffffff;
}

.side-menu-wrapper a:not(.active):hover span,
.side-menu-wrapper a:not(.active):focus span {
    color: #ffffff;
}

/* wide screens: show side menu as a fixed left rail and push content */
@media (min-width: 1280px) {
    .side-menu {
        display: block;
        z-index: 50;
        overflow-y: auto;
        width: 240px;
        top: 70px;
		padding: 0;
    }

    /* ensure internal wrappers fill the rail */
    .side-menu .side-menu-bg,
    .side-menu .side-menu-wrapper {
        height: 100%;
        box-sizing: border-box;
    }

    /* push the main content to the right of the rail */
    .inner-content {
        margin-left: 240px;     /* must match .side-menu width */
    }

    /* smooth transition for rail and content shift */
.side-menu,
.inner-content {
    transition: margin-left .24s ease, width .24s ease;
}

/* collapsed (icons-only) state for wide screens */
@media (min-width: 1280px) {
    .side-menu.collapsed {
        width: 80px !important;           /* narrow icon rail */
        overflow: visible;
    }
    /* hide text labels but keep icons visible */
    .side-menu.collapsed .side-menu-wrapper span,
    .side-menu.collapsed .side-menu-wrapper .category-text,
    .side-menu.collapsed .side-menu-wrapper .label {
        display: none !important;
    }
    /* ensure decorative background fits narrow rail if used */
    /* .side-menu.collapsed::before { background-size: 40px 100%; } */

    /* push content to match collapsed rail */
    .inner-content.collapsed {
        margin-left: 80px !important;
    }
}
}

.side-menu-bg{
	width: inherit;
	height: 100%;
	background-color: #000000;
	pointer-events: none;
}

.side-menu-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* three-part border: left cap, center stretch, right cap
       center will stretch (background-size) while caps keep fixed widths */
    --submenu-cap-w: 40px; /* adjust cap width if needed */
	--submenu-cap-w-side: 30px; /* adjust cap width if needed */
    background-image:
        url("../img/ui/submenu-border-left.webp"),
        url("../img/ui/submenu-border-center.webp"),
        url("../img/ui/submenu-border-right.webp");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: left center, center center, right center;
    background-size: var(--submenu-cap-w-side) 100%, calc(100% - (var(--submenu-cap-w) * 2) + 20px) 100%, var(--submenu-cap-w-side) 100%;
     filter: drop-shadow(0 0 6px rgba(0,0,0,0.45));
	z-index: 10;
	height: calc(100% - 80px);
}

.side-menu-wrapper {
	height: 100%;
	background: #15263a;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	inset-inline-start: 0;
	background-image: linear-gradient(180deg, rgba(var(--stb-neutral-800) / .3), rgba(var(--stb-neutral-950) / .3));
	border-radius: 10px;
	box-shadow: 0 0 4px 13px rgba(var(--stb-black) / .4) inset;
	border-top: 4px solid var(--stb-bg-primary);
	background-color: var(--stb-bg-primary);
	pointer-events: none;
}

.side-menu-buttons{
	position: absolute;
	width: 100%;
	background-color: #000000;
	bottom: 10px;
	z-index: 10;
	padding: 3px;
}

/* when side rail is collapsed: show icons-only for mobile action buttons */
.side-menu.collapsed .side-menu-buttons .menu-buttons-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
}

.side-menu.collapsed .btn-action-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center; /* center the icon */
    width: 40px;             /* compact square for icons */
    height: 40px;
    padding: 6px;
    border-radius: 6px;
    box-sizing: border-box;
}

.side-menu.collapsed .btn-action-mobile p,
.side-menu.collapsed .btn-action-mobile span {
    display: none !important; /* hide text */
}

.side-menu.collapsed .btn-action-mobile img,
.side-menu.collapsed .btn-action-mobile .icon {
    width: 24px;
    height: 24px;
    margin: 0;
    object-fit: contain;
}

/* keep keyboard focus visible */
.side-menu.collapsed .btn-action-mobile:focus {
    outline: 2px solid rgba(255,255,255,0.12);
    outline-offset: 2px;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes raffleGlow {
	0%,
	100% {
		opacity: 0.3;
		transform: rotate(0deg);
	}

	50% {
		opacity: 0.6;
		transform: rotate(180deg);
	}
}

@keyframes raffleIconPulse {
	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.1);
	}
}

@keyframes indicatorPulse {
	0%,
	100% {
		opacity: 1;
		transform: translateY(-50%) scale(1);
	}

	50% {
		opacity: 0.6;
		transform: translateY(-50%) scale(1.2);
	}
}

@keyframes statusPulse {
	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.6;
	}
}

@keyframes shine {
	0% {
		left: -100%;
	}

	50% {
		left: 120%;
	}

	100% {
		left: 120%;
	}
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

@keyframes ballBounce {
	0% {
		transform: scale(1);
	}

	100% {
		transform: scale(1.3);
	}
}

@keyframes glow {
	0% {
		text-shadow: 0 0 20px rgba(32, 153, 255, 0.8);
	}

	100% {
		text-shadow: 0 0 30px rgba(32, 153, 255, 1), 0 0 40px rgba(32, 153, 255, 0.6);
	}

}

@keyframes textFade {
	0%,
	100% {
		opacity: 0.6;
	}

	50% {
		opacity: 1;
	}
}

@keyframes progressShine {
	0% {
		background-position: -200% 0;
	}

	100% {
		background-position: 200% 0;
	}
}

@media screen and (max-width: 992px) {
	.navbar-toggler {
		display: block;
	}
	.navbar-nav {
		display: none;
	}
	.navbar-logo {
		margin-right: auto;
	}
	.game-card {
		width: calc(100% / 8.7);
	}
}

@media screen and (max-width: 768px) {
	.game-card {
		width: calc(100% / 4);
	}
	.text-container table {
		min-width: 450px;

	
	.footer-mobile-menu ul {
		flex-direction: column;
		justify-content: center;
		text-align: center;
	}

	.navbar-mobile{
		width: 100%;
	}

	.hero{
		height: 400px;
	}

	.hero .container{
		top: 50%;
		margin: 0 auto;
		left: auto;
	}
	
	.hero-plate{
		height: 220px;
		background-image: url(../img/plate-mobile.webp);
	}

	.plate-text-title {
		margin-top: 40px;
	}
	
	.title-divider{
		display: none;
	}

	.header-actions{
		margin-right: 5vw;
	}
}

@media (min-width: 992px) {
    .footer-actions{
		justify-content: center;
		gap: 10px;
	}

    .btn-action {
        width: 160px;
        box-sizing: border-box;
    }
}

/* small-screen: start collapsed */
@media (max-width: 768px) {
    .footer-mobile-category-list {
        max-height: 0;
        opacity: 0;
    }
    .footer-mobile-category.collapsed .footer-mobile-category-list { max-height: 0; opacity: 0; }
    .footer-mobile-category:not(.collapsed) .footer-mobile-category-list { max-height: 500px; opacity: 1; }
}

/* footer: mobile-first defaults */
.footer-mobile-menu { display: block; }
.footer-menu { display: none; }

	}
	.text-container ul li,
.text-container ol li {
    margin-bottom: 12px;

}
.text-container ul,
.text-container ol {
    line-height: 1.6;
}

.text-container p {
    font-size: 16px; 
    
    margin-bottom: 16px;
    line-height: 1.715;
	padding: 0 24px;
	max-width: 100%;
}

/* wide screens: hide mobile menu, show desktop footer menu */
@media (min-width: 1280px) {
    .footer-mobile-menu { display: none !important; }
    .footer-menu { display: block !important; }
}

/* default: show primary toggler (mobile) and hide side toggler */
.navbar-toggler { display: inline-flex; }
.navbar-toggler-side { display: none; }

/* on wide screens, show the side toggler and hide the standard one */
@media (min-width: 1280px) {
    .navbar-toggler { display: none !important; }
    .navbar-toggler-side { display: inline-flex !important; }
}

/* Prevent page from sliding horizontally on small devices */
html, body {
    overflow-x: hidden;            /* hide accidental horizontal overflow */
    width: 100%;
}

/* Ensure large fixed-width elements and images never exceed the viewport */
img, svg {
    /* max-width: 100%; */
    height: auto;
    display: block;
}

/* Make main containers respect box sizing and not create overflow */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Defensive rule for known wide containers (adjust selectors if needed) */
.inner-content,
.container,
.games-slider,
.slider-container,
.scroller,
.side-menu,
.navbar-menu-wrapper {
    max-width: 100%;
    overflow-x: hidden;
}

/* allow horizontal sliders to scroll but not create page overflow */
.games-slider,
.scroller {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* make 'Ultra' render lighter where used */
.plate-text-description,
.text-container h1,
.text-container h2,
.text-container h3,
.text-container h4,
.slots-header .slider-title,
.title-divider {
    /* force a lighter weight than the Ultra default */
    font-weight: 400 !important;
    /* improve rendering so the glyphs appear thinner */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* tiny letter spacing can help legibility when weight is reduced */
    letter-spacing: 0.2px;
}

/* optional utility to apply lighter secondary font elsewhere */
.font-secondary-light {
    font-family: var(--font-family-secondary);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

