
* {
	box-sizing: border-box;
	font-family: Roboto, sans-serif;
}
* {
	box-sizing: border-box;
	margin: 0;
}
a {
	text-decoration: none;
	color: inherit;
	font-weight: bold;
}

/* Оптимизированные стили для скорости загрузки */
body {
	max-width: 1300px;
	margin: 0 auto;
	font-family: Roboto, sans-serif;
	font-size: 16px;
	background-color: #c9dc05;
	color: #ffffff;
	padding-top: 130px;
	/* Упрощенный фон без параллакса для скорости */
	background-image: radial-gradient(circle at top left, rgba(255, 255, 255, 0.03) 0%, transparent 50%), 
	                  radial-gradient(circle at bottom right, #8e7e2915 0%, transparent 50%);
	background-size: 100% 100%;
	background-attachment: fixed;
	will-change: auto; /* Оптимизация для браузера */
}

.conteiner {
	max-width: 1300px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px;
}
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #4fd5ad;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Более заметная тень */
	padding: 10px 0;
	z-index: 1000;
	text-align: center;
}
.header_conatiner {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	/* margin-bottom: 90px; - Убрано, не нужно для фиксированного меню */
}
.header_logo img {
	height: 41px;
	width: 100%;
	object-fit: contain;
}
.header_button {
	display: flex;
	gap: 20px;
}

/* Навигационное меню */
.navigation {
	position: fixed;
	top: 75px; /* ИСПРАВЛЕНО: Сдвинуто ниже, чтобы избежать наложения */
	left: 0;
	width: 100%;
	background: rgba(0, 0, 0, 0.4); /* Более темный фон, лучше контраст */
	backdrop-filter: blur(10px);
	z-index: 999;
	padding: 10px 0;
	/* margin-top: 20px; ИСПРАВЛЕНО: Удален лишний отступ */
}
.nav_conteiner {
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
}
.nav-link {
	color: #ffffff;
	padding: 8px 16px;
	border-radius: 5px;
	transition: all 0.3s ease;
	font-size: 14px;
	font-weight: 500;
	border: 1px solid transparent;
}
.nav-link:hover {
	background-color: rgba(255, 255, 255, 0.1);
	border-color: #8e7e29;
	color: #fff;
}
.nav-link.active {
	background-color: #8e7e29;
	border-color: #8e7e29;
	box-shadow: 0 0 10px rgba(23, 0, 156, 0.5); /* Добавлено легкое свечение */
}

/* Breadcrumbs стили */
.breadcrumbs {
	margin: 20px auto;
	max-width: 1300px;
	padding: 0 15px;
	font-size: 14px;
}
.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 8px;
	align-items: center;
}
.breadcrumbs li {
	margin: 0;
	padding: 0;
}
.breadcrumbs li:not(:last-child)::after {
	content: "›";
	margin-left: 8px;
	color: #8e7e29;
	font-weight: bold;
}
.breadcrumbs a {
	color: #8e7e29;
	text-decoration: none;
	transition: opacity 0.3s;
}
.breadcrumbs a:hover {
	opacity: 0.8;
	text-decoration: underline;
}
.breadcrumbs span {
	color: #ffffff;
}
@media (max-width: 768px) {
	.breadcrumbs {
		font-size: 12px;
		margin: 15px auto;
	}
}

@media (max-width: 768px) {
	body {
		padding-top: 140px; 
	}
	.header_button {
		gap: 8px;
	}
	.nav_conteiner {
		gap: 10px;
		padding: 10px;
	}
	.nav-link {
		font-size: 12px;
		padding: 6px 10px;
	}
}

