/* ============================================
   MUONLINE ENHANCEMENTS - ANIMACIONES Y MEJORAS
   Diseño Profesional en Blanco con Toques Mu
   ============================================ */

/* ============================================
   ANIMACIONES GLOBALES
   ============================================ */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideInRight {
	from {
		transform: translateX(-100%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes shimmer {
	0% {
		background-position: -1000px 0;
	}
	100% {
		background-position: 1000px 0;
	}
}

@keyframes float {
	0%, 100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-20px);
	}
}

@keyframes glow {
	0%, 100% {
		box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
	}
	50% {
		box-shadow: 0 0 20px rgba(0, 123, 255, 0.6);
	}
}

/* ============================================
   HEADER MEJORADO - Diseño Premium
   ============================================ */
.site-header {
	position: relative;
	overflow: hidden;
	margin-bottom: 0;
}

.header-nav-container {
	background: #ffffff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
	position: sticky;
	top: 0;
	z-index: 9999;
	transition: all 0.3s ease;
}

.header-nav-container.scrolled {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
}

/* Banner Hero Premium */
.header-banner {
	position: relative;
	height: 500px;
	overflow: hidden;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.banner-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.3;
	filter: blur(2px) brightness(1.1);
	animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
	0% {
		transform: scale(1) translateY(0);
	}
	100% {
		transform: scale(1.1) translateY(-20px);
	}
}

.banner-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%);
}

.banner-gradient {
	display: none; /* Removido - usaremos gradient en banner directamente */
}

.banner-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: #ffffff;
	z-index: 3;
	width: 90%;
	max-width: 800px;
}

.banner-title {
	font-size: 4.5rem;
	font-weight: 800;
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 4px;
	text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.5);
	animation: fadeInUp 1.2s ease-out;
	background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.banner-subtitle {
	font-size: 1.8rem;
	font-weight: 400;
	letter-spacing: 2px;
	text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
	animation: fadeInUp 1.2s ease-out 0.3s backwards;
	color: rgba(255, 255, 255, 0.95);
}

/* ============================================
   NAVEGACIÓN MEJORADA
   ============================================ */
.main-nav ul {
	display: flex;
	gap: 5px;
	list-style: none;
}

.main-nav li {
	animation: fadeInUp 0.5s ease;
	animation-fill-mode: backwards;
}

.main-nav li:nth-child(1) { animation-delay: 0.1s; }
.main-nav li:nth-child(2) { animation-delay: 0.2s; }
.main-nav li:nth-child(3) { animation-delay: 0.3s; }
.main-nav li:nth-child(4) { animation-delay: 0.4s; }
.main-nav li:nth-child(5) { animation-delay: 0.5s; }
.main-nav li:nth-child(6) { animation-delay: 0.6s; }

.main-nav a {
	position: relative;
	padding: 12px 20px;
	border-radius: 8px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	overflow: hidden;
}

.main-nav a::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.5s ease;
}

.main-nav a:hover::before {
	left: 100%;
}

.main-nav a i {
	transition: all 0.3s ease;
}

.main-nav a:hover i {
	transform: scale(1.2) rotate(5deg);
}

/* ============================================
   CARDS MEJORADAS CON HOVER EFECTS
   ============================================ */
.card, .panel, .box {
	position: relative;
	overflow: hidden;
	animation: fadeInUp 0.6s ease backwards;
}

.card::before, .panel::before, .box::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
	transition: left 0.5s ease;
}

.card:hover::before, .panel:hover::before, .box:hover::before {
	left: 100%;
}

/* Efecto de brillo sutil */
.card::after {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
	opacity: 0;
	transition: opacity 0.5s ease;
}

.card:hover::after {
	opacity: 1;
}

/* ============================================
   SIDEBAR MEJORADO
   ============================================ */
.sidebar-card {
	animation: slideInRight 0.8s ease backwards;
}

.sidebar-card:nth-child(1) { animation-delay: 0.1s; }
.sidebar-card:nth-child(2) { animation-delay: 0.2s; }
.sidebar-card:nth-child(3) { animation-delay: 0.3s; }
.sidebar-card:nth-child(4) { animation-delay: 0.4s; }

/* ============================================
   STATS BADGE MEJORADO
   ============================================ */
