/* =========================================================
   PROFIL ZAWODNIKA — BIO
========================================================= */

.bio-card {
	--bio-blue: #0d6efd;
	--bio-blue-dark: #003c99;
	--bio-yellow: #fdef02;
	--bio-line: rgba(255, 255, 255, 0.09);

	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin: 10px;
	padding: 0 28px 30px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	background:
		linear-gradient(135deg, rgba(1, 110, 255, 0.96), rgba(0, 60, 153, 0.97)),
		url("/img/menu-bg.jpg");
	color: #fff;
	box-shadow: 0 22px 55px rgba(0, 0, 0, 0.32);
}

.bio-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	pointer-events: none;
	background:
		radial-gradient(
			circle at 100% 0%,
			rgba(13, 110, 253, 0.22),
			transparent 34%
		),
		radial-gradient(circle at 0% 100%, rgba(253, 239, 2, 0.08), transparent 30%);
}

.bio-card::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	z-index: -1;
	width: 180px;
	height: 180px;
	pointer-events: none;
	background:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 24px 24px;
	-webkit-mask-image: linear-gradient(225deg, #000 0%, transparent 72%);
	mask-image: linear-gradient(225deg, #000 0%, transparent 72%);
}

/* =========================================================
   SOCIALE
========================================================= */

.bio-social-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 0 -28px 30px;
	padding: 19px 28px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.025);
}

.bio-kicker {
	display: block;
	margin-bottom: 3px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bio-yellow);
}

.bio-social-label {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
}

.bio-socials {
	display: flex;
	flex: 0 0 auto;
	gap: 9px;
}

.bio-socials a {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 9px;
	background: linear-gradient(135deg, var(--bio-blue), var(--bio-blue-dark));
	color: #fff;
	font-size: 18px;
	text-decoration: none;
	box-shadow: 0 8px 18px rgba(0, 76, 190, 0.22);
	transition:
		transform 0.22s ease,
		border-color 0.22s ease,
		box-shadow 0.22s ease,
		filter 0.22s ease;
}

.bio-socials a:hover {
	transform: translateY(-3px);
	border-color: rgba(253, 239, 2, 0.72);
	box-shadow: 0 12px 24px rgba(0, 84, 210, 0.34);
	filter: brightness(1.08);
	color: var(--bio-yellow);
}

.bio-socials a:focus-visible {
	outline: 3px solid rgba(253, 239, 2, 0.85);
	outline-offset: 3px;
}

/* =========================================================
   SEKCJE
========================================================= */

.bio-group + .bio-group {
	margin-top: 32px;
	padding-top: 30px;
	border-top: 1px solid var(--bio-line);
}

.bio-group__heading {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

.bio-group__heading > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 31px;
	height: 31px;
	flex: 0 0 31px;
	border-radius: 7px;
	background: linear-gradient(135deg, var(--bio-yellow), #e4cb00);
	color: #07152c;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.04em;
	box-shadow: 0 6px 15px rgba(253, 239, 2, 0.12);
}

.bio-group__heading h2 {
	margin: 0;
	font-size: clamp(20px, 2vw, 26px);
	font-weight: 850;
	line-height: 1.05;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: #fff;
}

.bio-list {
	display: grid;
	gap: 12px;
}

.bio-item {
	position: relative;
	padding: 15px 17px 16px 19px;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 10px;
	background: rgb(0 0 0 / 22%);
}

.bio-item::before {
	content: "";
	position: absolute;
	top: 14px;
	bottom: 14px;
	left: 0;
	width: 3px;
	border-radius: 0 4px 4px 0;
	background: #fff101;
	opacity: 0.78;
}

.bio-question {
	margin: 0 0 6px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.53);
}

.bio-content {
	font-size: 16px;
	font-weight: 550;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.94);
}

.bio-item--supporters {
	border-color: rgba(13, 110, 253, 0.28);
	background: linear-gradient(
		135deg,
		rgba(13, 110, 253, 0.12),
		rgba(255, 255, 255, 0.02)
	);
}

