/* ===== БАЗОВЫЕ СТИЛИ ===== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--bg-main: #C8C4BC;
	--bg-light: #D4D0C8;
	--gold: #C4883A;
	--gold-light: #D4A45A;
	--dark-green: #2D4A47;
	--cream: #F5F0E8;
	--black: #1A1A1A;
	--white: #FFFFFF;
	--vk-color: #4A76A8;
	--telegram-color: #229ED9;
}

html, body {
	height: 100%;
}

body {
	font-family: 'Montserrat', sans-serif;
	background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-light) 50%, var(--bg-main) 100%);
	background-size: 400% 400%;
	animation: gradientShift 15s ease infinite;
	color: var(--black);
	min-height: 100vh;
	overflow-x: hidden;
	position: relative;
}

/* Анимация фона */
@keyframes gradientShift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

/* ===== ПЛАВАЮЩИЕ ЧАСТИЦЫ ===== */
.floating-elements {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
}

.particle {
	position: absolute;
	width: 8px;
	height: 8px;
	background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%);
	border-radius: 50%;
	opacity: 0.6;
	animation: float 8s ease-in-out infinite;
}

.particle-1 { top: 10%; left: 10%; animation-delay: 0s; }
.particle-2 { top: 20%; right: 15%; animation-delay: 1s; width: 12px; height: 12px; }
.particle-3 { top: 60%; left: 5%; animation-delay: 2s; }
.particle-4 { top: 70%; right: 10%; animation-delay: 3s; width: 6px; height: 6px; }
.particle-5 { top: 40%; left: 20%; animation-delay: 4s; }
.particle-6 { top: 80%; right: 25%; animation-delay: 5s; width: 10px; height: 10px; }

@keyframes float {
	0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
	50% { transform: translateY(-30px) rotate(180deg); opacity: 0.8; }
}

/* ===== ДЕКОРАТИВНЫЕ ЛИСТЬЯ ===== */
.decorative-leaf {
	position: fixed;
	width: 150px;
	height: 300px;
	background: linear-gradient(45deg, var(--dark-green) 0%, #3D5A57 100%);
	opacity: 0.1;
	z-index: 0;
}

.leaf-left {
	bottom: 0;
	left: -50px;
	border-radius: 0 100% 0 0;
	transform: rotate(-15deg);
	animation: sway 6s ease-in-out infinite;
}

.leaf-right {
	bottom: 0;
	right: -50px;
	border-radius: 100% 0 0 0;
	transform: rotate(15deg);
	animation: sway 6s ease-in-out infinite reverse;
}

@keyframes sway {
	0%, 100% { transform: rotate(-15deg) translateX(0); }
	50% { transform: rotate(-10deg) translateX(10px); }
}

/* ===== КОНТЕЙНЕР ===== */
.container {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	position: relative;
	z-index: 1;
}

/* ===== ЛОГОТИП С СИЛЬНЫМ РАЗМЫТИЕМ КРАЁВ ===== */
.logo-wrapper {
	position: relative;
	margin-bottom: 40px;
	animation: fadeInDown 1.2s ease-out;
}

.logo {
	width: 280px;
	height: auto;
	display: block;
	transition: transform 0.5s ease;
	
	/* Усиленное размытие краёв - эффект растворения */
	mask-image: radial-gradient(
		ellipse 70% 65% at center,
		black 30%,
		rgba(0,0,0,0.5) 50%,
		transparent 65%
	);
	-webkit-mask-image: radial-gradient(
		ellipse 70% 65% at center,
		black 30%,
		rgba(0,0,0,0.5) 50%,
		transparent 65%
	);
	
	/* Мягкое многослойное свечение в цвет фона */
	filter: 
		drop-shadow(0 0 30px rgba(200, 196, 188, 1))
		drop-shadow(0 0 60px rgba(200, 196, 188, 0.8))
		drop-shadow(0 0 100px rgba(200, 196, 188, 0.6));
}

.logo:hover {
	transform: scale(1.05);
}

/* Основное свечение под логотипом */
.logo-glow {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 350px;
	height: 350px;
	background: radial-gradient(
		ellipse at center,
		rgba(200, 196, 188, 0.95) 0%,
		rgba(200, 196, 188, 0.7) 20%,
		rgba(200, 196, 188, 0.4) 40%,
		rgba(200, 196, 188, 0.15) 60%,
		transparent 75%
	);
	border-radius: 50%;
	animation: softPulse 4s ease-in-out infinite;
	z-index: -1;
	pointer-events: none;
}

/* Дополнительный внутренний слой свечения */
.logo-wrapper::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 400px;
	height: 400px;
	background: radial-gradient(
		circle at center,
		rgba(200, 196, 188, 0.6) 0%,
		rgba(200, 196, 188, 0.3) 30%,
		transparent 55%
	);
	border-radius: 50%;
	z-index: -2;
	filter: blur(30px);
}

/* Внешний слой с лёгким золотым оттенком */
.logo-wrapper::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 500px;
	height: 500px;
	background: radial-gradient(
		circle at center,
		rgba(196, 136, 58, 0.08) 0%,
		rgba(196, 136, 58, 0.03) 30%,
		transparent 50%
	);
	border-radius: 50%;
	z-index: -3;
	animation: softPulse 4s ease-in-out infinite reverse;
}

@keyframes softPulse {
	0%, 100% { 
		transform: translate(-50%, -50%) scale(1); 
		opacity: 0.8; 
	}
	50% { 
		transform: translate(-50%, -50%) scale(1.08); 
		opacity: 1; 
	}
}

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