.btn {
	border: 1px solid #8e7e29;
	display: inline-block;
	padding: 10px 20px;
	background-color: #8e7e29;
	color: #ffffff;
	border-radius: 5px;
	cursor: pointer;
	position: relative;
	transition: all 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
	text-transform: uppercase;
	font-weight: 700;
}
.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
	.btn {
		 width: 100%;
		 text-align: center;
		 padding: 10px;
		 font-size: 14px;
	}
}
@keyframes glow {
	0%, 100% { box-shadow: 0 0 5px #8e7e29; }
	50% { box-shadow: 0 0 15px #8e7e29; }
}
.glowing {
	animation: glow 2s ease-in-out infinite;
	will-change: box-shadow; /* Оптимизация анимации */
}

.button_1 {
	background-color: #8e7e29;
}
.button_2 {
	background-color: transparent;
}
.button_2:hover {
	background-color: #8e7e29;
}
/* Стилизация для кнопки слотов */
.button_4 {
	width: 100%;
	text-align: center;
	padding: 8px 0;
	font-size: 14px;
	background-color: #8e7e29;
	border: none;
	margin-top: 10px;
}
.button_4:hover {
	background-color: #8e7e29;
	box-shadow: 0 0 15px rgba(23, 0, 156, 0.7);
}

h1 {
	font-size: 50px;
	text-align: center;
	font-weight: 900; /* Более жирный */
	text-transform: uppercase;
	line-height: 1.2;
}
@media (max-width: 768px) {
	h1 {
		font-size: 30px;
	}
}
h2 {
	font-size: 38px; 
	font-weight: 700;
	text-align: center;
	margin-bottom: 30px;
	color: #ffffff;
	text-shadow: 0 0 10px rgba(23, 0, 156, 0.5); /* Добавление свечения */
}
@media (max-width: 768px) {
	h2 {
		font-size: 28px;
		margin-top: 20px;
		margin-bottom: 20px;
	}
}
.main_conteiner {
	position: relative;
	margin-top: 40px;
	padding-bottom: 40px;
}
.main_text {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
main img {
	display: flex;
	align-items: center;
	justify-content: center;
}
.main p {
	font-size: 16px; 
	font-weight: 400;
	color: #ffffff;
	line-height: 1.6; 
}

.photo {
	margin: 0 auto;
	width: 70%;
	height: 80%;
	object-fit: cover;
	border-radius: 10px;
	margin-bottom: 40px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); /* Добавлена тень для выделения */
}
@media (max-width: 768px) {
	.photo {
		width: 100%;
		margin-bottom: 20px;
	}
}
.main h1 {
	margin-bottom: 50px;
}
@media (max-width: 768px) {
	.main h1 {
		margin-bottom: 20px;
	}
}

/* Стили для секции слотов */
.slots_conteiner {
	padding: 40px 15px;
	flex-direction: column;
	align-items: flex-start;
}
.slots {
	width: 100%;
	text-align: center;
}
.slots_grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 25px;
	padding-bottom: 40px;
}
@media (max-width: 768px) {
	.slots_grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}
}
.slot_item {
	background-color: #4fd5ad;
	border-radius: 10px;
	overflow: hidden;
	padding: 15px;
	border: 2px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.slot_item:hover {
	transform: translateY(-5px) scale(1.02);
	border-color: #8e7e29;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(23, 0, 156, 0.7);
}
.slot_img {
	width: 100%;
	height: auto;
	max-height: 150px;
	border-radius: 5px;
	object-fit: cover;
	display: block;
}
.slot_name {
	font-size: 16px;
	font-weight: 500;
	margin-top: 10px;
	color: #ffffff;
	text-align: center;
}

/* Оптимизированные стили для анимации появления */
.fade-in, .fade-in-item {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    will-change: opacity, transform;
}
.fade-in.visible, .fade-in-item.visible {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}
/* Задержка для элементов сетки */
.slots_grid .fade-in-item:nth-child(2) { transition-delay: 0.1s; }
.slots_grid .fade-in-item:nth-child(3) { transition-delay: 0.2s; }
.slots_grid .fade-in-item:nth-child(4) { transition-delay: 0.3s; }
.slots_grid .fade-in-item:nth-child(5) { transition-delay: 0.4s; }
.slots_grid .fade-in-item:nth-child(6) { transition-delay: 0.5s; }
.slots_grid .fade-in-item:nth-child(7) { transition-delay: 0.6s; }
.slots_grid .fade-in-item:nth-child(8) { transition-delay: 0.7s; }


/* Стили для popup */
.popup {
	width: 470px;
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background: #4fd5ad;
	color: #ffffff;
	border-radius: 20px;
	padding: 20px 25px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); 
	display: flex;
	align-items: center;
	gap: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
	border: 1px solid #8e7e29; /* Добавлена рамка акцента */
}
@media (max-width: 768px) {
	.popup {
		width: 95%;
		padding: 6px;
		gap: 10px;
		border-radius: 10px;
	}
}
.popup_block {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;	
}
@media (max-width: 768px) {
	.popup_block {
		display: flex;
		justify-content: space-around;	
	}
}

.popup.show {
	opacity: 1;
	visibility: visible;
}

.popup-close {
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.6);
	font-size: 24px; 
	cursor: pointer;
	position: absolute;
	right: 10px;
	top: 6px;
	transition: color 0.2s;
}
.popup-close:hover {
	color: #ffffff;
}
@media (max-width: 768px) {
	.popup-close {
		font-size: 18px;
		right: 6px;
		top: 3px;
	}
}
.block_img img {
	width: 80px;
	height: 80px;
	object-fit: contain;
}
@media (max-width: 768px) {
	.block_img img {
		width: 60px;
		height: 60px;
	}
}
.block_txt {
	width: 40%;
	display: flex;
	align-items: center;
	flex-direction: column;
	text-align: center;
}
.block_txt span {
	font-size: 40px; /* Крупнее */
	color: #8e7e29; /* Цвет акцента */
	font-weight: 900;
}
@media (max-width: 768px) {
	.block_txt span {
		font-size: 28px;
	}
}
.block_txt p {
	color: #ffffff;
	font-size: 18px;
}
@media (max-width: 768px) {
	.block_txt p {
		font-size: 14px;
	}
}
.block_btn {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 18px;
}
@media (max-width: 768px) {
	.block_btn {
		font-size: 14px;
	}
}

