/* ===== ESTILOS ESPECÍFICOS PARA VOCES DEL SOL ===== */

:root {
	--voces-primary: #e91e63;
	--voces-secondary: #f39c12;
	--voces-accent: #9b59b6;
	--voces-dark: #2c3e50;
	--voces-light: #f8f9fa;
	--oro-color: #FFD700;
	--plata-color: #C0C0C0;
	--bronce-color: #CD7F32;
}

.voces-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ===== HERO SECTION ===== */
.hero-section {
	background: linear-gradient(135deg, var(--voces-primary) 0%, var(--voces-accent) 100%);
	color: white;
	border-radius: 25px;
	margin-bottom: 40px;
	overflow: hidden;
	position: relative;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="music" patternUnits="userSpaceOnUse" width="100" height="100" patternTransform="rotate(45)"><path d="M0,0 L50,0" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23music)"/></svg>');
	opacity: 0.3;
}

.hero-content {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 50px;
	padding: 50px;
}

.hero-text {
	flex: 1;
}

.hero-text h3 {
	font-size: 2.8em;
	margin-bottom: 20px;
	color: #f1c40f;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	font-weight: 800;
}

.hero-description {
	font-size: 1.3em;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.95);
	margin-bottom: 25px;
}

.hero-badges {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.badge {
	background: rgba(255, 255, 255, 0.2);
	color: white;
	padding: 8px 16px;
	border-radius: 20px;
	font-weight: 600;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	transition: all 0.3s ease;
}

.badge:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: translateY(-2px);
}

.hero-visual {
	flex: 0 0 250px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.music-notes {
	position: relative;
	width: 200px;
	height: 200px;
}

.note {
	position: absolute;
	font-size: 2em;
	color: rgba(255, 255, 255, 0.8);
	animation: float 3s ease-in-out infinite;
	filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.note-1 {
	top: 10%;
	left: 20%;
	animation-delay: 0s;
}

.note-2 {
	top: 30%;
	right: 10%;
	animation-delay: 0.5s;
}

.note-3 {
	top: 50%;
	left: 10%;
	animation-delay: 1s;
}

.note-4 {
	top: 70%;
	right: 20%;
	animation-delay: 1.5s;
}

.note-5 {
	bottom: 20%;
	left: 40%;
	animation-delay: 2s;
}

.note-6 {
	bottom: 10%;
	right: 40%;
	animation-delay: 2.5s;
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0) rotate(0deg) scale(1);
	}

	25% {
		transform: translateY(-15px) rotate(5deg) scale(1.1);
	}

	50% {
		transform: translateY(-20px) rotate(0deg) scale(1.05);
	}

	75% {
		transform: translateY(-10px) rotate(-5deg) scale(1.1);
	}
}

/* ===== ESTADÍSTICAS ===== */
.estadisticas-section {
	margin-bottom: 40px;
}

.estadisticas-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 20px;
	max-width: 900px;
	margin: 0 auto;
}

.stat-card {
	background: white;
	border-radius: 15px;
	padding: 25px 20px;
	text-align: center;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border-left: 4px solid var(--voces-primary);
}

.stat-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-card:nth-child(2) {
	border-left-color: var(--voces-secondary);
}

.stat-card:nth-child(3) {
	border-left-color: var(--voces-accent);
}

.stat-card:nth-child(4) {
	border-left-color: #27ae60;
}

.stat-card:nth-child(5) {
	border-left-color: #3498db;
}

.stat-card:nth-child(6) {
	border-left-color: #e74c3c;
}

.stat-icon {
	font-size: 2.5em;
	margin-bottom: 10px;
	display: block;
}

.stat-number {
	font-size: 2.2em;
	font-weight: 900;
	color: var(--voces-dark);
	margin-bottom: 5px;
	display: block;
}

.stat-label {
	font-size: 0.9em;
	color: #7f8c8d;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* ===== CONTROLES ===== */
.controles-section {
	margin-bottom: 40px;
}

.filtros-container {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.search-box {
	position: relative;
	max-width: 400px;
	margin: 0 auto 25px auto;
}

.search-icon {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.2em;
	color: #7f8c8d;
	z-index: 2;
}

#filtroVoces {
	width: 100%;
	padding: 15px 15px 15px 50px;
	border: 2px solid #bdc3c7;
	border-radius: 30px;
	font-size: 1.1em;
	background: white;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	outline: none;
}

#filtroVoces:focus {
	border-color: var(--voces-primary);
	box-shadow: 0 5px 20px rgba(233, 30, 99, 0.2);
	transform: translateY(-2px);
}

.categoria-filters {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}

