
* {
	box-sizing: border-box;
	font-family: Roboto, sans-serif;
	margin: 0;
}

html {
	overflow-x: hidden;
}

body, html {
	max-width: 100vw;
}
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: #171a2c;
	color: #ffffff;
	padding-top: 120px; /* Увеличено для навигации */
	overflow-x: hidden; /* Предотвращаем горизонтальную прокрутку */
}
.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: #171a2c;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	padding: 10px 0;
	z-index: 1000;
	text-align: center;
}
.header_conteiner {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0px;
}
.header_logo img {
	height: 71px;
	width: 100%;
	object-fit: contain;
}
.header_button {
	display: flex;
	gap: 10px;
}

/* Навигационное меню */
.navigation {
	position: fixed;
	top: 0px; /* Под header */
	left: 0;
	width: 100%;
	background: rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(10px);
	z-index: 999;
	padding: 0px 0;
	margin-top: 0px;
}
.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: #2272b8;
}
.nav-link.active {
	background-color: #2272b8;
	border-color: #2272b8;
}

@media (max-width: 768px) {
	body {
		padding-top: 140px; /* Больше места для мобильной навигации */
		padding-left: 10px;
		padding-right: 10px;
	}
	.header_button {
		gap: 8px;
	}
	.nav_conteiner {
		gap: 10px;
		padding: 10px;
		flex-wrap: wrap;
		justify-content: center;
	}
	.nav-link {
		font-size: 12px;
		padding: 6px 10px;
		white-space: nowrap;
	}
	.conteiner {
		padding: 10px;
		max-width: 100%;
	}
	
	/* Исправления для больших кнопок на мобильных */
	.big-button {
		padding: 15px 30px;
		font-size: 18px;
		margin: 10px 5px;
		max-width: calc(100vw - 40px);
		box-sizing: border-box;
		word-wrap: break-word;
	}
}

