:root {
	/* text colors */
	--text-primary: #f7f7f7;
	--text-secondary: #cecfd2;
	--text-tertiary: #94979c;
	--text-quatemary: #94979c;
	--text-placeholder: #85888e;
	--text-primary-on-brand: #181d27;
	--text-error-primary: #f97066;

	/***** backgrounds *****/
	--clr-black: #000;
	--clr-black-primary: #0c0e12;
	--clr-bg-tertiary: #2b2d32;
	--clr-bg-quaternary: #373a41;
	--clr-white: #fff;
	--clr-alpha-black-10: rgba(255, 255, 255, 0.1);
	--clr-aplha-white-100: gba(255, 255, 255, 0.1);
	--clr-aplha-white-50: rgba(12, 14, 18, 0.5);
	--clr-utility-brand-50: #0d2d3a;
	--clr-utility-brand-100: #164c63;
	--clr-utility-brand-200: #155b75;
	--clr-utility-brand-700: #67e3f9;
	--clr-utility-gray-400: #61656c;
	--clr-alpha-black-20: rgba(255, 255, 255, 0.2); /* hover */

	/***** borders *****/
	--brdr-secondary_alt: #373a41;
	--brdr-border-primary: rgba(255, 255, 255, 0.1);
	--brdr-skeumo-gradient: rgba(255, 255, 255, 0.12);
	--brdr-border-secondary: rgba(255, 255, 255, 0.1);

	/*** gradients ***/

	--alpha-black-10: linear-gradient(135deg, rgba(19, 22, 27, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);

	/* badges */
	--grad64: linear-gradient(45deg, rgba(255, 184, 0, 1) 0%, rgba(255, 245, 0, 1) 100%); /* top badge */
	--grad34: linear-gradient(135deg, rgba(240, 255, 0, 1) 0%, rgba(88, 207, 251, 1) 100%); /* novinka badge */
	--gradPurple: linear-gradient(135deg, #ec7aff 0%, #ff8e8c 100%); /* legendární badge */
	--gradYellow: linear-gradient(135deg, rgba(236, 122, 255, 1) 0%, rgba(255, 142, 140, 1) 100%); /* legend badge */
	--gradYellow: linear-gradient(135deg, rgba(34, 204, 238, 1) 0%, rgba(95, 245, 233, 1) 100%); /* superhry badge */
	--gradYellow: linear-gradient(135deg, rgba(98, 161, 244, 1) 0%, rgba(31, 173, 253, 1) 100%); /* mmo badge */
	--gradYellow: linear-gradient(135deg, rgba(255, 183, 250, 1) 0%, rgba(123, 117, 251, 1) 100%); /* další badge */

	/* links */
	--bg-brand-solid: #22ccee;

	/* font sizes */
	--fs12: 0.75rem;
	--fs14: 0.875rem;
	--fs16: 1rem;
	--fs18: 1.125rem;
	--fs20: 1.25rem;
	--fs18: 1.125rem;
	--fs24: 1.5rem;

	/* font weights */
	--fw300: 300;
	--fw400: 400;
	--fw500: 500;
	--fw600: 600;
	--fw700: 700;
	--fw800: 800;
	--fw900: 900;

	/* border-radius */
	--br6: 6px; /* radius-sm */
	--br8: 8px; /* radius-md */
	--br12: 12px; /* radius-xl */
	--br16: 16px; /* radius-2xl */

	/***** padding & margin & gaps *****/

	--carouselPadding: 8px 4px;

	--gap2: 2px; /* spacing-md */
	--gap4: 4px; /* spacing-xs */
	--gap6: 6px; /* spacing-sm */
	--gap8: 8px; /* spacing-md */
	--gap10: 10px;
	--gap12: 12px; /* spacing-lg */
	--gap16: 16px; /* */
	--gap20: 20px; /* spacing-2xl */
	--gap24: 24px; /* spacing-3xl */
	--gap32: 32px;

	--pd12: 12px;
	--pd16: 16px;
	--pd24: 24px;
	--pd32: 32px;
	--pdBadge: 2px 8px 2px 8px;
	--pdBtn: 10px 14px;
	--pdBtnSearchDel: 8px 12px 8px 12px;

	/***** effects *****/
	--bsIcon: /* box-shadow ikon */ 1.67px 1.67px 5px rgba(0, 0, 0, 0.45), 5.83px 6.67px 9.17px rgba(0, 0, 0, 0.39), 13.33px 15.83px 12.5px rgba(0, 0, 0, 0.23), 23.33px 28.33px 15px rgba(0, 0, 0, 0.07), 37.5px 43.33px 15.83px rgba(0, 0, 0, 0.01);
	--bds: drop-shadow(1.67px 1.67px 5px rgba(0, 0, 0, 0.45)) drop-shadow(5.83px 6.67px 9.17px rgba(0, 0, 0, 0.39)) drop-shadow(13.33px 15.83px 12.5px rgba(0, 0, 0, 0.23)) drop-shadow(23.33px 28.33px 15px rgba(0, 0, 0, 0.07)) drop-shadow(37.5px 43.33px 15.83px rgba(0, 0, 0, 0.01));
	--bdb: 24px; /* backdrop-blur-lg */
	--bdb20: 20px;
	--bdb-xl: 40px; /* backdrop-blur-xl */
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	scrollbar-width: thin;
	scrollbar-color: #888 transparent;
}

/* Scrollbar */
/* Chrome, Edge, Safari */
::-webkit-scrollbar {
	width: 12px;
	height: 12px;
}

::-webkit-scrollbar-track {
	background: transparent;
}

::-webkit-scrollbar-thumb {
	background-color: #888;
	border-radius: 6px;
	border: 3px solid transparent;
}

::-webkit-scrollbar-thumb:hover {
	background-color: #555;
}

html,
body {
	height: 100%;
	min-height: 100%;
}

html {
	overflow-y: scroll;
	overflow-x: hidden;
}

body {
	font-family: "Open Sauce Two", sans-serif;
	font-style: normal;
	font-weight: 500;
	color: var(--text-primary);
	height: 100%;
	min-height: 100vh;
	background: #0a0d10 url("/sys_img/2025imgs/bg/main_gradient.webp");
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: top center;
}

body.hp {
}

/* GENERAL STYLES */

/* Nadpisy */

h1 {
	font-size: 1.875rem;
	font-weight: 600;
	color: var(--text-primary);
}

h2 {
	font-size: 1.875rem;
	font-weight: 500;
	margin: 32px 0;
}

.main__section-title h2 {
	font-size: 1.25rem;
	margin: 0;
}

@media (max-width: 640px) {
	.main__section-title h2 {
		font-size: 1.125rem;
	}
}

h1.subpage__title {
	font-size: 1.875rem;
	font-weight: 600;
	color: var(--text-primary);
}

h2.bottom-line__heading {
	margin: 0;
	font-size: 1.25rem;
}

a {
	text-decoration: none;
	color: var(--bg-brand-solid);
}

@media (hover: none) {
	a,
	button,
	input,
	label,
	select,
	summary,
	textarea,
	[role="button"] {
		-webkit-tap-highlight-color: transparent;
	}
}

/* separators */

hr {
	border: none;
	height: 1px;
	background: var(--clr-alpha-black-10);
	margin: 8px 0;
}

/* Layout Container */
.layout {
	display: grid;
	grid-template-columns: 220px 1fr 300px;
	grid-template-rows: auto 1fr auto;
	min-height: 100vh;
	column-gap: 32px;
	max-width: none;
	margin: 0;
	padding: 0 8px;
	width: 100%;
	box-sizing: border-box;
	/* contain: layout paint; */
	contain: layout paint;
}

/********------------- HEADER START -------------********/
.header {
	position: sticky;
	top: 8px;
	width: 100%;
	min-height: 60px;
	grid-column: 1 / -1;
	padding: 8px 12px 8px 12px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-radius: 16px;
	border: 1px solid var(--Gradient-skeuemorphic-gradient-border, rgba(255, 255, 255, 0.12));
	background: linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), rgba(19, 22, 27, 0.25);
	backdrop-filter: blur(12px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
	margin: 8px 0;
	z-index: 1000;
	background: rgba(0, 0, 0, 0.5); /* fallback pro safari */
}

/* pokud je podporovaný backdrop-filter */
@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))) {
	.header {
		background: linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), rgba(19, 22, 27, 0.25);
		-webkit-backdrop-filter: blur(12px);
		backdrop-filter: blur(12px);
	}
}

