:root {
	--violet: #6D28D9;
	--violet-dark: #4C1D95;
	--white: #FFFFFF;
	--text: #1F2937;
	--lilac: #A78BFA;
	--bg-soft: #F6F3FF;
	--shadow: 0 18px 55px rgba(76, 29, 149, 0.12);
	--shadow-strong: 0 28px 80px rgba(76, 29, 149, 0.2);
	--radius-md: 16px;
	--radius-lg: 24px;
	--nav-height: 82px;
	--transition-smooth: 0.3s ease;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Manrope", sans-serif;
	color: var(--text);
	background:
		radial-gradient(circle at top left, rgba(167, 139, 250, 0.14), transparent 24%),
		radial-gradient(circle at 85% 10%, rgba(109, 40, 217, 0.08), transparent 22%),
		linear-gradient(180deg, rgba(248, 244, 255, 0.96) 0%, rgba(245, 240, 255, 0.94) 100%);
	line-height: 1.6;
	min-height: 100vh;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	list-style: none;
}

.container {
	width: min(1120px, 92%);
	margin: 0 auto;
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(167, 139, 250, 0.18);
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05), 0 0 24px rgba(167, 139, 250, 0.08);
}

.navbar {
	min-height: var(--nav-height);
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1.4rem;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	justify-self: start;
}

.logo-image {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: var(--shadow);
	flex-shrink: 0;
}

.brand-title {
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(1.65rem, 2vw, 2.15rem);
	line-height: 1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: linear-gradient(120deg, var(--violet-dark) 0%, var(--violet) 50%, var(--lilac) 100%);
	background-size: 180% 180%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: brand-jump 1.55s cubic-bezier(0.25, 1.15, 0.45, 1) infinite, brand-shimmer 4.2s linear infinite;
	transform-origin: center bottom;
	text-shadow: 0 0 24px rgba(167, 139, 250, 0.12);
}

.logo-text {
	font-weight: 800;
	font-size: 1rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	justify-self: center;
	padding: 0.45rem;
	border: 1px solid rgba(167, 139, 250, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 12px 35px rgba(76, 29, 149, 0.08), 0 0 18px rgba(167, 139, 250, 0.08);
}

.nav-links a {
	position: relative;
	font-weight: 600;
	font-size: 0.95rem;
	color: #2d3748;
	padding: 0.55rem 0.95rem;
	border-radius: 999px;
	transition: color var(--transition-smooth), background var(--transition-smooth), transform var(--transition-smooth);
}

.nav-links a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -0.35rem;
	width: 0;
	height: 2px;
	background: var(--violet);
	transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
	width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
	background: rgba(109, 40, 217, 0.08);
	color: var(--violet-dark);
	transform: translateY(-1px);
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(109, 40, 217, 0.25);
	background: rgba(255, 255, 255, 0.82);
	border-radius: 10px;
	padding: 0.65rem;
	cursor: pointer;
	justify-self: end;
	box-shadow: 0 10px 24px rgba(76, 29, 149, 0.12);
}

@keyframes brand-jump {
	0% {
		transform: translateY(0);
	}
	18% {
		transform: translateY(-3px) scaleY(1.01);
	}
	32% {
		transform: translateY(-5px) scaleY(1.015);
	}
	48% {
		transform: translateY(-1px) scaleY(0.99);
	}
	60% {
		transform: translateY(-3px) scaleY(1.005);
	}
	78% {
		transform: translateY(0) scaleY(0.995);
	}
	100% {
		transform: translateY(0);
	}
}

@keyframes brand-shimmer {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.menu-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--violet-dark);
}

.menu-toggle span + span {
	margin-top: 0.35rem;
}

.hero {
	min-height: 100vh;
	padding-top: calc(var(--nav-height) + 6rem);
	padding-bottom: 6.5rem;
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 22% 28%, rgba(167, 139, 250, 0.24), transparent 28%),
		radial-gradient(circle at 85% 12%, rgba(109, 40, 217, 0.3), transparent 34%),
		radial-gradient(circle at 55% 78%, rgba(167, 139, 250, 0.12), transparent 24%),
		linear-gradient(145deg, #f7f2ff 0%, #ffffff 42%, #f4eeff 100%);
}