.btn {
	border: 1px solid #2272b8;
	display: inline-block;
	padding: 12px 24px;
	background: linear-gradient(135deg, #2272b8 0%, #1a5a96 100%);
	color: #ffffff;
	border-radius: 8px;
	cursor: pointer;
	position: relative;
	transition: all 0.3s ease;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 15px rgba(34, 114, 184, 0.3);
}
@media (max-width: 768px) {
	.btn {
		 width: 100%;
		 text-align: center;
		 padding: 10px;
		 font-size: 14px;
	}
}
@keyframes glow {
	0% { box-shadow: 0 0 5px #2272b8; }
	50% { box-shadow: 0 0 20px #2272b8; }
	100% { box-shadow: 0 0 5px #2272b8; }
}
.glowing {
	animation: glow 1.5s infinite alternate;
}

.button_1 {
	background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
	border-color: #ff6b35;
	box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}
.button_1:hover {
	background: linear-gradient(135deg, #e55a2b 0%, #d47d16 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 25px rgba(255, 107, 53, 0.6);
}

.button_2 {
	background: linear-gradient(135deg, #2272b8 0%, #1a5a96 100%);
	border-color: #2272b8;
}
.button_2:hover {
	background: linear-gradient(135deg, #1a5a96 0%, #144a7a 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 25px rgba(34, 114, 184, 0.6);
}

h1 {
	font-size: 50px;
	text-align: center;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 1.4;
}
@media (max-width: 768px) {
	h1 {
		font-size: 30px;
	}
}
h2 {
	font-size: 30px;
	font-weight: bold;
}
@media (max-width: 768px) {
	h2 {
		font-size: 26px;
		margin-top: 10px;
	}
}
.main_conteiner {
	position: relative;
	margin-top: 40px;
}
.main_text {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 100%;
	overflow-x: hidden;
}
main img {
	display: flex;
	align-items: center;
	justify-content: center;
}
.main p {
	font-size: 14px;
	font-weight: 400;
	color: #ffffff;
	line-height: 1.4;
}

.photo {
	margin: 0 auto;
	width: 70%;
	height: 80%;
	object-fit: cover;
	border-radius: 10px;
	margin-bottom: 40px;
}
@media (max-width: 768px) {
	.photo {
		width: 100%;
		margin-bottom: 20px;
	}
}
.main h1 {
	margin-bottom: 50px;
}
@media (max-width: 768px) {
	.main h1 {
		margin-bottom: 20px;
	}
}
.popup {
	width: 470px;
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background: #171a2c;
	color: #ffffff;
	border-radius: 20px;
	padding: 20px 25px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	display: flex;
	align-items: center;
	gap: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}
@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.476);
	font-size: 20px;
	cursor: pointer;
	position: absolute;
	right: 10px;
	top: 6px;
}
@media (max-width: 768px) {
	.popup-close {
		font-size: 16px;
		right: 6px;
		top: 3px;
	}
}
.block_txt {
	width: 40%;
	display: flex;
	align-items: center;
	flex-direction: column;
	text-align: center;
}
.block_txt span {
	font-size: 35px;
	color: #ffffff;
	font-weight: 700;
}
@media (max-width: 768px) {
	.block_txt span {
		font-size: 24px;
	}
}
.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: 24px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 15px;
}

ul, ol {
  padding-left: 20px;
  margin-bottom: 15px;
}

li {
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.4;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 14px;
  overflow-x: auto;
  display: block;
  white-space: nowrap;
}

@media (max-width: 768px) {
  table {
    font-size: 12px;
    white-space: nowrap;
  }
  
  table, thead, tbody, th, td, tr {
    display: block;
  }
  
  table {
    border: none;
    white-space: normal;
  }
  
  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  
  tr {
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
  }
  
  td {
    border: none;
    padding: 5px 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  td:before {
    content: attr(data-label) ": ";
    font-weight: bold;
    flex: 1;
    color: #ccc;
  }
  
  td:after {
    content: "";
    flex: 1;
  }
}

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

th {
  background-color: rgba(0, 0, 0, 0.2);
  font-weight: bold;
}
.seo-links {
  background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #141a2a 100%);
  color: #fff;
  padding: 60px 20px 30px 20px;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

.seo-links::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2272b8, transparent);
}

.seo-links::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(34, 114, 184, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto 40px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  position: relative;
  z-index: 1;
}

.footer-container > div {
  background: rgba(255, 255, 255, 0.03);
  padding: 30px 25px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.footer-container > div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #2272b8, #ff6b35);
  border-radius: 15px 15px 0 0;
}

.footer-container > div:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(34, 114, 184, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.seo-links h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 10px;
}

.seo-links h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #ff6b35, #2272b8);
  border-radius: 2px;
}

.seo-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-links ul li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

.seo-links ul li::before {
  content: '▶';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #2272b8;
  font-size: 10px;
  transition: all 0.3s ease;
}

.seo-links ul li:hover::before {
  color: #ff6b35;
  transform: translateY(-50%) translateX(3px);
}

.seo-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.seo-links ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2272b8, #ff6b35);
  transition: width 0.3s ease;
}

.seo-links ul li a:hover {
  color: #fff;
  transform: translateX(5px);
}

.seo-links ul li a:hover::after {
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  text-align: center;
  font-size: 13px;
  color: #aaa;
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
  margin: 0 -20px -30px -20px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 25px;
}

.footer-bottom a {
  color: #2272b8;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.footer-bottom a:hover {
  color: #ff6b35;
  text-shadow: 0 0 5px rgba(255, 107, 53, 0.5);
}

@media (max-width: 768px) {
  .seo-links {
    padding: 40px 15px 20px 15px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 10px;
  }
  
  .footer-container > div {
    padding: 20px 15px;
    margin: 0 5px;
    max-width: calc(100vw - 30px);
    box-sizing: border-box;
  }
  
  .seo-links h3 {
    font-size: 16px;
    margin-bottom: 15px;
  }
  
  .seo-links ul li {
    margin-bottom: 10px;
    padding-left: 15px;
  }
  
  .seo-links {
    padding: 40px 10px 20px 10px;
    overflow-x: hidden;
  }
}
.reviews {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review {
  display: flex;
  align-items: flex-start;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.review .avatar {
  width: 60px;
  height: 60px;
  border-radius: 25px; /* скругление краёв */
  margin-right: 15px;
  object-fit: cover;
}

.review-text h3 {
  margin: 0 0 5px;
  font-size: 16px;
  color: #222;
}

.review-text p {
  margin: 0;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

.big-button {
  display: inline-block;
  padding: 20px 60px;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff8c42 100%);
  border: 2px solid #ff6b35;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.big-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}

.big-button:hover::before {
  left: 100%;
}

.big-button:hover {
  background: linear-gradient(135deg, #e55a2b 0%, #d47d16 50%, #e57a32 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6);
}


.navigation {
  position: relative;
}
.nav_conteiner {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-link {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

/* dropdown */
.dropdown {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a1a2e;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 8px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  min-width: 150px;
  z-index: 900; /* ниже гамбургера */
}
.dropdown-menu a {
  display: block;
  padding: 8px 12px;
  color: #fff;
  text-decoration: none;
}
.dropdown-menu a:hover {
  background: #2a2a3d;
}
.dropdown:hover .dropdown-menu {
  display: block;
}

/* гамбургер */
.hamburger {
  font-size: 22px;
  cursor: pointer;
  color: #fff;
  z-index: 1001; /* всегда выше выпадашки */
  position: relative;
}

/* mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #1a1a2e;
  position: absolute;
  right: 20px;
  top: 60px;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 10px;
  z-index: 1000; /* выше всего */
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.mobile-menu a {
  padding: 8px 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}
.mobile-menu a:hover {
  background: #2a2a3d;
}

.promo-block {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 30px auto;
  max-width: 400px;
}

.promo-block input {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  padding: 15px;
  border: 2px solid #1e73be;
  border-radius: 8px;
  background: #141a2a;
  color: #fff;
  flex: 1;
}

.promo-block button {
  font-size: 18px;
  font-weight: bold;
  background: #1e73be;
  color: #fff;
  border: none;
  padding: 15px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.promo-block button:hover {
  background: #155a96;
  box-shadow: 0 0 10px rgba(30,115,190,0.9);
}

/* Стили для блоков сравнения букмекеров */
.bookmaker-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin: 40px 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.bookmaker-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bookmaker-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #666, #888);
  transition: all 0.4s ease;
}

.bookmaker-card.winner {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.05) 100%);
  border: 2px solid #ff6b35;
  box-shadow: 0 10px 40px rgba(255, 107, 53, 0.3);
  transform: scale(1.03);
  z-index: 2;
}

.bookmaker-card.winner::before {
  background: linear-gradient(90deg, #ff6b35, #f7931e, #ff8c42);
  height: 6px;
}

.bookmaker-card.winner::after {
  content: '👑 ЛИДЕР';
  position: absolute;
  top: -15px;
  right: 20px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.bookmaker-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.bookmaker-card.winner:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.4);
}

.bookmaker-logo {
  width: 100px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  flex-shrink: 0;
}

.bookmaker-card.winner .bookmaker-logo {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.bookmaker-name {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
  flex-shrink: 0;
}

.bookmaker-card.winner .bookmaker-name {
  color: #ff6b35;
  text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.bookmaker-description {
  font-size: 13px;
  color: #ccc;
  margin-bottom: 15px;
  line-height: 1.5;
  flex-grow: 1;
}

.bookmaker-features {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  flex-grow: 1;
}

.bookmaker-features li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bookmaker-features li:last-child {
  border-bottom: none;
}

.feature-name {
  color: #ccc;
  font-size: 12px;
}

.feature-value {
  font-weight: bold;
  color: #fff;
  font-size: 12px;
}

.bookmaker-card.winner .feature-value {
  color: #ff6b35;
}

.bookmaker-rating {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin: 15px 0;
  font-size: 16px;
  flex-shrink: 0;
}

.star {
  color: #666;
  transition: all 0.3s ease;
}

.star.active {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.bookmaker-card.winner .star.active {
  color: #ff6b35;
  text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.bookmaker-cta {
  margin-top: 15px;
  flex-shrink: 0;
}

.bookmaker-btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #2272b8, #1a5a96);
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 13px;
  width: 100%;
  box-sizing: border-box;
}

.bookmaker-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 114, 184, 0.4);
}

.bookmaker-card.winner .bookmaker-btn {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border-color: #ff6b35;
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.bookmaker-card.winner .bookmaker-btn:hover {
  background: linear-gradient(135deg, #e55a2b, #d47d16);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
}

@media (max-width: 1024px) and (min-width: 769px) {
  .bookmaker-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .bookmaker-card {
    min-height: 420px;
  }
}

@media (max-width: 768px) {
  .bookmaker-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }
  
  .bookmaker-card {
    padding: 20px 15px;
    margin: 0 5px;
    max-width: calc(100vw - 30px);
    box-sizing: border-box;
  }
  
  .bookmaker-card.winner {
    transform: scale(1.02);
  }
  
  .bookmaker-card.winner:hover {
    transform: scale(1.02) translateY(-5px);
  }
  
  .bookmaker-logo {
    width: 100px;
    height: 50px;
    font-size: 20px;
  }
  
  .bookmaker-name {
    font-size: 22px;
  }
  
  .bookmaker-description {
    font-size: 13px;
  }
  
  .bookmaker-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}