@media (max-width: 1194px) {
	.header {
		margin-left: 0;
	}
}

@media (max-width: 640px) {
	.header {
		width: 100%;
	}
}

/* Levá část headeru - burger menu + logo */
.header__left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.header__logo {
	display: block;
	width: 228px;
	height: 32px;
	object-fit: contain;
	object-position: left center;
}

@media (max-width: 436px) {
	.header__logo {
		width: 160px;
		height: 28px;
	}
}

@media (max-width: 350px) {
	.header__logo {
		width: 130px;
		height: 24px;
	}
}

/* Burger menu button - rozšířené styly */
.header__burger {
	display: flex;
	align-items: center;
	cursor: pointer;
	padding: 8px;
	border-radius: 8px;
	transition: background-color 0.2s ease;
	background: transparent;
	border: none;
	color: white;
}

.header__burger:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

.header__burger:focus {
	outline: 2px solid var(--bg-brand-solid);
	outline-offset: 2px;
}

.header__burger:active {
	background-color: rgba(255, 255, 255, 0.2);
}

.header__burger-icon {
	width: 24px;
	height: 24px;
	filter: brightness(0) invert(1);
	transition: transform 0.3s ease;
}

.header__burger-icon {
	opacity: 1;
	transform: scale(1) rotate(0deg);
}

/* Animace ikony při otevření */
.header__burger[aria-expanded="true"] .header__burger-icon {
	transform: rotate(90deg);
}

.header__burger:hover .header__burger-icon {
	transform: scale(1.05);
}

.header__search {
	position: relative;
	flex: 1;
	max-width: 600px;
	height: 40px;
	margin: 0 20px;
}

.header__search-ico {
	position: absolute;
	top: 50%;
	left: 20px;
	transform: translateY(-50%);
}

.header__search-input {
	width: 100%;
	padding: 10px 14px 10px 60px;
	border: 1px solid var(--clr-alpha-black-10);
	border-radius: var(--br12);
	font-size: 1rem;
	font-weight: var(--fw400);
	outline: none;
	background: var(--clr-aplha-white-50);
	color: var(--clr-white);
}

@media (min-width: 1194px) {
	.header {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(360px, 600px) minmax(0, 1fr);
		column-gap: 20px;
		justify-content: stretch;
	}

	.header__left {
		grid-column: 1;
		justify-self: start;
	}

	.header__search {
		grid-column: 2;
		justify-self: center;
		width: 100%;
		min-width: 0;
		margin: 0;
	}

	.header__login,
	.header__user-nav {
		grid-column: 3;
		justify-self: end;
	}
}

.header__login {
	display: flex;
	gap: 4px;
	align-items: center;
}

.header__login-btn {
	display: flex;
	padding: 10px 14px;
	justify-content: center;
	align-items: center;
	gap: var(--spacing-xs, 4px);
	border-radius: 8px;
	text-decoration: none;
	color: var(--text-primary-on-brand);
	background: transparent;
	border: none;
	cursor: pointer;
}

.header__login-btn-text--tertiary {
	background: transparent;
	border: none;
	font-size: var(--fs14);
	color: var(--text-tertiary);
	font-weight: var(--fw600);
}

.header__login-btn-text--tertiary:hover {
	color: var(--bg-brand-solid);
}

.header__login-btn-text {
	color: var(--text-primary-on-brand);
	font-size: var(--fs14);
	font-weight: var(--fw600);
}

.header__login-btn--full {
	background: var(--bg-brand-solid);
}

.header__login-btn--full:hover {
	background: #00b3e6;
}

.header__user-menu {
	background: #00bcd4;
	color: white;
	padding: 8px 15px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 500;
	font-size: 13px;
}

/*  @ respo */
@media (max-width: 768px) {
	.header {
		padding: 8px 8px;
	}

	.header__search {
		margin: 0 12px;
	}

	.header__login-btn {
		padding: 8px 10px;
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.header__left {
		gap: 8px;
	}

	.header__search {
		display: none;
	}

	.header__login-btn--text {
		display: none;
	}
}

/* Mobilní menu - pravá část (login, search) */

.header__mobile-right {
	display: none;
}

.header__search-icon-mobile,
.header__login-icon-mobile {
	display: none;
	align-items: center;
	justify-content: center;
	padding: 8px;
	border-radius: 8px;
	cursor: pointer;
	width: 40px;
	height: 40px;
}

.header__login-icon-mobile {
	background-color: var(--clr-alpha-black-10);
	border: 0;
}

.header__search-icon-mobile img,
.header__login-icon-mobile img {
	width: 24px;
	height: 24px;
	filter: brightness(0) invert(1);
}

/*  (mobil/tablet) */
@media (max-width: 839px) {
	.header__mobile-right {
		display: flex;
		gap: var(--gap16);
	}

	.header__search {
		display: none;
	}

	.header__login {
		display: none;
	}

	.header__search-icon-mobile,
	.header__login-icon-mobile {
		display: flex;
	}

	.header {
		gap: 8px;
	}
}

@media (max-width: 640px) {
	.header__search-icon-mobile img,
	.header__login-icon-mobile img {
		width: 18px;
		height: 18px;
		filter: brightness(0) invert(1);
	}
}

/* --- ZÁKLAD SEARCH OVERLAY --- */
.search-overlay {
	position: absolute; /* desktop: zarovnání skriptem pod input */
	left: 0;
	top: 0; /* reálné souřadnice dopočítá JS */
	width: 600px; /* default, ale přepíše JS */
	max-width: 600px;
	background: var(--clr-black-primary);
	backdrop-filter: blur(12px);
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	padding: 20px;
	display: none;
	z-index: 2000;

	/* animace (desktop) */
	opacity: 0;
	transform: translateY(-10px);
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.search-overlay.active {
	display: block;
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch; /* iOS */
}

@media (min-width: 840px) {
	.search-overlay.active {
		max-height: min(550px, calc(100vh - 120px));
		max-height: min(550px, calc(100dvh - 120px));
	}
}

.search-overlay__content h3 {
	font-size: var(--fs12);
	font-weight: var(--fw600);
	line-height: 18px;
	letter-spacing: 0;
	color: var(--text-quatemary);
	text-transform: uppercase;
	margin: 6px 0;
}

.search-overlay__list {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
	padding: 10px 0;
}

.search-overlay__list-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 6px 0;
}

.search-overlay__list-item:hover,
.search-overlay__games-item:hover {
	background: rgba(255, 255, 255, 0.05);
	cursor: pointer;
	border-radius: var(--br6);
}

.search-overlay__list-main {
	display: flex;
	align-items: center;
	gap: var(--gap12);
	flex: 1 1 auto;
	min-width: 0;
}

.search-overlay__list-img {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	object-fit: contain;
}

.search-overlay__list-img--preview {
	border-radius: var(--br8);
	object-fit: cover;
}

.search-overlay__list-text {
	font-size: var(--fs14);
	font-weight: var(--fw500);
	line-height: 20px;
	letter-spacing: 0;
	color: var(--text-secondary);
}

.search-overlay__games {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 10px 0;
}

.search-overlay__games-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.search-overlay__games-icon {
	flex: 0 0 65px;
	width: 65px;
	height: 36px;
	max-width: none;
	max-height: none;
	aspect-ratio: 170 / 94;
	border-radius: var(--br8);
	object-fit: cover;
}

.search-overlay__games-text {
	display: inline-flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
	max-width: 100%;
	font-size: var(--fs14);
	font-weight: var(--fw500);
	line-height: 20px;
	letter-spacing: 0;
	color: var(--text-secondary);
}

.search-overlay__game-title {
	display: block;
	flex: 0 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: clip;
	white-space: nowrap;
}

.search-overlay__game-title--fade {
	-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent 100%);
	mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent 100%);
}