.hero::before,
.hero::after {
	content: "";
	position: absolute;
	inset: auto;
	pointer-events: none;
	z-index: 0;
}

.hero::before {
	width: 620px;
	height: 620px;
	left: -120px;
	top: 130px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(109, 40, 217, 0.12) 0%, rgba(109, 40, 217, 0.02) 45%, transparent 72%);
	filter: blur(10px);
}

.hero::after {
	width: 100%;
	height: 1px;
	left: 0;
	bottom: 0;
	background: linear-gradient(90deg, transparent, rgba(109, 40, 217, 0.22), transparent);
}

.hero-bg-shape {
	position: absolute;
	border-radius: 50%;
	filter: blur(6px);
	pointer-events: none;
}

.shape-1 {
	width: 360px;
	height: 360px;
	background: rgba(109, 40, 217, 0.1);
	top: -100px;
	right: -90px;
}

.shape-2 {
	width: 220px;
	height: 220px;
	border: 18px solid rgba(167, 139, 250, 0.2);
	bottom: 70px;
	right: 20%;
}

.shape-3 {
	width: 280px;
	height: 280px;
	background: rgba(76, 29, 149, 0.08);
	bottom: -140px;
	left: -60px;
}

.hero-content {
	position: relative;
	z-index: 1;
	max-width: 860px;
	animation: hero-fade-up 0.95s cubic-bezier(0.22, 1, 0.36, 1);
	filter: drop-shadow(0 0 24px rgba(167, 139, 250, 0.08));
}

.hero-inner {
	min-height: 62vh;
	padding-top: calc(var(--nav-height) + 4.6rem);
	padding-bottom: 4rem;
}

.hero-inner h1 {
	font-size: clamp(3.3rem, 7vw, 5.8rem);
}

.hero-inner .hero-description {
	max-width: 760px;
}

.hero-title-row {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	margin-left: -0.6rem;
}

.hero-logo-image {
	width: clamp(72px, 9vw, 96px);
	height: clamp(72px, 9vw, 96px);
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 24px 45px rgba(109, 40, 217, 0.25);
	border: 3px solid rgba(255, 255, 255, 0.58);
	flex-shrink: 0;
}

.hero-kicker,
.section-kicker {
	display: inline-block;
	background: rgba(109, 40, 217, 0.08);
	color: var(--violet-dark);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	padding: 0.48rem 0.9rem;
	border-radius: 999px;
	margin-bottom: 0.9rem;
	border: 1px solid rgba(167, 139, 250, 0.28);
	box-shadow: 0 10px 30px rgba(109, 40, 217, 0.08);
}

h1,
h2,
h3,
h4 {
	line-height: 1.15;
}

h1 {
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(4.4rem, 10vw, 8rem);
	letter-spacing: 0.04em;
	color: var(--violet-dark);
	text-shadow:
		0 15px 40px rgba(109, 40, 217, 0.16),
		0 0 18px rgba(167, 139, 250, 0.24),
		0 0 42px rgba(109, 40, 217, 0.12);
}

.hero h2 {
	margin-top: 0.55rem;
	max-width: 680px;
	font-size: clamp(1.45rem, 3vw, 2.25rem);
	font-weight: 700;
	color: #2d1b69;
}

.hero-description {
	margin-top: 1.35rem;
	max-width: 690px;
	font-size: 1.1rem;
	color: rgba(31, 41, 55, 0.88);
}

.hero-actions {
	margin-top: 2.3rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.hero-helper {
	margin-top: 1rem;
	max-width: 700px;
	font-size: 1rem;
	font-weight: 600;
	color: #4c1d95;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	padding: 0.96rem 1.55rem;
	font-weight: 700;
	border: 2px solid transparent;
	letter-spacing: 0.01em;
	transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), background var(--transition-smooth), border-color var(--transition-smooth), color var(--transition-smooth);
	position: relative;
}