/* Дополнительные стили для сгенерированного контента */
h3 {
  font-size: 28px; 
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 20px;
  border-left: 4px solid #8e7e29;
  padding-left: 10px;
}

ul, ol {
  padding-left: 40px; 
  margin-bottom: 20px;
  list-style: disc; 
}

li {
  font-size: 16px; 
  margin-bottom: 10px;
  line-height: 1.6;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  font-size: 14px;
}

th, td {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px;
  text-align: left;
}

th {
  background-color: rgba(23, 0, 156, 0.5); /* Использован цвет акцента */
  font-weight: bold;
}

/* Дополнительные оптимизации для скорости загрузки */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  max-width: 100%;
  height: auto;
  loading: lazy; /* Ленивая загрузка изображений */
}

/* Оптимизация для мобильных устройств */
@media (max-width: 768px) {
  * {
    -webkit-tap-highlight-color: transparent;
  }
  
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Preload критичных ресурсов */
.logo {
  content-visibility: auto;
}

/* Улучшение производительности скролла */
main {
  contain: layout style paint;
}

/* ===== Варианты фонов для уникальности ===== */
body {
	background-image: linear-gradient(160deg, rgba(255,255,255,0.05) 0%, transparent 45%), radial-gradient(circle at 10% 60%, rgba(255,255,255,0.07) 0%, transparent 50%), radial-gradient(circle at 90% 30%, rgba(79,213,173,0.35) 0%, transparent 60%);
}

/* ===== Layout B ===== */
.layout-b .hero_split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	align-items: center;
	padding: 30px 15px 10px;
}
.layout-b .hero_left h1 { text-align: left; }
.layout-b .lead { margin: 10px 0 20px; opacity: 0.9; }
.layout-b .cta_stack { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.layout-b .hero_bullets { list-style: disc; padding-left: 20px; opacity: 0.85; }
.layout-b .hero_bullets li { margin-bottom: 8px; }
.layout-b .hero_right .photo { max-width: 100%; }
.layout-b .slots_grid.tight { gap: 18px; }

/* ===== Layout C ===== */
.layout-c .ribbon-block { position: relative; overflow: hidden; }
.layout-c .ribbon {
	background: linear-gradient(90deg, #8e7e29, #4fd5ad);
	padding: 12px 18px;
	border-radius: 10px;
	color: #fff;
	margin-bottom: 20px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}
.layout-c .ribbon span { font-size: 14px; display: block; opacity: 0.9; }
.layout-c .ribbon strong { font-size: 20px; }
.layout-c .cta_row { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.features_grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
	gap: 18px;
	width: 100%;
	padding: 10px 0 30px;
}
.feature_card {
	background: rgba(0,0,0,0.35);
	border: 1px solid rgba(255,255,255,0.08);
	padding: 16px;
	border-radius: 12px;
	box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.feature_card h3 { margin: 0 0 8px; border: none; padding: 0; }
.features_grid.spaced { margin-top: 10px; }
.feature_card.ghost { background: rgba(255,255,255,0.03); }

/* ===== Layout D ===== */
.perks_bar {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	padding: 10px 15px 0;
}
.perk {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 12px;
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 10px;
	background: rgba(0,0,0,0.35);
}
.perk_icon { font-size: 26px; }
.hero_line {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	align-items: center;
	padding: 20px 15px;
}
.hero_line .lead { margin: 10px 0 20px; opacity: 0.9; }
.hero_media .photo.slim { max-width: 320px; margin: 0 auto; display: block; }
.slots_conteiner.tight-top { padding-top: 10px; }
.slots.compact .slot_item.mini { padding: 10px; }
.slots_grid.compact-grid { gap: 15px; }

/* ===== Layout E ===== */
.layout-e .minimal { max-width: 900px; margin: 0 auto; text-align: center; }
.layout-e .cta_row { justify-content: center; gap: 12px; margin: 10px 0 20px; display: flex; flex-wrap: wrap; }
.layout-e .alt-grid { gap: 18px; }

/* Reviews & FAQ */
.reviews_conteiner, .faq_conteiner { padding: 30px 15px; }
.reviews_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 16px;
}
.review_card {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.review_author { font-weight: 700; margin-bottom: 6px; color: #8e7e29; }
.faq_list { display: grid; gap: 10px; }
.faq_item {
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 14px;
}
.faq_q { font-weight: 700; margin-bottom: 6px; }
.faq_a { opacity: 0.9; }

/* Общие вспомогательные */
.framed { box-shadow: 0 12px 28px rgba(0,0,0,0.35); border: 2px solid rgba(255,255,255,0.05); }