:root {
	--rbs-primary-color: #007bff;
	--rbs-overlay-opacity: 0.0;
	--rbs-transition-duration: 0.5s;
	--rbs-button-padding: 12px 30px;
	--rbs-button-border-radius: 0px;
	--rbs-wrapper-border-radius: 0px;
	--rbs-nav-border-radius: 0px;
	--rbs-dot-border-radius: 0px;
}

.rbs-slider-wrapper {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	background: #000;
	overflow: hidden;
	border-radius: var(--rbs-wrapper-border-radius);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.rbs-slider-container {
	position: relative;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.rbs-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	transition: opacity var(--rbs-transition-duration) ease-in-out;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rbs-slide.active {
	opacity: 1;
	z-index: 10;
}

.rbs-slide-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, var(--rbs-overlay-opacity));
	z-index: 1;
}

.rbs-slide-content {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 40px 20px;
	box-sizing: border-box;
}

.rbs-slide-title {
	color: #ffffff;
	font-size: 48px;
	font-weight: 700;
	margin: 0 0 20px 0;
	line-height: 1.2;
	word-wrap: break-word;
	opacity: 0;
	transform: translateY(-30px);
	transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.rbs-slide.active .rbs-slide-title {
	opacity: 1;
	transform: translateY(0);
}

.rbs-slide-title h1,
.rbs-slide-title h2,
.rbs-slide-title h3,
.rbs-slide-title h4,
.rbs-slide-title h5,
.rbs-slide-title h6 {
	margin: 0;
	color: inherit;
}

.rbs-slide-subtitle {
	color: rgba(255, 255, 255, 0.9);
	font-size: 20px;
	margin: 0 0 30px 0;
	line-height: 1.5;
	max-width: 600px;
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.rbs-slide.active .rbs-slide-subtitle {
	opacity: 1;
	transform: translateY(0);
}

.rbs-slide-subtitle p {
	margin: 0;
	color: inherit;
	font-size: inherit;
}

.rbs-slide-button {
	display: inline-block;
	background-color: var(--rbs-btn-bg, var(--rbs-primary-color));
	color: var(--rbs-btn-color, #ffffff);
	padding: var(--rbs-button-padding);
	border-radius: var(--rbs-btn-radius, var(--rbs-button-border-radius));
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	transition: all 0.3s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
	border: 2px solid var(--rbs-btn-border, var(--rbs-primary-color));
	cursor: pointer;
	opacity: 0;
	transform: translateY(30px);
}

.rbs-slide.active .rbs-slide-button {
	opacity: 1;
	transform: translateY(0);
}

.rbs-slide-button:hover {
	background-color: transparent;
	color: var(--rbs-btn-border, var(--rbs-primary-color));
	border-color: var(--rbs-btn-border, var(--rbs-primary-color));
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.rbs-slide-button:active {
	transform: translateY(0);
}

.rbs-nav-button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 20;
	background: rgba(255, 255, 255, 0.8);
	border: none;
	border-radius: var(--rbs-nav-border-radius);
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 0;
	color: #000;
}

.rbs-nav-button:hover {
	background: rgba(255, 255, 255, 1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.rbs-nav-button:active {
	transform: translateY(-50%) scale(0.95);
}

.rbs-nav-button svg {
	width: 24px;
	height: 24px;
	stroke: currentColor;
}

.rbs-nav-prev {
	left: 20px;
}

.rbs-nav-next {
	right: 20px;
}

.rbs-dots-container {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 20;
	display: flex;
	gap: 12px;
	justify-content: center;
}

.rbs-dot {
	width: 12px;
	height: 12px;
	border-radius: var(--rbs-dot-border-radius);
	background: rgba(255, 255, 255, 0.5);
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 0;
	outline: none;
}

.rbs-dot:hover {
	background: rgba(255, 255, 255, 0.7);
	transform: scale(1.1);
}

.rbs-dot.active {
	background: rgba(255, 255, 255, 1);
	width: 30px;
	border-radius: var(--rbs-dot-border-radius);
}

@media (max-width: 992px) {
	.rbs-slider-container {
		aspect-ratio: 16 / 10;
	}
}

@media (max-width: 768px) {
	.rbs-slider-container {
		aspect-ratio: 4 / 3;
	}

	.rbs-slide-title {
		font-size: 32px;
		margin-bottom: 15px;
	}

	.rbs-slide-subtitle {
		font-size: 16px;
		margin-bottom: 20px;
	}

	.rbs-slide-button {
		padding: 10px 20px;
		font-size: 14px;
	}

	.rbs-nav-button {
		width: 40px;
		height: 40px;
	}

	.rbs-nav-button svg {
		width: 20px;
		height: 20px;
	}

	.rbs-nav-prev {
		left: 10px;
	}

	.rbs-nav-next {
		right: 10px;
	}

	.rbs-dots-container {
		bottom: 15px;
		gap: 8px;
	}

	.rbs-dot {
		width: 10px;
		height: 10px;
	}

	.rbs-dot.active {
		width: 24px;
	}

	.rbs-slide-content {
		padding: 30px 15px;
	}
}

@media (max-width: 480px) {
	.rbs-slider-container {
		aspect-ratio: 1 / 1;
		min-height: 320px;
	}

	.rbs-slide-title {
		font-size: 20px;
		margin-bottom: 10px;
	}

	.rbs-slide-subtitle {
		font-size: 13px;
		margin-bottom: 15px;
		max-width: 100%;
		line-height: 1.4;
	}

	.rbs-slide-button {
		padding: 8px 16px;
		font-size: 13px;
	}

	.rbs-nav-button {
		width: 35px;
		height: 35px;
	}

	.rbs-nav-button svg {
		width: 18px;
		height: 18px;
	}

	.rbs-nav-prev {
		left: 5px;
	}

	.rbs-nav-next {
		right: 5px;
	}

	.rbs-slide-content {
		padding: 20px 15px;
	}

	.rbs-dots-container {
		bottom: 15px;
		gap: 6px;
	}

	.rbs-dot {
		width: 8px;
		height: 8px;
	}

	.rbs-dot.active {
		width: 20px;
	}
}

.rbs-nav-button:focus,
.rbs-dot:focus {
	outline: 2px solid var(--rbs-primary-color);
	outline-offset: 2px;
}

.rbs-slider-wrapper:hover .rbs-slide.active {
	animation-play-state: paused;
}