.btn:hover {
	transform: translateY(-3px) scale(1.02);
}

.btn-primary {
	background: linear-gradient(135deg, #7c3aed 0%, var(--violet) 45%, var(--violet-dark) 100%);
	color: var(--white);
	box-shadow: 0 16px 30px rgba(109, 40, 217, 0.3), 0 0 20px rgba(167, 139, 250, 0.14);
}

.btn-primary:hover {
	box-shadow:
		0 18px 34px rgba(109, 40, 217, 0.42),
		0 0 18px rgba(167, 139, 250, 0.3),
		0 0 42px rgba(109, 40, 217, 0.18);
}

.btn-outline {
	border-color: rgba(109, 40, 217, 0.22);
	color: var(--violet-dark);
	background: rgba(255, 255, 255, 0.82);
	box-shadow: 0 12px 28px rgba(76, 29, 149, 0.08), 0 0 16px rgba(167, 139, 250, 0.08);
}

.btn-outline:hover {
	background: rgba(167, 139, 250, 0.18);
	border-color: rgba(109, 40, 217, 0.35);
	box-shadow: 0 16px 30px rgba(76, 29, 149, 0.12), 0 0 20px rgba(167, 139, 250, 0.18);
}

.section {
	padding: 7.5rem 0;
	scroll-margin-top: calc(var(--nav-height) + 14px);
}

.section-soft {
	background:
		linear-gradient(180deg, rgba(243, 236, 255, 0.58) 0%, rgba(245, 240, 255, 0.42) 100%);
}

.section-heading {
	max-width: 820px;
	margin-bottom: 3rem;
	position: relative;
}

.section-heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1.1rem;
	width: 92px;
	height: 3px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(109, 40, 217, 0.95), rgba(167, 139, 250, 0.95));
	box-shadow: 0 0 14px rgba(109, 40, 217, 0.18);
}

.section-heading h3 {
	font-size: clamp(2.2rem, 4.6vw, 3.35rem);
	font-weight: 800;
	margin-bottom: 1rem;
	color: #111827;
}

.section-heading p {
	font-size: 1.08rem;
	color: rgba(31, 41, 55, 0.84);
}

.micro-note {
	font-size: 0.88rem;
	color: #6b7280;
	margin-top: 0.45rem;
}

.micro-note-inline {
	font-size: 0.86rem;
	color: #6b7280;
	font-weight: 600;
}

.info-grid,
.format-grid,
.community-grid,
.sponsor-grid,
.numbers-grid {
	display: grid;
	gap: 1.4rem;
}

