/* Цветовые темы */
:root[data-theme="purple"] {
	--primary: #6B46F5;
	--primary-container: #E8DDFF;
	--secondary: #FF4081;
	--secondary-container: #FFE0EC;
	--tertiary: #00BCD4;
	--tertiary-container: #B8F0F5;
	--gradient-primary: linear-gradient(135deg, #6B46F5 0%, #FF4081 100%);
	--gradient-secondary: linear-gradient(135deg, #00BCD4 0%, #6B46F5 100%);
	--gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
	--theme-name: "Purple";
}
:root[data-theme="blue"] {
	--primary: #1976D2;
	--primary-container: #E3F2FD;
	--secondary: #03DAC6;
	--secondary-container: #E0F2F1;
	--tertiary: #FF6F00;
	--tertiary-container: #FFF3E0;
	--gradient-primary: linear-gradient(135deg, #1976D2 0%, #03DAC6 100%);
	--gradient-secondary: linear-gradient(135deg, #FF6F00 0%, #1976D2 100%);
	--gradient-hero: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #1976d2 100%);
	--theme-name: "Ocean";
}
:root[data-theme="green"] {
	--primary: #388E3C;
	--primary-container: #E8F5E8;
	--secondary: #FF7043;
	--secondary-container: #FBE9E7;
	--tertiary: #7B1FA2;
	--tertiary-container: #F3E5F5;
	--gradient-primary: linear-gradient(135deg, #388E3C 0%, #FF7043 100%);
	--gradient-secondary: linear-gradient(135deg, #7B1FA2 0%, #388E3C 100%);
	--gradient-hero: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #388e3c 100%);
	--theme-name: "Nature";
}
:root[data-theme="warm"] {
	--primary: #D84315;
	--primary-container: #FFEBE8;
	--secondary: #FFC107;
	--secondary-container: #FFF8E1;
	--tertiary: #E91E63;
	--tertiary-container: #FCE4EC;
	--gradient-primary: linear-gradient(135deg, #D84315 0%, #FFC107 100%);
	--gradient-secondary: linear-gradient(135deg, #E91E63 0%, #D84315 100%);
	--gradient-hero: linear-gradient(135deg, #bf360c 0%, #d84315 50%, #ff5722 100%);
	--theme-name: "Sunset";
}
:root {
	--surface: #FDFBFF;
	--surface-container: #F5F2FF;
	--surface-container-high: #EDE7FF;
	--surface-variant: #E8E0F5;
	--on-surface: #1C1B20;
	--on-surface-variant: #4A4458;
	--on-primary: #FFFFFF;
	--on-primary-container: #2A0F5C;
	--on-secondary: #FFFFFF;
	--on-secondary-container: #5C0A2B;
	--on-tertiary: #FFFFFF;
	--on-tertiary-container: #003A41;
	--outline: #7B7085;
	--outline-variant: #CAC2D6;
	--error: #DC143C;
	--on-error: #FFFFFF;
}
* { margin:0; padding:0; box-sizing: border-box; }
html,body { min-height:100%; }
body {
	font-family: 'Roboto', Arial, sans-serif;
	background: var(--surface);
	color: var(--on-surface);
	font-size:16px;
	line-height:1.6;
}

/* Переключатель тем */
.theme-switcher {
	position: fixed;
	display: none;
	top: 20px;
	right: 20px;
	z-index: 1000;
	background: rgba(255,255,255,0.95);
	border-radius: 12px;
	padding: 12px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
	border: 1px solid var(--outline-variant);
	backdrop-filter: blur(9px);
}
.theme-switcher select {
	border: none;
	background: none;
	font-size: 14px;
	color: var(--on-surface);
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	cursor: pointer;
}

/* ========== АНИМИРОВАННЫЙ ФОН ========== */
.hero-header {
	background: var(--gradient-hero);
	position: relative;
	overflow: hidden;
	min-height: 70vh;
	display: flex;
	align-items: center;
	color: white;
}

/* Базовые слои с градиентами */
.hero-header::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background:
		radial-gradient(circle at 20% 30%, rgba(107, 70, 245, 0.4) 0%, transparent 50%),
		radial-gradient(circle at 80% 70%, rgba(255, 64, 129, 0.3) 0%, transparent 50%),
		radial-gradient(circle at 50% 50%, rgba(0, 188, 212, 0.2) 0%, transparent 60%);
	pointer-events: none;
	animation: gradientShift 8s ease-in-out infinite alternate;
}

/* Анимированная сетка точек */
.hero-header::after {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background-image:
		radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
		radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 60px 60px, 40px 40px;
	opacity: 0.4;
	pointer-events: none;
	animation: dotMove 20s linear infinite;
}

@keyframes gradientShift {
	0% { transform: scale(1) rotate(0deg); opacity: 0.8; }
	50% { transform: scale(1.1) rotate(2deg); opacity: 1; }
	100% { transform: scale(1) rotate(-1deg); opacity: 0.8; }
}

@keyframes dotMove {
	0% { transform: translate(0, 0); }
	100% { transform: translate(-60px, -60px); }
}

/* Система частиц */
.particles-container {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	pointer-events: none;
	z-index: 1;
}

.particle {
	position: absolute;
	background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
	animation: float linear infinite;
}

/* Индивидуальные частицы */
.particle:nth-child(1) {
	width: 4px; height: 4px;
	left: 10%; top: 80%;
	animation: float1 25s linear infinite;
	background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}
.particle:nth-child(2) {
	width: 6px; height: 6px;
	left: 20%; top: 90%;
	animation: float2 30s linear infinite;
	background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
}
.particle:nth-child(3) {
	width: 3px; height: 3px;
	left: 30%; top: 85%;
	animation: float3 22s linear infinite;
	background: radial-gradient(circle, var(--tertiary) 0%, transparent 70%);
}
.particle:nth-child(4) {
	width: 5px; height: 5px;
	left: 40%; top: 95%;
	animation: float4 28s linear infinite;
	background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, transparent 70%);
}
.particle:nth-child(5) {
	width: 4px; height: 4px;
	left: 50%; top: 88%;
	animation: float5 26s linear infinite;
	background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}
.particle:nth-child(6) {
	width: 7px; height: 7px;
	left: 60%; top: 92%;
	animation: float6 32s linear infinite;
	background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
}
.particle:nth-child(7) {
	width: 3px; height: 3px;
	left: 70%; top: 86%;
	animation: float7 24s linear infinite;
	background: radial-gradient(circle, var(--tertiary) 0%, transparent 70%);
}
.particle:nth-child(8) {
	width: 5px; height: 5px;
	left: 80%; top: 90%;
	animation: float8 29s linear infinite;
	background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, transparent 70%);
}
.particle:nth-child(9) {
	width: 4px; height: 4px;
	left: 90%; top: 83%;
	animation: float9 27s linear infinite;
	background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}
.particle:nth-child(10) {
	width: 6px; height: 6px;
	left: 15%; top: 75%;
	animation: float10 31s linear infinite;
	background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
}

/* Анимации для частиц */
@keyframes float1 {
	0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
	10% { opacity: 1; }
	90% { opacity: 1; }
	100% { transform: translateY(-100vh) translateX(20px) rotate(360deg); opacity: 0; }
}
@keyframes float2 {
	0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
	10% { opacity: 1; }
	90% { opacity: 1; }
	100% { transform: translateY(-100vh) translateX(-30px) rotate(-360deg); opacity: 0; }
}
@keyframes float3 {
	0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
	10% { opacity: 1; }
	90% { opacity: 1; }
	100% { transform: translateY(-100vh) translateX(40px) rotate(720deg); opacity: 0; }
}
@keyframes float4 {
	0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
	10% { opacity: 1; }
	90% { opacity: 1; }
	100% { transform: translateY(-100vh) translateX(-15px) rotate(-180deg); opacity: 0; }
}
@keyframes float5 {
	0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
	10% { opacity: 1; }
	90% { opacity: 1; }
	100% { transform: translateY(-100vh) translateX(25px) rotate(540deg); opacity: 0; }
}
@keyframes float6 {
	0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
	10% { opacity: 1; }
	90% { opacity: 1; }
	100% { transform: translateY(-100vh) translateX(-40px) rotate(-450deg); opacity: 0; }
}
@keyframes float7 {
	0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
	10% { opacity: 1; }
	90% { opacity: 1; }
	100% { transform: translateY(-100vh) translateX(35px) rotate(270deg); opacity: 0; }
}
@keyframes float8 {
	0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
	10% { opacity: 1; }
	90% { opacity: 1; }
	100% { transform: translateY(-100vh) translateX(-25px) rotate(-540deg); opacity: 0; }
}
@keyframes float9 {
	0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
	10% { opacity: 1; }
	90% { opacity: 1; }
	100% { transform: translateY(-100vh) translateX(45px) rotate(180deg); opacity: 0; }
}
@keyframes float10 {
	0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
	10% { opacity: 1; }
	90% { opacity: 1; }
	100% { transform: translateY(-100vh) translateX(-35px) rotate(-270deg); opacity: 0; }
}

/* Геометрические фигуры */
.geometric-shapes {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	pointer-events: none;
	z-index: 1;
}

.shape {
	position: absolute;
	opacity: 0.1;
	animation: shapeMove linear infinite;
}

.triangle {
	width: 0;
	height: 0;
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	border-bottom: 25px solid currentColor;
	color: var(--primary);
	left: 25%;
	top: 20%;
	animation: shapeMove1 35s linear infinite;
}

.square {
	width: 20px;
	height: 20px;
	background: var(--secondary);
	left: 65%;
	top: 15%;
	animation: shapeMove2 40s linear infinite;
	transform: rotate(45deg);
}

.circle {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--tertiary);
	left: 75%;
	top: 25%;
	animation: shapeMove3 38s linear infinite;
}

@keyframes shapeMove1 {
	0% { transform: translateY(0) rotate(0deg); opacity: 0; }
	10% { opacity: 0.2; }
	90% { opacity: 0.2; }
	100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}
@keyframes shapeMove2 {
	0% { transform: translateY(0) rotate(45deg) scale(1); opacity: 0; }
	10% { opacity: 0.15; }
	50% { transform: translateY(-50vh) rotate(225deg) scale(1.2); }
	90% { opacity: 0.15; }
	100% { transform: translateY(-100vh) rotate(405deg) scale(1); opacity: 0; }
}
@keyframes shapeMove3 {
	0% { transform: translateY(0) scale(1); opacity: 0; }
	10% { opacity: 0.18; }
	50% { transform: translateY(-50vh) scale(1.5); }
	90% { opacity: 0.18; }
	100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

/* Остальные стили из предыдущей версии остаются без изменений */
.hero-container {
	max-width: 1200px;
	margin: auto;
	padding: 40px 24px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	position: relative;
	z-index: 2;
}
.hero-content {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.top-navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 40px;
}
.logo {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 40px;
	color: white;
	text-decoration: none;
	position: relative;
	text-shadow: 0 2px 10px rgba(0,0,0,0.3);
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.vk-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	background: rgba(255, 255, 255, 0.15);
	color: white;
	text-decoration: none;
	border-radius: 25px;
	font-weight: 600;
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	font-family: 'Montserrat', sans-serif;
}
.vk-link:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
	border-color: rgba(255, 255, 255, 0.4);
}
.hero-title {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(36px, 6vw, 56px);
	font-weight: 500;
	line-height: 1.1;
	margin-bottom: 20px;
	text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-subtitle {
	font-size: 20px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 32px;
	font-weight: 100;
}
.city-selector-hero {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 24px;
}
.city-icon {
	/* color: var(--tertiary); */
	font-size: 20px;
}
.city-label {
	color: white;
	font-weight: 300;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
}
.city-select {
	background: transparent;
	border: 2px solid #FFF;
	color: #FFF;
	-moz-appearance:none; /* Firefox */
	-webkit-appearance:none; /* Safari and Chrome */
	appearance:none;
	border-radius: 30px;
	padding: 12px 20px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	min-width: 160px;
	outline: none;
	text-align: center;
}
.city-select:hover {
	/* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); */
	transform: translateY(-1px);
}
.hero-feature {
	padding: 40px;
	text-align: right;
	position: relative;
	overflow: hidden;
	z-index: 2;
	display: none;
}
/* .hero-feature::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: var(--gradient-primary);
	opacity: 0.1;
	border-radius: 24px;
} */
.feature-content { position: relative; z-index: 2; }
.feature-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 16px;
	color: white;
}
.feature-subtitle {
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 24px;
	font-size: 16px;
	line-height: 1.5;
}
.cta-button {
	background: var(--gradient-primary);
	color: white;
	border: none;
	padding: 16px 32px;
	border-radius: 25px;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: 'Montserrat', sans-serif;
	position: relative;
	overflow: hidden;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.cta-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(107, 70, 245, 0.4);
}

/* Основной контент */
main {
	max-width: 1200px;
	margin: auto;
	padding: 40px 24px 48px;
}
.events-section-title {
	text-align: center;
	margin-bottom: 48px;
}
.events-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 36px;
	font-weight: 100;
	margin-bottom: 3px;
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.events-subtitle {
	color: var(--on-surface-variant);
	font-size: 18px;
	max-width: 600px;
	margin: 0 auto;
	font-weight: 100;
}

.events-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 32px;
}
.event-card {
	background: white;
	border-radius: 40px;
	overflow: hidden;
	box-shadow: 0 2px 16px rgba(107, 70, 245, 0.08);
	transition: all 0.4s ease;
	cursor: pointer;
	position: relative;
	text-decoration: none;
	/* border: 1px solid var(--outline-variant); */
}
.event-card:hover {
	box-shadow: 0 8px 32px rgba(107, 70, 245, 0.16);
	transform: translateY(-8px);
	border-color: var(--primary);
}
.card-image {
	position: relative;
	overflow: hidden;
}
.event-card img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}
.event-card:hover img { transform: scale(1.05); }
.date-badge {
	opacity: .9;
	position: absolute;
	top: 16px;
	right: 16px;
	background: rgba(107, 70, 245, 0.9);
	color: white;
	padding: 8px 24px;
	border-radius: 30px;
	font-size: 13px;
	font-weight: 500;
	font-family: 'Montserrat', sans-serif;
	backdrop-filter: blur(10px);
}
.card-content {
	padding: 24px;
}
.artist-name {
	font-family: 'Montserrat', sans-serif;
	font-size: 22px;
	font-weight: 500;
	margin-bottom: 8px;
	color: var(--on-surface);
}
.venue-info {
	display: flex;
	align-items: center;
	gap: 5px;
	color: var(--on-surface-variant);
	font-size: 15px;
	margin-bottom: 20px;
	font-weight: 500;
}
.venue-info .material-icons {
	font-size: 18px;
	color: var(--tertiary);
}
.buy-button {
	background: var(--gradient-primary);
	color: white;
	border: none;
	/* width: 100%; */
	padding: 16px 24px;
	border-radius: 30px;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: 'Montserrat', sans-serif;
	position: relative;
	overflow: hidden;
}
.buy-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(107, 70, 245, 0.4);
}

/* Темный подвал */
footer {
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
	margin-top: 80px;
	padding: 60px 0 30px;
	color: #ffffff;
	position: relative;
	overflow: hidden;
}
footer::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: radial-gradient(circle at 20% 50%, rgba(107, 70, 245, 0.1) 0%, transparent 50%),
							radial-gradient(circle at 80% 20%, rgba(255, 64, 129, 0.1) 0%, transparent 50%);
	pointer-events: none;
}
.footer-content {
	max-width: 1200px;
	margin: auto;
	padding: 0 24px;
	display: grid;
	gap: 48px;
	grid-template-columns: 2fr 1fr 1fr;
	align-items: start;
	position: relative;
	z-index: 2;
}
.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.footer-logo {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 28px;
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.footer-description {
	color: #b0b0b0;
	line-height: 1.6;
	max-width: 350px;
	font-size: 16px;
	font-weight: 100;
}
.footer-section h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 30px;
	color: #ffffff;
	position: relative;
}
.footer-section h3::after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 0;
	width: 80px;
	height: 2px;
	background: var(--gradient-primary);
	border-radius: 5px;
}
.footer-section ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.footer-section a {
	color: #b0b0b0;
	text-decoration: none;
	transition: all 0.3s ease;
	font-weight: 500;
	font-size: 15px;
	position: relative;
}
.footer-section a:hover {
	color: #ffffff;
	transform: translateX(8px);
}
.social-links {
	display: flex;
	gap: 16px;
	margin-top: 24px;
}
.social-link {
	display: none;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	color: #b0b0b0;
	text-decoration: none;
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
}
.social-link:hover {
	background: var(--gradient-primary);
	color: white;
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(107, 70, 245, 0.4);
	border-color: transparent;
}
.copyright {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	margin-top: 48px;
	padding-top: 30px;
	text-align: center;
	color: #808080;
	font-size: 14px;
	position: relative;
	z-index: 2;
}

/* Адаптивность */
@media (max-width: 768px) {
	.hero-container {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.top-navigation {
		flex-direction: column;
		gap: 16px;
		text-align: center;
	}
	.hero-title {
		font-size: 32px;
	}
	.city-selector-hero {
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}
	.hero-feature {
		padding: 30px 20px;
	}
	.footer-content {
		grid-template-columns: 1fr;
		gap: 40px;
		text-align: center;
	}
	.events-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	main {
		padding: 60px 16px 32px;
	}
	.logo {
		font-size: 28px;
	}
	.theme-switcher {
		top: 10px;
		right: 10px;
		padding: 8px;
	}
	.hero-header {
		min-height: 60vh;
	}
	.footer-section h3::after {
		left: 50%;
		margin-left: -40px;
	}
	.footer-description {
		display: block;
		margin: 0 auto;
	}
}