.search-overlay__pc-only {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	flex: 0 0 auto;
	margin-left: 8px;
	padding: 2px 6px;
	gap: 4px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--br6);
	background: rgba(255, 255, 255, 0.1);
	font-size: 0.625rem;
	font-weight: var(--fw600);
	line-height: 14px;
	color: var(--text-secondary);
	white-space: nowrap;
	vertical-align: middle;
}

.search-overlay__pc-only-icon {
	display: block;
	flex: 0 0 auto;
	width: 13px;
	height: 12px;
}

@media (min-width: 840px) {
	.search-overlay__pc-only:not(.search-overlay__pc-only--archive) {
		display: none;
	}
}

.search-overlay__clear {
	width: max-content;
	display: block;
	padding: var(--pdBtnSearchDel);
	margin-top: 16px;
	background: var(--clr-alpha-black-10);
	border: 1px solid var(--clr-alpha-black-10);
	border-radius: var(--br8);
	color: var(--text-secondary);
	cursor: pointer;
	font-size: var(--fs14);
	font-weight: var(--fw600);
}

/* --- Mobilní horní lišta s inputem (jen na mobilu) --- */
/* Mobilní input oddělený od obsahu */
.search-overlay__mobile-input {
	display: none;
	position: sticky;
	top: 0;
	background: var(--alpha-black-10);
	border-radius: var(--br16);
	backdrop-filter: blur(12px);
	padding: 12px;
	display: none;
	align-items: center;
	gap: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* čára odděluje */
	z-index: 10;
}

.search-overlay__mobile-field-wrapper {
	position: relative;
	flex: 1;
}

.search-overlay__mobile-icon {
	position: absolute;
	top: 50%;
	left: 20px;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	pointer-events: none; /* aby nebrala kliknutí */
}

.search-overlay__mobile-input img {
	width: 18px;
	height: 18px;
	/* filter: brightness(0) invert(1);  */
}

.search-overlay__mobile-input input {
	min-height: 44px;
	flex: 1;
	padding: 10px 60px;
	border-radius: 12px;
	border: 1px solid var(--clr-alpha-black-10);
	background: var(--clr-aplha-white-50);
	color: var(--clr-white);
}

.search-overlay__mobile-field {
	width: 100%;
	padding: 10px 14px 10px 44px; /* místo pro ikonu vlevo */
	border-radius: 12px;
	border: 1px solid var(--clr-alpha-black-10);
	background: var(--clr-aplha-white-50);
	color: var(--clr-white);
}

.header__search-input:focus-visible,
.search-overlay__mobile-field:focus-visible,
.search-overlay__mobile-input input:focus-visible {
	outline: 2px solid var(--bg-brand-solid);
}

.search-overlay__close {
	width: 40px;
	height: 40px;
	background: transparent;
	border: 0;
	color: var(--clr-white);
	font-size: 24px;
	cursor: pointer;
}

/* --- Mobilní režim: fullscreen + jiná animace --- */
@media (max-width: 839px) {
	.search-overlay {
		position: fixed;
		inset: 0;
		width: 100%;
		max-width: none;
		height: 100%;
		background: transparent;
		border-radius: 0;
		margin: 0;
		padding: 20px 8px;
		overflow-y: auto;

		/* animace (mobil) – vyjezd zdola/nahoru */
		transform: translateY(20px);
	}

	.search-overlay__content {
		background: var(--clr-black-primary);
		padding: 8px 16px;
		border-radius: var(--br16);
		border: 1px solid rgba(255, 255, 255, 0.12);
		margin-top: 8px;
	}
	.search-overlay.active {
		transform: translateY(0);
	}

	.search-overlay__mobile-input {
		display: flex;
	} /* teprve tady zobraz */
}

/* --- Naskakování obsahu (volitelné) --- */
.search-overlay__content > * {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}
.search-overlay.active .search-overlay__content > * {
	opacity: 1;
	transform: translateY(0);
}
.search-overlay.active .search-overlay__content > *:nth-child(1) {
	transition-delay: 0.05s;
}
.search-overlay.active .search-overlay__content > *:nth-child(2) {
	transition-delay: 0.1s;
}
.search-overlay.active .search-overlay__content > *:nth-child(3) {
	transition-delay: 0.15s;
}
.search-overlay.active .search-overlay__content > *:nth-child(4) {
	transition-delay: 0.2s;
}
.search-overlay.active .search-overlay__content > *:nth-child(5) {
	transition-delay: 0.25s;
}

/******** !!!------------- HEADER END !!!-------------********/

/********------------- HP - SIDEBAR -------------********/

/* Sidebar */
.sidebar {
	position: sticky;
	top: 76px;
	left: 0;
	width: 220px;
	height: calc(100dvh - 76px - 25px);
	color: white;
	transition: width 0.18s ease, transform 0.2s ease;
	z-index: 100;
	overflow-y: visible;
	box-sizing: border-box;
	overflow: visible;
}

/* Navigace */
.sidebar__nav {
	position: relative;
	max-height: 100%;
	top: 0px;
	padding: 8px;
	background: var(--alpha-black-10); /* fallback */
	background: linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), rgba(19, 22, 27, 0.25);
	border-radius: var(--br12);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-sizing: border-box;
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: none;
}

.sidebar__nav::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.sidebar__scrollbar {
	position: absolute;
	top: 10px;
	right: 4px;
	bottom: 10px;
	width: 7px;
	pointer-events: auto;
	opacity: 0;
	transition: opacity 0.16s ease;
	z-index: 2;
	touch-action: none;
}

.sidebar:hover .sidebar__scrollbar,
.sidebar__scrollbar--dragging {
	opacity: 1;
}

.sidebar__scrollbar--hidden {
	display: none;
}

.sidebar__scrollbar-thumb {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	min-height: 28px;
	box-sizing: border-box;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
}

body.is-sidebar-scrollbar-dragging {
	user-select: none;
}

/* pokud je podporovaný backdrop-filter */
@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))) {
	.sidebar__nav {
		background: var(--alpha-black-10);
		-webkit-backdrop-filter: blur(12px);
		backdrop-filter: blur(12px);
	}
}

@media (max-width: 1280px) {
	.sidebar__nav {
		position: relative;
	}
}

@media (max-width: 1024px) {
	.sidebar__nav {
		position: relative;
	}
}

/* 22-10-25 fix */
@media (max-width: 1194px) {
	.sidebar__nav {
		top: 0px;
		left: 0px;
	}
}

/* Minimalizovaný sidebar (1195px - 1280px automaticky, nad 1280px po kliknutí) */
.sidebar--minimized {
	width: 70px;
}

/* Layout změny při minimalizovaném sidebaru */
.layout--sidebar-minimized {
	grid-template-columns: 70px 1fr 300px;
}

/* 1280px sidebar vytalčí zbytek */
/* Rozbalený sidebar pro mid-range */
.sidebar--expanded {
	width: 220px;
}

/* Layout pro rozbalený sidebar */
.layout--sidebar-expanded {
	grid-template-columns: 220px 1fr 160px;
}

.sidebar--minimized .sidebar__menu-item {
	justify-content: center;
	width: 40px;
	height: 40px;
	min-height: 40px;
	align-self: center;
	padding: 6px;
	position: relative;
	font-size: 0;
}

.sidebar--minimized .sidebar__menu-item:not(.sidebar__menu-item--all) {
	gap: 0;
}

/* Skryj text v minimalizovaném režimu */
.sidebar--minimized .sidebar__menu-item--all .sidebar__menu-text {
	display: none;
}

.sidebar--minimized .sidebar__menu-expand-icon,
.sidebar--minimized .sidebar__submenu {
	display: none;
}

.sidebar--minimized .sidebar__menu-item--all {
	justify-content: center;
}

.sidebar--minimized .sidebar__menu-item--all .sidebar__menu-chevron {
	width: 28px;
	height: 28px;
	transform: none;
	color: var(--text-secondary);
}

.sidebar--minimized .sidebar__menu-item--all .sidebar__menu-chevron img {
	width: 16px;
	height: 16px;
}