.info-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.format-grid,
.community-grid,
.sponsor-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.numbers-grid {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.info-card,
.format-card,
.community-card,
.number-card,
.sponsor-card,
.sponsor-form-wrapper,
.contacts-wrap {
	background: var(--white);
	border: 1px solid rgba(167, 139, 250, 0.26);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

.info-card,
.format-card,
.community-card,
.number-card,
.sponsor-card {
	background:
		radial-gradient(circle at top left, rgba(167, 139, 250, 0.35), transparent 34%),
		linear-gradient(155deg, #7c3aed 0%, #6d28d9 42%, #5b21b6 72%, #4c1d95 100%);
	border: 1px solid rgba(255, 255, 255, 0.14);
	padding: 1.6rem;
	color: var(--white);
	position: relative;
	overflow: hidden;
	transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
	box-shadow: 0 18px 44px rgba(76, 29, 149, 0.16), 0 0 18px rgba(167, 139, 250, 0.08);
}

.info-card::before,
.format-card::before,
.community-card::before,
.number-card::before,
.sponsor-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(130deg, rgba(255, 255, 255, 0.16), transparent 38%, transparent 62%, rgba(255, 255, 255, 0.08));
	opacity: 0.75;
	pointer-events: none;
}

.info-card::after,
.format-card::after,
.community-card::after,
.number-card::after,
.sponsor-card::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	border: 1px solid rgba(255, 255, 255, 0.08);
	opacity: 0.35;
	pointer-events: none;
	transition: opacity var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.info-card:hover,
.format-card:hover,
.community-card:hover,
.number-card:hover,
.sponsor-card:hover {
	transform: translateY(-8px) scale(1.015);
	box-shadow: var(--shadow-strong), 0 0 22px rgba(167, 139, 250, 0.18), 0 0 54px rgba(109, 40, 217, 0.12);
	border-color: rgba(255, 255, 255, 0.28);
}

.info-card:hover::after,
.format-card:hover::after,
.community-card:hover::after,
.number-card:hover::after,
.sponsor-card:hover::after {
	opacity: 1;
	border-color: rgba(255, 255, 255, 0.9);
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.6),
		0 0 24px rgba(255, 255, 255, 0.4),
		0 0 48px rgba(255, 255, 255, 0.2);
}

.info-card h4,
.format-card h4,
.community-card h4,
.sponsor-card h4 {
	font-size: 1.15rem;
	font-weight: 800;
	margin-bottom: 0.7rem;
	color: var(--white);
	position: relative;
	z-index: 1;
}

.info-card p,
.format-card p,
.community-card p,
.sponsor-card p,
.sponsor-card ul,
.number-label,
.number {
	position: relative;
	z-index: 1;
}

.format-icon {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 0.95rem;
	font-weight: 800;
	color: var(--white);
	background: rgba(255, 255, 255, 0.16);
	margin-bottom: 1rem;
	backdrop-filter: blur(10px);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 16px rgba(167, 139, 250, 0.12);
}

.number-card {
	text-align: center;
	padding: 1.75rem 1rem;
}

.number {
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(2.2rem, 5vw, 3.2rem);
	color: var(--white);
	letter-spacing: 0.03em;
}

.number-label {
	font-weight: 700;
	color: rgba(255, 255, 255, 0.9);
}

.sponsor-card ul {
	list-style: disc;
	padding-left: 1rem;
	color: rgba(255, 255, 255, 0.92);
}

.sponsor-card {
	min-height: 100%;
}

.sponsor-card:first-child {
	transform: translateY(-8px);
	background:
		radial-gradient(circle at top left, rgba(255, 255, 255, 0.24), transparent 30%),
		linear-gradient(145deg, #8b5cf6 0%, #7c3aed 34%, #6d28d9 64%, #4c1d95 100%);
	box-shadow: 0 32px 85px rgba(76, 29, 149, 0.28), 0 0 28px rgba(167, 139, 250, 0.2);
}

.sponsor-card:first-child h4::after {
	content: "Top visibility";
	display: inline-flex;
	margin-left: 0.7rem;
	padding: 0.25rem 0.55rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.16);
	vertical-align: middle;
}

.sponsor-card li + li {
	margin-top: 0.45rem;
}

.sponsor-form-wrapper {
	margin-top: 2rem;
	padding: 2rem;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(16px);
	border: 1px solid rgba(167, 139, 250, 0.18);
	box-shadow: 0 30px 80px rgba(76, 29, 149, 0.12), 0 0 22px rgba(167, 139, 250, 0.08);
}

.sponsor-form-wrapper h4 {
	font-size: 1.45rem;
	margin-bottom: 1.25rem;
	color: #111827;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.95rem;
}

.form-group {
	display: flex;
	flex-direction: column;
	margin-bottom: 0.95rem;
}

.form-group label {
	font-size: 0.93rem;
	font-weight: 700;
	margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
	font: inherit;
	color: var(--text);
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(167, 139, 250, 0.38);
	border-radius: var(--radius-md);
	padding: 0.9rem 1rem;
	outline: none;
	transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth), transform var(--transition-smooth), background var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
	border-color: var(--violet);
	box-shadow:
		0 0 0 4px rgba(167, 139, 250, 0.18),
		0 0 18px rgba(167, 139, 250, 0.16),
		0 18px 35px rgba(76, 29, 149, 0.08);
	background: var(--white);
	transform: translateY(-1px);
}

