/* Responsive Slider Section — frontend styles */

.rss-hero-carousel {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	border-radius: 12px;
	isolation: isolate;
}

.rss-hero-carousel.rss-theme-light {
	color: #10131c;
}
.rss-hero-carousel.rss-theme-light .rss-title { color: #10131c; }
.rss-hero-carousel.rss-theme-light .rss-description { color: rgba(16,19,28,0.7); }

/* ---------- Floating vectors ---------- */
.rss-vectors {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}
.rss-vector {
	position: absolute;
	border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
	filter: blur(2px);
	animation: rss-float 14s ease-in-out infinite;
	background: rgba(120, 140, 255, 0.25);
}
.rss-vector-1 { width: 220px; height: 220px; top: -60px; left: -60px; animation-duration: 16s; }
.rss-vector-2 { width: 160px; height: 160px; bottom: -40px; right: 8%; animation-duration: 12s; animation-delay: -3s; }
.rss-vector-3 { width: 90px; height: 90px; top: 20%; right: 20%; animation-duration: 10s; animation-delay: -6s; }
.rss-vector-4 { width: 130px; height: 130px; bottom: 10%; left: 12%; animation-duration: 18s; animation-delay: -2s; }

@keyframes rss-float {
	0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
	33% { transform: translate(20px, -30px) rotate(8deg) scale(1.05); }
	66% { transform: translate(-15px, 20px) rotate(-6deg) scale(0.97); }
}

/* ---------- Track / slides ---------- */
.rss-track {
	position: relative;
	width: 100%;
	z-index: 1;
}

.rss-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.6s ease;
}
.rss-slide.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.rss-slide-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: nowrap;
}

.rss-image-left .rss-slide-inner { flex-direction: row-reverse; }

.rss-slide-content { flex: 1 1 480px; min-width: 280px; }
.rss-slide-media { flex: 1 1 320px; min-width: 240px; display: flex; justify-content: center; }

.rss-tagline {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8ea2ff;
}

.rss-title {
	font-size: 48px;
	line-height: 1.15;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 20px;
}

.rss-description {
	font-size: 17px;
	line-height: 1.6;
	color: rgba(255,255,255,0.72);
	max-width: 520px;
}

.rss-buttons { display: flex; flex-wrap: wrap; gap: 16px; }

.rss-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 30px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 8px;
	text-decoration: none;
	transition: transform 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}
.rss-btn:hover { transform: translateY(-2px); }

.rss-btn-primary {
	background: #6c7bff;
	color: #ffffff;
	box-shadow: 0 10px 30px -8px rgba(108,123,255,0.6);
}

.rss-btn-secondary {
	background: transparent;
	color: #ffffff;
	border: 1.5px solid rgba(255,255,255,0.4);
}

/* ---------- Circular image + orbiting stats ---------- */
.rss-image-wrap {
	--rss-img-size: 380px;
	position: relative;
	width: var(--rss-img-size);
	height: var(--rss-img-size);
	max-width: 100%;
}

.rss-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	border: 6px solid rgba(140,160,255,0.5);
	display: block;
}

.rss-stats-orbit {
	--rss-orbit-radius: 70px;
	--rss-orbit-speed: 18s;
	position: absolute;
	inset: calc(var(--rss-orbit-radius) * -1);
	animation: rss-spin var(--rss-orbit-speed) linear infinite;
}

.rss-stat-item {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
}
.rss-stat-item-1 { transform: rotate(0deg) translateX(calc(var(--rss-orbit-radius) + 190px)); }
.rss-stat-item-2 { transform: rotate(120deg) translateX(calc(var(--rss-orbit-radius) + 190px)); }
.rss-stat-item-3 { transform: rotate(240deg) translateX(calc(var(--rss-orbit-radius) + 190px)); }

.rss-stat-badge {
	position: absolute;
	transform: translate(-50%, -50%);
	animation: rss-spin-reverse var(--rss-orbit-speed) linear infinite;
	background: rgba(20,24,40,0.9);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 14px;
	padding: 10px 16px;
	text-align: center;
	backdrop-filter: blur(6px);
	box-shadow: 0 8px 24px -6px rgba(0,0,0,0.5);
	white-space: nowrap;
}

