* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--red: #e53e3e;
	--yellow: #ffd600;
	--purple: #6d28d9;
	--bg-dark: #0a0e27;
	--bg-darker: #050816;
	--text-light: #ffffff;
	--text-muted: #a8b2d1;
	--glass-bg: rgba(255, 255, 255, 0.03);
	--glass-border: rgba(255, 255, 255, 0.08);
}

body {
	font-family: "Orbitron", sans-serif;
	background: url("https://cdn.bhdw.net/im/neon-design-background-for-pc-wallpaper-84747_w635.webp") center/cover fixed;
	color: var(--text-light);
	overflow-x: hidden;
	min-height: 100vh;
	position: relative;
}

/* Blur overlay */
body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	z-index: 0;
	pointer-events: none;
}

/* Título principal */
.main-title {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.2);
	text-align: center;
	z-index: 5;
	opacity: 1;
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
}

.main-title.hidden {
	opacity: 0;
}

.main-title.zoom-in {
	transform: translate(-50%, -50%) scale(6) !important;
	opacity: 1 !important;
	transition: all 2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.main-title.zoom-in .deriv-partner-title {
	opacity: 0 !important;
	transform: scale(0) !important;
	transition: all 0.3s ease !important;
}

.main-title.zoom-out {
	transform: translate(-50%, -50%) scale(1);
	opacity: 1;
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-title.fade-out {
	opacity: 0;
	transition: opacity 0.6s ease-out;
}

.main-title h1 {
	font-size: 10rem;
	font-weight: 900;
	background: linear-gradient(135deg, var(--red) 0%, var(--purple) 30%, #ffffff 50%, var(--purple) 70%, var(--yellow) 100%);
	background-size: 200% 200%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: gradientShift 5s ease infinite;
	letter-spacing: 1rem;
	text-shadow: 0 0 80px rgba(229, 62, 62, 0.5);
	margin-bottom: 1rem;
}

.main-title .deriv-partner-title {
	width: 600px;
	height: auto;
	margin-top: 1rem;
}

@keyframes gradientShift {
	0%,
	100% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
}

.container {
	width: 100vw;
	height: 100vh;
	position: relative;
	perspective: 2000px;
	overflow: hidden;
}

.slide {
	position: absolute;
	width: 95vw;
	max-width: 1600px;
	height: 92vh;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
	opacity: 0;
	pointer-events: none;
	z-index: 0;
	visibility: hidden;
}

.slide.overview-large {
	width: 550px;
	height: 400px;
	opacity: 0;
	pointer-events: all;
	filter: blur(0);
	z-index: 2;
	visibility: visible;
	transition: opacity 0.8s ease-out;
}

/* Quitar animaciones float en overview */
.slide.overview-large .feature-icon,
.slide.overview-large .icon-badge-large {
	animation: none;
}

/* Layout especial para cards en overview-large */
.slide.overview-large .glass-card {
	padding: 1.5rem !important;
}

.slide.overview-large .slide-content {
	flex-direction: row !important;
	align-items: center;
	gap: 1rem;
}

.slide.overview-large .slide-content .content-left {
	flex: 1;
	text-align: left;
}

.slide.overview-large .slide-content .image-right {
	width: 120px !important;
	flex-shrink: 0;
}

.slide.overview-large .feature-icon {
	width: 120px !important;
	height: 120px !important;
	margin: 0 !important;
}

.slide.overview-large .slide-header {
	margin-bottom: 0.7rem !important;
}

.slide.overview-large .slide-header h1 {
	font-size: 1.8rem !important;
	margin-bottom: 0.3rem;
}

.slide.overview-large .slide-header h2 {
	font-size: 0.85rem !important;
}

.slide.overview-large .main-description {
	font-size: 0.9rem !important;
	line-height: 1.4;
	padding: 0.6rem;
	margin-bottom: 0.3rem;
}

.slide.overview-large .features-list {
	display: none;
}

.slide.overview-large .icon-badge-large {
	font-size: 5rem !important;
	margin: 0 auto;
}

.slide.overview-large .intro-text,
.slide.overview-large .expertise,
.slide.overview-large .location {
	display: none;
}

.slide.active {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
	z-index: 10;
	filter: blur(0);
	pointer-events: all;
	visibility: visible;
}

.slide.prev-slide {
	transform: translate(-160%, -50%) scale(0.7) translateZ(-300px);
	opacity: 0.6;
	z-index: 5;
	filter: blur(5px);
	pointer-events: none;
	visibility: visible;
}

.slide.next-slide {
	transform: translate(60%, -50%) scale(0.7) translateZ(-300px);
	opacity: 0.6;
	z-index: 5;
	filter: blur(5px);
	pointer-events: none;
	visibility: visible;
}

/* Glassmorphism card */
.glass-card {
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(30px) saturate(180%);
	-webkit-backdrop-filter: blur(30px) saturate(180%);
	border-radius: 30px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	padding: 4rem;
	display: flex;
	flex-direction: column;
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.18) inset, 0 20px 60px rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
	transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Quitar backdrop-filter de todos los slides en el carrusel */
.container.stage-slides .glass-card {
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}

.glass-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.7s;
}

.slide.active .glass-card::before {
	left: 100%;
}

.glass-card::after {
	content: "";
	position: absolute;
	top: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(109, 40, 217, 0.1) 0%, transparent 70%);
	animation: rotateGradient 20s linear infinite;
	pointer-events: none;
}

@keyframes rotateGradient {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

/* Header */
.slide-header {
	position: relative;
	z-index: 2;
	margin-bottom: 3rem;
	text-align: center;
	animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.slide.active .slide-header {
	animation: slideDown 0.8s ease-out 0.3s both;
}

.gradient-text {
	font-size: 5rem;
	font-weight: 900;
	background: linear-gradient(135deg, var(--red) 0%, var(--purple) 30%, #ffffff 50%, var(--purple) 70%, var(--yellow) 100%);
	background-size: 200% 200%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: gradientShift 5s ease infinite;
	margin-bottom: 1rem;
	letter-spacing: 0.3rem;
}

.final-title {
	font-size: 6rem;
}

.slide-header h2 {
	font-size: 1.8rem;
	color: #ffffff;
	font-weight: 600;
	margin-top: 1rem;
	letter-spacing: 0.3rem;
}

/* Iconos de imagen */
.feature-icon {
	width: 450px;
	height: 450px;
	object-fit: contain;
	margin: 0 auto 2rem;
	display: block;
	filter: drop-shadow(0 0 10px rgba(255, 214, 0, 0.3));
}

.feature-icon-double {
	width: 900px;
	height: auto;
	object-fit: contain;
	margin: 1rem auto 0;
	display: block;
	filter: drop-shadow(0 0 10px rgba(255, 214, 0, 0.3));
}

.feature-icon-wide {
	width: 100%;
	max-width: 1600px;
	height: auto;
	object-fit: contain;
	margin: 2rem auto 0;
	display: block;
	filter: drop-shadow(0 0 15px rgba(255, 214, 0, 0.4));
}

.image-bottom {
	width: 100%;
	margin-top: auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Slide de historial específica */
.slide-history .slide-content {
	gap: 1rem;
}

.slide-history .main-description {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
	padding: 1.5rem;
}

.slide-history .features-list {
	gap: 1rem;
}

.slide-history .features-list li {
	font-size: 1.3rem;
	padding: 1rem 1.5rem;
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-20px);
	}
}

.icon-badge-large {
	font-size: 20rem;
	margin: 0 auto 2rem;
	display: block;
	text-align: center;
	filter: drop-shadow(0 0 15px rgba(255, 214, 0, 0.4));
}

.icon-large {
	font-size: 5rem;
	filter: drop-shadow(0 0 10px rgba(229, 62, 62, 0.4));
}

.deriv-logo {
	font-size: 10rem;
	font-weight: 900;
	color: var(--red);
	text-shadow: 0 0 50px rgba(229, 62, 62, 0.8);
	margin-bottom: 2rem;
}

/* Content */
.slide-content {
	position: relative;
	z-index: 2;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	animation: fadeInUp 0.8s ease-out;
}

/* Layout para slides con imágenes verticales */
.slide-content.with-image {
	flex-direction: row;
	gap: 3rem;
	align-items: center;
}

/* Layout para slide de perfil */
.slide-content.with-profile {
	flex-direction: row;
	gap: 2rem;
	align-items: center;
}

.slide-content.with-profile .content-left {
	flex: 1;
}

.profile-image {
	width: 30%;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.profile-image img {
	width: 100%;
	height: auto;
	border-radius: 20px;
	object-fit: cover;
	filter: drop-shadow(0 0 20px rgba(255, 214, 0, 0.3));
	border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Layout para slide de MarketView */
.slide-header.compact {
	margin-bottom: 1rem;
}

.slide-header.compact h1 {
	margin-bottom: 0.3rem;
}

.slide-header.compact h2 {
	margin-top: 0.3rem;
}

.marketview-slide {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 1rem;
	height: 100%;
}

.marketview-image {
	width: 80%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex: 1;
	max-height: 65%;
}

.marketview-image img {
	width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
	border-radius: 15px;
	filter: drop-shadow(0 0 25px rgba(255, 214, 0, 0.4));
}

.marketview-description {
	font-size: 1.4rem;
	line-height: 1.6;
	color: var(--text-light);
	text-align: center;
	padding: 1rem 2rem;
	background: rgba(109, 40, 217, 0.1);
	border-radius: 15px;
	border-left: 4px solid var(--yellow);
	max-width: 90%;
}

.slide-content.with-image .content-left {
	flex: 1;
}

.slide-content.with-image .image-right {
	width: 450px;
	flex-shrink: 0;
}

/* CopyTrading slide con scroll */
.copytrading-content {
	max-height: 850px;
	overflow-y: auto;
	padding-right: 1rem;
	margin-top: -5%;
	align-self: flex-start;
}

.copytrading-content .main-description {
	margin-bottom: 0.5rem;
	margin-top: 0;
	padding: 0;
}

.image-top {
	width: 100%;
	margin-bottom: 1rem;
}

.image-top img {
	width: 100%;
	max-width: 800px;
	height: auto;
}

.features-list-compact {
	font-size: 0.9rem;
}

.features-list-compact li {
	padding: 0.6rem 0;
}

/* Chart Zella slide */
.zella-slide {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.zella-image {
	width: 95%;
	display: flex;
	justify-content: center;
}

.zella-image img {
	width: 100%;
	height: auto;
	max-height: 600px;
	object-fit: contain;
	filter: drop-shadow(0 0 15px rgba(255, 214, 0, 0.4));
	border-radius: 15px;
}

.zella-text-row {
	width: 90%;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 1rem;
}

.zella-description {
	margin-bottom: 0.5rem !important;
	padding: 0.5rem !important;
	text-align: center;
}

.features-two-columns {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem 3rem;
	width: 100%;
}

.features-two-columns li {
	padding: 0.5rem 0;
}

.slide-content.with-image .image-right .feature-icon {
	width: 100%;
	height: auto;
	max-height: 700px;
	margin: 0;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(40px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.slide.active .slide-content {
	animation: fadeInUp 0.8s ease-out 0.5s both;
}

.intro-text {
	margin-bottom: 3rem;
}

.highlight {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.brand {
	color: var(--yellow);
	font-weight: 900;
	text-shadow: 0 0 30px rgba(255, 214, 0, 0.6);
}

.intro-text p {
	font-size: 1.6rem;
	line-height: 1.8;
	color: var(--text-muted);
	margin-bottom: 1rem;
}

.expertise {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 2rem;
}

.expertise-item {
	display: flex;
	align-items: center;
	padding: 0.8rem 1.2rem;
	background: rgba(229, 62, 62, 0.05);
	border-radius: 12px;
	border: 1px solid rgba(229, 62, 62, 0.2);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	animation: slideInRight 0.6s ease-out both;
}

.expertise-item:nth-child(1) {
	animation-delay: 0.7s;
}
.expertise-item:nth-child(2) {
	animation-delay: 0.9s;
}
.expertise-item:nth-child(3) {
	animation-delay: 1.1s;
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(-50px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.slide.active .expertise-item:hover {
	transform: translateX(10px);
	background: rgba(229, 62, 62, 0.1);
	border-color: rgba(229, 62, 62, 0.4);
	box-shadow: 0 0 40px rgba(229, 62, 62, 0.3);
}

.expertise-item p {
	font-size: 1.3rem;
	line-height: 1.8;
	color: var(--text-light);
}

.expertise-icon {
	width: 80px;
	height: 80px;
	object-fit: contain;
	filter: drop-shadow(0 0 15px rgba(255, 214, 0, 0.4));
	flex-shrink: 0;
}

.location {
	text-align: center;
	font-size: 1.6rem;
	color: var(--text-muted);
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--glass-border);
}

.main-description {
	font-size: 1.8rem;
	line-height: 2;
	color: var(--text-light);
	margin-bottom: 3rem;
	padding: 2rem;
	background: rgba(109, 40, 217, 0.1);
	border-radius: 20px;
	border-left: 5px solid var(--yellow);
	font-weight: 600;
}

.features-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.features-list li {
	font-size: 1.5rem;
	padding: 1.5rem 2rem;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 15px;
	border-left: 4px solid var(--red);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	animation: slideInLeft 0.5s ease-out both;
	font-weight: 500;
}

.features-list li:nth-child(1) {
	animation-delay: 0.6s;
}
.features-list li:nth-child(2) {
	animation-delay: 0.7s;
}
.features-list li:nth-child(3) {
	animation-delay: 0.8s;
}
.features-list li:nth-child(4) {
	animation-delay: 0.9s;
}
.features-list li:nth-child(5) {
	animation-delay: 1s;
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.slide.active .features-list li:hover {
	transform: translateX(15px);
	background: rgba(255, 214, 0, 0.1);
	border-left-color: var(--yellow);
	box-shadow: 0 5px 25px rgba(255, 214, 0, 0.3);
}

/* Slide final */
.final-slide {
	justify-content: center;
	align-items: center;
	text-align: center;
}

.cta-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
}

.cta-text {
	font-size: 4rem;
	font-weight: 900;
	color: var(--text-light);
	letter-spacing: 0.5rem;
	margin-bottom: 0;
}

.cta-subtitle {
	font-size: 3rem;
	font-weight: 700;
	color: var(--text-muted);
	letter-spacing: 0.3rem;
}

.website {
	margin: 3rem 0;
}

.website-link {
	font-size: 4rem;
	font-weight: 900;
	color: var(--yellow);
	text-decoration: none;
	padding: 2rem 4rem;
	background: rgba(255, 214, 0, 0.1);
	border-radius: 25px;
	border: 3px solid var(--yellow);
	display: inline-block;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 0 40px rgba(255, 214, 0, 0.4);
	letter-spacing: 0.3rem;
}

.website-link:hover {
	transform: scale(1.1);
	background: rgba(255, 214, 0, 0.2);
	box-shadow: 0 0 60px rgba(255, 214, 0, 0.7);
}

.powered-by {
	font-size: 1.6rem;
	color: var(--text-muted);
	margin-top: 3rem;
	letter-spacing: 0.3rem;
	font-weight: 600;
}

/* Final slide mejorado */
.final-logos {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3rem;
	margin-bottom: 2rem;
}

.final-logo-mv {
	width: 180px;
	height: auto;
	filter: drop-shadow(0 0 20px rgba(255, 214, 0, 0.5));
}

.final-logo-deriv {
	width: 350px;
	height: auto;
	filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
}

.final-conclusion {
	font-size: 1.6rem;
	line-height: 1.8;
	color: var(--text-light);
	max-width: 900px;
	text-align: center;
	margin: 1.5rem auto;
	padding: 1.5rem 2rem;
	background: rgba(109, 40, 217, 0.1);
	border-radius: 15px;
	border-left: 4px solid var(--yellow);
}

.final-contact {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	margin: 2rem 0;
}

.final-contact .website-link {
	font-size: 2.5rem;
	padding: 1.2rem 3rem;
}

.telegram-contact {
	font-size: 1.8rem;
	color: var(--text-muted);
	letter-spacing: 0.2rem;
}

.highlight-text {
	color: var(--yellow);
	text-decoration: none;
	font-weight: 700;
	display: inline-block;
	transition: all 0.3s ease;
}

.highlight-text:hover {
	transform: scale(1.1);
	text-shadow: 0 0 20px rgba(255, 214, 0, 0.8);
}

.final-footer {
	margin-top: 2rem;
}

.designed-by {
	font-size: 0.9rem;
	color: var(--text-muted);
	letter-spacing: 0.1rem;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.designed-by:hover {
	opacity: 0.8;
}

.gradient-text-small {
	font-size: 1rem;
	font-weight: 700;
	background: linear-gradient(135deg, var(--red) 0%, var(--purple) 30%, #ffffff 50%, var(--purple) 70%, var(--yellow) 100%);
	background-size: 200% 200%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: gradientShift 5s ease infinite;
}

/* Logo fijo */
.fixed-logo {
	position: fixed;
	bottom: 2rem;
	left: 2rem;
	z-index: 100;
	opacity: 0.8;
	transition: opacity 0.3s ease;
}

.fixed-logo:hover {
	opacity: 1;
}

.fixed-logo img {
	width: 120px;
	height: auto;
	filter: drop-shadow(0 0 10px rgba(255, 214, 0, 0.3));
}

/* Navigation dots */
.navigation-dots {
	position: fixed;
	right: 3rem;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	z-index: 100;
}

.dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
}

.dot::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 24px;
	height: 24px;
	border: 2px solid transparent;
	border-radius: 50%;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot:hover {
	background: var(--yellow);
	transform: scale(1.4);
}

.dot.active {
	background: var(--yellow);
	box-shadow: 0 0 25px var(--yellow);
}

.dot.active::after {
	border-color: var(--yellow);
	width: 28px;
	height: 28px;
}

/* Scroll hint */
.scroll-hint {
	position: fixed;
	bottom: 3rem;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	z-index: 100;
	animation: fadeIn 1s ease-out 2s both;
	transition: opacity 0.4s ease-out;
	display: none;
}

.scroll-hint.hidden {
	opacity: 0;
	pointer-events: none;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.scroll-hint p {
	font-size: 1.6rem;
	color: var(--text-muted);
	margin-bottom: 1rem;
	letter-spacing: 0.3rem;
	font-weight: 700;
}

.scroll-arrow {
	font-size: 3rem;
	color: var(--yellow);
	animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(15px);
	}
}

/* Responsive */
@media (max-width: 1600px) {
	.gradient-text {
		font-size: 4rem;
	}

	.feature-icon {
		width: 280px;
		height: 280px;
	}

	.icon-badge-large {
		font-size: 15rem;
	}
}

@media (max-width: 1024px) {
	.slide {
		width: 92vw;
		height: 88vh;
	}

	.glass-card {
		padding: 2.5rem;
	}

	.gradient-text {
		font-size: 3rem;
	}

	.main-title h1 {
		font-size: 6rem;
	}

	.feature-icon {
		width: 220px;
		height: 220px;
	}

	.icon-badge-large {
		font-size: 12rem;
	}

	.slide-content.with-image {
		flex-direction: column;
	}

	.slide-content.with-image .image-right {
		width: 300px;
		margin: 0 auto;
	}
}

@media (max-width: 768px) {
	.gradient-text {
		font-size: 2.5rem;
	}

	.main-description {
		font-size: 1.3rem;
	}

	.features-list li {
		font-size: 1.2rem;
	}

	.main-title h1 {
		font-size: 4rem;
	}
}

/* Stage modes */
.container.stage-logo .slide,
.container.stage-logo-zoom .slide {
	opacity: 0 !important;
	visibility: hidden !important;
	z-index: -10 !important;
	transform: translate(-50%, -50%) scale(0) !important;
}

.container.stage-overview-large .slide.overview-large {
	pointer-events: all;
	visibility: visible;
	z-index: 2 !important;
}

.container.stage-overview-large .slide.overview-large:hover {
	opacity: 1;
	filter: drop-shadow(0 0 30px var(--yellow));
	cursor: pointer;
}

.container.stage-slides .slide:not(.active):not(.prev-slide):not(.next-slide) {
	opacity: 0 !important;
	visibility: hidden !important;
	z-index: 0 !important;
}

/* ========================================
   SORTEO / ROULETTE SLIDE
   ======================================== */
.sorteo-slide {
	display: flex;
	flex-direction: row;
	gap: 3rem;
	align-items: center;
	justify-content: center;
	height: 100%;
	position: relative;
}

.sorteo-left {
	flex: 0 0 300px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.sorteo-right {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
}

.qr-section {
	text-align: center;
}

.qr-instruction {
	font-size: 1.2rem;
	color: var(--text-light);
	margin-bottom: 1.5rem;
	letter-spacing: 0.1rem;
}

.qr-placeholder {
	width: 250px;
	height: 250px;
	background: #ffffff;
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	box-shadow: 0 10px 40px rgba(255, 214, 0, 0.3);
	padding: 15px;
}

.qr-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.participants-count {
	font-size: 1.4rem;
	color: var(--yellow);
	font-weight: 700;
	letter-spacing: 0.1rem;
}

.participants-count span {
	font-size: 2rem;
}

/* Roulette */
.roulette-container {
	position: relative;
	width: 500px;
	height: 500px;
}

.roulette-pointer {
	position: absolute;
	right: -20px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-top: 20px solid transparent;
	border-bottom: 20px solid transparent;
	border-right: 40px solid var(--yellow);
	z-index: 10;
	filter: drop-shadow(-5px 0 10px rgba(0, 0, 0, 0.5));
}

#rouletteCanvas {
	border-radius: 50%;
	box-shadow:
		0 0 0 10px rgba(255, 214, 0, 0.3),
		0 0 0 20px rgba(109, 40, 217, 0.2),
		0 0 50px rgba(255, 214, 0, 0.4);
}

.roulette-center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0a 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
	z-index: 5;
}

.roulette-center img {
	width: 60px;
	height: auto;
}

.spin-button {
	padding: 1.2rem 3rem;
	font-size: 1.5rem;
	font-family: 'Orbitron', monospace;
	font-weight: 700;
	background: linear-gradient(135deg, var(--red) 0%, var(--purple) 100%);
	border: none;
	border-radius: 15px;
	color: #ffffff;
	cursor: pointer;
	transition: all 0.3s ease;
	letter-spacing: 0.2rem;
	box-shadow: 0 10px 30px rgba(229, 62, 62, 0.4);
}

.spin-button:hover {
	transform: scale(1.05);
	box-shadow: 0 15px 40px rgba(229, 62, 62, 0.6);
}

.spin-button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

.spin-button.spinning {
	animation: pulse 0.5s ease infinite;
}

@keyframes pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.05); }
}

.sorteo-buttons {
	display: flex;
	gap: 1.5rem;
	align-items: center;
}

.refresh-button {
	padding: 1.2rem 2rem;
	font-size: 1.2rem;
	font-family: 'Orbitron', monospace;
	font-weight: 700;
	background: transparent;
	border: 2px solid var(--yellow);
	border-radius: 15px;
	color: var(--yellow);
	cursor: pointer;
	transition: all 0.3s ease;
	letter-spacing: 0.1rem;
}

.refresh-button:hover {
	background: var(--yellow);
	color: #000;
	transform: scale(1.05);
}

.refresh-button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

/* Winner overlay */
.winner-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.9);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 100;
	border-radius: 30px;
}

.winner-overlay.show {
	display: flex;
	animation: fadeIn 0.5s ease;
}

.winner-content {
	text-align: center;
	animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
	from { transform: scale(0.5); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

.winner-content h2 {
	font-size: 4rem;
	background: linear-gradient(135deg, var(--yellow) 0%, #ffffff 50%, var(--yellow) 100%);
	background-size: 200% 200%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: gradientShift 2s ease infinite;
	margin-bottom: 2rem;
}

.winner-name {
	font-size: 3rem;
	color: var(--yellow);
	font-weight: 900;
	margin-bottom: 3rem;
	text-shadow: 0 0 30px rgba(255, 214, 0, 0.8);
}

.winner-content button {
	padding: 1rem 2.5rem;
	font-size: 1.2rem;
	font-family: 'Orbitron', monospace;
	font-weight: 600;
	background: transparent;
	border: 2px solid var(--yellow);
	border-radius: 10px;
	color: var(--yellow);
	cursor: pointer;
	transition: all 0.3s ease;
}

.winner-content button:hover {
	background: var(--yellow);
	color: #000;
}

/* Celebration Effects */
@keyframes confettiFall {
	0% {
		transform: translateY(0) rotate(0deg);
		opacity: 1;
	}
	50% {
		opacity: 1;
	}
	100% {
		transform: translateY(100vh) rotate(720deg);
		opacity: 0;
	}
}

.celebration-effects {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	overflow: hidden;
	z-index: 0;
}