/* Mobilní sidebar */
@media (max-width: 1194px) {
	.sidebar {
		position: fixed;
		top: 0;
		left: -220px;
		height: calc(100dvh - 75px - 0px);
		width: 220px;
		z-index: 101;
		border-radius: 0;
		border-top-right-radius: var(--br12);
		border-bottom-right-radius: var(--br12);
		/* overflow-y: auto; */
		transition: transform 0.3s ease;
	}

	/* mobilní menu open */
	.sidebar--mobile-open {
		min-width: 265px;
		transform: translate(228px, 70px);
		background: rgba(19, 22, 27, 0.25);
		backdrop-filter: blur(40px);
	}

	/* Skryj tooltips na mobilu */
	.tooltip {
		display: none;
	}

	.sidebar__scrollbar {
		display: none;
	}

	body.is-desktop .sidebar.sidebar--desktop-drawer-open,
	body[data-device-family="desktop"] .sidebar.sidebar--desktop-drawer-open {
		width: 220px;
		min-width: 0;
		max-width: calc(100vw - 16px);
		transform: translate(228px, 70px);
		border: 1px solid rgba(255, 255, 255, 0.12);
		border-radius: var(--br12);
		background: rgba(19, 22, 27, 0.25);
		backdrop-filter: blur(40px);
		-webkit-backdrop-filter: blur(40px);
	}

	body.is-desktop .sidebar.sidebar--desktop-drawer-open .sidebar__scrollbar:not(.sidebar__scrollbar--hidden),
	body[data-device-family="desktop"] .sidebar.sidebar--desktop-drawer-open .sidebar__scrollbar:not(.sidebar__scrollbar--hidden) {
		display: block;
	}
}

/* GLOBAL TOOLTIP */

/* Tooltip styly - globální */
.tooltip {
	position: fixed;
	left: 0;
	top: 0;
	background: rgba(0, 0, 0, 0.9);
	color: white;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 14px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	z-index: 9999;
	transform: translateY(-50%);
}

.tooltip::before {
	content: "";
	position: absolute;
	right: 100%;
	top: 50%;
	transform: translateY(-50%);
	border: 6px solid transparent;
	border-right-color: rgba(0, 0, 0, 0.9);
}

.sidebar__menu-item > .tooltip {
	display: none;
}

.sidebar__logo {
	padding: 0 15px 20px;
	text-align: center;
	border-bottom: 1px solid #0f3460;
	margin-bottom: 15px;
}

.sidebar__logo-title {
	color: #00bcd4;
	font-size: var(--fs18);
	font-weight: bold;
}

.sidebar__section {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.sidebar__section-title {
	padding: 8px 15px;
	font-size: 11px;
	text-transform: uppercase;
	color: #7f8c8d;
	font-weight: var(--fw600);
	letter-spacing: 1px;
}

.sidebar__menu-item {
	display: flex;
	align-items: center;
	gap: var(--gap8);
	width: 100%;
	min-height: 40px;
	padding: 6px 8px;
	box-sizing: border-box;
	white-space: nowrap;
	color: var(--text-secondary);
	font-size: var(--fs14);
	font-weight: var(--fw500);
	line-height: 1.2;
	border-radius: var(--br8);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

button.sidebar__menu-item {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	background: transparent;
	font-family: inherit;
	text-align: left;
	cursor: pointer;
}

.sidebar__menu-item:hover {
	background: var(--clr-alpha-black-10);
	color: var(--clr-white);
}

.sidebar__menu-item--disabled {
	cursor: default;
}

.sidebar__menu-label,
.sidebar__menu-text {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	opacity: var(--sidebar-item-fade-opacity, 1);
	transition: opacity 0.16s ease, transform 0.2s ease;
}

.sidebar__menu-item:hover .sidebar__menu-label,
.sidebar__menu-item:hover .sidebar__menu-text {
	transform: translateX(4px);
}

.sidebar__menu-item--active {
	background: var(--clr-alpha-black-10);
	color: var(--clr-white);
}

.sidebar__menu-item--active .sidebar__menu-label {
	transform: translateX(4px);
}

.sidebar__menu-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	opacity: var(--sidebar-item-fade-opacity, 1);
	transition: opacity 0.16s ease;
}

.sidebar__menu-icon img {
	width: 28px;
	height: 28px;
	aspect-ratio: 1/1;
	object-fit: contain;
}

.sidebar__menu-item--all {
	justify-content: space-between;
}

.sidebar__menu-chevron {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: var(--sidebar-item-fade-opacity, 1);
	transition: opacity 0.16s ease;
}

.sidebar__menu-expand-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	margin-left: auto;
	opacity: var(--sidebar-item-fade-opacity, 1);
	transition: opacity 0.16s ease;
}

.sidebar__menu-expand-icon img {
	width: 14px;
	height: 14px;
	filter: brightness(0) invert(1);
	opacity: 0.7;
	transform: rotate(90deg);
}

.sidebar__submenu {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 2px 0 6px 28px;
	padding: 0 6px 0 0;
}

.sidebar__submenu-item {
	display: flex;
	align-items: center;
	min-height: 26px;
	gap: 8px;
	margin-left: -8px;
	padding: 4px 8px;
	border-radius: var(--br6);
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.15;
	text-decoration: none;
	transition: color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.sidebar__submenu-item:hover {
	background: var(--clr-alpha-black-10);
	color: var(--clr-white);
	transform: translateX(3px);
}

.sidebar__submenu-bullet {
	width: 3px;
	height: 3px;
	flex-shrink: 0;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.86;
}

.sidebar__submenu-label {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: clip;
	white-space: nowrap;
	-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent);
	mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent);
}

.sidebar__submenu-arrow {
	margin-left: auto;
	font-size: 16px;
	line-height: 1;
	opacity: 0.72;
}

.sidebar__submenu-item--all-themes {
	margin-top: 2px;
	color: var(--bg-brand-solid);
}

/* Overlay pro mobilní */
.sidebar-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 90;
}

.sidebar-overlay.active {
	opacity: 1;
	pointer-events: all;
}

/********-------------!!! HP - SIDEBAR END !!!-------------********/

/********------------- HP - MAIN CONTENT -------------********/

.main {
	overflow-y: auto;
	padding: 12px 0 0 0;
	margin: 0;
	/* flex: 1; */
	contain: layout;
}

.main__content {
	max-width: 1320px;
	width: 100%;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: var(--gap16);
	padding: 0 8px;
}

/* přichycení sidebaru při rozlišení vyšším než 1920px */
@media (min-width: 1921px) and (max-width: 3839px) {
	.main__content {
		max-width: 100%;
		width: 100%;
		margin: 0 auto;
		display: grid;
		grid-template-columns: repeat(6, 1fr);
		gap: var(--gap16);
		padding: 0 8px;
	}
}

@media (min-width: 3840px) {
	.main__content {
		max-width: 70%;
		margin: 0 auto;
		display: grid;
		grid-template-columns: repeat(6, 1fr);
		gap: var(--gap16);
		padding: 0 8px;
	}
}

/* Main content -expanded -> content se roztahne na 100% v případě, že se sidebar zmenší */

.main__content--expanded {
	max-width: 100%;
}

/* Zmenšený obsah když je sidebar rozbalený */
.main__content--shrink {
	max-width: calc(1320px - 100px);
	max-width: 100%;
}

.main__section {
	display: flex;
	flex-direction: column;
	gap: var(--gap16);
	/* contain: layout paint; */ /* CLS, ale orizne outline */
	contain: layout;
}

.main__section-title {
	display: flex;
	align-items: center;
	gap: var(--gap16);
	font-size: var(--fs18);
	color: var(--text-primary);
	font-weight: var(--fw500);
}

.main__section-title__link {
	font-weight: var(--fw600);
	font-size: var(--fs14);
	color: var(--bg-brand-solid);
}