.contacts-wrap {
	padding: 2rem;
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 243, 255, 0.92));
	border: 1px solid rgba(167, 139, 250, 0.22);
	box-shadow: 0 18px 55px rgba(76, 29, 149, 0.08), 0 0 18px rgba(167, 139, 250, 0.06);
}

.contacts-list {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.contacts-list a {
	font-weight: 700;
	color: var(--violet-dark);
}

.footer {
	background: linear-gradient(135deg, #0a0415 0%, #1a0433 50%, #110726 100%);
	color: #c4b5fd;
	padding: 3.5rem 0 2rem 0;
	border-top: 1px solid rgba(167, 139, 250, 0.15);
	margin-top: 4rem;
}

.cta-band {
	padding-top: 0;
}

.cta-panel {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border-radius: var(--radius-lg);
	background: linear-gradient(145deg, rgba(76, 29, 149, 0.96) 0%, rgba(109, 40, 217, 0.92) 100%);
	color: var(--white);
	box-shadow: var(--shadow-strong);
	border: 1px solid rgba(167, 139, 250, 0.24);
	text-align: left;
}

.cta-panel h3 {
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.05;
	margin-bottom: 0.75rem;
	font-family: "Bebas Neue", sans-serif;
	letter-spacing: 0.04em;
}

.cta-panel p:not(.section-kicker) {
	max-width: 760px;
	color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
	margin-top: 1.4rem;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2.8rem 2rem;
	margin-bottom: 2rem;
}

.footer-section {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.footer-section-title {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--white);
	text-transform: uppercase;
	letter-spacing: 0.8px;
	margin-bottom: 0.5rem;
}

.footer-section ul {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.footer-section a {
	color: #c4b5fd;
	font-size: 0.9rem;
	transition: color var(--transition-smooth), transform var(--transition-smooth);
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.footer-section a:hover {
	color: var(--white);
	transform: translateX(3px);
}

.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
}

.footer-brand .logo {
	display: inline-flex;
}

.footer-brand .logo-image {
	height: 36px;
	width: auto;
}

.footer-brand p {
	font-size: 0.9rem;
	line-height: 1.5;
	color: #a5b4fc;
}

.footer .logo-text {
	color: var(--white);
}

.footer-socials {
	display: flex;
	gap: 0.8rem;
}

.social-icon-link {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.08);
	transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), background var(--transition-smooth), border-color var(--transition-smooth);
}

.social-icon-link svg {
	width: 20px;
	height: 20px;
}

.social-icon-link:hover {
	transform: translateY(-2px) scale(1.05);
	border-color: rgba(167, 139, 250, 0.8);
	background: rgba(167, 139, 250, 0.18);
	box-shadow: 0 0 18px rgba(167, 139, 250, 0.22);
}

.contacts-social-icons {
	display: flex;
	gap: 0.55rem;
	align-items: center;
}

.social-icon-link-alt {
	color: var(--violet-dark);
	background: rgba(109, 40, 217, 0.08);
	border-color: rgba(109, 40, 217, 0.25);
}

.footer-socials a:hover {
	color: var(--white);
}

.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.show {
	opacity: 1;
	transform: translateY(0);
}

@keyframes hero-fade-up {
	0% {
		opacity: 0;
		transform: translateY(26px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 1024px) {
	.section {
		padding: 6.5rem 0;
	}

	.info-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.format-grid,
	.community-grid,
	.sponsor-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.numbers-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.sponsor-card:first-child {
		transform: none;
	}

	.footer-content {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	:root {
		--nav-height: 74px;
	}

	.navbar {
		display: flex;
		justify-content: space-between;
	}

	.logo-image {
		width: 56px;
		height: 56px;
	}

	.brand-title {
		font-size: 1.5rem;
	}

	.menu-toggle {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
	}

	.nav-links {
		position: absolute;
		top: 100%;
		right: 4%;
		width: min(280px, 92vw);
		background: var(--white);
		border: 1px solid rgba(167, 139, 250, 0.4);
		border-radius: 14px;
		box-shadow: var(--shadow);
		padding: 0.9rem;
		display: none;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.2rem;
	}

	.nav-links a {
		width: 100%;
	}

	.nav-links.open {
		display: flex;
	}

	.hero {
		padding-top: calc(var(--nav-height) + 4.4rem);
	}

	.shape-2 {
		right: -65px;
	}

	h1 {
		font-size: clamp(3.6rem, 12vw, 5.8rem);
	}

	.hero h2 {
		font-size: clamp(1.3rem, 5vw, 1.8rem);
	}

	.numbers-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.contacts-wrap {
		flex-direction: column;
	}

	.footer-content {
		grid-template-columns: 1fr;
		gap: 2.2rem 1.5rem;
	}

	.footer-brand,
	.footer-section {
		margin-bottom: 0.5rem;
	}
}

@media (max-width: 560px) {
	.section {
		padding: 5rem 0;
	}

	.hero-title-row {
		gap: 0.6rem;
		margin-left: -0.2rem;
	}

	.hero-logo-image {
		width: 68px;
		height: 68px;
	}

	.info-grid,
	.format-grid,
	.community-grid,
	.sponsor-grid,
	.numbers-grid,
	.form-grid {
		grid-template-columns: 1fr;
	}

	.hero-actions {
		width: 100%;
	}

	.hero-actions .btn {
		width: 100%;
	}

	.cta-panel {
		padding: 1.35rem;
	}

	.sponsor-form-wrapper,
	.contacts-wrap {
		padding: 1.25rem;
	}

	.info-card,
	.format-card,
	.community-card,
	.number-card,
	.sponsor-card {
		padding: 1.35rem;
	}

	.footer {
		padding: 2.5rem 0 1.5rem 0;
	}

	.footer-content {
		grid-template-columns: 1fr;
		gap: 1.8rem 1rem;
		margin-bottom: 1.5rem;
	}

	.footer-section-title {
		font-size: 0.85rem;
	}

	.footer-section ul {
		gap: 0.5rem;
	}

	.footer-section a {
		font-size: 0.85rem;
	}

	.footer-socials {
		gap: 0.6rem;
	}

	.social-icon-link {
		width: 36px;
		height: 36px;
	}

	.social-icon-link svg {
		width: 18px;
		height: 18px;
	}
}

/* Team Registration Form Styles */
.team-registration-form {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(167, 139, 250, 0.25);
	border-radius: var(--radius-lg);
	padding: 2rem;
	backdrop-filter: blur(10px);
}

.team-registration-form h4 {
	font-size: 1.4rem;
	color: var(--white);
	margin-bottom: 0.5rem;
	font-family: "Bebas Neue", sans-serif;
	letter-spacing: 0.5px;
}

.team-registration-form .form-subtitle {
	font-size: 0.95rem;
	color: #a5b4fc;
	margin-bottom: 1.5rem;
}

.team-registration-form .form-group {
	margin-bottom: 1.2rem;
}

.team-registration-form label {
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--white);
	margin-bottom: 0.5rem;
}

.team-registration-form input {
	width: 100%;
	padding: 0.75rem 0.95rem;
	border: 1px solid rgba(167, 139, 250, 0.3);
	border-radius: 8px;
	background: rgba(167, 139, 250, 0.08);
	color: var(--white);
	font-size: 0.95rem;
	transition: all var(--transition-smooth);
	font-family: "Manrope", sans-serif;
}

.team-registration-form input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.team-registration-form input:focus {
	outline: none;
	border-color: rgba(167, 139, 250, 0.8);
	background: rgba(167, 139, 250, 0.12);
	box-shadow: 0 0 12px rgba(167, 139, 250, 0.15);
}

#team-success-message {
	display: none;
	background: rgba(34, 197, 94, 0.1);
	border: 1px solid rgba(34, 197, 94, 0.4);
	border-radius: 8px;
	padding: 1rem;
	color: #86efac;
	margin-bottom: 1.5rem;
	font-size: 0.95rem;
	animation: slideDown 0.3s ease;
}

#team-error-container {
	display: none;
	margin-bottom: 1.5rem;
	animation: slideDown 0.3s ease;
}

.form-error {
	background: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.4);
	border-radius: 8px;
	padding: 0.75rem;
	color: #fca5a5;
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
}

