.flex-row {
	display: flex;
	flex-direction: row;
}

.flex-column {
	display: flex;
	flex-direction: column;
}

.loading {
	opacity: 0.5;
	pointer-events: none;
}

.catalogue-interface {
	width: 100%;
	gap: 32px;
}

.catalogue-interface .game-list {
	min-width: 280px;
}

.catalogue-interface .game-list ul {
	padding-left: 0;
	list-style: none;
}

.catalogue-interface .game-list .game-tab-button {
	display: flex;
    justify-content: space-between;
    align-items: center;
	-webkit-box-pack: justify;
    -webkit-box-align: center;
    position: relative;
	z-index: 1;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0);
    border-radius: 4px;
	padding: 17px 16px 17px 24px;
    min-width: 100%;
    height: 58px;
	color: rgb(167, 167, 200);
    background-color: rgba(0, 0, 0, 0);
    font-size: 16px;
    line-height: 24px;
    font-weight: bold;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    white-space: normal;
    text-decoration: unset;
	user-select: none;
	cursor: pointer;
}

.catalogue-interface .game-list .game-tab-button:hover {
	color: rgb(192, 192, 214);
}

.catalogue-interface .game-list .game-tab-button.active {
	color: #fff;
    background-color: rgba(86, 79, 255, 0.1);
    border-color: rgb(86, 79, 255);
}

.catalogue-interface .game-list .game-tab-button.active:hover {
	background-color: rgba(86, 79, 255, 0.3);
    border-color: rgb(82, 62, 201);
}

.catalogue-interface .game-list .game-tab-button svg {
    fill: rgb(167, 167, 200);
}

.catalogue-interface .game-list .game-tab-button:hover svg {
	fill: rgb(192, 192, 214);
}

.catalogue-interface .game-list .game-tab-button.active svg {
	fill: #fff;
}

.catalogue-interface .game-list li {
	position: relative;
	margin-bottom: 0;
}

.catalogue-interface .game-list li::before {
	content: "";
    position: absolute;
    top: -1px;
    left: 0px;
	z-index: 0;
    height: 1px;
    width: 100%;
    background-color: rgb(30, 34, 66);
}

.catalogue-interface .game-list li:last-child::after {
	content: "";
    position: absolute;
    left: 0px;
    bottom: -1px;
	z-index: 0;
    height: 1px;
    width: 100%;
    background-color: rgb(30, 34, 66);
}

.catalogue-interface .game-tab {
	width: 100%;
	min-width: 0;
	transition: all 200ms ease;
}

.catalogue-interface .game-tab header {
	align-items: center;
	margin-bottom: 32px;
	height: 45px;
}

.catalogue-interface .game-tab header > div {
	min-width: 0;
	width: 100%;
}

.catalogue-interface .categories-slider-container {
	position: relative;
    display: flex;
    align-items: center;
	user-select: none;
}

