
* {
	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: 120px; /* Увеличено для навигации */
	overflow-x: hidden;
	width: 100%;
	box-sizing: border-box;
}
.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 6px rgba(0, 0, 0, 0.1);
	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: 60px; /* Под header */
	left: 0;
	width: 100%;
	background: rgba(0, 0, 0, 0.2);
	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;
}
.nav-link.active {
	background-color: #8e7e29;
	border-color: #8e7e29;
}

@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: box-shadow 0.3s ease-in-out;
}
@media (max-width: 768px) {
	.btn {
		 width: 100%;
		 text-align: center;
		 padding: 10px;
		 font-size: 14px;
	}
}
@keyframes glow {
	0% { box-shadow: 0 0 5px #8e7e29; }
	50% { box-shadow: 0 0 20px #8e7e29; }
	100% { box-shadow: 0 0 5px #8e7e29; }
}
.glowing {
	animation: glow 1.5s infinite alternate;
}

.button_1 {
	background-color: #8e7e29;
}
.button_2 {
	background-color: transparent;
}
.button_2:hover {
	background-color: #8e7e29;
}

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;
}
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-banner {
	position: relative;
	width: 100%;
	margin: 0 auto 40px;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.banner-image {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.banner-content {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 40px 20px;
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.banner-title {
	font-size: 48px;
	font-weight: bold;
	color: #ffffff;
	margin-bottom: 20px;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
	text-transform: uppercase;
	line-height: 1.2;
	margin-top: 0;
}

.banner-description {
	font-size: 20px;
	color: #ffffff;
	margin-bottom: 30px;
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
	line-height: 1.5;
}

.banner-buttons {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.banner-buttons .btn {
	padding: 15px 35px;
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
	border-radius: 8px;
	transition: all 0.3s ease;
	min-width: 200px;
	text-align: center;
}

.banner-buttons .btn-primary {
	background-color: #8e7e29;
	color: #ffffff;
	border: 2px solid #8e7e29;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.banner-buttons .btn-primary:hover {
	background-color: #8e7e29;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.banner-buttons .btn-secondary {
	background-color: transparent;
	color: #ffffff;
	border: 2px solid #ffffff;
}

.banner-buttons .btn-secondary:hover {
	background-color: rgba(255, 255, 255, 0.1);
	border-color: #8e7e29;
	color: #8e7e29;
	transform: translateY(-2px);
}

@media (max-width: 768px) {
	.banner-content {
		padding: 30px 15px;
	}
	
	.banner-title {
		font-size: 32px;
		margin-bottom: 15px;
	}
	
	.banner-description {
		font-size: 16px;
		margin-bottom: 20px;
	}
	
	.banner-buttons {
		flex-direction: column;
		width: 100%;
		gap: 15px;
	}
	
	.banner-buttons .btn {
		width: 100%;
		min-width: auto;
		padding: 12px 25px;
		font-size: 14px;
	}
}
.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: #4fd5ad;
	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;
}

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;
}

/* Стили для блока победителей */
.winners {
  margin: 40px 0;
  padding: 30px 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
  border-radius: 15px;
  overflow: hidden;
  width: 100%;
}

.winners .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  box-sizing: border-box;
}

.winners-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.winners-scroll {
  overflow-x: hidden;
  overflow-y: hidden;
  width: 100%;
  position: relative;
}

.winners-track {
  display: flex;
  gap: 20px;
  padding: 20px;
  animation: scroll-winners 40s linear infinite;
  min-width: max-content;
  will-change: transform;
  flex-shrink: 0;
}

@keyframes scroll-winners {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.winners-scroll:hover .winners-track {
  animation-play-state: paused;
}

.winner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 150px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.winner-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.winner-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #8e7e29;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.winner-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.winner-name {
  font-size: 14px;
  color: #ffffff;
  font-weight: 500;
  opacity: 0.9;
}

.winner-amount {
  font-size: 16px;
  font-weight: bold;
  color: #8e7e29;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.fire-icon {
  display: inline-block;
  animation: fire-flicker 1s ease-in-out infinite;
}

@keyframes fire-flicker {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

@media (max-width: 768px) {
  .winners {
    margin: 30px 0;
    padding: 20px 0;
  }
  
  .winners .container {
    padding: 0 10px;
  }
  
  .winners-track {
    gap: 15px;
    padding: 15px;
  }
  
  .winner-card {
    min-width: 120px;
    padding: 12px;
    flex-shrink: 0;
  }
  
  .winner-avatar {
    width: 60px;
    height: 60px;
  }
  
  .winner-name {
    font-size: 12px;
  }
  
  .winner-amount {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .winners .container {
    padding: 0 5px;
  }
  
  .winners-track {
    gap: 10px;
    padding: 10px;
  }
  
  .winner-card {
    min-width: 100px;
    padding: 10px;
  }
}

@media (max-width: 1301px) {
  .winners .container{
    max-width: calc(100vw - 30px);
  }
}

/* Стили для блока популярных игр */
.popular-games {
  margin: 40px 0;
  padding: 30px 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.05) 100%);
  border-radius: 15px;
}

.popular-games .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
}

.popular-games-title {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.popular-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  padding: 0 10px;
}

.game-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  border-color: #8e7e29;
}

.game-image-wrapper {
  width: 100%;
  padding-top: 100%; /* Квадратное соотношение */
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.game-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover .game-image {
  transform: scale(1.1);
}

.game-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.game-name {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  text-align: center;
  line-height: 1.3;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-play {
  background-color: #8e7e29;
  color: #ffffff;
  border: 2px solid #8e7e29;
  padding: 10px 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  display: block;
  width: 100%;
  font-size: 14px;
}

.btn-play:hover {
  background-color: transparent;
  color: #8e7e29;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1200px) {
  .popular-games-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .popular-games {
    margin: 30px 0;
    padding: 20px 0;
  }
  
  .popular-games-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  .popular-games-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    padding: 0 5px;
  }
  
  .game-info {
    padding: 12px;
  }
  
  .game-name {
    font-size: 14px;
    min-height: 35px;
  }
  
  .btn-play {
    padding: 8px 15px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .popular-games-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
  }
  
  .game-name {
    font-size: 12px;
    min-height: 30px;
  }
}