.navbar-dropdown {
	position: relative;
}
.dropdown-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #222;
	box-shadow: 0 4px 16px rgba(0,0,0,0.13);
	border-radius: 0 0 8px 8px;
	min-width: 160px;
	z-index: 10;
	padding: 8px 0;
	list-style: none;
}
.navbar-dropdown:hover .dropdown-menu,
.navbar-dropdown:focus-within .dropdown-menu {
	display: block;
}
.dropdown-link {
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 8px 20px;
	font-size: 1em;
	transition: background 0.2s, color 0.2s;
}
.dropdown-link:hover {
	background: #e53935;
	color: #fff;
}
.navbar-sections {
	display: flex;
	gap: 32px;
	list-style: none;
	margin: 0 32px;
	padding: 0;
	align-items: center;
}
.navbar-link {
	color: #fff;
	text-decoration: none;
	font-weight: 500;
	font-size: 1.08em;
	letter-spacing: 1px;
	transition: color 0.2s;
	padding: 4px 10px;
	border-radius: 4px;
}
.navbar-link:hover {
	color: #e53935;
	background: rgba(229,57,53,0.08);
}
/* Footer styles */
footer {
	padding: 28px 0 24px 0;
	background: #222;
	color: #fff;
	width: 100%;
	box-sizing: border-box;
	overflow-x: hidden;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
}

.footer-left {
	flex: 1;
	margin-right: 20px;
	text-align: left;
}

.footer-brand {
	margin: 0;
	font-size: 1.1em;
	color: #fff;
	font-weight: bold;
}

.footer-typed-text {
	color: #fff;
	border-right: 2px solid #fff;
	animation: blink 1s infinite;
}

@keyframes blink {
	0%, 50% { border-color: #fff; }
	51%, 100% { border-color: transparent; }
}

.footer-copyright-section {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	width: auto;
}

.footer-copyright {
	margin: 0 0 4px 0;
	font-size: 1.05em;
	line-height: 1.3;
	white-space: nowrap;
	text-align: center;
}

.footer-developer {
	margin: 0;
	font-size: 0.9em;
	color: #ccc;
	white-space: nowrap;
	text-align: center;
}

.footer-developer a {
	color: #00e5ff;
	text-decoration: none;
	transition: color 0.3s;
}

.footer-developer a:hover {
	color: #40e0d0;
	text-decoration: none;
}

.footer-social-right {
	margin-left: auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
}

.footer-social-title {
	font-weight: bold;
	margin-bottom: 6px;
	text-align: right;
}

.footer-social-icons {
	display: flex;
	flex-direction: row;
	gap: 18px;
	margin-top: 2px;
	justify-content: flex-end;
}

.footer-icon {
	width: 32px;
	height: 32px;
	filter: brightness(0) invert(1);
	transition: filter 0.2s;
}

.footer-icon:hover {
	filter: brightness(0.7) invert(0.7) sepia(1) saturate(5) hue-rotate(180deg);
}

@media (max-width: 700px) {
	.footer-content {
		flex-direction: column;
		padding: 0 16px;
		gap: 14px;
	}
	.footer-left {
		margin-right: 0;
		text-align: center;
	}
	.footer-copyright-section {
		position: static;
		transform: none;
		margin-bottom: 10px;
	}
	.footer-copyright {
		white-space: normal;
	}
	.footer-developer {
		white-space: normal;
	}
	.footer-social-right {
		align-items: center;
		margin-left: 0;
	}
	.footer-social-title { 
		text-align: center; 
	}
	.footer-social-icons { 
		justify-content: center; 
	}
}

/* Flechas carrusel staff */
.staff-carousel-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 1340px;
	margin: 0 auto;
}
.staff-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0,0,0,0.45);
	color: #fff;
	border: none;
	font-size: 2.5rem;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	cursor: pointer;
	z-index: 2;
	transition: background 0.2s, color 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.85;
}
.staff-arrow.left {
	left: -24px;
}
.staff-arrow.right {
	right: -24px;
}
.staff-arrow:hover {
	background: #e53935;
	color: #fff;
	opacity: 1;
}
/* Carrusel de Torneos */
.torneos-section {
	width: 100%;
	margin: 2.5rem 0 2rem 0;
	text-align: center;
		background: transparent;
		border-radius: 0;
		box-shadow: none;
}
.torneos-title {
	font-size: 2rem;
	color: #e53935;
	margin-bottom: 1.2rem;
	font-weight: bold;
	letter-spacing: 1px;
}
.torneos-carousel {
		display: flex;
		align-items: center;
		gap: 2.5rem;
		overflow: hidden;
		width: 100%;
		padding: 1.5rem 0;
		position: relative;
		min-height: 120px;
		background: transparent;
			position: relative;
			width: 100%;
			overflow: hidden;
}

		.torneos-carousel-inner {
			display: flex;
			gap: 2.5rem;
			animation: torneos-scroll 18s linear infinite;
		}
		@keyframes torneos-scroll {
			0% { transform: translateX(0); }
			100% { transform: translateX(-50%); }
		}

	@keyframes torneos-scroll {
		0% { transform: translateX(0); }
		100% { transform: translateX(-50%); }
	}