.bio-quote {
	position: relative;
	margin: 3px 0 0;
	padding: 20px 20px 20px 55px;
	border: 1px solid rgba(253, 239, 2, 0.18);
	border-radius: 10px;
	background: rgba(253, 239, 2, 0.055);
}

.bio-quote i {
	position: absolute;
	top: 21px;
	left: 20px;
	font-size: 21px;
	color: var(--bio-yellow);
	opacity: 0.82;
}

.bio-quote p {
	margin: 0;
	font-size: 17px;
	font-weight: 650;
	font-style: italic;
	line-height: 1.55;
	color: #fff;
}

.bio-empty {
	margin: 28px 0 0;
	padding: 18px;
	border: 1px solid var(--bio-line);
	border-radius: 10px;
	color: rgba(255, 255, 255, 0.64);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767px) {
	.bio-card {
		margin: 8px 0;
		padding: 0 20px 24px;
		border-radius: 12px;
	}

	.bio-social-bar {
		margin: 0 -20px 26px;
		padding: 17px 20px;
	}

	.bio-group + .bio-group {
		margin-top: 26px;
		padding-top: 25px;
	}

	.bio-content {
		font-size: 15px;
	}
}

@media (max-width: 420px) {
	.bio-social-label {
		font-size: 14px;
	}

	.bio-socials a {
		width: 39px;
		height: 39px;
	}

	.bio-group__heading {
		gap: 10px;
	}

	.bio-group__heading h2 {
		font-size: 19px;
	}

	.bio-item {
		padding: 14px 14px 15px 17px;
	}

	.bio-quote {
		padding: 18px 16px 18px 48px;
	}

	.bio-quote i {
		top: 19px;
		left: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bio-socials a {
		transition: none;
	}
}

/* =========================================================
   PROFIL ZAWODNIKA — PRAWA KOLUMNA / STATYSTYKI
========================================================= */

.player-bio-stats {
	--stats-bg: #031329;
	--stats-bg-light: #061c38;
	--stats-blue: #0d6efd;
	--stats-blue-light: #2d8cff;
	--stats-yellow: #fdef02;
	--stats-red: #ef3340;
	--stats-line: rgba(255, 255, 255, 0.09);
	--stats-muted: rgba(255, 255, 255, 0.54);

	display: flex;
	flex-direction: column;
	gap: 20px;

	margin: 10px;
}

/* =========================================================
   GŁÓWNA KARTA
========================================================= */

.player-bio-stats-card {
	position: relative;
	isolation: isolate;
	overflow: hidden;

	min-height: 500px;

	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 14px;

	color: #fff;

	background:
		radial-gradient(
			circle at 78% 30%,
			rgba(13, 110, 253, 0.18),
			transparent 35%
		),
		linear-gradient(145deg, #031329 0%, #061c38 55%, #04162d 100%);

	box-shadow: 0 22px 55px rgba(0, 0, 0, 0.34);
}

/* =========================================================
   SUBTELNY NIEBIESKI GLOW
========================================================= */

.player-bio-stats-card::before {
	content: "";

	position: absolute;
	z-index: -3;

	top: -160px;
	right: -140px;

	width: 430px;
	height: 430px;

	border-radius: 50%;

	background: rgba(13, 110, 253, 0.14);

	filter: blur(10px);

	pointer-events: none;
}

/* =========================================================
   SIATKA TECHNICZNA
========================================================= */

.player-bio-stats-card::after {
	content: "";

	position: absolute;
	inset: 0;

	z-index: -2;

	pointer-events: none;

	background:
		linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);

	background-size: 32px 32px;

	-webkit-mask-image: linear-gradient(
		90deg,
		transparent 0%,
		rgba(0, 0, 0, 0.25) 30%,
		#000 100%
	);

	mask-image: linear-gradient(
		90deg,
		transparent 0%,
		rgba(0, 0, 0, 0.25) 30%,
		#000 100%
	);

	opacity: 0.7;
}

/* =========================================================
   HEADER
========================================================= */

.stats-card__header {
	position: relative;
	z-index: 5;

	display: flex;
	align-items: flex-end;
	justify-content: space-between;

	gap: 20px;

	padding: 27px 28px 23px;

	border-bottom: 1px solid var(--stats-line);

	background: linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent);
}