.rss-stat-number {
	display: block;
	font-size: 18px;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.2;
}
.rss-stat-label {
	display: block;
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.65);
}

@keyframes rss-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}
@keyframes rss-spin-reverse {
	from { transform: translate(-50%, -50%) rotate(0deg); }
	to { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* ---------- Entry / exit animations ---------- */
.rss-anim {
	opacity: 0;
	transform: translateY(24px);
}
.rss-slide.is-active .rss-anim {
	animation: rss-slide-in 0.7s ease forwards;
}
.rss-slide.is-active .rss-anim[data-anim-delay="1"] { animation-delay: 0.05s; }
.rss-slide.is-active .rss-anim[data-anim-delay="2"] { animation-delay: 0.15s; }
.rss-slide.is-active .rss-anim[data-anim-delay="3"] { animation-delay: 0.25s; }
.rss-slide.is-active .rss-anim[data-anim-delay="4"] { animation-delay: 0.35s; }

@keyframes rss-slide-in {
	to { opacity: 1; transform: translateY(0); }
}

.rss-hero-carousel[data-animation="zoom"] .rss-slide-media {
	transform: scale(0.85);
	transition: transform 0.7s ease;
}
.rss-hero-carousel[data-animation="zoom"] .rss-slide.is-active .rss-slide-media {
	transform: scale(1);
}

.rss-slide.is-leaving .rss-anim {
	animation: rss-slide-out 0.4s ease forwards;
}
@keyframes rss-slide-out {
	to { opacity: 0; transform: translateY(-16px); }
}

/* ---------- Navigation ---------- */
.rss-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 48px;
	height: 48px;
	line-height: 48px;
	border-radius: 50%;
	border: none;
	background: rgba(255,255,255,0.08);
	color: #ffffff;
	font-size: 18px;
	cursor: pointer;
	transition: background 0.25s ease, transform 0.25s ease;
	text-align: center;
	padding: 0;
}
.rss-nav-btn:hover { background: #6c7bff; }
.rss-nav-prev { left: 20px; }
.rss-nav-next { right: 20px; }

.rss-dots {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 3;
}
.rss-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: none;
	background: rgba(255,255,255,0.3);
	cursor: pointer;
	padding: 0;
	transition: background 0.25s ease, transform 0.25s ease;
}
.rss-dot.is-active {
	background: #6c7bff;
	transform: scale(1.3);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.rss-title { font-size: 38px; }
	.rss-stat-item-1, .rss-stat-item-2, .rss-stat-item-3 {
		transform-origin: center;
	}
}

@media (max-width: 767px) {
	.rss-slide-inner,
	.rss-image-left .rss-slide-inner {
		flex-direction: column-reverse;
		text-align: center;
	}
	.rss-slide-content,
	.rss-slide-media {
		flex-basis: 100% !important;
		max-width: 100% !important;
	}
	.rss-buttons { justify-content: center; }
	.rss-description { margin-left: auto; margin-right: auto; }
	.rss-image-wrap { --rss-img-size: 240px; }
	.rss-stat-item-1 { transform: rotate(0deg) translateX(calc(var(--rss-orbit-radius) + 90px)); }
	.rss-stat-item-2 { transform: rotate(120deg) translateX(calc(var(--rss-orbit-radius) + 90px)); }
	.rss-stat-item-3 { transform: rotate(240deg) translateX(calc(var(--rss-orbit-radius) + 90px)); }
	.rss-stat-badge { padding: 7px 12px; border-radius: 10px; }
	.rss-stat-number { font-size: 14px; }
	.rss-stat-label { font-size: 9px; }
	.rss-nav-btn { width: 38px; height: 38px; line-height: 38px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	.rss-vector,
	.rss-stats-orbit,
	.rss-stat-badge,
	.rss-anim {
		animation: none !important;
	}
	.rss-anim { opacity: 1; transform: none; }
}