.main__section-title__icon {
	width: 52px;
	height: 52px;
	display: flex;
	justify-content: center;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.main__section-title__icon--noicon {
	background: none;
	border: none;
}

.main__section-title__icon img {
	width: 32px;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(2px 3px 4px rgba(0, 0, 0, 0.45));
}

.main__section-title__icon--noicon img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

/* ikonka bez pozadi */
.main__section-title__icon--plain {
	width: 52px;
	height: 52px;
	display: flex;
	justify-content: center;
	background: none;
	border: none;
}

/* Categories Filter */
.categories {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.categories-filters {
	display: flex;
	flex-direction: column;
	gap: var(--gap16);
	padding-bottom: 16px;
}

.categories__items {
	display: flex;
	align-items: flex-start;
	align-content: flex-start;
	gap: 8px;
	align-self: stretch;
	flex-wrap: wrap;
}

.categories__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 4px 8px 4px 4px;
	border-radius: 12px;
	color: #cecfd2;
	background: rgba(255, 255, 255, 0.1);
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	font-size: var(--fs14);
}

.categories__item__title {
	font-weight: var(--fw500);
	font-size: var(--fs14);
}

.categories__item__icon {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 36px;
	height: 36px;
}
.categories__item__icon img {
	max-width: 100%;
	height: auto;
	object-fit: contain;
	aspect-ratio: 1/1;
}

.categories__item__badge {
	padding: 2px 8px;
	background: #0d2d3a;
	border: 1px solid #155b75;
	border-radius: 50px;
	color: #67e3f9;
	font-weight: var(--fw500);
	font-size: var(--fs12);
}

.categories__item:hover,
.categories__item--active {
	background: #0f3460;
	border-color: #00bcd4;
	color: #00bcd4;
}

/*****------ Games Grid - Top Section (6 items) ------******/
.games-grid {
	display: grid;
	gap: var(--gap16);
}

.games-grid--top {
	grid-template-columns: repeat(6, 1fr);
}

/* #respo 1536px 4boxy vedle sebe */
@media (max-width: 1536px) {
}

/* Game Card */
.game-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: var(--br8);
	transition: all 0.3s ease;
	cursor: pointer;
	gap: 6px;
	height: fit-content;
	margin-bottom: 3px;
}

.game-card:hover .game-card__image {
	outline: 3px solid var(--bg-brand-solid);
}

.game-card__image {
	display: flex;
	position: relative;
	overflow: hidden;
	outline: 3px solid transparent;
	border-radius: var(--br8);
}

.game-card--featured-large,
.game-card__image--standard {
	position: relative;
}

.game-card__image--standard::before,
.game-card--featured-large::before {
	content: "";
	top: 0;
	left: 0;
	position: absolute;
}

.game-card__image-big {
	max-width: 100%;
	height: auto;
	aspect-ratio: 1.5345 / 1;
	width: 100%;
	object-fit: cover;
	border-radius: var(--br8);
	transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

@media (max-width: 1536px) {
	.game-card__image-big {
		max-width: 100%;
		height: 100%;
		height: auto;
	}
}

.game-card__image--regular {
}

.game-card__image--regular::after {
	font-size: 16px;
}

/* game badges */
.game-card__badge {
	position: absolute;
	top: 4px;
	left: 4px;
	padding: var(--pdBadge);
	font-size: var(--fs14);
	color: var(--clr-black);
	border-radius: var(--br6);
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.5);
	z-index: 10;
}

.game-card__badge--top {
	background: var(--grad64);
}

.game-card__badge-star {
	font-size: 16px;
	line-height: 1;
}

.game-card__badge--favorite {
	background: linear-gradient(135deg, #FFB7FA 0%, #7B75FB 100%);
}

.game-card__badge--novinka {
	background: var(--grad34);
}

.game-card__badge--original {
	background: linear-gradient(135deg, #22CCEE 0%, #5FF5E9 100%);
}

.game-card__badge--legendary {
	background: var(--gradPurple);
}

.game-card__badge--mmo {
	background: linear-gradient(135deg, #62A1F4 0%, #1FADFD 100%);
}

@media (max-width: 834px) {
	.games-grid--regular.games-grid--mobile-3col .game-card__badge {
		display: none;
	}
}

@media (max-width: 640px) {
	body.homepage-detail .main__section--homepage-carousel .carousel .game-card__badge,
	.game-card--featured-small .game-card__badge,
	.game-card--featured-large:nth-of-type(2) .game-card__badge {
		display: none;
	}
}

.game-card__info {
	width: 100%;
	height: 17px;
}

/* hodnoceni */
.game-card__rating {
	position: absolute;
	bottom: 32px;
	left: 8px;
	width: fit-content;
	min-width: 50px;
	min-height: 24px;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 2px 4px;
	background: rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(4px);
	border-radius: var(--br6);
	opacity: 0;
	z-index: 10;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.game-card:hover .game-card__rating {
	opacity: 1;
	visibility: visible;
}

.game-card__rating-value {
	color: var(--text-primary);
}

.game-card__title {
	font-weight: var(--fw400);
	color: var(--text-primary);
	font-size: var(--fs14);
	text-overflow: ellipsis;
	/* white-space: nowrap; */
	max-width: 100%;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-all;
	/* word-break: break-word; */
}

.game-card__image-big-hover {
	width: 100%;
	height: auto; /* změna height 100 */
	aspect-ratio: 1.5345/1;
	border-radius: var(--br8);
	transition: opacity 0.3s ease;
}

/* Obrázky v game-card__image */
.game-card__image-static,
.game-card__image-hover {
	width: 100%;
	height: auto; /* změna height 100 */
	object-fit: cover;
	aspect-ratio: 1.8085/1;
	border-radius: var(--br8);
	transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

/* Hover obrázek absolutně jen v rámci .game-card__image */
.game-card__image-hover,
.game-card__image-big-hover {
	position: absolute;
	top: 0;
	left: 0;
}

.game-card__image-hover,
.game-card__image-big-hover {
	opacity: 0;
	pointer-events: none;
}

.game-card:hover .game-card__image-hover,
.game-card:hover .game-card__image-big-hover {
	opacity: 1;
}

.game-card.is-preview-ready:hover .game-card__image-static,
.game-card.is-preview-ready:hover .game-card__image-big {
	opacity: 0;
}

.game-card--preview-autoplay.is-preview-ready .game-card__image-static,
.game-card--preview-autoplay.is-preview-ready .game-card__image-big {
	opacity: 0;
}

.game-card:not(.is-preview-ready):hover .game-card__image-static,
.game-card:not(.is-preview-ready):hover .game-card__image-big {
	transform: scale(1.035);
	filter: brightness(1.06) saturate(1.05);
}

/* Skrytí ::after obsahu při hover (aby nebylo vidět play button) */
.game-card:hover .game-card__image::after {
	opacity: 0;
}

.game-card__video-preview {
	width: 100%;
	height: auto;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	transition: opacity 0.4s ease-in-out;
	opacity: 0;
	z-index: 2;
	border-radius: var(--br8);
}

.game-card__video-preview--big {
	aspect-ratio: 1.5345 / 1;
}

/* .games-grid--mobile-3col = special sekce, kdy mají náhledy poměr stran 1/1 */
.games-grid--mobile-3col .game-card__video-preview,
.game-card__video-preview--small {
	aspect-ratio: 1.8085 / 1;
}

.games-grid--mobile-3col.temata-big .game-card__image--regular,
.games-grid--mobile-3col.temata-big .game-card__video-preview {
	aspect-ratio: 1 / 1;
}

@media (max-width: 834px) {
	.games-grid--mobile-3col .game-card__video-preview {
		aspect-ratio: 1 / 1;
	}
}

@media (max-width: 640px) {
	.games-grid--featured .game-card__video-preview--small {
		aspect-ratio: 1.8085 / 1;
	}

	.game-card--featured-small .game-card__video-preview--small,
	.game-card--featured-large:nth-of-type(2) .game-card__video-preview--big {
		aspect-ratio: 1 / 1;
	}

	.games-grid--mobile-3col .game-card__video-preview,
	.games-grid--mobile-3col .game-card__video-preview--small {
		aspect-ratio: 1 / 1;
	}
}

/* PODSTRANKA BOJOVE / BIG KATEGORIE 1/1 */
body.categories-overview .games-grid--mobile-3col .game-card__video-preview--small {
	aspect-ratio: 1 / 1;
}

.game-card__image-static {
	opacity: 1;
	z-index: 1;
}

.game-card.is-preview-ready:hover .game-card__video-preview {
	opacity: 1;
}

.game-card--preview-autoplay.is-preview-ready .game-card__video-preview {
	opacity: 1;
}

/******------ CAROUSEL - RESPONSIVE -----*****/

/* Carousel Container */
.carousel {
	position: relative;
	overflow: hidden;
	height: auto;
}

/* Na mobilu povolit overflow pro "peek" efekt */
@media (max-width: 640px) {
	.carousel {
		/* overflow: visible; */
		overflow: hidden;
	}
}

.carousel__wrapper {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: var(--gap16);
	padding: 8px 4px;
	transition: transform 0.3s ease;
}

.carousel__wrapper .game-card {
	/* JavaScript nastavuje flex a width dynamicky */
	/* flex: 0 0 auto; */
	flex: 0 0 16%; /* rezerva – jen fallback  pro CLS */
	min-width: 0;
	box-sizing: border-box;
	position: relative;
	aspect-ratio: 1.8085 / 1;
}

/* Responzivní obrázky */
.game-card__image--regular {
	width: 100%;
	height: auto;
	aspect-ratio: 1.8085 / 1;
	position: relative;
	overflow: hidden;
}

.game-card__image-static--small,
.game-card__image-hover--small {
	max-height: none;
	aspect-ratio: 1.8085/1;
}

/* Carousel šipky */
.carousel__arrow {
	position: absolute;
	top: 0;
	background: transparent;
	color: white;
	border: none;
	width: 32px;
	height: 100%;
	cursor: pointer;
	font-size: 20px;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.carousel__arrow:disabled {
	opacity: 0.3;
	/* cursor: not-allowed; */ /* vypnutí default ikonky pokud nelze dál klikat */
}

.carousel__arrow--prev {
	left: 3px;
}

.carousel__arrow--prev svg {
	-webkit-transform: scaleX(-1);
	transform: scaleX(-1);
}

.carousel__arrow--prev::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.25);
	width: 40px;
	height: 40px;
	border-radius: 50px;
	z-index: -1;
}

.carousel__arrow--next::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.25);
	width: 40px;
	height: 40px;
	border-radius: 50px;
	z-index: -1;
}

.carousel__arrow--next {
	right: -8px;
	border-radius: 0 8px 8px 0;
}

.carousel__arrow:hover {
	/* background: rgba(0, 188, 212, 1); */
}

@media (max-width: 640px) {
	.carousel__arrow {
		display: none !important;
	}

	body.is-desktop .carousel__arrow,
	body[data-device-family="desktop"] .carousel__arrow {
		display: flex !important;
	}
}

/* --------- MINI CAROUSEL CSS ------------ */

.mini-carousel {
	position: relative;
	/* max-width: 1320px; */
	height: auto;
	max-width: 100%;
	width: 100%;
	overflow: hidden;
}

.mini-carousel__wrapper {
	display: flex;
	gap: var(--gap16);
	transition: transform 0.3s ease;
	padding: 8px 4px;
	width: 100%;
	/* position: relative; */
}

.mini-carousel__item {
	flex-shrink: 0;
	width: 85px;
	height: 47px;
	display: flex;
	align-items: center;
	border-radius: var(--br8);
	box-sizing: border-box;
	cursor: pointer;
	aspect-ratio: 85 / 47;
}

.mini-carousel__item:hover {
	outline: 3px solid var(--bg-brand-solid);
}

.mini-carousel__item img {
	width: 100%;
	height: 100%;
	border-radius: var(--br8);
	object-fit: cover;
}

.mini-carousel__item span {
	flex: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: 500;
}

/* Šipky pro mini carousel */
.mini-carousel__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	width: 30px;
	height: 47px;
	cursor: pointer;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	transition: background 0.3s ease, opacity 0.3s ease;
}

.mini-carousel__arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.25);
	width: 24px;
	height: 24px;
	border-radius: 50px;
	z-index: -1;
}