.filter-btn {
	background: white;
	border: 2px solid #ecf0f1;
	color: var(--voces-dark);
	padding: 10px 20px;
	border-radius: 25px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 0.95em;
}

.filter-btn:hover {
	border-color: var(--voces-primary);
	color: var(--voces-primary);
	transform: translateY(-2px);
}

.filter-btn.active {
	background: linear-gradient(135deg, var(--voces-primary) 0%, var(--voces-accent) 100%);
	color: white;
	border-color: var(--voces-primary);
	box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

/* ===== LOADING ===== */
.loading-voces {
	text-align: center;
	padding: 80px 20px;
}

.music-loader {
	font-size: 5em;
	animation: musicPulse 2s ease-in-out infinite;
	margin-bottom: 25px;
}

@keyframes musicPulse {

	0%,
	100% {
		transform: scale(1) rotate(0deg);
		opacity: 1;
	}

	25% {
		transform: scale(1.1) rotate(5deg);
		opacity: 0.8;
	}

	50% {
		transform: scale(1.2) rotate(0deg);
		opacity: 0.6;
	}

	75% {
		transform: scale(1.1) rotate(-5deg);
		opacity: 0.8;
	}
}

/* ===== CATEGORÍAS ===== */
.categoria-section {
	margin-bottom: 60px;
}

.categoria-header {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-bottom: 30px;
	padding: 25px;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-radius: 20px;
	position: relative;
	overflow: hidden;
}

.categoria-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(233, 30, 99, 0.1), transparent);
	animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
	0% {
		left: -100%;
	}

	50% {
		left: 100%;
	}

	100% {
		left: 100%;
	}
}