/* =========================================================
   EYEBROW
========================================================= */

.stats-card__eyebrow {
	position: relative;

	display: inline-flex;
	align-items: center;

	margin-bottom: 8px;
	padding-left: 17px;

	font-size: 11px;
	font-weight: 900;
	line-height: 1;

	letter-spacing: 0.17em;
	text-transform: uppercase;

	color: var(--stats-yellow);
}

.stats-card__eyebrow::before {
	content: "";

	position: absolute;

	left: 0;
	top: 50%;

	width: 9px;
	height: 9px;

	transform: translateY(-50%);

	border-radius: 2px;

	background: var(--stats-yellow);

	box-shadow: 0 0 15px rgba(253, 239, 2, 0.25);
}

/* =========================================================
   SEZON
========================================================= */

.stats-card__heading h2 {
	margin: 0;

	font-family: "Outfit", sans-serif;

	font-size: clamp(27px, 3vw, 37px);
	font-weight: 850;
	line-height: 0.95;

	letter-spacing: -0.045em;

	color: #fff;
}

/* =========================================================
   KLUB
========================================================= */

.stats-card__club {
	display: flex;
	flex-direction: column;
	align-items: center;

	gap: 4px;

	text-align: right;
}

.stats-card__club-label {
	font-size: 9px;
	font-weight: 850;

	letter-spacing: 0.15em;
	text-transform: uppercase;

	color: #ffff;
}

.stats-card__club strong {
    font-size: 12px;
    background: #fff101;
    border-radius: 9px;
    padding: 10px;
    font-weight: 750;
    color: #212529;
}

/* =========================================================
   BODY
========================================================= */

.stats-card__body {
	position: relative;
	z-index: 3;

	display: grid;

	grid-template-columns:
		minmax(0, 1.12fr)
		minmax(180px, 0.88fr);

	min-height: 390px;
}

/* =========================================================
   LEWA CZĘŚĆ BODY — STATYSTYKI
========================================================= */

.stats-card__numbers {
	position: relative;
	z-index: 4;

	display: flex;
	align-items: center;

	padding: 20px;
}

/* =========================================================
   GRID STATYSTYK
========================================================= */

.stats-grid {
	display: grid;

	grid-template-columns: repeat(2, minmax(0, 1fr));

	gap: 10px;

	width: 100%;
}

/* =========================================================
   POJEDYNCZA STATYSTYKA
========================================================= */

.stat-box {
	position: relative;

	display: flex;
	align-items: center;

	gap: 12px;

	min-height: 83px;

	padding: 13px 12px;

	overflow: hidden;

	border: 1px solid rgba(255, 255, 255, 0.075);
	border-radius: 9px;

	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.055),
		rgba(255, 255, 255, 0.018)
	);

	transition:
		transform 0.22s ease,
		border-color 0.22s ease,
		background 0.22s ease;
}

/* lewy akcent */

.stat-box::before {
	content: "";

	position: absolute;

	top: 13px;
	bottom: 13px;
	left: 0;

	width: 2px;

	border-radius: 0 3px 3px 0;

	background: var(--stats-blue-light);

	opacity: 0.8;
}

/* subtelny highlight */

.stat-box::after {
	content: "";

	position: absolute;

	top: 0;
	right: 0;

	width: 50px;
	height: 50px;

	background: radial-gradient(
		circle at 100% 0%,
		rgba(13, 110, 253, 0.11),
		transparent 68%
	);

	pointer-events: none;
}

.stat-box:hover {
	transform: translateY(-2px);

	border-color: rgba(45, 140, 255, 0.27);

	background: linear-gradient(
		135deg,
		rgba(13, 110, 253, 0.09),
		rgba(255, 255, 255, 0.025)
	);
}

/* =========================================================
   IKONA
========================================================= */