.team-registration-form .btn {
	width: 100%;
	margin-top: 0.5rem;
}

#team-submit-btn {
	transition: opacity var(--transition-smooth);
}

#team-submit-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Team Count Display */
.team-count-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(109, 40, 217, 0.15);
	border: 1px solid rgba(167, 139, 250, 0.4);
	border-radius: 12px;
	padding: 0.8rem 1.5rem;
	color: var(--lilac);
	font-size: 1.1rem;
	font-weight: 600;
	margin: 1.5rem 0;
	animation: fadeIn 0.6s ease;
}

.team-count-center {
	width: 100%;
}

.registered-teams-wrap {
	margin-top: 2.25rem;
	padding: 2rem;
	border-radius: var(--radius-lg);
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(246, 240, 255, 0.82));
	border: 1px solid rgba(167, 139, 250, 0.28);
	box-shadow: 0 22px 45px rgba(76, 29, 149, 0.1);
}

.registered-teams-heading {
	margin-bottom: 1.2rem;
}

.registered-teams-heading h4 {
	font-size: 1.5rem;
	color: #1f114a;
	margin-bottom: 0.35rem;
}

.registered-teams-heading p {
	color: rgba(31, 41, 55, 0.82);
}

.registered-teams-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.registered-team-card {
	border-radius: var(--radius-md);
	padding: 1rem;
	background: linear-gradient(160deg, #6d28d9 0%, #4c1d95 60%, #37215f 100%);
	border: 1px solid rgba(255, 255, 255, 0.16);
	box-shadow: 0 12px 28px rgba(76, 29, 149, 0.22);
	color: var(--white);
	transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.registered-team-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 34px rgba(76, 29, 149, 0.28), 0 0 18px rgba(167, 139, 250, 0.24);
}

.registered-team-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	margin-bottom: 0.8rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.32);
}