/* ===== КОНТЕНТ ===== */
.content {
	text-align: center;
	max-width: 600px;
	animation: fadeInUp 1.2s ease-out 0.3s both;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ===== РАЗДЕЛИТЕЛИ ===== */
.divider {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 25px 0;
}

.divider-line {
	width: 80px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.divider-ornament {
	margin: 0 15px;
	color: var(--gold);
	font-size: 14px;
	animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
	0%, 100% { opacity: 0.5; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.2); }
}

/* ===== ЗАГОЛОВКИ ===== */
.main-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: 2.8rem;
	font-weight: 500;
	color: var(--black);
	letter-spacing: 3px;
	margin-bottom: 15px;
	text-transform: uppercase;
	background: linear-gradient(135deg, var(--black) 0%, var(--dark-green) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.subtitle {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--gold);
	letter-spacing: 8px;
	text-transform: uppercase;
	margin-bottom: 35px;
	animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
	0%, 100% { opacity: 0.8; }
	50% { opacity: 1; text-shadow: 0 0 20px rgba(196, 136, 58, 0.5); }
}

/* ===== ОПИСАНИЕ ===== */
.description-box {
	background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.2) 100%);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(196, 136, 58, 0.3);
	border-radius: 15px;
	padding: 30px 40px;
	margin: 20px 0;
	box-shadow: 
		0 10px 40px rgba(0,0,0,0.1),
		inset 0 1px 0 rgba(255,255,255,0.5);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.description-box:hover {
	transform: translateY(-5px);
	box-shadow: 
		0 20px 50px rgba(0,0,0,0.15),
		inset 0 1px 0 rgba(255,255,255,0.5);
}

.description {
	font-size: 1.1rem;
	line-height: 1.9;
	color: var(--dark-green);
	font-weight: 400;
}

/* ===== ИНДИКАТОР ЗАГРУЗКИ ===== */
.loader {
	display: flex;
	gap: 12px;
	margin-top: 40px;
	animation: fadeInUp 1.2s ease-out 0.6s both;
}

.loader-circle {
	width: 12px;
	height: 12px;
	background: var(--gold);
	border-radius: 50%;
	animation: bounce 1.4s ease-in-out infinite;
}

.loader-circle:nth-child(1) { animation-delay: 0s; }
.loader-circle:nth-child(2) { animation-delay: 0.2s; }
.loader-circle:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
	0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
	40% { transform: scale(1.2); opacity: 1; }
}

/* ===== ФУТЕР ===== */
.footer {
	margin-top: 50px;
	text-align: center;
	animation: fadeInUp 1.2s ease-out 0.9s both;
}

.footer p {
	font-size: 0.9rem;
	color: var(--dark-green);
	opacity: 0.7;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 20px;
}

/* ===== КНОПКИ СОЦСЕТЕЙ (МИНИМАЛИСТИЧНЫЙ ВАРИАНТ) ===== */
.social-links {
	display: flex;
	justify-content: center;
	gap: 20px;
}

.social-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	border-radius: 50px;
	text-decoration: none;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 1px;
	transition: all 0.3s ease;
	background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.3) 100%);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(196, 136, 58, 0.3);
	color: var(--dark-green);
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
	position: relative;
	overflow: hidden;
}

.social-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.4),
		transparent
	);
	transition: left 0.5s ease;
}

.social-btn:hover::before {
	left: 100%;
}

.social-btn svg {
	width: 18px;
	height: 18px;
	transition: transform 0.3s ease, color 0.3s ease;
}

.social-btn.vk svg {
	color: var(--vk-color);
}

.social-btn.telegram svg {
	color: var(--telegram-color);
}

.social-btn:hover {
	background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.5) 100%);
	border-color: var(--gold);
	transform: translateY(-3px);
	box-shadow: 0 8px 30px rgba(196, 136, 58, 0.2);
}

.social-btn:hover svg {
	transform: scale(1.15);
}

.social-btn.vk:hover {
	border-color: var(--vk-color);
	box-shadow: 0 8px 30px rgba(74, 118, 168, 0.3);
}

.social-btn.telegram:hover {
	border-color: var(--telegram-color);
	box-shadow: 0 8px 30px rgba(34, 158, 217, 0.3);
}

.social-btn span {
	position: relative;
	z-index: 1;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
	.main-title {
		font-size: 2rem;
		letter-spacing: 2px;
	}
	
	.subtitle {
		font-size: 1.2rem;
		letter-spacing: 4px;
	}
	
	.description-box {
		padding: 25px 20px;
	}
	
	.description {
		font-size: 1rem;
	}
	
	.logo {
		width: 200px;
	}
	
	.logo-glow {
		width: 280px;
		height: 280px;
	}
	
	.logo-wrapper::before {
		width: 320px;
		height: 320px;
	}
	
	.logo-wrapper::after {
		width: 380px;
		height: 380px;
	}
	
	.decorative-leaf {
		width: 100px;
		height: 200px;
	}
}

@media (max-width: 480px) {
	.main-title {
		font-size: 1.6rem;
	}
	
	.subtitle {
		font-size: 1rem;
		letter-spacing: 3px;
	}
	
	.divider-line {
		width: 50px;
	}
	
	.logo {
		width: 160px;
	}
	
	.logo-glow {
		width: 220px;
		height: 220px;
	}
	
	.logo-wrapper::before {
		width: 260px;
		height: 260px;
	}
	
	.logo-wrapper::after {
		width: 300px;
		height: 300px;
	}
	
	.social-links {
		flex-direction: column;
		align-items: center;
		gap: 15px;
	}
	
	.social-btn {
		width: 200px;
		justify-content: center;
		padding: 12px 24px;
	}
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ ЭФФЕКТЫ ===== */
::selection {
	background: var(--gold);
	color: var(--white);
}

html {
	scroll-behavior: smooth;
}