.stat-icon {
	position: relative;
	z-index: 2;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	flex: 0 0 39px;

	width: 39px;
	height: 39px;

	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 8px;

	background: rgba(0, 0, 0, 0.21);

	color: var(--stats-yellow);

	font-size: 16px;
}

.stat-icon i {
	line-height: 1;
}

/* =========================================================
   CONTENT STATYSTYKI
========================================================= */

.stat-box__content {
	position: relative;
	z-index: 2;

	display: flex;
	flex-direction: column;

	min-width: 0;
}

/* =========================================================
   WARTOŚĆ
========================================================= */

.stat-value {
	display: block;

	margin: 0 0 3px;

	font-family: "Outfit", sans-serif;

	font-size: clamp(26px, 2.7vw, 34px);
	font-weight: 850;
	line-height: 0.9;

	letter-spacing: -0.045em;

	color: #fff;
}

/* =========================================================
   LABEL
========================================================= */

.stat-label {
	display: block;

	font-size: 9px;
	font-weight: 800;
	line-height: 1.2;

	letter-spacing: 0.08em;
	text-transform: uppercase;

	color: var(--stats-muted);
}

/* =========================================================
   KARTKI
========================================================= */

.stat-icon--yellow-card,
.stat-icon--red-card {
	background: rgba(0, 0, 0, 0.21);
}

.stat-card-symbol {
	display: block;

	width: 13px;
	height: 19px;

	border-radius: 2px;

	transform: rotate(7deg);

	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.stat-icon--yellow-card .stat-card-symbol {
	background: #fdef02;
}

.stat-icon--red-card .stat-card-symbol {
	background: #ef3340;
}

/* =========================================================
   CIESZYNKA — PRAWA STRONA
========================================================= */

.stats-card__player {
	position: relative;
	z-index: 2;

	min-width: 0;

	pointer-events: none;
}

/* delikatne światło za zawodnikiem */

.stats-card__player-glow {
	position: absolute;

	z-index: -1;

	top: 50%;
	left: 50%;

	width: 270px;
	height: 270px;

	transform: translate(-50%, -48%);

	border-radius: 50%;

	background: radial-gradient(
		circle,
		rgba(13, 110, 253, 0.27) 0%,
		rgba(13, 110, 253, 0.09) 43%,
		transparent 70%
	);

	filter: blur(4px);
}

/* =========================================================
   ZDJĘCIE ZAWODNIKA
========================================================= */

.stats-card__player-photo {
	position: absolute;

	z-index: 3;

	right: -18px;
	bottom: 0;

	width: auto;
	max-width: none;

	height: 104%;

	object-fit: contain;
	object-position: bottom center;

	filter: drop-shadow(-15px 8px 24px rgba(0, 0, 0, 0.38));
}

/* =========================================================
   DELIKATNY GRADIENT PRZED ZAWODNIKIEM
========================================================= */

.stats-card__player::after {
	content: "";

	position: absolute;

	z-index: 4;

	inset: 0;

	pointer-events: none;

	background: linear-gradient(
		90deg,
		var(--stats-bg) 0%,
		rgba(3, 19, 41, 0.36) 18%,
		transparent 47%
	);
}

/* =========================================================
   WATERMARK
========================================================= */

.stats-card__watermark {
	position: absolute !important;

	z-index: 0 !important;

	right: -16px;
	top: 90px;

	font-family: "Outfit", sans-serif;

	font-size: 150px;
	font-weight: 900;
	line-height: 1;

	letter-spacing: -0.08em;

	color: transparent;

	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.035);

	text-stroke: 1px rgba(255, 255, 255, 0.035);

	transform: rotate(-90deg);

	transform-origin: center;

	pointer-events: none;

	user-select: none;
}

/* =========================================================
   WERSJA BEZ CIESZYNKI
========================================================= */

.stats-card--no-photo .stats-card__body {
	grid-template-columns: 1fr;
}

.stats-card--no-photo .stats-card__numbers {
	padding-right: 28px;
}

.stats-card--no-photo .stats-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* =========================================================
   DRUGA KARTA / HISTORIA — POD KOLEJNY ETAP