.catalogue-interface .categories-slider {
	display: flex;
	position: relative;
	padding: 1px 1px 1px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-grow: 1;
	mask-image: linear-gradient(to right, #0000, #000 100px, #000 calc(100% - 100px), #0000 100%);
}

.catalogue-interface .categories-slider::-webkit-scrollbar {
	display: none;
}

.catalogue-interface .categories-slider-container.start .categories-slider {
	mask-image: linear-gradient(to right,#000 0 calc(100% - 100px), #0000 100%);
}

.catalogue-interface .categories-slider-container.end .categories-slider {
	mask-image: linear-gradient(to right, #0000, #000 100px);
}

.catalogue-interface .categories-slider-container.no-nav .categories-slider {
	mask-image: none;
}

.catalogue-interface .category-button {
	display: inline-flex;
    -webkit-box-align: center;
	justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 4px;
	margin-right: 12px;
    padding: 7px 12px 8px 12px;
	width: fit-content;
	height: 43px;
    color: rgb(219, 219, 233);
    background-color: rgb(30, 34, 66);
	font-size: 14px;
    line-height: 22px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease 0s;
	box-sizing: border-box;
}

.catalogue-interface .category-button:last-child {
	margin-right: 0 !important;
}

.catalogue-interface .category-button.active {
	background-color: rgba(86, 79, 255, 0.1);
    border: 1px solid rgb(86, 79, 255);
    color: #fff;
}

.catalogue-interface .category-button.active:hover {
	background-color: rgba(82, 62, 201, 0.3);

}

.catalogue-interface .category-button:hover {
	background-color: rgb(41, 48, 84);
}

.catalogue-interface .categories-slider-container .nav-button {
	flex-shrink: 0;
	position: absolute;
	z-index: 2;
	width: 44px;
    height: 44px;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgb(30, 34, 66);
	cursor: pointer;
}

.catalogue-interface .categories-slider-container.no-nav .nav-button {
	display: none;
}

.catalogue-interface .categories-slider-container .next-button {
	right: 0;
}

.catalogue-interface .categories-slider-container.end .next-button {
	display: none;
}

.catalogue-interface .categories-slider-container .prev-button {
	left: 0;
}

.catalogue-interface .categories-slider-container.start .prev-button {
	display: none;
}

.catalogue-interface .categories-slider-container .nav-button svg {
	fill: #c0c0d6;
}

.catalogue-interface .categories-slider-container .nav-button:hover svg {
	fill: #fff;
}

.catalogue-interface .game-tab header .discover-all-button {
	display: inline-flex;
    flex-shrink: 0;
	margin: 1px 0;
    margin-left: 20px;
    color: #fff;
    background-color: rgb(86, 79, 255);
    border-color: rgb(86, 79, 255);
    padding: 10px 16px;
    white-space: nowrap;
    box-sizing: border-box;
    text-align: center;
    border-radius: 4px;
    border-width: 1px;
    border-style: solid;
	font-size: 14px;
    line-height: 22px;
    font-weight: bold;
    font-family: Lato, Arial, Helvetica, sans-serif;
    white-space: normal;
    text-decoration: unset;
	cursor: pointer;
}

.catalogue-interface .game-tab header .discover-all-button:hover {
	background-color: rgb(82, 62, 201);
    border-color: rgb(82, 62, 201);
}

#catalogue-offers {
	display: grid;
  	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 32px;
	transition: all 200ms ease;
}

.catalogue-interface .offer {
	display: flex;
	justify-content: center;
	position: relative;
    border-radius: 6px;
	width: 100%;
	height: 300px;
	overflow: hidden;
	cursor: pointer;
}

.catalogue-interface .offer .background-wrapper {
	position: absolute;
	top: 1px;
	left: 1px;
	z-index: 0;
	width: calc(100% - 2px);
	height: calc(100% - 2px);
	border-radius: 6px;
	overflow: hidden;
}

.catalogue-interface .offer .background {
	--scale-bg-image: 0%;
	display: block;
	position: absolute;
	top: calc(0px - (var(--scale-bg-image) / 2));
	left: calc(0px - (var(--scale-bg-image) / 2));
	z-index: 0;
	border-radius: 6px;
	width: calc(100% + var(--scale-bg-image));
	height: calc(100% + var(--scale-bg-image));
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	transition: all 0.3s ease;
}

.catalogue-interface .offer:hover .background {
	width: calc(100% + var(--scale-bg-image) + 30px);
	height: calc(100% + var(--scale-bg-image) + 30px);
	left: calc(-15px - (var(--scale-bg-image) / 2));
}

.catalogue-interface .offer article {
	display: flex;
    flex-direction: column;
    justify-content: space-between;
    -webkit-box-pack: justify;
	position: relative;
	z-index: 1;
	border-radius: 6px;
    padding: 20px;
	width: 100%;
	height: 100%;
}

.offer article::before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(to top, #121339, #1213396a),
					  linear-gradient(to right, #554FF6 0%, #3CB8FF 100%);
    mask-image: linear-gradient(to top, #000 20%, #000b 50%, #0000 75%);
	content: '';
}

.offer article > div {
	z-index: 1;
}

.catalogue-interface .offer .badge {
	display: flex;
    align-items: center;
    -webkit-box-align: center;
	border-radius: 4px;
    padding: 8px;
	width: fit-content;
    min-width: 0px;
    height: 32px;
	font-family: Lato, Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 12px;
    line-height: 16px;
}

.catalogue-interface .offer .badge img {
	width: 16px;
	height: 16px;
	object-fit: contain;
	object-position: center;
	margin-right: 6px;
}

.catalogue-interface .offer .card-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin-top: auto;
	min-height: 180px;
}

.catalogue-interface .offer h3 {
	margin: 0;
	margin-bottom: 4px;
	color: #fff;
	font-family: "Poppins", Arial, Helvetica, sans-serif;
	font-size: 18px;
	line-height: 24px;
	font-weight: 600;
	text-shadow: 0 0 10px #121339;
}

.catalogue-interface .offer ul {
	margin: 0;
	padding-left: 12px;
    list-style-image: url(../images/rectangle-list-item.svg);
    list-style-position: outside;
}

.catalogue-interface .offer ul li {
	font-weight: 600;
    font-size: 13px;
    line-height: 16px;
    font-family: Lato, Arial, Helvetica, sans-serif;
    margin-bottom: 4px;
    padding-left: 8px;
	color: #c0c0d6;
}

.catalogue-interface .offer .price-wrapper {
	margin-top: 16px;
}

.catalogue-interface .saving-badge {
    display: flex;
    align-items: center;
    -webkit-box-align: center;
	margin-bottom: 6px;
	border-radius: 4px;
    padding: 4px 6px;
	width: fit-content;
    min-width: 0px;
    height: 24px;
    color: rgb(5, 6, 34);
	background-color: rgb(150, 212, 115);
	font-family: Lato, Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 12px;
    line-height: 16px;
    opacity: 0.8;
}

.catalogue-interface .offer .price-wrapper > div {
	display: flex;
	align-items: flex-end;
	margin-top: 10px;
}

.catalogue-interface .offer .price-wrapper .from {
	color: rgb(192, 192, 214);
    font-size: 14px;
    line-height: 1;
    font-weight: bold;
    font-family: Lato, Arial, Helvetica, sans-serif;
    white-space: normal;
    text-decoration: unset;
}

.catalogue-interface .offer .price-wrapper .price {
	position: relative;
	top: 0.5px;
	flex-shrink: 0;
	font-family: Lato, Arial, Helvetica, sans-serif;
    color: #fff;
    margin-left: 4px;
    font-size: 17px;
    line-height: 1;
    font-weight: 600;
}

.catalogue-interface .offer .price-wrapper .price.sale {
	color: rgb(150, 212, 115)
}

.catalogue-interface .offer .price-wrapper .regular-price {
	flex-shrink: 0;
	color: rgb(167, 167, 200);
    margin-left: 4px;
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    font-family: Lato, Arial, Helvetica, sans-serif;
    white-space: normal;
    text-decoration: line-through;
}

#catalogue-offers .banner {
	display: block;
	grid-column: 1 / -1;
	grid-row: 2;
	border-radius: 6px;
	width: 100%;
	background-size: cover;
	background-position: bottom right;
	overflow: hidden;
}

#catalogue-offers .banner h4 {
	margin-bottom: 6px;
    color: #fff;
	font-family: "Poppins", Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
}

#catalogue-offers .banner .description {
	color: rgb(219, 219, 233);
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
    font-family: Lato, Arial, Helvetica, sans-serif;
    white-space: normal;
    text-decoration: unset;
}