.categoria-icon {
	font-size: 3em;
	background: linear-gradient(135deg, var(--voces-primary) 0%, var(--voces-accent) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.categoria-titulo {
	font-size: 2.2em;
	font-weight: 800;
	color: var(--voces-dark);
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.categoria-count {
	background: linear-gradient(135deg, var(--voces-primary) 0%, var(--voces-accent) 100%);
	color: white;
	padding: 8px 16px;
	border-radius: 20px;
	font-weight: 600;
	font-size: 0.9em;
	box-shadow: 0 3px 10px rgba(233, 30, 99, 0.3);
}

/* ===== PARTICIPANTES ===== */
.participantes-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 25px;
}

.participante-card {
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	transition: all 0.4s ease;
	opacity: 0;
	transform: translateY(50px);
	position: relative;
	border-left: 5px solid var(--voces-primary);
}

.participante-card.visible {
	opacity: 1;
	transform: translateY(0);
}

.participante-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.participante-card[data-tipo="duo"] {
	border-left-color: var(--voces-secondary);
}

.participante-card[data-tipo="banda"] {
	border-left-color: var(--voces-accent);
}

.participante-content {
	padding: 25px;
}

.participante-nombre,
.banda-nombre {
	font-size: 1.4em;
	font-weight: 700;
	color: var(--voces-dark);
	margin-bottom: 8px;
	line-height: 1.3;
}

.banda-nombre {
	background: linear-gradient(135deg, var(--voces-primary) 0%, var(--voces-accent) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.acompanante {
	font-size: 0.9em;
	color: var(--voces-accent);
	font-style: italic;
	margin-bottom: 5px;
	font-weight: 600;
}

.participante-colegio {
	font-size: 1em;
	color: #7f8c8d;
	margin-bottom: 12px;
	font-weight: 600;
	background: #ecf0f1;
	padding: 4px 12px;
	border-radius: 15px;
	display: inline-block;
}

.integrantes-lista {
	margin: 12px 0;
}

.integrantes-label {
	font-size: 0.9em;
	color: var(--voces-accent);
	font-weight: 700;
	display: block;
	margin-bottom: 5px;
}

.integrantes-nombres {
	font-size: 0.95em;
	color: #5a6c7d;
	line-height: 1.4;
	font-weight: 500;
}

.participante-tema {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	padding: 12px 15px;
	border-radius: 15px;
	font-size: 1em;
	color: var(--voces-dark);
	font-weight: 600;
	border-left: 4px solid var(--voces-secondary);
	margin-top: 15px;
}

.participante-icon {
	position: absolute;
	bottom: 15px;
	right: 15px;
	font-size: 1.8em;
	opacity: 0.3;
	transition: all 0.3s ease;
}

.participante-card:hover .participante-icon {
	opacity: 0.7;
	transform: scale(1.2) rotate(10deg);
}

/* ===== JURADO Y RESPONSABLES ===== */
.extras-section {
	margin-bottom: 50px;
}

.jurado-section,
.responsables-section {
	margin-bottom: 40px;
}

.section-title {
	text-align: center;
	font-size: 2.2em;
	color: var(--voces-dark);
	margin-bottom: 30px;
	position: relative;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 120px;
	height: 4px;
	background: linear-gradient(90deg, var(--voces-primary) 0%, var(--voces-accent) 100%);
	border-radius: 2px;
}

.jurado-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 25px;
	margin-bottom: 40px;
}

.juez-card {
	background: white;
	border-radius: 20px;
	padding: 30px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	opacity: 0;
	transform: translateY(30px);
	animation: slideInUp 0.8s ease forwards;
	border-left: 5px solid var(--voces-secondary);
}

.juez-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.juez-nombre {
	font-size: 1.3em;
	font-weight: 700;
	color: var(--voces-dark);
	margin-bottom: 15px;
	background: linear-gradient(135deg, var(--voces-primary) 0%, var(--voces-accent) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.juez-descripcion {
	font-size: 0.95em;
	color: #5a6c7d;
	line-height: 1.6;
	text-align: justify;
}

.responsables-grid {
	display: flex;
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
}

.responsable-card {
	background: white;
	border-radius: 15px;
	padding: 25px 35px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
	text-align: center;
	transition: all 0.3s ease;
	opacity: 0;
	transform: translateY(20px);
	animation: slideInUp 0.6s ease forwards;
	border-left: 5px solid var(--voces-accent);
}

.responsable-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.responsable-nombre {
	font-size: 1.2em;
	font-weight: 700;
	color: var(--voces-dark);
	margin-bottom: 8px;
}

.responsable-colegio {
	font-size: 0.9em;
	color: var(--voces-accent);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* ===== INFORMACIÓN DEL EVENTO ===== */
.info-evento {
	margin-bottom: 50px;
}

.info-card-large {
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	margin-bottom: 25px;
	border-left: 5px solid var(--voces-primary);
}

.info-header {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	padding: 25px;
	display: flex;
	align-items: center;
	gap: 15px;
}

.info-header .info-icon {
	font-size: 2.5em;
}

.info-header h4 {
	font-size: 1.8em;
	color: var(--voces-dark);
	font-weight: 700;
}

.info-body {
	padding: 30px;
}

.info-body p {
	font-size: 1.1em;
	line-height: 1.7;
	color: #5a6c7d;
	text-align: justify;
}

.agradecimientos {
	text-align: center;
}

.agradecimiento-card {
	background: linear-gradient(135deg, var(--voces-primary) 0%, var(--voces-accent) 100%);
	color: white;
	padding: 25px 35px;
	border-radius: 20px;
	box-shadow: 0 8px 25px rgba(233, 30, 99, 0.3);
	max-width: 600px;
	margin: 0 auto;
}

.agradecimiento-card h5 {
	font-size: 1.3em;
	margin-bottom: 15px;
	font-weight: 700;
}

.agradecimiento-card p {
	font-size: 1em;
	line-height: 1.6;
	opacity: 0.95;
}

/* ===== ACCIONES ===== */
.section-actions {
	text-align: center;
	margin: 50px 0;
}

.home-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: linear-gradient(135deg, var(--voces-dark) 0%, #34495e 100%);
	color: white;
	text-decoration: none;
	padding: 18px 35px;
	border-radius: 35px;
	font-weight: 700;
	font-size: 1.1em;
	transition: all 0.4s ease;
	box-shadow: 0 8px 25px rgba(44, 62, 80, 0.3);
	position: relative;
	overflow: hidden;
}

.home-link::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: all 0.6s ease;
}

.home-link:hover::before {
	left: 100%;
}

.home-link:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 35px rgba(44, 62, 80, 0.4);
}

.home-link-icon {
	font-size: 1.3em;
}

/* ===== ANIMACIONES ===== */
@keyframes slideInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ===== ESTILOS PARA GANADORES ===== */
@keyframes ganadorPulse {
	0% {
		transform: scale(1) translateY(50px);
		opacity: 0;
	}

	50% {
		transform: scale(1.05) translateY(0);
	}

	100% {
		transform: scale(1) translateY(0);
		opacity: 1;
	}
}

.participante-card.ganador-puesto-1 {
	background: white;
	border-left: 6px solid var(--oro-color);
	box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.participante-card.ganador-puesto-1::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
	animation: shine 3s ease-in-out infinite;
}

.participante-card.ganador-puesto-2 {
	background: white;
	border-left: 6px solid var(--plata-color);
	box-shadow: 0 10px 30px rgba(192, 192, 192, 0.25);
}

.participante-card.ganador-puesto-2::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(192, 192, 192, 0.1), transparent);
	animation: shine 3s ease-in-out infinite;
}

.participante-card.ganador-puesto-3 {
	background: white;
	border-left: 6px solid var(--bronce-color);
	box-shadow: 0 10px 30px rgba(205, 127, 50, 0.2);
}

.participante-card.ganador-puesto-3::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(205, 127, 50, 0.1), transparent);
	animation: shine 3s ease-in-out infinite;
}