========================================================= */

.player-bio-stats-card-more {
	position: relative;
	isolation: isolate;
	overflow: hidden;

	padding: 24px;

	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;

	background: linear-gradient(145deg, #031329, #061c38);

	color: #fff;

	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

/* =========================================================
   HISTORIA
========================================================= */

.stats-history {
	overflow: hidden;

	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 10px;

	background: rgba(0, 0, 0, 0.18);
}

/* =========================================================
   WIERSZ SEZONU
========================================================= */

.season-row {
	display: grid;

	grid-template-columns:
		90px
		minmax(0, 1fr)
		60px
		80px;

	align-items: center;

	padding: 13px 16px;

	border-bottom: 1px solid rgba(255, 255, 255, 0.07);

	font-size: 14px;

	color: rgba(255, 255, 255, 0.88);

	transition: background 0.2s ease;
}

.season-row:hover {
	background: rgba(255, 255, 255, 0.035);
}

.season-row:last-child {
	border-bottom: 0;
}

.season-row span {
	font-weight: 550;

	color: rgba(255, 255, 255, 0.88);
}

.season-row span:first-child {
	font-weight: 800;

	color: var(--stats-yellow);
}

/* =========================================================
   INFO / STATS BLOCK
========================================================= */

.info-block,
.stats-block {
	overflow: hidden;

	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 10px;

	background: rgba(0, 0, 0, 0.18);
}

.info-block .row,
.stats-block .row {
	display: flex;

	align-items: center;
	justify-content: space-between;

	gap: 20px;

	padding: 13px 16px;

	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.info-block .row:last-child,
.stats-block .row:last-child {
	border-bottom: 0;
}

.info-block .row.full {
	flex-direction: column;
	align-items: flex-start;

	gap: 7px;
}

.info-block span,
.stats-block span {
	font-size: 13px;
	font-weight: 700;

	color: rgba(255, 255, 255, 0.55);
}

.info-block strong,
.stats-block strong {
	font-size: 14px;
	font-weight: 750;

	color: #fff;
}

/* =========================================================
   KLUBY
========================================================= */

.clubs {
	margin-top: 8px;
	padding-left: 0;

	font-size: 14px;
	font-weight: 650;
	line-height: 1.55;

	color: rgba(255, 255, 255, 0.9);
}

/* =========================================================
   NAGŁÓWEK DODATKOWEJ SEKCJI
========================================================= */

.stat-header {
	position: relative;

	margin: 24px 0 12px;

	padding: 14px 0 0 14px;

	border-top: 1px solid var(--stats-line);

	font-size: 12px;
	font-weight: 900;

	letter-spacing: 0.08em;
	text-transform: uppercase;

	color: #fff;
}

.stat-header::before {
	content: "";

	position: absolute;

	left: 0;
	bottom: 1px;

	width: 3px;
	height: 14px;

	border-radius: 0 3px 3px 0;

	background: var(--stats-yellow);
}

.stats-block .row.stats {
	font-size: 14px;
}

/* =========================================================
   RESPONSIVE — MNIEJSZY DESKTOP / TABLET
========================================================= */

@media (max-width: 1199px) {
	.stats-card__body {
		grid-template-columns:
			minmax(0, 1.15fr)
			minmax(145px, 0.85fr);
	}

	.stats-card__numbers {
		padding-left: 22px;
	}

	.stats-card__player-photo {
		right: -35px;
		height: 96%;
	}

	.stat-box {
		gap: 9px;
		padding-left: 10px;
		padding-right: 8px;
	}

	.stat-icon {
		flex-basis: 34px;

		width: 34px;
		height: 34px;

		font-size: 14px;
	}
}

/* =========================================================
   RESPONSIVE — BOOTSTRAP MD
========================================================= */

@media (max-width: 991px) {
	.stats-card__header {
		padding: 23px 22px 20px;
	}

	.stats-card__body {
		grid-template-columns: 1fr;
	}

	.stats-card__numbers {
		padding: 22px;
	}

	.stats-card__watermark {
		right: -30px;
		opacity: 0.8;
	}

	.stats-card__player {
		height: 230px;
	}

	.stats-card__player-photo {
		height: 225px;
	}

	.stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.stats-card--no-photo .stats-card__numbers {
		padding-right: 22px;
	}

	.stats-card--no-photo .stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 767px) {
	.player-bio-stats {
		margin: 8px 0;

		gap: 16px;
	}

	.player-bio-stats-card,
	.player-bio-stats-card-more {
		border-radius: 12px;
	}

	.player-bio-stats-card {
		min-height: auto;
	}

	.stats-card__header {
		padding: 21px 20px 19px;
	}

	.stats-card__numbers {
		padding: 20px;
	}

	.stats-card__heading h2 {
		font-size: 28px;
	}
}

/* =========================================================
   RESPONSIVE — MAŁY MOBILE
========================================================= */

@media (max-width: 480px) {
	.stats-card__header {
		align-items: flex-start;
		flex-direction: column;

		gap: 13px;

		padding: 19px 16px 17px;
	}

	.stats-card__club {
		align-items: flex-start;

		text-align: left;
	}

	.stats-card__numbers {
		padding: 16px;
	}

	.stats-grid {
		gap: 8px;
	}

	.stat-box {
		min-height: 76px;

		gap: 8px;

		padding: 11px 8px;
	}

	.stat-icon {
		flex: 0 0 31px;

		width: 31px;
		height: 31px;

		border-radius: 7px;

		font-size: 13px;
	}

	.stat-card-symbol {
		width: 10px;
		height: 16px;
	}

	.stat-value {
		font-size: 25px;
	}

	.stat-label {
		font-size: 8px;
		letter-spacing: 0.055em;
	}

	.stats-card__watermark {
		display: none;
	}

	.player-bio-stats-card-more {
		padding: 20px 16px 18px;
	}

	.season-row {
		grid-template-columns:
			62px
			minmax(0, 1fr)
			42px
			55px;

		gap: 5px;

		padding: 11px 10px;

		font-size: 12px;
	}
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
	.stat-box {
		transition: none;
	}
}

/* =========================================================
   STATYSTYKI — MOBILE
   Nagłówek → cieszynka → statystyki
========================================================= */

@media (max-width: 767px) {
	.player-bio-stats-card {
		min-height: 0;
	}

	.stats-card__header {
		padding: 20px;
	}

	.stats-card__body {
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	/* CIESZYNKA NA GÓRZE */

	.stats-card__player {
		display: block;
		order: 1;

		position: relative;

		width: 100%;
		height: 190px;

		overflow: hidden;

		border-bottom: 1px solid rgba(255, 255, 255, 0.07);

		background: radial-gradient(
			circle at 50% 70%,
			rgba(13, 110, 253, 0.2),
			transparent 55%
		);
	}

	.stats-card__player-photo {
		position: absolute;

		right: 50%;
		bottom: 0;

		max-width: none;

		transform: translateX(50%);

		object-fit: contain;
		object-position: bottom center;

		filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
	}

	.stats-card__player-glow {
		top: 55%;
		left: 50%;

		width: 210px;
		height: 210px;

		transform: translate(-50%, -50%);
	}

	.stats-card__player::after {
		display: none;
	}

	/* STATYSTYKI POD ZDJĘCIEM */

	.stats-card__numbers {
		order: 2;

		display: block;

		padding: 18px 20px 20px;
	}

	.stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));

		gap: 9px;
	}
}

/* =========================================================
   MAŁY TELEFON
========================================================= */

@media (max-width: 480px) {
	.stats-card__header {
		display: flex;
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;

		gap: 15px;

		padding: 18px 16px 16px;
	}

	.stats-card__club {
		align-items: flex-end;
		text-align: right;
	}

	.stats-card__numbers {
		padding: 15px 16px 17px;
	}

	.stats-grid {
		gap: 8px;
	}

	.stat-box {
		min-height: 74px;

		padding: 10px;
	}
}