.status-badge {
	animation: pulse 2s infinite;
}

.status-badge.online {
	box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.8;
		transform: scale(1.05);
	}
}

/* ============================================
   RANKINGS TABLE MEJORADA
   ============================================ */
.ranking-table tbody tr {
	animation: fadeInUp 0.4s ease backwards;
}

.ranking-table tbody tr:nth-child(1) { animation-delay: 0.05s; }
.ranking-table tbody tr:nth-child(2) { animation-delay: 0.1s; }
.ranking-table tbody tr:nth-child(3) { animation-delay: 0.15s; }
.ranking-table tbody tr:nth-child(4) { animation-delay: 0.2s; }
.ranking-table tbody tr:nth-child(5) { animation-delay: 0.25s; }

.ranking-table tbody tr:hover {
	transform: translateX(10px);
	box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

/* Primer lugar especial */
.ranking-table tbody tr:first-child {
	background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
	border-left: 4px solid #FFD700;
	animation: glow 2s ease infinite;
}

/* ============================================
   NOTICIAS MEJORADAS
   ============================================ */
.panel-news {
	animation: fadeInUp 0.6s ease backwards;
	position: relative;
}

.panel-news::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background: linear-gradient(180deg, var(--ColorTemplate) 0%, transparent 100%);
	border-radius: 5px 0 0 5px;
}

.panel-news .panel-title {
	color: #000000;
	font-weight: 700;
	transition: all 0.3s ease;
}

.panel-news .panel-title a:hover {
	color: var(--ColorTemplate);
	text-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

/* ============================================
   FOOTER MEJORADO
   ============================================ */
.footer-links a {
	position: relative;
	display: inline-block;
	transition: all 0.3s ease;
}

.footer-links a::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 50%;
	width: 0;
	height: 2px;
	background: var(--ColorTemplate);
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

.footer-links a:hover::after {
	width: 100%;
}

.footer-social-section i {
	transition: all 0.3s ease;
}

.footer-social-section a:hover i {
	transform: translateY(-10px) scale(1.2);
	color: var(--ColorTemplate);
}

/* Iconos animados */
.footer-social-section a:hover {
	animation: float 1.5s ease infinite;
}

/* ============================================
   BOTONES MEJORADOS
   ============================================ */
.btn {
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.btn::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: width 0.6s ease, height 0.6s ease;
	z-index: -1;
}

.btn:hover::before {
	width: 300px;
	height: 300px;
}

/* ============================================
   SCROLLBAR PERSONALIZADA
   ============================================ */
::-webkit-scrollbar {
	width: 12px;
}

::-webkit-scrollbar-track {
	background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, var(--ColorTemplate) 0%, rgba(138, 43, 226, 0.8) 100%);
	border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, rgba(138, 43, 226, 0.8) 0%, var(--ColorTemplate) 100%);
}

/* ============================================
   LOADING SKELETON (Efecto Shimmer)
   ============================================ */
.skeleton {
	background: linear-gradient(
		90deg,
		#f0f0f0 0%,
		#e0e0e0 50%,
		#f0f0f0 100%
	);
	background-size: 200% 100%;
	animation: shimmer 1.5s infinite;
	border-radius: 8px;
}

/* ============================================
   PARTÍCULAS FLOTANTES (Decorativas)
   ============================================ */
.floating-particles {
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.particle {
	position: absolute;
	width: 4px;
	height: 4px;
	background: var(--ColorTemplate);
	border-radius: 50%;
	opacity: 0.3;
	animation: float 3s ease-in-out infinite;
}

/* ============================================
   MEJORAS EN TODO EL SITIO
   ============================================ */

/* Efectos de partículas decorativas */
@keyframes particleFloat {
	0% {
		transform: translateY(100vh) rotate(0deg);
		opacity: 0;
	}
	10% {
		opacity: 1;
	}
	90% {
		opacity: 1;
	}
	100% {
		transform: translateY(-100vh) rotate(360deg);
		opacity: 0;
	}
}

/* Cards con glassmorphism */
.card.glass-card {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Inputs modernos */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
	border: 2px solid rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	padding: 12px 18px;
	transition: all 0.3s ease;
	background: #ffffff;
	font-size: 15px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
	border-color: var(--ColorTemplate);
	box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
	outline: none;
}

/* Botones premium */
.btn {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--ColorTemplate) 0%, var(--ColorTemplate) 100%);
	border: none;
	color: #ffffff;
	font-weight: 600;
	letter-spacing: 1px;
	box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: width 0.6s, height 0.6s;
}

