html {
	scroll-behavior: smooth;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--bg-primary: #02061c;
	--bg-secondary: #191d38;
	--bg-light: #fff7f2;
	--text-light: #ccc;
	--text-white: #fff;
	--accent-orange: #ff6901;
	--border-color: rgba(204, 204, 204, 0.2);
	--gold: #ffd700;
	--silver: #c0c0c0;
	--bronze: #cd7f32;
}

body {
	font-family: "Roboto Condensed", sans-serif;
	background-color: var(--bg-primary);
	color: var(--text-white);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* Header/Navigation */
header {
	background-color: var(--bg-primary);
	padding: 20px 0 0 0;
	border-bottom: 1px solid var(--border-color);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
}

.header-banner {
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #EE8031;
	height:  60px;
}


.header-banner img {
	width: 100%;
	max-width: 1400px;
	height: 100%;
	margin: 0 auto;
	object-fit: cover;
}

.header-banner picture {
	width: 100%;
	max-width: 1400px;
	height: 100%;
	margin: 0 auto;
	object-fit: cover;
}

@media (min-width: 1440px) {
	.header-banner img {
		padding: 0 40px;
	}
}

@media (max-width: 978px) {
	.header-banner img {
		padding: 0;
	}
}

@media (max-width: 768px) {
	.header-banner img {
		object-fit: contain;
	}
}

.header-content {
	max-width: 1400px;
	padding: 0 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 auto 40px auto;
}

.logo-section {
	display: flex;
	align-items: center;
	gap: 30px;
}

.logo {
	cursor: pointer;
	width: 139px;
	height: 38px;
	font-size: 20px;
	font-weight: 700;
	color: var(--text-white);
	text-transform: uppercase;
	letter-spacing: 2px;
	text-decoration: none;
}

.divider {
	width: 1px;
	height: 30px;
	background: var(--border-color);
}

.sklep-logo {
	text-decoration: none;
	font-size: 14px;
	opacity: 0.9;
	width: 102px;
	height: 32px;
	transition: opacity 0.3s;
}

.sklep-logo:hover {
	opacity: 1;
}

nav {
	display: flex;
	align-items: center;
	gap: 40px;
}

.nav-links {
	display: flex;
	gap: 30px;
	align-items: center;
}

.edition-badge {
	color: var(--accent-orange);
	font-size: 14px;
	font-weight: 600;
}

nav a {
	color: var(--text-light);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s;
	text-transform: lowercase;
}

nav a:hover {
	color: var(--text-white);
}

.editions-dropdown {
	position: relative;
	padding: 10px 20px;
	border: 1px solid var(--text-light);
	border-radius: 8px;
	cursor: pointer;
	font-size: 14px;
	color: var(--text-white);
}

/* Main Content */
main {
	flex: 1;
	margin-top: 100px;
	padding: 60px 20px;
}

.ranking-container {
	max-width: 1400px;
	margin: 0 auto;
}

.ranking-title {
	text-align: center;
	margin-bottom: 20px;
}

.ranking-title h1 {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--text-light);
	font-weight: 400;
	margin-bottom: 10px;
}

.ranking-title h2 {
	font-size: 48px;
	font-weight: 900;
	color: var(--text-white);
	text-transform: uppercase;
	margin-bottom: 40px;
}

.update-info {
	text-align: center;
	color: var(--text-light);
	font-size: 13px;
	margin-bottom: 60px;
}

.update-time {
	color: var(--accent-orange);
	font-weight: 600;
}

/* Top 3 Podium */
.top-three {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	gap: 30px;
	margin-bottom: 80px;
	padding: 0 20px;
}

.podium-place {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}

.podium-place.first {
	order: 2;
}

.podium-place.second {
	order: 1;
}

.podium-place.third {
	order: 3;
}

.podium-photo {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid;
	margin-bottom: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.podium-place.first .podium-photo {
	width: 150px;
	height: 150px;
	border-color: var(--gold);
}

.podium-place.second .podium-photo {
	border-color: var(--silver);
}

.podium-place.third .podium-photo {
	border-color: var(--bronze);
}

.podium-rank {
	position: absolute;
	top: -10px;
	right: -10px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 900;
	color: var(--bg-primary);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.podium-place.first .podium-rank {
	background: var(--gold);
	width: 50px;
	height: 50px;
	font-size: 24px;
}

.podium-place.second .podium-rank {
	background: var(--silver);
}

.podium-place.third .podium-rank {
	background: var(--bronze);
}

.podium-name {
	font-size: 18px;
	font-weight: 700;
	color: var(--text-white);
	margin-bottom: 10px;
	text-align: center;
}

.podium-place.first .podium-name {
	font-size: 22px;
}

.podium-score {
	font-size: 14px;
	color: var(--text-light);
}

.podium-total {
	font-size: 24px;
	font-weight: 900;
	color: var(--accent-orange);
}

.podium-place.first .podium-total {
	font-size: 28px;
}

/* Participants List */
.participants-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	padding: 0 20px;
}

.participant-item {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 20px;
	display: flex;
	gap: 20px;
	align-items: center;
	transition: all 0.3s;
}

.participant-rank {
	font-size: 24px;
	font-weight: 900;
	color: var(--text-light);
	min-width: 40px;
	text-align: center;
}

.participant-photo {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--border-color);
	flex-shrink: 0;
}

.participant-info {
	flex: 1;
}

