
* {
	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: #110e17;
	color: #ffffff;
	padding-top: 120px; /* Увеличено для навигации */
}
.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: #302e31;
	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: #0bb265;
}
.nav-link.active {
	background-color: #0bb265;
	border-color: #0bb265;
}

@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 #0bb265;
	display: inline-block;
	padding: 10px 20px;
	background-color: #0bb265;
	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 #0bb265; }
	50% { box-shadow: 0 0 20px #0bb265; }
	100% { box-shadow: 0 0 5px #0bb265; }
}
.glowing {
	animation: glow 1.5s infinite alternate;
}

.button_1 {
	background-color: #0bb265;
}
.button_2 {
	background-color: transparent;
}
.button_2:hover {
	background-color: #0bb265;
}

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 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: #302e31;
	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;
}

/* Стили для блока игр */
.game-catalog {
  margin: 40px 0;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  padding: 20px;
  backdrop-filter: blur(5px);
}

.game-catalog_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
  flex-wrap: wrap;
}

.game-sort-and-filter {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.game-provider-select {
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  border: 1px solid #0bb265;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 14px;
  cursor: pointer;
}

.game-provider-select:focus {
  outline: none;
  border-color: #0bb265;
  box-shadow: 0 0 5px #0bb265;
}

.game_sort {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 15px;
}

.sort_link {
  display: block;
  padding: 8px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.sort_link:hover {
  transform: scale(1.1);
}

.game_sort_flag_hit,
.game_sort_flag_new {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.game_sort_flag_hit.active {
  box-shadow: 0 0 15px rgba(169, 31, 255, 0.5);
}

.game_sort_flag_hit svg .svg_color {
  fill: #A91FFF;
}

.game_sort_flag_new svg .svg_color {
  fill: #4DD433;
}

.form_search {
  min-width: 250px;
}

.box_input_text.search {
  position: relative;
  display: flex;
  align-items: center;
}

.box_input_text.search input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  border: 1px solid #0bb265;
  border-radius: 25px;
  padding: 12px 45px 12px 20px;
  font-size: 14px;
}

.box_input_text.search input:focus {
  outline: none;
  border-color: #0bb265;
  box-shadow: 0 0 10px rgba(23, 0, 156, 0.3);
}

.search_submit {
  position: absolute;
  right: 15px;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
}

.game-catalog_list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.game-catalog_list-item {
  transition: transform 0.3s ease;
}

.game-catalog_list-item:hover {
  transform: translateY(-5px);
}

.gamecard {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.gamecard:hover {
  border-color: #0bb265;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.gamecard_window {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gamecard_flags {
  position: absolute;
  top: 10px;
  left: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 2;
}

.game_flag {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 5px;
  display: block;
}

.game_flag_hit {
  background: linear-gradient(45deg, #A91FFF, #FF6B6B);
}

.game_flag_new {
  background: linear-gradient(45deg, #4DD433, #32C832);
}

.game_flag_hot {
  background: linear-gradient(45deg, #FF4757, #FF3742);
}

.game_flag_pre {
  background: linear-gradient(45deg, #FFA500, #FF8C00);
}

.game_flag_supernew {
  background: linear-gradient(45deg, #00BFFF, #1E90FF);
}

.gamecard_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gamecard:hover .gamecard_img {
  transform: scale(1.05);
}

.gamecard_links {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  display: flex;
  gap: 10px;
  padding: 15px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.gamecard:hover .gamecard_links {
  opacity: 1;
  transform: translateY(0);
}

.gamecard_play,
.gamecard_demo {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  font-size: 12px;
  border-radius: 6px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.gamecard_play {
  background: #0bb265;
  color: white;
}

.gamecard_demo {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.gamecard_play:hover {
  background: #302e31;
  transform: scale(1.05);
}

.gamecard_demo:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.gamecard_title {
  padding: 15px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.show_more {
  display: block;
  width: 200px;
  margin: 0 auto;
  text-align: center;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.show_more:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(23, 0, 156, 0.3);
}

/* Адаптивные стили для игр */
@media (max-width: 768px) {
  .game-catalog {
    margin: 20px 0;
    padding: 15px;
  }
  
  .game-catalog_header {
    flex-direction: column;
    gap: 15px;
  }
  
  .game-sort-and-filter {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }
  
  .game_sort {
    justify-content: center;
  }
  
  .form_search {
    min-width: 100%;
  }
  
  .game-catalog_list {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }
  
  .gamecard_title {
    font-size: 12px;
    padding: 10px;
  }
  
  .gamecard_links {
    padding: 10px;
    gap: 5px;
  }
  
  .gamecard_play,
  .gamecard_demo {
    font-size: 10px;
    padding: 6px 8px;
  }
}