
* {
	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: #130040;
	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: #171a2c;
	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: #17009c;
}
.nav-link.active {
	background-color: #17009c;
	border-color: #17009c;
}

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

.button_1 {
	background-color: #17009c;
}
.button_2 {
	background-color: transparent;
}
.button_2:hover {
	background-color: #17009c;
}

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;
	border: 1px solid #17009c;
	box-shadow: 0 0 0 3px #17009c26, 0 12px 35px rgba(0, 0, 0, 0.45);
	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;
}

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 === */
.game-catalog {
	margin-top: 30px;
}
.game-catalog_header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}
.game-sort-and-filter {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.game-provider-select {
	padding: 8px 12px;
	background: #171a2c;
	color: #ffffff;
	border: 1px solid #17009c44;
	border-radius: 8px;
}
.game_sort {
	display: flex;
	align-items: center;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.sort_link {
	display: block;
}
.game_sort_flag_hit,
.game_sort_flag_new {
	width: 44px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.svg_flag_hit .svg_color { fill: #17009c; }
.svg_flag_new .svg_color { fill: #17009c; opacity: .7; }

.form_search .box_input_text.search {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, .08);
	border: 1px solid #17009c22;
	border-radius: 10px;
	padding: 6px 10px;
}
.form_search input[type="search"] {
	background: transparent;
	border: none;
	outline: none;
	color: #ffffff;
	min-width: 220px;
}
.form_search input::placeholder {
	color: rgba(255, 255, 255, .6);
}
.search_submit {
	background: #17009c;
	color: #ffffff;
	border: 1px solid #17009c;
	border-radius: 8px;
	padding: 6px 10px;
	cursor: pointer;
}

.game-catalog_list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
@media (max-width: 1024px) {
	.game-catalog_list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
	.game-catalog_list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.game-catalog_list { grid-template-columns: 1fr; }
}

.gamecard {
	background: #171a2c;
	border: 1px solid #17009c22;
	border-radius: 12px;
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}
.gamecard:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}
.gamecard_window { position: relative; }
.gamecard_img {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
	display: block;
}
.gamecard_links {
	position: absolute;
	inset: auto 0 8px 0;
	display: flex;
	justify-content: center;
	gap: 8px;
	opacity: 0;
	transform: translateY(6px);
	transition: all .2s ease;
}
.gamecard_window:hover .gamecard_links {
	opacity: 1;
	transform: translateY(0);
}
.gamecard_links .btn {
	padding: 8px 12px;
	font-size: 12px;
	border-radius: 8px;
}
.gamecard_flags {
	position: absolute;
	top: 8px;
	left: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 6px;
	z-index: 2;
}
.game_flag {
	background: #17009c;
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	padding: 4px 6px;
	border-radius: 6px;
}
.game_flag_pre { background: #ffb300; color: #000; }
.game_flag_supernew { background: #00c853; color: #000; }

.gamecard_title {
	padding: 10px 12px;
	font-size: 14px;
	text-align: center;
}

.show_more {
	display: block;
	width: max-content;
	margin: 18px auto 0;
}