.mini-carousel__arrow svg {
	width: 12px;
	height: 12px;
	stroke: #fff;
}

.mini-carousel__arrow--prev {
	left: 0px;
	background: transparent;
}

.mini-carousel__arrow--prev svg {
	transform: scaleX(-1);
}

.mini-carousel__arrow--next {
	right: 0px;
	background: transparent;
}

.mini-carousel__arrow:hover {
	/* background: rgba(0, 0, 0, 0.9); */
}

.mini-carousel__arrow:disabled {
	opacity: 0.3;
	/* cursor: not-allowed; */
}

/* Responzivní úpravy */
@media (max-width: 1400px) {
	.mini-carousel__arrow {
		width: 40px;
	}

	.mini-carousel {
		padding: 0 0px;
	}

	.mini-carousel__arrow--prev {
		left: 0px;
	}

	.mini-carousel__arrow--next {
		right: 0px;
	}
}

@media (max-width: 768px) {
	.mini-carousel {
		padding: 0px;
	}

	.mini-carousel__arrow--prev {
		left: -10px;
	}

	.mini-carousel__arrow--next {
		right: -10px;
	}

	.mini-carousel__arrow {
		width: 25px;
		height: 40px;
	}
}

@media (max-width: 640px) {
	.mini-carousel__arrow {
		display: none !important;
	}

	body.is-desktop .mini-carousel__arrow,
	body[data-device-family="desktop"] .mini-carousel__arrow {
		display: flex !important;
	}
}

@media (max-width: 480px) {
	.mini-carousel__item {
		width: 75px;
		height: 42px;
		font-size: 11px;
	}

	.mini-carousel__arrow {
		height: 42px;
	}
}

/* --------- END MINI CAROUSEL CSS ------------ */

/***********************************/
/*****----- CARDS LAYOUTS -----*****/
/***********************************/

.game-card--standard-large {
	grid-row: 1 / 3;
}

.game-card--featured-large {
	grid-row: 1 / 3;
}

@media (max-width: 640px) {
	.games-grid--standard {
		grid-template-columns: repeat(2, 1fr);
	}

	.game-card--standard-large {
		grid-column: 1 / span 2;
	}
}

/* Karty v gridu */
.game-card--featured-large {
	grid-column: span 2;
	grid-row: span 2; /* dvojnásobná výška */
}

.game-card--featured-small {
	grid-column: span 1;
}

/* Sekce přes celou šířku */
.banner,
.flex-section,
.games-list,
.news-section {
	grid-column: 1 / -1;
}

/* Přímé child main__content = bloky přes celou šířku */
.main__content > section,
.main__content > h1,
.main__content > h2,
.main__content > h3,
.main__content > .categories-filters,
.main__content > .show__more-section {
	grid-column: 1 / -1;
}

/* Sjednocení všech games-grid__primary na 6 sloupců z main__content, ale featured má specifické rozložení */
.games-grid--featured .games-grid__primary {
	display: grid;
	grid-template-rows: auto auto;
	gap: var(--gap16);
}

.games-grid--featured .games-grid__primary,
.games-grid--regular .games-grid__primary,
.games-grid--standard .games-grid__primary {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-template-rows: 1fr;
	gap: var(--gap16);
}

/* Pro featured: velké karty span 2 (2fr), malé span 1 (1fr) */
.game-card--featured-large {
	grid-column: span 2;
	grid-row: span 2;
}

.game-card--featured-large:nth-of-type(1) {
	grid-column: 1 / 3; /* První velká karta zabere první 2fr */
}
.game-card--featured-large:nth-of-type(2) {
	grid-column: 3 / 5; /* Druhá velká karta zabere druhé 2fr */
}

.game-card--featured-small {
	grid-column: span 1;
	max-height: fit-content;
}

/* Pro standard: large span 2, small span 1 */
.game-card--standard-large {
	grid-column: span 2;
	grid-row: span 2;
}
.game-card--standard-small {
	aspect-ratio: 1.8085 / 1;
	grid-column: span 1;
}

@media (min-width: 1537px) {
	.game-card--standard-large {
		grid-column: span 2;
	}
}

/* Vrácení původních respo podmínek pro featured */
@media (max-width: 1536px) and (min-width: 641px) {
	.games-grid--featured .games-grid__primary {
		grid-template-columns: repeat(4, 1fr); /* 4 sloupce */
		grid-template-areas:
			"big1 big1 big2 big2"
			"small1 small2 small3 small4";
	}

	/* velké karty */
	.game-card--featured-large:nth-of-type(1) {
		grid-column: span 2;
	}
	.game-card--featured-large:nth-of-type(2) {
		grid-column: span 2;
	}

	/* malé karty */
	.game-card--featured-small {
		grid-column: span 1;
	}

	/* Pro standard: na menším 1 large span 3, small span 1 */
	.games-grid--standard .games-grid__primary {
		grid-template-columns: repeat(6, 1fr);
	}
	.game-card--standard-large {
		grid-column: span 2;
	}
	.game-card--standard-small {
		grid-column: span 1;
	}
}

