/* Top Compradores — tema Futebol (pênalti) */

.top-compradores-fixo--futebol,
.top-compradores-fixo--futebol-active {
	background: linear-gradient(165deg, #0f172a 0%, #134e4a 48%, #14532d 100%) !important;
	border-color: rgba(255, 255, 255, 0.14) !important;
	box-shadow: 0 14px 42px rgba(2, 6, 23, 0.45) !important;
	padding-bottom: 0.65rem !important;
}

.top-compradores-fixo--futebol::before,
.top-compradores-fixo--futebol-active::before {
	display: none !important;
}

.top-ranking-trophy--futebol {
	background: linear-gradient(135deg, #fef9c3, #facc15) !important;
	border-color: rgba(255, 255, 255, 0.85) !important;
	box-shadow: 0 4px 14px rgba(250, 204, 21, 0.35) !important;
}

.top-ranking-trophy__futbol {
	font-size: 1.3rem;
	line-height: 1;
	display: block;
}

/* --- Arena --- */
.futebol-estadio--penalti {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-top: 0.4rem;
	border-radius: 14px;
	overflow: hidden;
	background: #020617;
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.08),
		0 8px 28px rgba(0, 0, 0, 0.35);
}

/* Fundo estádio */
.futebol-estadio__backdrop {
	position: relative;
	height: 7.5rem;
	flex-shrink: 0;
	overflow: hidden;
	background: linear-gradient(180deg, #020617 0%, #0c1a33 42%, #12325a 100%);
}

.futebol-estadio__luz {
	position: absolute;
	top: -10%;
	width: 55%;
	height: 90%;
	pointer-events: none;
}

.futebol-estadio__luz--esq {
	left: -8%;
	background: radial-gradient(ellipse at 25% 0%, rgba(147, 197, 253, 0.35) 0%, transparent 62%);
}

.futebol-estadio__luz--dir {
	right: -8%;
	background: radial-gradient(ellipse at 75% 0%, rgba(147, 197, 253, 0.35) 0%, transparent 62%);
}

.futebol-estadio__torcida {
	position: absolute;
	top: 14%;
	left: 6%;
	right: 6%;
	height: 38%;
	border-radius: 50% 50% 0 0;
	background: linear-gradient(180deg, rgba(30, 58, 138, 0.55) 0%, rgba(15, 23, 42, 0.2) 100%);
	filter: blur(1px);
	opacity: 0.7;
}

.futebol-estadio__grama {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3.2rem;
	background: linear-gradient(180deg, #22c55e 0%, #16a34a 55%, #15803d 100%);
}

.futebol-estadio__faixa {
	position: absolute;
	inset: 0;
	opacity: 0.22;
	background: repeating-linear-gradient(
		90deg,
		transparent 0 14px,
		rgba(0, 0, 0, 0.18) 14px 28px
	);
}

.futebol-estadio__linha {
	position: absolute;
	top: 28%;
	left: 10%;
	right: 10%;
	height: 2px;
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 0 6px rgba(255, 255, 255, 0.25);
}

/* Pódio */
.futebol-estadio__podio {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 0.5rem;
	margin-top: -2.6rem;
	padding: 0 0.55rem 0.65rem;
}

.futebol-estadio__card {
	flex: 1;
	max-width: 33%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-width: 0;
	padding: 0.45rem 0.4rem 0.5rem;
	border-radius: 12px;
	background: rgba(15, 23, 42, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.futebol-estadio__card--rank-1 {
	order: 2;
	flex: 1.12;
	max-width: 36%;
	margin-bottom: 0.55rem;
	padding-top: 0.55rem;
	background: linear-gradient(180deg, rgba(30, 41, 59, 0.92) 0%, rgba(15, 23, 42, 0.88) 100%);
	border-color: rgba(250, 204, 21, 0.45);
	box-shadow:
		0 12px 28px rgba(0, 0, 0, 0.4),
		0 0 0 1px rgba(250, 204, 21, 0.15),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.futebol-estadio__card--rank-2 { order: 1; }
.futebol-estadio__card--rank-3 { order: 3; }

.futebol-estadio__card--vazio {
	opacity: 0.82;
}

/* Medalha de posição */
.futebol-estadio__medal {
	align-self: center;
	margin-bottom: 0.4rem;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: #e2e8f0;
	background: rgba(2, 6, 23, 0.75);
	padding: 0.14rem 0.5rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	line-height: 1.2;
}

.futebol-estadio__card--rank-1 .futebol-estadio__medal {
	color: #422006;
	background: linear-gradient(135deg, #fde047, #facc15);
	border-color: #fef08a;
	box-shadow: 0 2px 10px rgba(250, 204, 21, 0.35);
}

.futebol-estadio__card--rank-2 .futebol-estadio__medal {
	color: #f8fafc;
	background: linear-gradient(135deg, #94a3b8, #64748b);
	border-color: #cbd5e1;
}

.futebol-estadio__card--rank-3 .futebol-estadio__medal {
	color: #fff7ed;
	background: linear-gradient(135deg, #fb923c, #ea580c);
	border-color: #fdba74;
}

/* Gol */
.futebol-estadio__gol-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 1.05 / 1;
	margin-bottom: 0.45rem;
}

.futebol-estadio__card--rank-1 .futebol-estadio__gol-wrap {
	aspect-ratio: 1 / 1.05;
}

.futebol-estadio__trave {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
}

.futebol-estadio__travessa {
	position: absolute;
	top: 0;
	left: 8%;
	right: 8%;
	height: 4px;
	border-radius: 2px;
	background: linear-gradient(180deg, #fff 0%, #e2e8f0 100%);
	box-shadow: 0 1px 8px rgba(255, 255, 255, 0.5);
}

.futebol-estadio__poste {
	position: absolute;
	top: 0;
	bottom: 2%;
	width: 4px;
	border-radius: 2px 2px 0 0;
	background: linear-gradient(90deg, #f8fafc 0%, #cbd5e1 100%);
	box-shadow: 1px 0 6px rgba(255, 255, 255, 0.35);
}

.futebol-estadio__poste--esq { left: 8%; }
.futebol-estadio__poste--dir { right: 8%; }

.futebol-estadio__rede {
	position: absolute;
	top: 4px;
	left: 8%;
	right: 8%;
	bottom: 0;
	z-index: 1;
	overflow: hidden;
	border-radius: 0 0 4px 4px;
	background:
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 7px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 7px),
		linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(2, 6, 23, 0.85) 100%);
	box-shadow: inset 0 -12px 24px rgba(0, 0, 0, 0.45);
}

.futebol-estadio__card--vazio .futebol-estadio__rede {
	opacity: 0.55;
}

.futebol-estadio__card--vazio .futebol-estadio__rede::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 60%, rgba(255, 255, 255, 0.06) 0%, transparent 55%);
}

/* Bola */
.futebol-estadio__bola-entrando {
	position: absolute;
	left: 50%;
	bottom: 18%;
	width: 48%;
	max-width: 3.6rem;
	aspect-ratio: 1;
	margin-left: -24%;
	z-index: 2;
	animation: futebol-bola-gol 2.8s cubic-bezier(0.34, 0.72, 0.4, 1) infinite;
	filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.futebol-estadio__card--rank-1 .futebol-estadio__bola-entrando {
	max-width: 3.75rem;
	bottom: 20%;
}

.futebol-estadio__bola-svg {
	display: block;
	width: 100%;
	height: 100%;
}

@keyframes futebol-bola-gol {
	0% {
		transform: translateY(70%) scale(0.45);
		opacity: 0.15;
	}
	45% {
		transform: translateY(4%) scale(0.95);
		opacity: 1;
	}
	70% {
		transform: translateY(12%) scale(1);
		opacity: 1;
	}
	100% {
		transform: translateY(16%) scale(0.98);
		opacity: 0.92;
	}
}

/* Info do jogador */
.futebol-estadio__info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.18rem;
	text-align: center;
	padding-top: 0.1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.futebol-estadio__nome {
	display: block;
	width: 100%;
	font-size: 0.78rem;
	font-weight: 700;
	color: #f8fafc;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.3;
}

.futebol-estadio__nome--vazio {
	font-size: 0.68rem;
	font-weight: 600;
	color: rgba(226, 232, 240, 0.55);
}

.futebol-estadio__gols {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	font-size: 0.72rem;
	font-weight: 800;
	color: #fef08a;
	background: rgba(250, 204, 21, 0.12);
	padding: 0.1rem 0.42rem;
	border-radius: 999px;
	border: 1px solid rgba(250, 204, 21, 0.28);
	line-height: 1.2;
}

.futebol-estadio__gols::before {
	content: "";
	display: inline-block;
	width: 0.72rem;
	height: 0.72rem;
	flex-shrink: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='46' fill='%23f4f4f5'/%3E%3Cpath fill='%23171717' d='M50 13 L58 28 L73 28 L63 39 L67 55 L50 46 L33 55 L37 39 L27 28 L42 28 Z'/%3E%3Cpath fill='%23171717' d='M50 46 L67 55 L64 70 L50 63 L36 70 L33 55 Z'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' opacity='.55' d='M44 24 Q50 30 56 24'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.futebol-estadio__premio {
	display: block;
	width: 100%;
	font-size: 0.7rem;
	font-weight: 800;
	color: #86efac;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.25;
}

.futebol-estadio__premio--vazio {
	color: rgba(134, 239, 172, 0.55);
}

.futebol-estadio__card--rank-1 .futebol-estadio__premio {
	color: #fde047;
}

/* Banco (4º–6º) */
.futebol-estadio__banco {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 0.55rem 0.55rem 0.65rem;
	background: linear-gradient(180deg, rgba(2, 6, 23, 0.55) 0%, rgba(6, 78, 59, 0.35) 100%);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.futebol-estadio__banco-item {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.45rem;
	padding: 0.42rem 0.5rem;
	border-radius: 10px;
	background: rgba(15, 23, 42, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.07);
}

.futebol-estadio__banco-item--vazio {
	opacity: 0.75;
}

.futebol-estadio__banco-pos {
	flex-shrink: 0;
	min-width: 1.65rem;
	text-align: center;
	font-size: 0.74rem;
	font-weight: 800;
	color: #fef08a;
	background: rgba(2, 6, 23, 0.65);
	padding: 0.16rem 0.3rem;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	line-height: 1.15;
}

.futebol-estadio__banco-item--rank-4 .futebol-estadio__banco-pos { color: #fdba74; }
.futebol-estadio__banco-item--rank-5 .futebol-estadio__banco-pos { color: #c4b5fd; }
.futebol-estadio__banco-item--rank-6 .futebol-estadio__banco-pos { color: #94a3b8; }

.futebol-estadio__banco-dados {
	display: flex;
	flex-direction: column;
	gap: 0.05rem;
	min-width: 0;
}

.futebol-estadio__banco-nome {
	font-size: 0.76rem;
	font-weight: 700;
	color: #f1f5f9;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.25;
}

.futebol-estadio__banco-nome--vazio {
	font-size: 0.7rem;
	font-weight: 600;
	color: rgba(241, 245, 249, 0.5);
}

.futebol-estadio__banco-gols {
	font-size: 0.68rem;
	font-weight: 700;
	color: #fde047;
	line-height: 1.2;
}

.futebol-estadio__banco-premio {
	flex-shrink: 0;
	max-width: 5.5rem;
	font-size: 0.68rem;
	font-weight: 800;
	color: #86efac;
	text-align: right;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.2;
}

@media (max-width: 400px) {
	.futebol-estadio__backdrop {
		height: 6.5rem;
	}
	.futebol-estadio__podio {
		margin-top: -2.2rem;
		gap: 0.35rem;
		padding: 0 0.35rem 0.5rem;
	}
	.futebol-estadio__card {
		padding: 0.38rem 0.3rem 0.42rem;
		border-radius: 10px;
	}
	.futebol-estadio__nome {
		font-size: 0.7rem;
	}
	.futebol-estadio__gols,
	.futebol-estadio__premio {
		font-size: 0.64rem;
	}
	.futebol-estadio__banco-premio {
		max-width: 4.2rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.futebol-estadio__bola-entrando {
		animation: none !important;
		transform: translateY(12%) scale(1);
	}
}