.torneo-item {
	min-width: 120px;
	max-width: 120px;
	height: 120px;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s;
	overflow: visible;
}
.torneo-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 0;
	filter: grayscale(1) brightness(0.85);
	transition: filter 0.4s, transform 0.3s;
	background: transparent;
}
.torneo-item:hover .torneo-img {
	filter: none;
	transform: scale(1.08);
}
/* Sección Nuestro Staff */
.staff-section {
	width: 100%;
	margin: 2.5rem 0 2rem 0;
	text-align: center;
}
.staff-title {
	font-size: 2rem;
	color: #e53935;
	margin-bottom: 1.2rem;
	font-weight: bold;
	letter-spacing: 1px;
}
.staff-carousel {
	display: flex;
	gap: 2rem;
	overflow-x: auto;
	scroll-behavior: smooth;
	padding: 1rem 0;
	scrollbar-width: none; /* Firefox */
	max-width: 1300px;
	width: 100%;
}
.staff-carousel::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera */
}

.staff-item {
	min-width: 420px;
	max-width: 420px;
	flex: 0 0 420px;
	background: #fff;
	background: transparent;
	box-shadow: 0 4px 18px rgba(0,0,0,0.13);
	position: relative;
	transition: box-shadow 0.3s;
	cursor: pointer;
}
.staff-img {
		width: 100%;
		height: 360px;
		background-size: cover;
		background-position: center;
		border-radius: 20px 20px 0 0;
		transition: filter 0.3s;
}
.staff-desc {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background: rgba(0,0,0,0.45);
		color: #fff;
		border-radius: 20px;
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.3s;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding: 1.5rem 1rem;
		box-sizing: border-box;
		font-size: 1.15rem;
}
.staff-item:hover .staff-img {
	filter: brightness(0.7) blur(2px);
}
.staff-item:hover .staff-desc {
	opacity: 1;
	pointer-events: auto;
}
/* Sección últimos videos */
.ultimos-videos {
	width: 100%;
	margin: 2.5rem 0 2rem 0;
	text-align: center;
}
.videos-title {
	font-size: 2rem;
	color: #e53935;
	margin-bottom: 1.2rem;
	font-weight: bold;
	letter-spacing: 1px;
}
.videos-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem;
}
.video-yt {
	width: 340px;
	max-width: 100vw;
	aspect-ratio: 16/9;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.10);
	overflow: hidden;
	background: #000;
}
.video-yt iframe {
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
	background: #000;
}
/* Sección informativa principal */
.info-futbol {
	width: 100%;
	margin: 2.5rem 0 2rem 0;
	background: none;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
	text-align: center;
}
.info-title {
	font-size: 2rem;
	font-weight: bold;
	color: #e53935;
	margin-bottom: 1.2rem;
	letter-spacing: 1px;
}
.info-desc p {
	font-size: 1.15rem;
	color: #222;
	line-height: 1.7;
	margin: 0;
	 opacity: 0;
	 position: relative;
	 transition: opacity 0.3s;
	}
	.info-desc p.integrar {
		opacity: 1;
		animation: integrarParticulas 1.2s cubic-bezier(.5,1.5,.5,1) forwards;
	}
	@keyframes integrarParticulas {
		0% {
			letter-spacing: 1em;
			filter: blur(12px);
			opacity: 0;
		}
		40% {
			letter-spacing: 0.5em;
			filter: blur(6px);
			opacity: 0.5;
		}
		70% {
			letter-spacing: 0.1em;
			filter: blur(2px);
			opacity: 0.8;
		}
		100% {
			letter-spacing: normal;
			filter: blur(0);
			opacity: 1;
		}
}
/* Texto animado sobre el banner */
.banner-text-efecto {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	text-align: center;
	z-index: 2;
	pointer-events: none;
	display: flex;
	justify-content: center;
	align-items: center;
}
#banner-typed {
	font-size: 2.2rem;
	font-weight: bold;
	color: #fff;
	text-shadow:
		0 0 6px #e53935,
		0 0 12px #e53935,
		0 0 2px #fff,
		0 2px 8px #000;
	letter-spacing: 2px;
	background: none;
	border-radius: 0;
	padding: 0;
	display: inline-block;
}
body {
	width: 100%;
	min-width: 0;
	max-width: 100vw;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}