.registered-team-icon svg {
	width: 22px;
	height: 22px;
	color: var(--white);
}

.registered-team-card h5 {
	font-size: 1.05rem;
	font-weight: 800;
	margin-bottom: 0.35rem;
	line-height: 1.25;
}

.registered-team-card p {
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.86);
}

.registered-teams-empty {
	margin-top: 0.85rem;
	color: #4c1d95;
	font-weight: 600;
}

.team-registration-section {
	padding-top: 0;
}

.team-registration-shell {
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(245, 240, 255, 0.92));
	border: 1px solid rgba(167, 139, 250, 0.3);
	border-radius: var(--radius-lg);
	padding: 2rem;
	box-shadow: 0 25px 50px rgba(76, 29, 149, 0.11);
}

.team-registration-section .team-registration-form {
	background: transparent;
	border: none;
	padding: 0;
	backdrop-filter: none;
}

.team-registration-section .team-registration-form label {
	color: #1f114a;
	font-weight: 700;
}

.team-registration-section .team-registration-form input {
	color: #1f2937;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(167, 139, 250, 0.38);
}

.team-registration-section .team-registration-form input::placeholder {
	color: rgba(76, 29, 149, 0.48);
}

.team-registration-section #team-success-message {
	color: #166534;
	background: rgba(187, 247, 208, 0.45);
	border-color: rgba(34, 197, 94, 0.45);
}

.team-registration-section .form-error {
	color: #991b1b;
	background: rgba(254, 226, 226, 0.75);
	border-color: rgba(239, 68, 68, 0.35);
}

#team-count-display {
	color: var(--white);
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@media (max-width: 768px) {
	.registered-teams-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.registered-teams-wrap,
	.team-registration-shell {
		padding: 1.35rem;
	}

	.team-registration-form {
		padding: 1.5rem;
	}

	.team-registration-form h4 {
		font-size: 1.2rem;
	}

	.team-count-badge {
		font-size: 1rem;
		padding: 0.7rem 1.2rem;
	}
}