.btn:hover::after {
	width: 300px;
	height: 300px;
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.btn:active {
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Badges modernos */
.badge {
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.badge-primary {
	background: linear-gradient(135deg, var(--ColorTemplate) 0%, var(--ColorTemplate) 100%);
	color: #ffffff;
}

/* Cards con efecto depth */
.card-depth {
	transform-style: preserve-3d;
	transition: transform 0.3s ease;
}

.card-depth:hover {
	transform: translateY(-8px) perspective(1000px) rotateX(5deg);
}

/* Tablas con zebra pattern animado */
.table tbody tr:nth-child(even) {
	background: rgba(0, 0, 0, 0.02);
}

.table tbody tr {
	transition: all 0.3s ease;
	position: relative;
}

.table tbody tr::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 4px;
	background: var(--ColorTemplate);
	transform: scaleY(0);
	transition: transform 0.3s ease;
}

.table tbody tr:hover::before {
	transform: scaleY(1);
}

/* Fix: Sidebar Rankings - No desplazar columnas */
.sidebar-table {
	width: 100% !important;
	margin: 0;
	padding: 0;
}

.sidebar-table th,
.sidebar-table td {
	padding: 8px 3px !important;
	font-size: 12px;
	text-align: center;
}

.sidebar-table th.text-start,
.sidebar-table td.text-start {
	text-align: left;
	padding-left: 6px !important;
}

.sidebar-table th.text-center,
.sidebar-table td.text-center {
	text-align: center;
}

/* Ajustar columnas del ranking */
.ranking-table tbody td.class-cell {
	text-align: center;
	font-size: 11px;
	padding: 6px 3px !important;
}

.ranking-table tbody td.value-highlight {
	text-align: center;
	font-weight: 600;
	font-size: 12px;
}

.ranking-table tbody td.guild-cell {
	text-align: left;
	padding-left: 6px !important;
}

/* Ranking Body - Desplazar contenido a la izquierda */
.card-body.ranking-body {
	padding-left: 0 !important;
	padding-right: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.card-body.ranking-body table {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Forzar columnas a la izquierda eliminando todo padding */
.ranking-table,
.ranking-table thead,
.ranking-table tbody,
.ranking-table tr,
.ranking-table th,
.ranking-table td {
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Ajustar padding interno de las celdas */
.ranking-table th:first-child,
.ranking-table td:first-child {
	padding-left: 10px !important;
}

.ranking-table th:last-child,
.ranking-table td:last-child {
	padding-right: 10px !important;
}

/* ============================================
   CSS PARA RANKINGS PAGE - DataTables
   ============================================ */

/* Tabla general de rankings */
table.dataTableChar,
table.dataTable,
table.dataTable.no-footer,
table.general-rank {
	width: 100% !important;
	margin: 0;
	border-collapse: collapse;
	max-width: 100%;
	box-sizing: border-box;
}

/* Forzar que las tablas DataTables no rompan el layout */
.dataTables_wrapper {
	max-width: 100% !important;
	box-sizing: border-box;
	overflow-x: auto;
}

/* Contenedor principal de rankings */
.dataTables_wrapper,
.dataTables_wrapper .dt-container {
	max-width: 100% !important;
}

/* NO interferir con Grid - main.css maneja las proporciones */

/* Envoltorio DataTables */
.dataTables_wrapper {
	width: 100% !important;
	margin: 20px 0;
	max-width: 100% !important;
	box-sizing: border-box;
}

.dataTables_wrapper .dt-bootstrap5 {
	width: 100% !important;
	max-width: 100% !important;
}

.dataTables_wrapper .no-footer {
	border-bottom: none;
}

/* Asegurar que DataTables respete el contenedor */
.col-lg-8 .dataTables_wrapper,
.col-lg-8 table.dataTable {
	max-width: 100% !important;
	width: 100% !important;
}

/* Forzar que la tabla no sobresalga */
.dataTables_wrapper table {
	table-layout: auto !important;
}

/* Fix para tablas con white-space: nowrap */
table[style*="white-space: nowrap"] {
	max-width: 100% !important;
	width: 100% !important;
}

.dataTables_wrapper {
	width: 100% !important;
	max-width: 100% !important;
}

/* Asegurar que las celdas se ajusten */
.dataTable td,
.dataTable th {
	white-space: normal !important;
	word-break: break-word;
	overflow-wrap: break-word;
}

/* Solo las tablas de rankings - Permitir scroll horizontal dentro de su contenedor */
@media (min-width: 992px) {
	/* NO tocar las columnas - deja que main.css maneje el Grid */
	/* Solo asegurar que las tablas sean scrollables si es necesario */
	
	.col-lg-8 .dataTables_wrapper {
		width: 100% !important;
		max-width: 100% !important;
		overflow-x: auto;
	}
	
	/* Tablas con ancho natural dentro de su contenedor */
	.col-lg-8 table.dataTable,
	.col-lg-8 table.dataTableChar {
		width: 100% !important;
		max-width: 100% !important;
	}
	
	/* Sin white-space: nowrap para permitir que el texto se ajuste */
	.col-lg-8 table.dataTable th,
	.col-lg-8 table.dataTable td {
		white-space: normal !important;
		word-break: break-word;
		overflow-wrap: break-word;
	}
}

/* Columnas - Centrado */
.text-center {
	text-align: center;
}

.mt-2 {
	margin-top: 0.5rem;
}

/* Col-12: Full width */
.col-12 {
	width: 100%;
	padding: 0 15px;
}

/* Headers de tabla DataTables */
table.dataTable thead th {
	background: rgba(0, 0, 0, 0.03) !important;
	border-bottom: 2px solid rgba(0, 0, 0, 0.1) !important;
	padding: 12px 15px !important;
	font-weight: 600 !important;
	font-size: 12px !important;
	color: #000000 !important;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Body de tabla DataTables */
table.dataTable tbody td {
	padding: 12px 15px !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
	color: #000000 !important;
	vertical-align: middle;
}

/* Hover en filas */
table.dataTable tbody tr:hover {
	background: rgba(0, 0, 0, 0.02) !important;
	transition: all 0.3s ease;
}

/* Input de búsqueda DataTables */
.dataTables_wrapper input[type="search"] {
	padding: 8px 15px !important;
	border: 2px solid rgba(0, 0, 0, 0.1) !important;
	border-radius: 8px !important;
	margin-bottom: 15px;
	background: #ffffff !important;
	font-size: 14px;
}

.dataTables_wrapper input[type="search"]:focus {
	border-color: var(--ColorTemplate) !important;
	box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1) !important;
	outline: none;
}

/* Paginación DataTables */
.dataTables_wrapper .pagination {
	justify-content: center;
	margin-top: 20px;
}

.dataTables_wrapper .page-item .page-link {
	color: #000000;
	border-color: rgba(0, 0, 0, 0.1);
	padding: 8px 15px;
}

.dataTables_wrapper .page-item.active .page-link {
	background-color: var(--ColorTemplate) !important;
	border-color: var(--ColorTemplate) !important;
	color: #ffffff !important;
}

.dataTables_wrapper .page-item:hover .page-link {
	background-color: rgba(0, 0, 0, 0.05);
	border-color: var(--ColorTemplate);
}

/* Info DataTables */
.dataTables_wrapper .dataTables_info {
	color: #000000 !important;
	font-size: 13px;
	padding-top: 15px;
}

/* Avatar en rankings */
.dataTableChar img,
.dataTable img {
	max-width: 32px;
	height: auto;
	border-radius: 4px;
}

/* Clases de personaje */
.class-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 15px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Fix para rankings page - Forzar layout correcto */
@media (min-width: 992px) {
	.rankings-page .row.g-0 {
		display: flex !important;
		flex-wrap: nowrap !important;
	}
	
	.rankings-page .col-lg-8 {
		flex: 0 0 66.666667% !important;
		max-width: 66.666667% !important;
		width: 66.666667% !important;
	}
	
	.rankings-page .col-lg-4 {
		flex: 0 0 33.333333% !important;
		max-width: 33.333333% !important;
		width: 33.333333% !important;
	}
}

/* Fix: Login Form - Asegurar que sea clickeable */
.card-body form {
	pointer-events: auto !important;
	z-index: 1;
	position: relative;
}

.card-body input,
.card-body select,
.card-body textarea,
.card-body button {
	pointer-events: auto !important;
	position: relative;
	z-index: 2;
}

/* Fix: Input groups del login */
.input-group {
	position: relative;
	z-index: 2;
}

.input-group-text {
	background: rgba(0, 0, 0, 0.04);
	border: 2px solid rgba(0, 0, 0, 0.1);
	border-right: none;
	pointer-events: auto;
}

.card-body .form-control {
	pointer-events: auto !important;
	z-index: 2;
}

.card-body .btn {
	pointer-events: auto !important;
	z-index: 2;
}

/* Progress bars animadas */
.progress {
	height: 10px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.05);
	overflow: hidden;
	position: relative;
}

.progress-bar {
	height: 100%;
	background: linear-gradient(90deg, var(--ColorTemplate), rgba(138, 43, 226, 0.8));
	border-radius: 10px;
	transition: width 1s ease;
	position: relative;
	overflow: hidden;
}

.progress-bar::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	animation: shimmer 2s infinite;
}

/* Tooltips elegantes */
[data-tooltip] {
	position: relative;
	cursor: help;
}

[data-tooltip]:hover::after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	padding: 8px 14px;
	background: rgba(0, 0, 0, 0.9);
	color: #ffffff;
	border-radius: 6px;
	font-size: 12px;
	white-space: nowrap;
	z-index: 1000;
	animation: fadeIn 0.3s ease;
}

/* Loading spinners */
.spinner {
	border: 4px solid rgba(0, 0, 0, 0.1);
	border-top-color: var(--ColorTemplate);
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* Accordion moderno */
.accordion-item {
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	margin-bottom: 10px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.accordion-item:hover {
	border-color: var(--ColorTemplate);
	box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1);
}

.accordion-header {
	padding: 15px 20px;
	background: rgba(0, 0, 0, 0.02);
	cursor: pointer;
	transition: all 0.3s ease;
}

.accordion-header:hover {
	background: rgba(0, 0, 0, 0.04);
}

/* Notificaciones toast */
.toast {
	position: fixed;
	bottom: 20px;
	right: 20px;
	padding: 15px 25px;
	background: #ffffff;
	border-left: 4px solid var(--ColorTemplate);
	border-radius: 8px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	animation: slideInRight 0.5s ease;
	z-index: 10000;
}

/* Tags elegantes */
.tag {
	display: inline-block;
	padding: 5px 12px;
	background: rgba(0, 123, 255, 0.1);
	color: var(--ColorTemplate);
	border-radius: 15px;
	font-size: 12px;
	font-weight: 600;
	margin: 3px;
	transition: all 0.3s ease;
}

.tag:hover {
	background: var(--ColorTemplate);
	color: #ffffff;
	transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE MEJORAS
   ============================================ */
@media (max-width: 992px) {
	.banner-title {
		font-size: 2.5rem;
	}
	
	.banner-subtitle {
		font-size: 1.2rem;
	}
	
	.main-nav li {
		animation: none; /* Desactivar animaciones en mobile para mejor rendimiento */
	}
	
	.header-banner {
		height: 350px;
	}
}

/* ============================================
   EFECTOS ESPECIALES - GRADIENTE TEXT
   ============================================ */
.gradient-text {
	background: linear-gradient(135deg, var(--ColorTemplate) 0%, rgba(138, 43, 226, 1) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* ============================================
   BACKDROP BLUR MEJORADO
   ============================================ */
.glass-effect {
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ============================================
   HOVER ZOOM EFECT
   ============================================ */
.zoom-hover {
	transition: transform 0.3s ease;
}

.zoom-hover:hover {
	transform: scale(1.05);
}

/* ============================================
   SHINE EFFECT (Brillo al hover)
   ============================================ */
.shine-effect {
	position: relative;
	overflow: hidden;
}

.shine-effect::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
	transition: left 0.5s ease;
}

.shine-effect:hover::after {
	left: 100%;
}


