/* =========================================================
   ABAL GAMING - CARRUSEL DE CATEGORÍAS
   ========================================================= */

.abal-categories-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #111214;
	border-radius: 16px;
}

.abal-categories-slider__track {
	display: flex;
	transition: transform 0.45s ease;
	will-change: transform;
}

.abal-categories-slider__slide {
	position: relative;
	flex: 0 0 100%;
	min-height: 430px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
}

.abal-categories-slider__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			90deg,
			rgba(10, 10, 12, 0.82) 0%,
			rgba(10, 10, 12, 0.62) 42%,
			rgba(10, 10, 12, 0.18) 72%,
			rgba(10, 10, 12, 0.05) 100%
		);
}

.abal-categories-slider__content {
	position: relative;
	z-index: 2;
	width: min(620px, 90%);
	padding: 48px;
	color: #FFFFFF;
}

.abal-categories-slider__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #F3E9EC;
}

.abal-categories-slider__title {
	margin: 0 0 12px;
	font-family: Manrope, sans-serif;
	font-size: 42px;
	font-weight: 700;
	line-height: 1.1;
	color: #FFFFFF;
}

.abal-categories-slider__text {
	max-width: 540px;
	margin: 0 0 22px;
	font-size: 16px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.88);
}

.abal-categories-slider__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 20px;
	border-radius: 8px;
	background: #882826;
	color: #FFFFFF;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.abal-categories-slider__button:hover {
	background: #6F1F1E;
	color: #FFFFFF;
	transform: translateY(-1px);
}

/* Flechas */

.abal-categories-slider__nav {
	position: absolute;
	top: 50%;
	z-index: 5;
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	background: rgba(17, 18, 20, 0.62);
	color: #FFFFFF;
	cursor: pointer;
	transform: translateY(-50%);
	backdrop-filter: blur(6px);
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease;
}

.abal-categories-slider__nav:hover {
	background: #882826;
	border-color: #882826;
}

.abal-categories-slider__nav--prev {
	left: 18px;
}

.abal-categories-slider__nav--next {
	right: 18px;
}

/* Indicadores */

.abal-categories-slider__dots {
	position: absolute;
	left: 50%;
	bottom: 16px;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 8px;
	transform: translateX(-50%);
}

.abal-categories-slider__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	transition:
		width 0.2s ease,
		background-color 0.2s ease;
}

.abal-categories-slider__dot.is-active {
	width: 24px;
	background: #FFFFFF;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

	.abal-categories-slider__slide {
		min-height: 390px;
	}

	.abal-categories-slider__content {
		width: min(560px, 88%);
		padding: 40px;
	}

	.abal-categories-slider__title {
		font-size: 36px;
	}

	.abal-categories-slider__text {
		font-size: 15px;
	}
}

/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

	.abal-categories-slider {
		border-radius: 12px;
	}

	.abal-categories-slider__slide {
		min-height: 320px;
		background-position: center;
	}

	.abal-categories-slider__overlay {
		background:
			linear-gradient(
				0deg,
				rgba(10, 10, 12, 0.82) 0%,
				rgba(10, 10, 12, 0.60) 54%,
				rgba(10, 10, 12, 0.20) 100%
			);
	}

	.abal-categories-slider__content {
		width: 100%;
		padding: 24px 20px 52px;
		align-self: flex-end;
	}

	.abal-categories-slider__eyebrow {
		margin-bottom: 8px;
		font-size: 12px;
	}

	.abal-categories-slider__title {
		margin-bottom: 8px;
		font-size: 26px;
	}

	.abal-categories-slider__text {
		margin-bottom: 16px;
		font-size: 13px;
		line-height: 1.45;
	}

	.abal-categories-slider__button {
		min-height: 40px;
		padding: 8px 14px;
		font-size: 13px;
	}

	.abal-categories-slider__nav {
		width: 36px;
		height: 36px;
	}

	.abal-categories-slider__nav--prev {
		left: 10px;
	}

	.abal-categories-slider__nav--next {
		right: 10px;
	}

	.abal-categories-slider__dots {
		bottom: 12px;
	}
}