.participant-name {
	font-size: 18px;
	font-weight: 700;
	color: var(--text-white);
	margin-bottom: 12px;
}

.fish-bars {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fish-bar-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.fish-label {
	font-size: 11px;
	text-transform: uppercase;
	color: var(--text-light);
	min-width: 70px;
	letter-spacing: 0.5px;
}

.fish-bar {
	flex: 1;
	height: 6px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 3px;
	overflow: hidden;
	position: relative;
}

.fish-bar-fill {
	height: 100%;
	background: var(--accent-orange);
	border-radius: 3px;
	transition: width 1s ease-out;
}

.fish-value {
	font-size: 13px;
	font-weight: 700;
	color: var(--text-white);
	min-width: 45px;
	text-align: right;
}

.participant-total {
	text-align: right;
	margin-top: 8px;
}

.total-label {
	font-size: 11px;
	color: var(--text-light);
	text-transform: uppercase;
}

.total-value {
	font-size: 20px;
	font-weight: 900;
	color: var(--accent-orange);
}

/* Footer */
.footer {
	max-width: 1400px;
	background-color: var(--bg-primary);
	align-items: center;
	width: 100%;
	border-top: 1px solid var(--border-color);
	margin: 0 auto;
	margin-top: 80px;
}

.footer__content {
	padding: 144px 48px 48px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 96px;
}

.footer__upper {
	display: flex;
	gap: 64px;
	width: 100%;
	justify-content: space-between;
	flex-wrap: wrap;
}

.footer__left-side {
	display: flex;
	flex-direction: column;
	gap: 96px;
}

.footer__main-logo {
	width: 360px;
	height: 99px;
	margin-top: -35px;
	cursor: pointer;
}

.footer__tagline-text {
	color: var(--accent-orange);
	text-transform: uppercase;
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 15px;
}

.footer__nav-links {
	display: flex;
	gap: 25px;
}

.footer__nav-link {
	font-weight: 500;
	text-transform: uppercase;
	font-size: 18px;
	color: var(--text-white);
	text-decoration: none;
}

.footer__nav-link:hover {
	text-decoration: underline;
}

.footer__right-side {
	display: flex;
	flex-wrap: wrap;
	gap: 64px;
}

.store-section {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.store-section__logo {
	display: block;
}

.store-section__logo svg {
	width: 130px;
	height: 46px;
}

.store-section__description-text {
	font-size: 16px;
	font-weight: 600;
}

.store-section__description-text--highlight {
	color: var(--accent-orange);
}

.social-links {
	display: flex;
	justify-content: flex-start;
	gap: 20px;
	flex: 1 1 auto;
	margin: 0;
}

.social-links__item {
	display: flex;
	align-items: center;
	justify-content: center;
}

.social-links__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	text-decoration: none;
	color: var(--text-light);
	font-size: 20px;
	transition: all 0.3s;
}

.social-links__link:hover {
	border-color: var(--accent-orange);
	color: var(--accent-orange);
}

.social-links__link svg {
	width: 24px;
	height: 24px;
}

.social-links__link--facebook {
	width: 16px;
	height: 16px;
}


.social-links__icon-container svg {
	max-height: 40px;
}

.button {
	padding: 14px 20px;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--text-white);
	font-weight: 600;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid var(--text-white);
	border-radius: 8px;
	gap: 8px;
	transition: all 0.3s;
}

.button:hover {
	color: var(--bg-primary);
	background-color: var(--text-white);
	border: 1px solid var(--bg-primary);
}

.button:hover .external-svg {
	fill: var(--bg-primary);
}

.external-svg {
	fill: var(--text-white);
	width: 20px;
	height: 20px;
}

.footer__caption {
	display: flex;
	align-items: center;
	width: 100%;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.footer__legal-links {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	text-decoration: none;
}

.footer__legal-link {
	color: var(--text-light);
	text-decoration: none;
	transition: 0.3s;
}

.footer__legal-link:hover {
	text-decoration: underline;
	color: var(--text-white);
}

.footer__credits {
	display: flex;
	align-items: center;
	gap: 24px;
}

.footer__copyright-text {
	color: var(--text-light);
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	text-decoration: none;
}

.footer__developer-credit {
	width: 96px;
	height: 36px;
}

.footer__developer-logo-container {
	width: 96px;
	height: 36px;
}

.loading {
	text-align: center;
	padding: 100px 20px;
	color: var(--text-light);
	font-size: 18px;
}

/* Responsive */
@media (max-width: 1050px) {
	.footer__left-side {
		gap: 46px;
	}
}

@media (max-width: 1024px) {
	.participants-list {
		grid-template-columns: 1fr;
	}
	
	.top-three {
		flex-wrap: wrap;
	}
}

@media (max-width: 768px) {
	.header-content {
		flex-direction: column;
		gap: 20px;
		padding: 0 20px;
	}
	
	nav {
		flex-direction: column;
		gap: 20px;
	}
	
	.nav-links {
		flex-direction: column;
		gap: 15px;
	}
	
	.ranking-title h2 {
		font-size: 32px;
	}
	
	.podium-place {
		order: unset !important;
	}
	
	.participants-list {
		grid-template-columns: 1fr;
	}
	
	.footer__main-logo {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.participant-item {
		flex-direction: column;
	}
	
	.participant-info {
		width: 100%;
	}
}

@media (max-width: 420px) {
	.top-three {
		flex-direction: column;
		align-items: center;
	}
}