#catalogue-offers .banner .description p:last-child {
	margin-bottom: 0;
}

#catalogue-offers .banner > div {
	padding: 20px 24px;
    width: 100%;
	background: linear-gradient(268.46deg, rgba(30, 34, 66, 0) 19.45%, rgb(24, 21, 64) 44.21%), linear-gradient(268.53deg, rgba(30, 34, 66, 0) 1.25%, rgb(24, 21, 64) 56.93%), linear-gradient(rgba(30, 34, 66, 0) 61.76%, rgba(30, 34, 66, 0.4) 100%), linear-gradient(167.13deg, rgba(60, 185, 255, 0.12) 28.84%, rgba(60, 185, 255, 0) 120.36%), linear-gradient(89.74deg, rgb(24, 21, 64) 60%, rgba(198, 46, 75, 0) 70%);
}

.catalogue-interface .game-tab > .discover-all-button {
	display: block;
	width: 100%;
    margin-top: 32px;
    color: #fff;
    background-color: rgba(86, 79, 255, 0.1);
    border-color: rgb(86, 79, 255);
    padding: 17px 20px;
    white-space: nowrap;
    box-sizing: border-box;
    text-align: center;
    border-radius: 4px;
    border-width: 1px;
    border-style: solid;
	font-family: Lato, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.catalogue-interface .game-tab > .discover-all-button:hover {
    border-color: rgb(82, 62, 201);
	background-color: rgba(86, 79, 255, 0.3);
	color: #fff;
}

.mobile {
	display: none;
}

@media (max-width: 950px) {
	.mobile {
		display: block;
	}

	.catalogue-interface .choose-game {
		margin-bottom: 0;
		color: #fff;
		font-family: "Poppins", Arial, Helvetica, sans-serif;
		font-size: 18px;
		line-height: 26px;
		font-weight: bold;
	}

	.open-game-list {
		position: relative;
		width: 100%;
		text-align: left;
		border-radius: 4px;
		border: 2px solid rgba(0, 0, 0, 0);
		padding: 15px 42px 15px 18px;
		background: rgb(30, 34, 66);
		color: rgb(167, 167, 200);
		fill: rgb(167, 167, 200);
		cursor: pointer;
	}

	.catalogue-interface .game-list {
		display: flex;
		flex-direction: column;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 100000;
		padding: 20px;
		width: 100%;
		height: 100%;
		background-color: #05061e;
		transition: all 200ms ease;
	}

	.catalogue-interface .game-list.closed {
		transform: translateY(100vh);
		transform: translateY(100lvh);
	}

	.catalogue-interface .game-list .game-list-title {
		margin-bottom: 24px;
		font-family: "Poppins", Arial, Helvetica, sans-serif;
		text-align: center;
		color: #fff;
		font-size: 16px;
		line-height: 24px;
		font-weight: bold;
	}

	.catalogue-interface .game-list .close-button {
		position: absolute;
		top: 20px;
		right: 20px;
		cursor: pointer;
	}

	.catalogue-interface .game-list .close-button svg {
		fill: rgb(167, 167, 200);
	}

	.catalogue-interface .game-list .close-button:hover svg {
		fill: #fff;
	}

	.catalogue-interface .game-list ul {
		padding-right: 5px;
		height: 100%;
		overflow-y: scroll;
		overflow-x: hidden;
	}

	.catalogue-interface .game-list ul::-webkit-scrollbar-track {
		background-color: #10142d;
		border-radius: 30px;
	}
	
	.catalogue-interface .game-list ul::-webkit-scrollbar {
		width: 5px;
	}
	
	.catalogue-interface .game-list ul::-webkit-scrollbar-thumb {
		background-color: rgb(36, 42, 85);
		border-radius: 50px;
	}

	.open-game-list svg {
		width: 16px;
		height: 16px;
		right: 20px;
		transition-duration: 0.5s;
		transition-property: transform;
		position: absolute;
		top: 50%;
		transform: translateY(-50%) rotate(0deg);
	}

	.catalogue-interface {
		flex-direction: column;
		gap: 20px;
	}

	.catalogue-interface .game-tab header {
		margin-bottom: 20px;
	}

	#catalogue-offers {
		gap: 16px;
	}

	.catalogue-interface .game-tab > .discover-all-button {
		margin-top: 16px;
	}
}

@media (max-width: 850px) {
	.catalogue-interface .categories-slider {
		mask-image: linear-gradient(to right, #0000, #000 70px, #000 calc(100% - 70px), #0000 100%);
	}
	
	.catalogue-interface .categories-slider::-webkit-scrollbar {
		display: none;
	}
	
	.catalogue-interface .categories-slider-container.start .categories-slider {
		mask-image: linear-gradient(to right,#000 0 calc(100% - 70px), #0000 100%);
	}
	
	.catalogue-interface .categories-slider-container.end .categories-slider {
		mask-image: linear-gradient(to right, #0000, #000 70px);
	}

	.catalogue-interface .categories-slider-container .nav-button {
		display: none;
	}

	.catalogue-interface .game-tab header .discover-all-button {
		display: none;
	}
}