@media (max-width: 560px) {
	.registered-teams-grid {
		grid-template-columns: 1fr;
	}

	.registered-team-card {
		padding: 0.9rem;
	}
}

/* Classifica */
.classifica-section {
	padding-top: 3.8rem;
}

.classifica-topbar {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.classifica-heading {
	margin-bottom: 0;
	text-align: left;
}

.top3-badge {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.3rem;
	padding: 0.65rem 0.9rem;
	border-radius: 14px;
	background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 72%);
	box-shadow: 0 14px 35px rgba(76, 29, 149, 0.28), 0 0 26px rgba(167, 139, 250, 0.28);
	color: #ffffff;
}

.top3-label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.88;
}

.top3-badge strong {
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1.25;
}

.classifica-card {
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(167, 139, 250, 0.28);
	box-shadow: 0 22px 55px rgba(76, 29, 149, 0.13), 0 0 28px rgba(167, 139, 250, 0.16);
	overflow: hidden;
}

.classifica-table-wrap {
	overflow-x: auto;
}

.classifica-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 760px;
}

.classifica-table thead th {
	background: #4c1d95;
	color: #ffffff;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	font-weight: 700;
	padding: 0.95rem 0.75rem;
	text-align: center;
	white-space: nowrap;
}

.classifica-table thead th:nth-child(2) {
	text-align: left;
	padding-left: 1rem;
}

.classifica-table tbody td {
	padding: 0.9rem 0.75rem;
	text-align: center;
	font-weight: 600;
	color: #1f2937;
	border-bottom: 1px solid rgba(167, 139, 250, 0.2);
	white-space: nowrap;
}

.classifica-table tbody tr:last-child td {
	border-bottom: none;
}

.classifica-table tbody tr:hover {
	background: rgba(167, 139, 250, 0.12);
}

.classifica-table .col-team {
	text-align: left;
	font-weight: 800;
	color: #4c1d95;
	padding-left: 1rem;
	min-width: 210px;
}

.classifica-table .col-pos {
	font-weight: 800;
	font-size: 1rem;
}

.classifica-table .col-pt {
	font-weight: 800;
	color: #6d28d9;
	font-size: 1.02rem;
}

.classifica-row.rank-1 {
	background: linear-gradient(90deg, rgba(167, 139, 250, 0.24), rgba(167, 139, 250, 0.12));
}

.classifica-row.rank-2 {
	background: linear-gradient(90deg, rgba(167, 139, 250, 0.16), rgba(167, 139, 250, 0.08));
}

.classifica-row.rank-3 {
	background: linear-gradient(90deg, rgba(167, 139, 250, 0.1), rgba(167, 139, 250, 0.04));
}

.classifica-empty-row td {
	padding: 1.4rem 1rem;
	text-align: center;
	font-weight: 700;
	color: #4c1d95;
	background: rgba(167, 139, 250, 0.1);
}

.regolamento-shell {
	border-radius: 24px;
	padding: 1.2rem;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(167, 139, 250, 0.24);
	box-shadow: 0 22px 55px rgba(76, 29, 149, 0.12), 0 0 28px rgba(167, 139, 250, 0.12);
}

.regolamento-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(167, 139, 250, 0.18);
}

.regolamento-toolbar p {
	color: #4b5563;
	max-width: 720px;
}

.regolamento-viewer {
	width: 100%;
	height: 78vh;
	min-height: 620px;
	border: none;
	border-radius: 18px;
	background: #f6f3ff;
	box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.18);
}

@media (max-width: 820px) {
	.classifica-topbar {
		flex-direction: column;
		align-items: flex-start;
	}

	.top3-badge {
		width: 100%;
	}

	.regolamento-toolbar {
		flex-direction: column;
		align-items: flex-start;
	}

	.regolamento-viewer {
		height: 68vh;
		min-height: 520px;
	}
}