.ganador-puesto-1 .participante-nombre,
.ganador-puesto-1 .banda-nombre {
	font-size: 1.6em;
	background: linear-gradient(135deg, var(--oro-color) 0%, #FBBF24 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.ganador-puesto-2 .participante-nombre,
.ganador-puesto-2 .banda-nombre {
	background: linear-gradient(135deg, var(--plata-color) 0%, #A9A9A9 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.ganador-puesto-3 .participante-nombre,
.ganador-puesto-3 .banda-nombre {
	color: var(--bronce-color);
}

.ganador-puesto-1 .participante-icon {
	color: var(--oro-color);
	font-size: 2em;
}

.ganador-puesto-2 .participante-icon {
	color: var(--plata-color);
}

.ganador-puesto-3 .participante-icon {
	color: var(--bronce-color);
}

.ganador-badge {
	position: absolute;
	top: 15px;
	right: 15px;
	padding: 10px 16px;
	border-radius: 15px;
	font-size: 1em;
	font-weight: 700;
	color: white;
	text-shadow: 1px 1px 1px black;
	display: flex;
	align-items: center;
	gap: 5px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	opacity: 0.9;
	/* Añadimos transparencia */
}

.ganador-puesto-1 .ganador-badge {
	background: linear-gradient(135deg, var(--oro-color) 0%, #FBBF24 100%);
}

.ganador-puesto-2 .ganador-badge {
	background: linear-gradient(135deg, var(--plata-color) 0%, #A9A9A9 100%);
	font-size: 0.9em;
}

.ganador-puesto-3 .ganador-badge {
	background: linear-gradient(135deg, var(--bronce-color) 0%, #B87333 100%);
	font-size: 0.8em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
	.voces-container {
		padding: 0 15px;
	}

	.hero-content {
		flex-direction: column;
		text-align: center;
		gap: 30px;
		padding: 35px 25px;
	}

	.hero-text h3 {
		font-size: 2.2em;
	}

	.hero-description {
		font-size: 1.15em;
	}

	.hero-visual {
		flex: none;
	}

	.music-notes {
		width: 150px;
		height: 150px;
	}

	.note {
		font-size: 1.5em;
	}

	.estadisticas-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}

	.categoria-filters {
		flex-direction: column;
		gap: 8px;
	}

	.filter-btn {
		padding: 12px 20px;
	}

	.participantes-grid {
		grid-template-columns: 1fr;
	}

	.participante-content {
		padding: 20px;
	}

	.participante-nombre,
	.banda-nombre {
		font-size: 1.2em;
	}

	.jurado-grid {
		grid-template-columns: 1fr;
	}

	.responsables-grid {
		flex-direction: column;
		align-items: center;
	}

	.categoria-header {
		flex-direction: column;
		gap: 15px;
		padding: 20px;
	}

	.categoria-titulo {
		font-size: 1.8em;
	}

	.ganador-puesto-1 .participante-nombre,
	.ganador-puesto-1 .banda-nombre {
		font-size: 1.4em;
	}

	.ganador-badge {
		padding: 8px 12px;
		font-size: 0.9em;
	}

	.ganador-puesto-1 .ganador-badge {
		font-size: 0.95em;
	}

	.ganador-puesto-2 .ganador-badge {
		font-size: 0.85em;
	}

	.ganador-puesto-3 .ganador-badge {
		font-size: 0.75em;
	}
}

@media (max-width: 480px) {
	.hero-text h3 {
		font-size: 1.9em;
	}

	.hero-description {
		font-size: 1em;
	}

	.hero-badges {
		justify-content: center;
	}

	.badge {
		font-size: 0.9em;
		padding: 6px 12px;
	}

	.estadisticas-grid {
		grid-template-columns: 1fr;
	}

	.participante-card {
		margin: 0 -10px;
	}

	.categoria-titulo {
		font-size: 1.6em;
	}

	.section-title {
		font-size: 1.8em;
	}

	.page-title {
		font-size: 2em;
	}

	.home-link {
		padding: 15px 30px;
		font-size: 1em;
	}

	.ganador-badge {
		font-size: 0.7em;
	}

	.ganador-puesto-1 .ganador-badge {
		font-size: 0.8em;
	}

	.ganador-puesto-2 .ganador-badge {
		font-size: 0.75em;
	}

	.ganador-puesto-3 .ganador-badge {
		font-size: 0.7em;
	}
}