@media (max-width: 640px) {
	.games-grid--featured .games-grid__primary {
		grid-template-columns: repeat(3, 1fr);
	}

	.game-card--featured-large:nth-of-type(1) {
		grid-column: 1 / -1;
	}
	.game-card--featured-large:nth-of-type(2) {
		grid-column: span 1;
	}
	.game-card--featured-small {
		grid-column: span 1;
	}

	.games-grid--standard .games-grid__primary {
		grid-template-columns: repeat(2, 1fr);
	}
	.game-card--standard-large {
		grid-column: 1 / -1; /* full na mobilu */
	}
	.game-card--standard-small {
		grid-column: span 1;
	}

	.games-grid--regular .games-grid__primary {
		grid-template-columns: repeat(2, 1fr);
	}
	.games-grid--regular.games-grid--mobile-3col .games-grid__primary {
		grid-template-columns: repeat(3, 1fr);
	}
}

/*** FEATURED ***/
.games-grid--featured {
	display: grid;
}

/* sekce featured */
.games-grid--featured .games-grid__primary {
	display: grid;
	gap: var(--gap16);
}

/* featured 1536px - 1194px */
@media (max-width: 1536px) and (min-width: 641px) {
	.games-grid--featured .games-grid__primary {
		grid-template-columns: repeat(4, 1fr); /* 4 sloupce */
		grid-template-areas:
			"big1 big1 big2 big2"
			"small1 small2 small3 small4";
	}

	/* velké karty */
	.game-card--featured-large:nth-of-type(1) {
		grid-column: span 2;
	}
	.game-card--featured-large:nth-of-type(2) {
		grid-column: span 2;
	}

	/* malé karty */
	.game-card--featured-small {
		grid-column: span 1;
	}
}

/* featured 640px - 1 velká 3 malé */

@media (max-width: 640px) {
	.games-grid--featured .games-grid__primary {
		grid-template-columns: repeat(3, 1fr);
	}

	.game-card--featured-large:nth-of-type(1) {
		grid-column: 1/-1;
	}

	.game-card--featured-large:nth-of-type(2) {
		grid-column: span 1;
	}

	.game-card--featured-large:nth-of-type(2) .game-card__image-big {
		aspect-ratio: 1 / 1;
	}

	.game-card--featured-small {
		grid-column: span 1;
	}

	.game-card--featured-large {
		grid-row: auto; /* reset do defaultu */
	}
}

/* featured */

/* sekce regular */
.games-grid--regular .games-grid__primary {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-template-rows: auto auto;
	gap: var(--gap16);
}