/* Banner principal */
.banner-container {
	width: 100vw;
	min-width: 100vw;
	max-width: 100vw;
		background: transparent;
	overflow: hidden;
	background: #000;
	z-index: 1;
	border-radius: 0;
	position: relative;
	left: 50%;
	right: 50%;
	transform: translateX(-50%);
}
.banner-img {
	width: 100vw;
	height: auto;
	display: block;
	object-fit: cover;
	min-height: 120px;
	max-height: 520px;
	margin: 0 auto;
	border-radius: 0;
}

body {
	margin: 0;
	font-family: 'Segoe UI', Arial, sans-serif;
	background: #fafbfc;
	color: #222;
}

.main-header {
	background: #222;
	color: #fff;
	padding: 0;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	width: 100%;
	min-width: 0;
	max-width: 100vw;
	border-radius: 0;
}

.navbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem 2rem;
}

.logo span {
	font-size: 1.5rem;
	font-weight: bold;
	letter-spacing: 1px;
}


.live-btn {
	background: none;
	border: none;
	cursor: pointer;
	position: relative;
	outline: none;
	width: 60px;
	height: 60px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}



.pelota-img-container {
	position: relative;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pelota-img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	z-index: 2;
	transition: filter 0.3s;
	box-shadow: 0 0 4px 0px rgba(229,57,53,0.85);
	border-radius: 50%;
	background: transparent;
}

.flames {
	display: none;
	position: absolute;
	top: -18px;
	left: 50%;
	transform: translateX(-50%);
	width: 32px;
	height: 32px;
	pointer-events: none;
	z-index: 3;
}
.flames.active {
	display: block;
	animation: flame-flicker 0.5s infinite alternate;
}
.flames::before, .flames::after {
	content: '';
	position: absolute;
	border-radius: 50% 50% 50% 0;
	background: orange;
	opacity: 0.8;
}
.flames::before {
	width: 20px;
	height: 20px;
	left: 6px;
	top: 10px;
	background: linear-gradient(orange, red, yellow);
	transform: rotate(-20deg);
}
.flames::after {
	width: 14px;
	height: 14px;
	left: 12px;
	top: 0;
	background: linear-gradient(yellow, orange, red);
	transform: rotate(10deg);
}

@keyframes flame-flicker {
	0% { opacity: 0.7; transform: translateX(-50%) scaleY(1); }
	100% { opacity: 1; transform: translateX(-50%) scaleY(1.2); }
}

.live-text {
	display: inline-block;
	color: #fff;
	background: #e53935;
	font-weight: bold;
	font-size: 0.78rem;
	padding: 1px 8px;
	border-radius: 8px;
	margin-top: 2px;
	letter-spacing: 2px;
	box-shadow: 0 2px 12px 2px rgba(229,57,53,0.45);
	transition: background 0.3s, color 0.3s;
}
.live-text.offline {
	background: #888;
	color: #fff;
	letter-spacing: 1px;
}

.flames {
	display: none;
	position: absolute;
	top: -18px;
	left: 50%;
	transform: translateX(-50%);
	width: 28px;
	height: 28px;
	pointer-events: none;
	z-index: 3;
}

.flames.active {
	display: block;
	animation: flame-flicker 0.5s infinite alternate;
}

.flames::before, .flames::after {
	content: '';
	position: absolute;
	border-radius: 50% 50% 50% 0;
	background: orange;
	opacity: 0.8;
}
.flames::before {
	width: 18px;
	height: 18px;
	left: 5px;
	top: 8px;
	background: linear-gradient(orange, red, yellow);
	transform: rotate(-20deg);
}
.flames::after {
	width: 12px;
	height: 12px;
	left: 10px;
	top: 0;
	background: linear-gradient(yellow, orange, red);
	transform: rotate(10deg);
}

@keyframes flame-flicker {
	0% { opacity: 0.7; transform: translateX(-50%) scaleY(1); }
	100% { opacity: 1; transform: translateX(-50%) scaleY(1.2); }
}

main {
	max-width: 1100px;
	margin: 2rem auto;
	padding: 1rem;
	background: none;
	border-radius: 0;
	box-shadow: none;
}

section {
	margin-bottom: 2rem;
}

footer {
	text-align: center;
	padding: 1rem;
	background: #222;
	color: #fff;
	border-radius: 0;
	margin-top: 2rem;
	width: 100%;
	min-width: 0;
	max-width: 100vw;
}

/* Media queries para staff carousel */
@media (max-width: 1400px) {
	.staff-carousel-wrapper {
		max-width: 900px;
	}
	.staff-carousel {
		max-width: 860px;
	}
}

@media (max-width: 900px) {
	.staff-carousel-wrapper {
		max-width: 440px;
	}
	.staff-carousel {
		max-width: 420px;
	}
	.staff-item {
		min-width: 100%;
		max-width: 100%;
		flex: 0 0 100%;
	}
}