@media (max-width: 1280px) {
	.games-grid--regular .games-grid__primary {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 640px) {
	.games-grid--regular .games-grid__primary {
		grid-template-columns: repeat(2, 1fr);
	}
}

/*** sekce standard ***/
.games-grid--standard {
	grid-template-columns: 1fr;
}

@media (max-width: 1536px) and (min-width: 641px) {
	/* 1 velký a 4 malé */
	.games-grid--standard .games-grid__primary:has(.game-card--standard-large) {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 640px) {
	.games-grid--standard .games-grid__primary {
		grid-template-columns: repeat(2, 1fr);
	}
}

/*** sekce regular ***/

@media (max-width: 834px) and (min-width: 641px) {
	/* extra 6x2 na tabletu */
	.games-grid--regular.games-grid--mobile-3col .games-grid__primary {
		grid-template-columns: repeat(4, 1fr);
	}

	.games-grid--regular.games-grid--mobile-3col .game-card__image--regular img {
		aspect-ratio: 1 / 1;
		height: auto;
	}
}

@media (max-width: 1536px) and (min-width: 641px) {
	.games-grid--regular .games-grid__primary {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 640px) {
	.games-grid--regular .games-grid__primary {
		grid-template-columns: repeat(2, 1fr);
	}

	/* extra 3x3 na mobilu */
	.games-grid--regular.games-grid--mobile-3col .games-grid__primary {
		grid-template-columns: repeat(3, 1fr);
	}

	.games-grid--regular.games-grid--mobile-3col .games-grid__primary .game-card {
		/* overflow: hidden; */
	}

	.games-grid--regular.games-grid--mobile-3col .game-card__image--regular img {
		aspect-ratio: 1 / 1;
		height: auto;
	}
}

@media (max-width: 640px) {
	.game-card--featured-small {
		width: 100%;
		height: 100%;
		box-sizing: border-box;
	}

	.game-card--featured-small img {
		aspect-ratio: 1 / 1;
		height: auto;
	}

	.games-grid--regular.games-grid--mobile-3col .game-card__image--regular {
		aspect-ratio: 1 /1;
	}
}

/* skrytý obsah, objeví se po rozkliknutí */

.games-grid__more.hidden {
	display: none;
}

.game-card--hidden {
	display: none;
}

.hidden {
	display: none;
}

/* FEATURED GRID */

#featuredGridMore.games-grid__more {
	grid-template-columns: repeat(6, 1fr);
}

/***** SHOW MORE SECTION *****/

.separator {
	display: flex;
	align-items: center;
	margin: 0px 0;
	position: relative;
}

.separator__line {
	flex: 1;
	height: 1px;
	background: var(--clr-alpha-black-10);
}

.separator--complete {
	min-height: 42px;
}

.separator__button {
	background: var(--clr-alpha-black-10);
	color: white;
	padding: var(--pdBtn);
	border-radius: var(--br8);
	border: 1px solid var(--clr-alpha-black-10);
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
	text-transform: capitalize;
	position: relative;
	overflow: hidden;
}

.separator__button:hover {
	background: var(--bg-brand-solid);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.separator__button:active {
	transform: translateY(0);
	background: var(--clr-alpha-black-10);
}

.hidden-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease-out, opacity 0.3s ease;
	opacity: 0;
}

.hidden-content--visible {
	max-height: 1000px;
	opacity: 1;
}

.separator--alt .separator__line {
	background: #ddd;
	height: 2px;
}

.separator--alt .separator__button {
	background: white;
	color: #6b7280;
	border: 2px solid #6b7280;
}

.separator--alt .separator__button:hover {
	background: #6b7280;
	color: white;
}

/* Animace pro fade-in efekt nových karet */
.fade-in {
	animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Styl pro deaktivované tlačítko */
.separator__button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

/* Volitelně - pokud chceš loading stav */
.loading {
	text-align: center;
	padding: 20px;
	color: #6b7280;
}

/* Bottom Line Content SECTION */

.bottom-line__container {
	padding: var(--pd24);
	background: rgba(255, 255, 255, 0.1);
	border-radius: var(--br16);
}

.bottom-line__content {
	display: flex;
	flex-direction: column;
	gap: var(--gap24);
}

.bottom-line__text {
	font-size: var(--fs14);
	font-weight: var(--fw400);
	line-height: 1.6;
}

/********------------- ADS SIDEBAR -------------********/
.ads {
	position: relative;
	width: 300px;
	min-height: 900px;
	flex-shrink: 0;
	contain: layout paint;
}

.ads__banner {
	transition: border-color 0.3s ease;
}

.ads__banner__first {
	width: 100%;
	height: 600px;
	position: sticky;
	top: 75px;
	left: auto;
}

.ads__banner__sec {
	width: 100%;
	height: 300px;
	/* max-height: 300px; */
}

.ads__banner:hover {
	border-color: #00bcd4;
}

@media (max-width: 1194px) {
	.ads {
		display: none;
	}
}

/***** RESPO: SIDEBAR  *****/

@media (min-width: 1195px) and (max-width: 1279px) {
	.sidebar:not(.sidebar--expanded) {
		width: 70px;
		padding: 0;
	}

	.sidebar:not(.sidebar--expanded) .sidebar__menu-item {
		width: 40px;
		height: 40px;
		min-height: 40px;
		padding: 6px;
		justify-content: center;
		align-self: center;
		position: relative;
		font-size: 0;
		line-height: 0;
	}

	.sidebar:not(.sidebar--expanded) .sidebar__menu-item:not(.sidebar__menu-item--all) {
		gap: 0;
	}

	.sidebar:not(.sidebar--expanded) .sidebar__menu-icon {
		margin: 0;
	}

	.sidebar:not(.sidebar--expanded) .sidebar__section-title {
		display: none;
	}

	.sidebar:not(.sidebar--expanded) .sidebar__menu-expand-icon,
	.sidebar:not(.sidebar--expanded) .sidebar__submenu {
		display: none;
	}

	.sidebar:not(.sidebar--expanded) .sidebar__menu-chevron {
		display: flex;
	}

	.sidebar:not(.sidebar--expanded) .sidebar__logo-title {
		display: none;
	}

	.sidebar.sidebar--minimized {
		width: 70px;
		padding: 0;
	}

	.sidebar.sidebar--minimized .sidebar__menu-item {
		width: 40px;
		height: 40px;
		min-height: 40px;
		padding: 6px;
		justify-content: center;
		align-self: center;
		position: relative; /* Pro tooltip positioning */
		font-size: 0;
		line-height: 0;
	}

	.sidebar.sidebar--minimized .sidebar__menu-icon {
		margin: 0; /* Vycentruj ikonku */
	}

	/* Skryj section title jen v minimalizaci */
	.sidebar.sidebar--minimized .sidebar__section-title {
		display: none;
	}

	.sidebar.sidebar--minimized .sidebar__menu-chevron {
		display: flex;
	}

	/* Skryj logo title jen v minimalizaci */
	.sidebar.sidebar--minimized .sidebar__logo-title {
		display: none;
	}
}

/* Zajisti správné zobrazení chevron + tooltip u .sidebar__menu-item--all */
@media (min-width: 1195px) and (max-width: 1279px) {
	.sidebar__menu-item--all .tooltip {
		left: calc(100% + 10px); /* Tooltip se zobrazí vpravo */
	}
}

@media (min-width: 1280px) {
	.sidebar.collapsed .sidebar__menu-item--all .tooltip {
		left: calc(100% + 10px);
	}
}

/* Smooth přechod pro main content při změně šířky sidebaru */

/* Zajisti že burger button funguje správně na všech zařízeních */
.header__burger {
	position: relative;
	z-index: 300; /* Vyšší než sidebar */
}

/* Pro případy kdy je header fixní */
@media (max-width: 1194px) {
	.sidebar.open {
		top: 60px; /* Adjust podle výšky tvého headeru */
		height: calc(100vh - 60px);
	}
}

/***** GAME CARDS GRID - FEATURED *****/

/********------------- RESPO LAYOUT-------------********/
@media (max-width: 1536px) {
	.layout {
		grid-template-columns: 220px 1fr 160px;
	}

	.layout--sidebar-minimized {
		grid-template-columns: 70px 1fr 160px;
	}

	.ads__banner__first,
	.ads__banner__sec {
		width: 100%;
		max-width: 160px;
		max-height: auto;
	}

	.ads__banner__first img,
	.ads__banner__sec img {
		max-width: 160px;
		object-fit: cover;
	}

	.ads__banner__first img {
		min-height: 600px;
	}

	.ads__banner__sec {
		width: 100%;
		max-height: 300px;
	}
	.ads__banner__sec img {
		min-height: 300px;
	}
}

@media (max-width: 1280px) {
	.layout {
		grid-template-columns: 70px 1fr 160px;
	}

	.main__content {
		max-width: 1320px;
		width: 100%;
		margin: 0 auto;
		display: grid;
		grid-template-columns: repeat(6, 1fr);
		gap: var(--gap16);
		padding: 0 8px;
	}

	/* Rozbalený sidebar - vytlačí obsah */
	.layout.layout--sidebar-expanded {
		grid-template-columns: 220px 1fr 160px !important;
	}

	/* Pokud by byla třída minimized */
	.layout.layout--sidebar-minimized {
		grid-template-columns: 70px 1fr 160px !important;
	}

	.main__content {
		max-width: 1320px;
		width: 100%;
		margin: 0 auto;
		display: grid;
		grid-template-columns: repeat(6, 1fr);
		gap: var(--gap16);
		padding: 0 8px;
	}

	/* Zmenšený obsah při rozbaleném sidebaru */
	.main__content.main__content--shrink {
		max-width: 100%; /* nebo menší hodnota pokud potřeba */
	}
}

@media (max-width: 1194px) {
	.layout {
		grid-template-columns: 1fr;
		padding: 0 8px;
		contain: none;
	}

	.main {
		max-width: 100%;
		padding: 0 8px;
	}

	.carousel__arrow {
		display: flex;
	}

	.main__section {
		contain: none;
	}

	.main__section-title__link {
		display: flex;
		flex: 1;
		justify-content: flex-end;
	}
}

@media (max-width: 1024px) {
	.main {
	}

	.main__content {
		max-width: 1320px;
		width: 100%;
		margin: 0 auto;
		display: grid;
		grid-template-columns: repeat(6, 1fr);
		gap: var(--gap16);
		padding: 0;
	}
}

@media (max-width: 640px) {
	.layout {
		grid-template-columns: 1fr;
		padding: 0 8px;
		justify-content: center;
	}

	.main__content {
		max-width: 1320px;
		width: 100%;
		margin: 0 auto;
		display: grid;
		grid-template-columns: repeat(6, 1fr);
		gap: var(--gap16);
		padding: 0;
	}

	h1 {
		margin: 16px 0;
	}

	.main {
		margin: 0;
		padding: 0px 8px;
		max-width: 100%;
		overflow-x: hidden;
	}

	.sidebar--mobile-open {
		transform: translate(228px, 70px);
	}
}

/***** Footer *****/

.footer {
	grid-column: 1 / -1;
	padding: 16px;
	justify-content: center;
	display: flex;
}

.footer__container {
	position: relative;
	display: flex;
	flex-flow: column wrap;
	align-items: center;
	gap: var(--gap32);
	padding-top: 64px;
	padding-bottom: 48px;
	color: var(--text-tertiary);
	/* min-width: 1320px; */
	transform: translateX(-40px);
}

.footer__container a {
	color: var(--text-tertiary);
}

.footer__logo {
	position: relative;
	text-align: center;
	height: 80px;
	margin-bottom: 32px;
}

.footer__logo-link {
	display: inline-block;
	width: 230px;
	height: 38px;
	overflow: hidden;
}

.footer__logo-image {
	display: block;
	width: 230px;
	height: 80px;
	object-fit: contain;
	object-position: center;
}
.footer__logo--mahee .footer__logo-link {
	width: 190px;
}

.footer__logo--mahee .footer__logo-image {
	max-width: none;
	transform: translateX(-20px);
}

.footer__nav {
	display: flex;
	gap: var(--gap32);
	flex-wrap: wrap;
	justify-content: center;
}

.footer__button:hover,
.footer__link:hover {
	color: var(--bg-brand-solid);
}

.footer__link--muted:hover {
	color: var(--text-tertiary);
}

.footer__bottom {
	width: 1320px;
	max-width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	padding: 32px 32px 0 32px;
	border-top: 1px solid var(--brdr-secondary_alt);
}

@media (max-width: 1320px) {
	.footer__bottom {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
}

@media (max-width: 1200px) {
	.footer__container {
		transform: translateX(0);
	}
}

@media (max-width: 1118px) {
	.footer__container::before {
		transform: translate(-50%, -57%);
	}
}

@media (max-width: 903px) and (min-width: 641px) {
	.footer__container::before {
		transform: translate(-50%, -70%);
	}
}

@media (max-width: 640px) {
	.footer__nav {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 12px 24px;
	}

	.footer__bottom {
		text-align: left;
		justify-content: start;
	}

	.footer__container::before {
		transform: translate(-50%, -70%);
	}
}

@media (max-width: 485px) {
	.footer__container::before {
		transform: translate(-50%, -75%);
	}
}

@media (max-width: 414px) and (min-width: 381px) {
	.footer__container::before {
		transform: translate(-50%, -81%);
	}
}

@media (max-width: 380px) {
	.footer__container::before {
		transform: translate(-50%, -84%);
	}
}
