@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

:root {
	--default-color: #636363;
	--default-lighten-color: #00ab55;
	--default-catifsh-color: rgb(0, 0, 0);
	--default-header-color: #0d3d26;
	--default-footer-color: #0a2f1f;
	--btn-text: #fff;
	--dark-bg-color: #0a2f1f;
	--cms-page-dir-sign: 1;
}

*,
:after,
:before {
	box-sizing: border-box;
}

li,
ol,
ol[class],
ul,
ul[class] {
	margin: 0;
	padding: 0;
}

blockquote,
body,
dd,
dl,
figcaption,
figure,
h1,
h2,
h3,
h4,
li,
ol[class],
p,
ul[class] {
	margin: 0;
}

body {
	line-height: 1.5;
	min-height: 100vh;
	scroll-behavior: smooth;
	text-rendering: optimizeSpeed;
}

/* Стили блокировки скролла удалены */

li,
ol[class],
ul[class] {
	list-style: none;
}

a {
	text-decoration: none;
}

a:not([class]) {
	-webkit-text-decoration-skip: ink;
	text-decoration-skip-ink: auto;
}

img {
	display: block;
	max-width: 100%;
}

button,
input,
select,
textarea {
	border: none;
	font: inherit;
}

[role='button'],
button {
	cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	background: #141414;
	color: #e5e6ec;
	font-family: 'Ubuntu', sans-serif;
	font-size: 16px;
	letter-spacing: 0.5px;
	line-height: 1.4;
}

@media (max-width: 768px) {
	body {
		font-size: 14px;
		overflow-x: hidden;
	}
}

.container {
	margin-left: auto;
	margin-right: auto;
	max-width: 1220px;
	padding-left: 20px;
	padding-right: 20px;
	width: 100%;
}

.header > .container {
	max-width: 100%;
}

.header {
	background: transparent; /* Полностью прозрачный фон */
	padding: 15px 0;
	border-bottom: none; /* Убираем границу */
	position: absolute; /* Хедер поверх хиро */
	z-index: 100;
	width: 100%;
	top: 0;
	left: 0;
}

.header-wrap {
	grid-gap: 20px;
	align-items: center;
	display: grid;
	grid-template-columns: max-content 1fr;
	justify-items: end;
}

.header-logo__img {
	width: auto;
}

.menu-wrap {
	grid-gap: 15px;
	align-items: center;
	display: grid;
	grid-template-columns: 1fr max-content max-content max-content max-content max-content;
}

.main-nav {
	padding-right: 20px;
	text-align: left;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.main-nav__list {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 25px;
	align-items: center;
	margin-left: 0;
	padding-left: 0;
}

/* Адаптивные стили для меню при HD разрешении */
@media (max-width: 1700px) and (min-width: 1200px) {
	.main-nav__list {
		gap: 15px; /* Уменьшаем отступы между пунктами меню */
	}

	.nav-item,
	.nav-item__link {
		font-size: 13px; /* Уменьшаем размер шрифта */
	}
}

/* Еще более компактное меню для разрешений ниже HD */
@media (max-width: 1400px) and (min-width: 1200px) {
	.main-nav__list {
		gap: 10px; /* Еще меньше отступы */
	}

	.nav-item,
	.nav-item__link {
		font-size: 12px; /* Еще меньше шрифт */
	}

	.main-nav {
		padding-right: 10px; /* Уменьшаем правый отступ */
	}
}

/* Дополнительные стили для критических разрешений */
@media (max-width: 1366px) and (min-width: 1200px) {
	.main-nav__list {
		gap: 8px; /* Минимальные отступы */
	}

	.nav-item,
	.nav-item__link {
		font-size: 11px; /* Минимальный размер шрифта */
		letter-spacing: -0.2px; /* Уменьшаем межбуквенное расстояние */
	}

	.main-nav {
		padding-right: 5px; /* Минимальный правый отступ */
	}

	/* Уменьшаем размер логотипа */
	.header-logo__img {
		max-width: 90%;
	}
}

/* Стили для разрешений 1025-1200 пикселей */
@media (max-width: 1200px) and (min-width: 1025px) {
	/* Экстремально компактное меню для этого диапазона */
	.main-nav__list {
		gap: 5px; /* Минимальные отступы */
	}

	.nav-item,
	.nav-item__link {
		font-size: 10px; /* Очень маленький шрифт */
		letter-spacing: -0.3px; /* Сильно уменьшаем межбуквенное расстояние */
		white-space: nowrap; /* Запрещаем перенос текста */
	}

	.main-nav {
		padding-right: 3px; /* Минимальный правый отступ */
	}

	/* Уменьшаем размер логотипа */
	.header-logo__img {
		max-width: 85%;
	}

	/* Уменьшаем размер кнопок */
	.btn a {
		padding: 0 6px; /* Минимальные отступы */
		font-size: 10px; /* Очень маленький шрифт */
		letter-spacing: -0.3px; /* Сильно уменьшаем межбуквенное расстояние */
	}

	.btn {
		margin-left: 3px; /* Минимальный отступ между кнопками */
	}

	/* Уменьшаем отступы в хедере */
	.header-wrap {
		grid-gap: 10px;
	}
}

/* Стили для разрешений ниже 1025 пикселей */
@media (max-width: 1024px) {
	/* Переключаемся на мобильное меню */
	.menu-wrap {
		display: none;
	}

	.menu-mob-btn {
		display: flex !important;
	}

	/* Уменьшаем размер логотипа */
	.header-logo__img {
		max-width: 85%;
	}

	/* Стили для мобильного меню */
	.menu-wrap.-toggle {
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background-color: #636363;
		z-index: 1000;
		padding: 20px;
		overflow-y: auto;
	}
}

.nav-item {
	font-size: 14px;
	position: relative;
	font-weight: bold;
}

.bonus-item {
	background-color: #e74c3c;
	border-radius: 5px;
	padding: 5px 10px 5px 30px;
	position: relative;
}

.bonus-item a {
	color: #fff !important;
}

.bonus-item::before {
	content: '';
	position: absolute;
	left: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	background-image: url('../images/fire-icon.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.header-bonus-icon {
	display: flex;
	align-items: center;
}

.header-bonus-icon img {
	width: 24px;
	height: 24px;
}

.header-time {
	color: #fff;
	font-size: 14px;
	font-weight: bold;
}

.header-lang {
	background-color: transparent;
	border-radius: 5px;
	padding: 5px 10px;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
}

.nav-item__link {
	color: rgba(255, 255, 255, 0.7);
	transition: color 0.2s ease;
}

.main-nav__list li:hover > a {
	color: #ffffff;
}

.header-lang {
	display: flex;
	align-items: center;
	color: #fff;
}

.header-lang span {
	font-size: 20px;
	line-height: 1;
}

.btn {
	border-radius: 5px;
	font-size: 14px;
	font-weight: 500;
	line-height: 36px;
	text-transform: uppercase;
	width: fit-content;
}

.btn-register {
	background-color: #00ab55;
	box-shadow: 0 6px 18px rgba(22, 197, 122, 0.35);
	border-radius: 10px;
}

.btn-login {
	background-color: #141414;
	box-shadow: none;
	border-radius: 10px;
}

.btn a {
	color: var(--btn-text);
	display: block;
	padding: 0 20px;
	font-weight: 300;
}

/* Специфичные цвета текста для кнопок в хедере */
.btn-register a {
	color: #ffffff;
	font-weight: 600;
}
.btn-login a {
	color: #fff;
}

/* Hover-состояния для наглядности как на скрине */
.btn-register:hover {
	background-color: #13b56f;
}
.btn-login:hover a {
	color: #19d083;
}

/* Адаптивные стили для кнопок при HD разрешении */
@media (max-width: 1700px) and (min-width: 1200px) {
	.btn a {
		padding: 0 15px; /* Уменьшаем отступы в кнопках */
		font-size: 13px; /* Уменьшаем размер шрифта */
	}
}

/* Еще более компактные кнопки для разрешений ниже HD */
@media (max-width: 1400px) and (min-width: 1200px) {
	.btn a {
		padding: 0 10px; /* Еще меньше отступы */
		font-size: 12px; /* Еще меньше шрифт */
	}
}

/* Дополнительные стили для кнопок при критических разрешениях */
@media (max-width: 1366px) and (min-width: 1200px) {
	.btn a {
		padding: 0 8px; /* Минимальные отступы */
		font-size: 11px; /* Минимальный размер шрифта */
		letter-spacing: -0.2px; /* Уменьшаем межбуквенное расстояние */
	}

	.btn {
		margin-left: 5px; /* Уменьшаем отступ между кнопками */
	}
}

/* Стили для кнопок при разрешениях 1025-1200 пикселей */
@media (max-width: 1200px) and (min-width: 1025px) {
	/* Стили для кнопок в хедере */
	.header .btn {
		margin-left: 3px;
	}

	.header .btn a {
		padding: 0 6px;
		font-size: 10px;
		letter-spacing: -0.3px;
	}
}

/* ===== Новые игры (Poker page) ===== */
.poker-main .new-games {
	margin-top: 30px;
	background-color: #141414;
}
.poker-main .new-games-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}
.poker-main .new-games-title {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 8px;
}
.poker-main .new-games-more {
	color: #00ab55;
	font-weight: 600;
	text-decoration: none;
}
.poker-main .new-games-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 18px;
}
@media (max-width: 1200px) {
	.poker-main .new-games-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.poker-main .new-game-card {
		height: 220px;
	}
}
@media (max-width: 768px) {
	.poker-main .new-games-grid {
		display: flex;
		overflow-x: auto;
		gap: 18px;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		margin-left: -16px; /* full-bleed от левого края экрана */
		padding-left: 16px; /* сохранить внутренний отступ для первой карточки */
		padding-right: 16px;
	}
	.poker-main .new-game-card {
		flex: 0 0 calc(50% - 9px); /* две карточки на экране */
		height: 200px;
		scroll-snap-align: start;
	}
}
.poker-main .new-game-card {
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	background: #0e1318;
	display: block;
	height: 260px;
}
.poker-main .new-game-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.poker-main .new-game-card {
	transition: transform 0.2s ease;
}
.poker-main .new-game-card:hover {
	transform: translateY(-2px);
}
/* Оверлей для всех карточек */
.poker-main .new-game-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0) 40%,
		rgba(0, 0, 0, 0.35) 100%
	);
	opacity: 0;
	transition: opacity 0.2s ease;
}
.poker-main .new-game-card:hover .new-game-overlay {
	opacity: 1;
}
/* Кнопка воспроизведения (универсальная) */
.poker-main .new-game-play {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	border: none;
	background: radial-gradient(50% 50% at 50% 50%, #1bd17d 0%, #109b5a 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		opacity 0.2s ease;
	opacity: 0.95;
}
.poker-main .new-game-play-icon {
	color: #0e1318;
	font-size: 28px;
	margin-left: 4px;
}
.poker-main .new-game-card:hover .new-game-play {
	transform: scale(1.07);
	box-shadow:
		0 0 0 10px rgba(27, 209, 125, 0.15),
		0 14px 36px rgba(27, 209, 125, 0.45);
	opacity: 1;
}
/* Подписи в оверлее (используются при необходимости) */
.poker-main .new-game-title {
	color: #ffffff;
	font-weight: 700;
	text-align: center;
	margin-top: 6px;
}
.poker-main .new-game-subtitle {
	color: #9bb0a9;
	font-size: 12px;
}
/* Промо‑карточка справа */
.poker-main .new-game-promo {
	background: linear-gradient(180deg, #0f231a 0%, #0a1a12 100%);
	border-radius: 14px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.poker-main .new-game-promo .promo-brand {
	color: #9adbbf;
	font-weight: 700;
	letter-spacing: 2px;
	margin-bottom: 16px;
}
.poker-main .new-game-promo .promo-play {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	border: none;
	background: radial-gradient(50% 50% at 50% 50%, #1bd17d 0%, #109b5a 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	cursor: pointer;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease,
		opacity 0.2s ease;
	opacity: 0.95;
}
.poker-main .new-game-promo .promo-play-icon {
	color: #0e1318;
	font-size: 28px;
	margin-left: 4px;
}
.poker-main .new-game-promo .promo-title {
	color: #ffffff;
	font-weight: 700;
	margin-bottom: 6px;
	transition:
		color 0.2s ease,
		text-shadow 0.2s ease;
}
.poker-main .new-game-promo .promo-subtitle {
	color: #9bb0a9;
	font-size: 12px;
}

/* Hover эффекты промо‑карточки */
.poker-main .new-game-promo:hover .promo-play {
	transform: scale(1.07);
	box-shadow:
		0 0 0 10px rgba(27, 209, 125, 0.15),
		0 14px 36px rgba(27, 209, 125, 0.45);
	opacity: 1;
}
.poker-main .new-game-promo:hover .promo-title {
	text-shadow: 0 0 12px rgba(27, 209, 125, 0.35);
}
/* Стили для кнопок при разрешениях ниже 1025 пикселей */
@media (max-width: 1024px) {
	/* Кнопки в мобильном меню */
	.menu-wrap.-toggle .btn {
		margin: 10px 0;
		width: 100%;
		text-align: center;
	}

	.menu-wrap.-toggle .btn a {
		padding: 0 15px;
		font-size: 14px;
		line-height: 40px;
	}

	/* Стили для кнопок в хедере (до открытия мобильного меню) */
	.header .btn {
		margin-left: 5px;
	}

	.header .btn a {
		padding: 0 10px;
		font-size: 12px;
	}
}

body > header > div > div > div.menu-wrap > div.btn.btn-register > a {
	color: #fff;
}

.btn:hover {
	opacity: 0.86;
}

.menu-mob-btn {
	background: var(--default-color) url(../images/mob-menu-icon.svg) no-repeat
		50%;
	background-size: 15px;
	border: 1px solid var(--default-color);
	border-radius: 4px;
	display: none;
	height: 42px;
	justify-self: flex-end;
	width: 42px;
	cursor: pointer;
	position: relative;
	z-index: 9999;
}

.menu-mob-btn.-toggle {
	background: var(--default-color) url(../images/mob-menu-close-icon.svg)
		no-repeat 50%;
	background-size: 15px;
}

.main {
	background-color: #141414;
	color: #e5e6ec;
	padding-top: 0; /* Убираем отступ, так как хедер не фиксированный */
	margin-top: 0; /* Убираем возможный отступ сверху */
}

/* Для страниц с покер шаблоном убираем отступ сверху */
.poker-main {
	padding-top: 0;
}

/*POST*/
.post-entry p:not(:last-child) {
	margin-bottom: 24px;
}

.post-entry h1,
.post-entry h2,
.post-entry h3,
.post-entry h4,
.post-entry h5,
.post-entry h6 {
	line-height: 1.2;
	margin-bottom: 14px;
}

.post-entry h1 {
	font-size: 32px;
}

.post-entry h2 {
	font-size: 28px;
}

.post-entry h3 {
	font-size: 24px;
}

.post-entry h4 {
	font-size: 20px;
}

.post-entry table {
	font-size: 14px;
	margin: 32px auto;
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #3a3f45; /* нейтральная серая рамка */
	background: #1f2329; /* темно-серый фон таблицы */
	border-radius: 8px;
	overflow: hidden;
	table-layout: fixed;
}

/* Обертка для горизонтального скролла на мобильных устройствах */
@media (max-width: 768px) {
	.post-entry table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}
}

/* Для десктопов - таблица занимает только необходимое пространство */
@media (min-width: 769px) {
	.post-entry table {
		display: table;
		table-layout: auto;
		width: auto;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}

.post-entry table th {
	background: #2b3037; /* серый фон шапки */
	color: #e7eaee; /* светлый текст */
	padding: 12px 16px;
	text-align: left;
	font-weight: 700;
	font-size: 15px;
	text-transform: uppercase;
	border: none;
}

.post-entry table td {
	padding: 10px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	color: #d6d9de; /* светло-серый текст */
	font-size: 14px;
	line-height: 1.5;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* Двухцветные строки */
.post-entry table tr:nth-child(odd) {
	background-color: #1f2329;
}

.post-entry table tr:nth-child(even) {
	background-color: #23272e;
}

.post-entry table tr:hover {
	background: rgba(255, 255, 255, 0.06);
}

/* Специальный класс для таблиц с малым количеством колонок */
.post-entry table.few-columns {
	width: auto !important;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.post-entry table.few-columns td {
	min-width: 120px;
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
	.post-entry table {
		font-size: 13px;
		margin: 20px auto;
	}

	.post-entry table th {
		padding: 10px 12px;
		font-size: 14px;
	}

	.post-entry table td {
		padding: 8px 10px;
		font-size: 13px;
	}
}

.post-entry table tr:nth-child(odd) {
	background-color: #1f2329;
}

.post-entry table tr td {
	padding: 10px 14px;
}

.post-entry .wp-block-image {
	margin-bottom: 24px;
}

.post-entry .wp-block-image img {
	border-radius: 15px;
	margin: 0 auto;
}

.post-entry img {
	height: auto !important;
}

.post-entry ol {
	counter-reset: num;
	list-style-type: none;
	margin-bottom: 24px;
	margin-left: 32px;
}

.post-entry ol li {
	margin: 0 0 16px;
	padding: 0;
	position: relative;
}

.post-entry ol li:before {
	background: var(--default-color);
	border-radius: 50%;
	color: #fff;
	content: counter(num);
	counter-increment: num;
	display: inline-block;
	font-size: 14px;
	font-weight: 500;
	height: 24px;
	left: -32px;
	line-height: 24px;
	position: absolute;
	text-align: center;
	top: 0;
	width: 24px;
}

.post-entry ul {
	list-style-type: none;
	margin-bottom: 24px;
	margin-left: 32px;
	padding: 0;
}

.post-entry ul li {
	margin: 0 0 16px;
	padding: 0;
	position: relative;
}

.post-entry ul li:before {
	background: var(--default-color);
	border-radius: 50%;
	content: '';
	display: inline-block;
	height: 8px;
	left: -20px;
	position: absolute;
	top: 8px;
	width: 8px;
	box-shadow: 0 0 0 2px var(--default-lighten-color);
}

/* WPFront Scroll Top Styles */
#wpfront-scroll-top-container {
	border-radius: 8px !important;
	transition: all 0.3s ease !important;
}

#wpfront-scroll-top-container div.text-holder {
	color: #fff !important;
	border: 1px solid var(--default-header-color) !important;
	box-shadow: none !important;
}

#wpfront-scroll-top-container i {
	color: #fff !important;
}

#wpfront-scroll-top-container i:hover {
	color: var(--default-lighten-color) !important;
}

.wp-block-quote {
	margin-bottom: 1.2rem;
	background-color: var(--default-color);
	color: #ffffff;
	padding: 40px;
	padding-left: 80px;
	position: relative;
	border-radius: 8px;
}
.wp-block-quote::before {
	position: absolute;
	left: 20px;
	top: 20px;
	width: 40px;
	height: 40px;
	content: url("data:image/svg+xml,%3Csvg fill='%23FFFFFF' width='40px' height='40px' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M464 256h-80v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8c-88.4 0-160 71.6-160 160v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48zm-288 0H96v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8C71.6 32 0 103.6 0 192v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48z'/%3E%3C/svg%3E");
}

@media (max-width: 580px) {
	.wp-block-quote {
		padding: 24px;
		padding-left: 56px;
	}
	.wp-block-quote::before {
		top: 16px;
		left: 16px;
		width: 24px;
		height: 24px;
		content: url("data:image/svg+xml,%3Csvg fill='%23FFFFFF' width='24px' height='24px' viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M464 256h-80v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8c-88.4 0-160 71.6-160 160v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48zm-288 0H96v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8C71.6 32 0 103.6 0 192v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48z'/%3E%3C/svg%3E");
	}
}

/*AUTHOR*/
.author-block {
	grid-gap: 30px;
	background: #fff;
	border: 1px solid #d8d8d8;
	border-radius: 20px;
	box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.078);
	display: grid;
	grid-template-columns: max-content 1fr;
	margin-bottom: 32px;
	padding: 32px;
}

@media (max-width: 768px) {
	.author-block {
		grid-gap: 20px;
		grid-template-columns: 1fr;
		padding: 20px 16px;
	}
}

.author-block .author-block__photo img {
	border-radius: 50%;
	height: 168px;
	-o-object-fit: cover;
	object-fit: cover;
	-o-object-position: center;
	object-position: center;
	width: 168px;
}

.author-block .author-block__top-grid {
	grid-gap: 20px;
	display: grid;
	grid-template-columns: 1fr max-content;
	margin-bottom: 20px;
}

@media (max-width: 768px) {
	.author-block .author-block__top-grid {
		grid-gap: 20px;
		grid-template-columns: 1fr;
	}
}

.author-block .author-block__line {
	color: #828282;
	font-size: 18px;
}

.author-block .author-block__name {
	color: #2d2d2c;
	font-size: 24px;
	font-weight: 700;
}

.author-block .author-block__socials {
	display: flex;
	gap: 10px;
}

.author-block .author-block__socials .author-block__socials__item {
	background: #f2f2f2;
	border-radius: 4px;
	display: inline-block;
	height: 32px;
	overflow: hidden;
	width: 32px;
}

.author-block .author-block__socials .author-block__socials__item:hover {
	opacity: 0.86;
}

.author-block .author-block__socials .author-block__socials__item i {
	display: inline-block;
	height: 32px;
	width: 32px;
}

.author-block .author-block__socials .author-block__socials__item i.icon-fb {
	background: url(../images/icon-fb.svg) no-repeat 50%;
	background-size: 22px;
}

.author-block .author-block__socials .author-block__socials__item i.icon-tw {
	background: url(../images/icon-tw.svg) no-repeat 50%;
	background-size: 22px;
}

.author-block .author-block__socials .author-block__socials__item i.icon-email {
	background: url(../images/icon-email.svg) no-repeat 50%;
	background-size: 22px;
}

.author-block .author-block__text {
	color: #2d2d2c;
	font-size: 18px;
}

.author-block .author-block__text p:not(:last-child) {
	margin-bottom: 20px;
}

/*FAQ*/
.faq-block {
	padding: 60px 0;
	background-color: #1f1f1f;
	margin-top: 0;
}

.faq-block .section-title {
	color: #ffffff;
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 40px;
	text-align: center;
	line-height: 1.2;
}

.faq-block .faq-block--subtitle {
	color: #cfd3da;
	font-size: 18px;
	margin-bottom: 32px;
	margin-top: -8px;
	text-align: center;
	font-weight: 400;
}

.faq-block .faq-block--items {
	position: relative;
	z-index: 1;
	max-width: 800px;
	margin: 0 auto;
}

.faq-block .faq-block--items .faq-block--items__item:not(:last-child) {
	margin-bottom: 12px;
}

.faq-block
	.faq-block--items
	.faq-block--items__item
	.faq-block--items__item--header {
	border: 1px solid #2b3037;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 500;
	padding: 20px 24px;
	position: relative;
	color: #e5e6ec;
	transition: all 0.3s ease;
	cursor: pointer;
	background: #23272e;
	margin-bottom: 0;
}

/* Минималистичные заголовки FAQ - одинаковый цвет */
.faq-block
	.faq-block--items
	.faq-block--items__item:nth-child(odd)
	.faq-block--items__item--header,
.faq-block
	.faq-block--items
	.faq-block--items__item:nth-child(even)
	.faq-block--items__item--header {
	background: #23272e;
}

.faq-block
	.faq-block--items
	.faq-block--items__item
	.faq-block--items__item--header:hover {
	background: #2b3037;
	border-color: #3a3f45;
}

.faq-block .faq-block--items .faq-block--items__item .title-faq {
	position: relative;
	z-index: 2;
}

.faq-block .faq-block--items .faq-block--items__item .title-faq:after {
	content: '+';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	transition: all 0.3s ease;
	font-size: 20px;
	font-weight: 300;
	color: #aab0b7;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.faq-block
	.faq-block--items
	.faq-block--items__item
	.faq-block--items__item--content {
	display: none;
}

.faq-block
	.faq-block--items
	.faq-block--items__item.active
	.faq-block--items__item--header {
	background: #2b3037;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	border-bottom: none;
	border-color: #3a3f45;
}

.faq-block
	.faq-block--items
	.faq-block--items__item.active
	.faq-block--items__item--header
	.title-faq:after {
	content: '−';
	transform: translateY(-50%);
	color: #ffffff;
}

.faq-block
	.faq-block--items
	.faq-block--items__item.active
	.faq-block--items__item--content {
	display: block;
	padding: 24px;
	border: 1px solid #3a3f45;
	border-top: none;
	border-radius: 0 0 8px 8px;
	color: #cfd3da;
	font-size: 15px;
	line-height: 1.6;
	background: #1f2329;
}

.faq-block
	.faq-block--items
	.faq-block--items__item.active
	.faq-block--items__item--content
	p:not(:last-child) {
	margin-bottom: 12px;
}

.faq-block
	.faq-block--items
	.faq-block--items__item.active
	.faq-block--items__item--content
	a {
	color: #00ab55;
	text-decoration: none;
	border-bottom: 1px solid rgba(22, 197, 122, 0.35);
	transition: all 0.2s ease;
}

.faq-block
	.faq-block--items
	.faq-block--items__item.-toggle
	.faq-block--items__item--content
	a:hover {
	color: #19d083;
	border-bottom-color: rgba(22, 197, 122, 0.7);
}

/* FAQ Mobile Styles */
@media (max-width: 768px) {
	.faq-block {
		padding: 16px 0;
		margin-top: 16px;
	}

	.faq-block .faq-block--title {
		font-size: 18px;
		margin-bottom: 14px;
		font-weight: 500;
	}

	.faq-block .faq-block--items .faq-block--items__item:not(:last-child) {
		margin-bottom: 10px;
	}

	.faq-block
		.faq-block--items
		.faq-block--items__item
		.faq-block--items__item--header {
		padding: 10px 14px;
		font-size: 14px;
	}

	.faq-block .faq-block--items .faq-block--items__item .title-faq:after {
		height: 18px;
		width: 18px;
		right: 12px;
		font-size: 12px;
	}

	.faq-block
		.faq-block--items
		.faq-block--items__item.-toggle
		.faq-block--items__item--content {
		padding: 12px;
		font-size: 13px;
		line-height: 1.4;
	}
}

/*WP STYLE*/
.wp-block-media-text .wp-block-media-text__media {
	float: right;
	max-width: 50%;
	margin-left: 20px;
	margin-bottom: 20px;
}

.alignright {
	float: right;
	margin-left: 20px;
	margin-bottom: 20px;
}

@media (max-width: 1024px) {
	.menu-mob-btn {
		display: block !important;
		position: absolute;
		right: 15px;
		top: 20px;
	}

	.header-wrap {
		position: relative;
	}
}

.alignright {
	max-width: 100%;
	margin: 16px auto 24px auto;
	float: none;
	order: 2;
}

.alignleft {
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
}
/*footer*/
footer {
	background: #ffffff;
	color: #000000;
	padding: 0 20px;
}
.logocontainer {
	display: flex;
	align-items: center;
	margin-bottom: 45px;
}
.logo-container {
	display: flex;
	width: 48px;
	height: 19px;
}
.logocontainer-line {
	margin-left: 20px;
	margin-right: 18px;
	width: 100%;
	height: 1px;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.2) 9.92%,
		rgba(0, 0, 0, 0) 100%
	);
}

.footermain {
	display: flex;
	align-items: flex-start;
	width: 100%;
}
@media (max-width: 1200px) {
	.footermain {
		flex-wrap: wrap;
	}
}
.footersupport {
	width: 100px;
}
.footersupport strong {
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 12px;
	display: block;
}

.footersupport small {
	color: #8692aca6;
	font-size: 10px;
}

.footer-clmn {
	margin-left: 80px;
}
@media (max-width: 1299px) {
	.footer-clmn {
		margin-left: 35px;
	}
}
.footer_clmn-left {
	max-width: 320px;
	width: 100%;
}

.footer-clmn strong {
	font-weight: 600;
	font-size: 10px;
	line-height: 14px;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: #5a647a;
	margin-bottom: 40px;
	display: block;
}

.footer-link ul {
	margin-top: 10px;
}

.footer-link ul li {
	margin-bottom: 10px;
	display: flex;
	align-items: center;
}

.footer-link ul li small {
	color: #8692aca6;
	font-size: 13px;
	font-weight: 400;
	display: block;
	max-width: 207px;
	width: 100%;
}

.footer-link ul li a {
	color: #fff;
	display: flex;
	flex-direction: column;
	font-size: 13px;
	font-weight: 300;
	position: relative;
	transition: 0.3s;
}

.footer-app {
	display: flex;
	align-items: flex-start;
	margin-left: auto;
}
.footer-app-row {
	position: relative;
}
.footer_app {
	align-items: center;
	background-color: transparent;
	border: 1px solid #444;
	border-radius: 12px;
	display: flex;
	justify-content: space-between;
	padding: 4px 15px;
	transition: 0.3s;
}

.footer_app_for_apple {
	width: 158px;
}
.footer_app_fl {
	display: flex;
	align-items: center;
}

.icon_apple svg {
	fill: #fff;
	width: 24px;
}

.footer_app_wrap {
	margin-left: 10px;
}

.footer_app_wrap small {
	color: hsla(0, 0%, 100%, 0.5);
	font-size: 10px;
	display: block;
}

.footer_app_wrap span {
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	display: block;
}

.footer_app_arrow {
	align-items: center;
	background-color: #464646;
	border-radius: 100%;
	display: flex;
	height: 14px;
	justify-content: center;
	width: 14px;
}

.footer_app_arrow svg {
	fill: #fff;
	max-width: 6px;
	transform: rotate(-90deg);
}

.footer_app_for_android {
	margin-top: 8px;
}
.icon_android svg,
.icon_windows svg {
	width: 28px;
}

.footer_for_windows {
	flex-direction: column;
	align-items: flex-start;
	display: flex;
	margin-left: 8px;
	padding: 10px;
	justify-content: flex-start;
}

.footer_app_cnt {
	display: flex;
	align-items: center;
	width: 100%;
	justify-content: space-between;
}

.footer_item {
	margin-top: 50px;
}

.separator {
	background: linear-gradient(90deg, hsla(0, 0%, 100%, 0.2) 9.92%, transparent);
	height: 1px;
	width: 100%;
}

.footer_content {
	display: flex;
	justify-content: space-between;
	padding: 25px 0;
	width: 100%;
}
.footer_socials {
	display: flex;
	align-items: center;
}

.footer_socials a {
	border-radius: 10px;
	height: 35px;
	justify-content: center;
	margin-left: 10px;
	transition: 0.3s ease-out;
	width: 35px;
	display: flex;
	align-items: center;
}

.footer_socials a svg {
	max-width: 65%;
}

.telegram_link {
	background: linear-gradient(240.2deg, #0fb1d6, #08c 61.34%);
}

.x_link {
	background: linear-gradient(135deg, #ffffff, #ffffff);
}

.facebook_link {
	background: linear-gradient(135deg, #82a4e9, #4267b2);
}

.instagram_link {
	background: linear-gradient(
		214.99deg,
		#7e2bf4 7.65%,
		#ed146e 51.93%,
		#ffc90c 95.29%
	);
}

.footer_brands {
	display: flex;
	align-items: center;
}

.footer_brand {
	margin: 0 25px;
}

@media (max-width: 1200px) {
	.footer_brand {
		margin: 0 10px;
	}
}

.footer_brands svg {
	height: 25px;
}

.footer-lang_fl {
	display: flex;
	align-items: center;
}

.head-lang {
	position: relative;
	display: flex;
	z-index: 99;
}

.head-lang_block {
	cursor: pointer;
	align-items: center;
	background-color: rgba(26, 95, 63, 0.3);
	border-radius: 6px;
	display: flex;
	height: 24px;
	justify-content: space-between;
	padding: 0 8px;
	transition: 0.3s;
	width: 64px;
	position: relative;
}

footer .head-lang_block {
	height: 35px;
	padding: 0 8px;
}

footer .header-button {
	width: 35px;
	height: 35px;
	background: linear-gradient(
		92.58deg,
		#0d3d26 0%,
		rgba(13, 61, 38, 0.6) 99.71%
	);
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 10px;
	margin: 0 10px;
}

.partners {
	display: flex;
	width: 100%;
	align-items: center;
	border-bottom: 1px solid hsla(0, 0%, 100%, 0.2);
	border-top: 1px solid hsla(0, 0%, 100%, 0.2);
	justify-content: space-between;
	padding: 30px 0;
	gap: 13px;
}

@media (max-width: 1200px) {
	.footer__partners {
		flex-wrap: wrap;
		justify-content: center;
		grid-gap: 5px;
	}
}

.partners svg {
	height: 22px;
	transition: 0.3s;
}

.partners svg .svg__color {
	opacity: 0;
	transition: 0.3s;
}

.partners svg:hover .svg__color {
	opacity: 1;
}

.partners svg:hover .svg__mono {
	opacity: 0;
}

.partners svg .svg__mono {
	transition: 0.3s;
}

.footer_descr {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 30px 0;
}

.footer_descr p {
	color: #34405e;
	font-size: 10px;
	font-weight: 700;
	text-align: left;
}

.footer_plus {
	display: flex;
	align-items: center;
}

.eighteen {
	color: #77829b66;
	font-size: 16px;
	font-weight: 800;
	line-height: 16px;
}
/*footer mobile styles*/

@media (max-width: 970px) {
	.footer_content {
		flex-wrap: wrap;
		position: relative;
		justify-content: center;
	}
}

@media (max-width: 570px) {
	.footer_brands {
		flex-wrap: wrap;
		grid-gap: 10px;
		justify-content: center;
		width: 100%;
		margin-top: 35px;
		margin-bottom: 25px;
	}
	.footer_brand {
		margin: 0 5px;
	}
	.footer_brand svg {
		height: 18px;
	}
	.partners {
		flex-wrap: wrap;
		justify-content: center;
		grid-gap: 15px;
	}
	.footersupport {
		width: 13%;
	}
	.footer-clmn {
		display: none;
	}
}

/*MOBILE*/
@media (max-width: 768px) {
	.menu-mob-btn {
		display: block;
	}

	.header-logo__img {
		max-height: 42px;
		max-width: 180px;
		width: auto;
	}

	.menu-wrap {
		grid-gap: 16px;
		background: #000;
		display: none;
		grid-template-columns: 86px 1fr;
		height: calc(100vh - 82px);
		left: 0;
		padding: 20px;
		place-content: flex-start;
		position: fixed;
		top: 82px;
		width: 100%;
		z-index: 9998;
		transition: all 0.3s ease;
		overflow-y: auto;
	}

	.menu-wrap.-toggle {
		display: grid;
		visibility: visible;
		opacity: 1;
	}

	.main-nav {
		grid-column: 1 / 3;
		grid-row: 1;
		margin-bottom: 64px;
		padding: 0;
		text-align: left;
		width: 100%;
	}

	.main-nav__list {
		display: block;
	}

	.main-nav__list li {
		border-bottom: 1px solid hsla(0, 0%, 100%, 0.1);
		display: block;
		margin-bottom: 20px;
		padding-bottom: 20px;
	}

	.header .btn {
		grid-row: 2;
		text-align: center;
	}

	.header .btn a {
		padding: 0 10px;
	}
}

/* banner */

.banner-container {
	width: 100%;
	margin: 0 auto;
	height: 320px;
	overflow: hidden;
	position: relative;
	background-image: linear-gradient(
		calc(var(--cms-page-dir-sign, 1) * 90deg),
		var(--dark-bg-color) 70%,
		transparent 93%
	);
}

.banner-item {
	width: 100%;
	height: 320px;
	background-size: contain;
	background-position: right;
	background-repeat: no-repeat;
	border-radius: 0;
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	flex-direction: column;
	color: white;
	text-align: left;
	padding: 20px;
}

.banner-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 0;
	background: linear-gradient(
		calc(var(--cms-page-dir-sign, 1) * 90deg),
		var(--dark-bg-color) 45%,
		transparent 93%
	);
	z-index: 0;
}

.banner-content {
	position: relative;
	z-index: 2;
	text-align: left;
	width: 90%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	height: 100%;
}

.banner-title {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 10px 0;
	color: #fff;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.banner-text {
	font-size: 14px;
	font-weight: 400;
	margin: 0 0 15px 0;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
	line-height: 1.4;
}

.banner-button {
	margin: 0;
	padding: 12px 24px;
	background: #ffbb29;
	color: #000;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 14px;
}

/* Секция с играми */
.games-section {
	background: #ffffff;
	padding: 20px 0;
	margin: 0;
}

.games-container {
	display: flex;
	flex-direction: column;
	gap: 15px;
	padding: 20px;
	max-width: 1200px;
	margin: 0 auto;
}

.games-row {
	display: flex;
	gap: 15px;
	justify-content: space-between;
	align-items: center;
}

.games-container::-webkit-scrollbar {
	height: 6px;
}

.games-container::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 3px;
}

.games-container::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.3);
	border-radius: 3px;
	transition: background 0.2s ease;
}

.games-container::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.5);
}

.game-item {
	flex: 1;
	text-align: center;
	cursor: pointer;
	transition: transform 0.2s ease;
	max-width: 280px;
}

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

.game-image {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	transition: box-shadow 0.2s ease;
}

.game-item:hover .game-image {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.game-title {
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
	margin-top: 8px;
	text-shadow: none;
	line-height: 1.2;
}

@media (max-width: 768px) {
	.games-container {
		padding: 15px;
		gap: 10px;
	}

	.games-row {
		gap: 8px;
	}

	.game-item {
		max-width: none;
		min-width: 0;
	}

	.game-image {
		max-width: 100%;
		height: auto;
		border-radius: 8px;
	}
}

/* Вертикальное раскрывающееся оглавление */
.table-of-contents {
	background: linear-gradient(135deg, #636363, #0d3d26);
	border: 1px solid #00ab55;
	border-radius: 8px;
	margin: 20px 0;
	display: block;
	box-shadow: 0 2px 8px rgba(26, 95, 63, 0.3);
	overflow: hidden;
}

.table-of-contents .toc-title {
	margin: 0;
	font-size: 1.1em;
	font-weight: 600;
	color: #b7becf;
	padding: 16px;
	background: rgba(46, 204, 113, 0.1);
	border-bottom: 2px solid #00ab55;
	cursor: pointer;
	position: relative;
	transition: all 0.3s ease;
	user-select: none;
}

.table-of-contents .toc-title:hover {
	background: rgba(46, 204, 113, 0.2);
	color: #ffffff;
}

.table-of-contents .toc-title::after {
	content: '▼';
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	transition: transform 0.3s ease;
	font-size: 0.8em;
}

.table-of-contents.collapsed .toc-title::after {
	transform: translateY(-50%) rotate(-90deg);
}

.toc-vertical-wrapper {
	max-height: 400px;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 0;
	transition:
		max-height 0.3s ease,
		padding 0.3s ease;
}

.table-of-contents.collapsed .toc-vertical-wrapper {
	max-height: 0;
	padding: 0;
}

.toc-vertical-wrapper::-webkit-scrollbar {
	width: 6px;
}

.toc-vertical-wrapper::-webkit-scrollbar-track {
	background: rgba(26, 95, 63, 0.3);
}

.toc-vertical-wrapper::-webkit-scrollbar-thumb {
	background: #00ab55;
	border-radius: 3px;
	transition: background 0.2s ease;
}

.toc-vertical-wrapper::-webkit-scrollbar-thumb:hover {
	background: #2f4574;
}

.toc-list {
	list-style: none;
	margin: 0;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.toc-list li {
	margin: 0;
	padding: 0;
}

.toc-link {
	display: block;
	padding: 10px 16px;
	color: #b7becf;
	text-decoration: none;
	font-size: 0.9em;
	line-height: 1.4;
	transition: all 0.2s ease;
	background: rgba(15, 36, 25, 0.5);
	border: 1px solid rgba(67, 92, 148, 0.3);
	border-radius: 6px;
	font-weight: 500;
	border-left: 3px solid transparent;
}

.toc-link:hover {
	color: #ffffff;
	background: rgba(46, 204, 113, 0.1);
	border-color: #ffbb2a;
	border-left-color: #ffbb2a;
	transform: translateX(4px);
	box-shadow: 0 2px 8px rgba(67, 92, 148, 0.2);
}

.toc-level-h3 {
	font-size: 0.85em;
	opacity: 0.95;
	margin-left: 16px;
}

.toc-level-h4 {
	font-size: 0.8em;
	opacity: 0.9;
	margin-left: 32px;
}

.toc-level-h5,
.toc-level-h6 {
	font-size: 0.75em;
	opacity: 0.85;
	margin-left: 48px;
}

@media (max-width: 768px) {
	.table-of-contents {
		margin: 15px 0;
		border-radius: 6px;
	}

	.table-of-contents .toc-title {
		font-size: 1em;
		padding: 12px;
	}

	.toc-vertical-wrapper {
		max-height: 300px;
	}

	.toc-list {
		padding: 12px;
		gap: 3px;
	}

	.toc-link {
		font-size: 0.85em;
		padding: 8px 12px;
		border-radius: 4px;
		line-height: 1.3;
	}

	.toc-link:hover {
		transform: translateX(2px);
		box-shadow: 0 1px 4px rgba(67, 92, 148, 0.15);
	}

	.toc-level-h3 {
		margin-left: 12px;
	}

	.toc-level-h4 {
		margin-left: 24px;
	}

	.toc-level-h5,
	.toc-level-h6 {
		margin-left: 36px;
	}
}

.banner-button {
	text-decoration: none;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(5, 242, 107, 0.3);
	width: auto;
	display: inline-block;
	transition: all 0.3s ease;
}

.banner-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(5, 242, 107, 0.4);
}

/* Мобильные стили для banner-item */
@media (max-width: 768px) {
	.banner-item {
		background-position: right !important;
		position: relative;
	}

	.banner-item::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(0, 0, 0, 0.3);
		z-index: 1;
	}

	.banner-content {
		position: relative;
		z-index: 2;
	}
}

.banner-header {
	color: #fff;
	box-sizing: inherit;
	font-family:
		-apple-system,
		SF Pro Display,
		-apple-system,
		SF Pro Text,
		sans-serif;
	font-weight: 800;
	letter-spacing: 0.33px;
	text-shadow:
		0 2px 4px rgba(0, 0, 0, 0.5),
		0 4px 8px rgba(0, 0, 0, 0.5);
	max-width: 100%;
	width: 100%;
	font-size: 30px;
	line-height: 106%;
	white-space: pre-line;
}

@media (max-width: 768px) {
	.banner-container {
		height: 200px;
		margin-top: 82px; /* Добавляем отступ сверху равный высоте хедера */
	}

	.banner-item {
		height: 200px;
		background-size: cover;
		padding-top: 40px; /* Увеличиваем отступ сверху */
	}

	.banner-content {
		padding-top: 0;
		justify-content: flex-start; /* Выравниваем контент по верху */
	}

	.banner-title {
		font-size: 24px; /* Уменьшаем размер заголовка */
		line-height: 1.2;
		margin-bottom: 10px;
	}

	.banner-text {
		font-size: 14px;
		margin-bottom: 15px;
	}
}

/*grid*/

.grid-container {
	display: flex;
	gap: 15px;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 15px 0 15px 0;
}

.grid-item {
	display: flex;
	align-items: center;
	background-image: linear-gradient(
		110deg,
		#1e283f,
		rgba(20, 27, 46, 0.6) 100%
	);
	padding: 15px;
	border-radius: 8px;
	text-decoration: none;
	color: #fff;
	width: 30%;
	min-width: 200px;
	justify-content: space-between;
}

.grid-item:hover {
	scale: 1.1;
}

.grid-icon {
	width: 50px;
	height: 50px;
	margin-right: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 35px;
}

.grid-text {
	display: flex;
	flex-direction: column;
}

/* Стили для спортивного шаблона */
/* Общие стили для спортивного шаблона */
.sports-layout {
	display: flex;
	width: 100%;
	margin: 0;
	padding: 0;
}

/* Стили для сайдбара (только для ПК) */
.sports-sidebar {
	width: 250px;
	background-color: #1e2a36;
	overflow-y: auto !important; /* Добавляем вертикальную прокрутку с !important */
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
	position: fixed;
	top: 82px; /* Высота хедера */
	left: 0;
	bottom: 0; /* Прикрепляем к нижнему краю окна */
	z-index: 99; /* Меньше чем у хедера, чтобы не перекрывать его */
	scrollbar-width: thin; /* Для Firefox */
	scrollbar-color: rgba(15, 95, 46, 0.3) transparent; /* Для Firefox - прозрачный фон и полупрозрачный ползунок */
	padding-bottom: 20px; /* Отступ снизу, чтобы не налезать на футер */
}

/* Стили для скроллбара */
.sports-sidebar::-webkit-scrollbar {
	width: 2px; /* Делаем скроллбар очень тонким */
}

.sports-sidebar::-webkit-scrollbar-track {
	background: transparent; /* Убираем фон у трека скроллбара */
}

.sports-sidebar::-webkit-scrollbar-thumb {
	background-color: rgba(
		15,
		95,
		46,
		0.3
	); /* Делаем ползунок очень полупрозрачным */
	border-radius: 1px; /* Минимальный радиус скругления */
	height: 50px; /* Делаем ползунок коротким */
}

/* Добавляем отступ для футера, чтобы сайдбар не налезал на него */
footer {
	position: relative;
	z-index: 100; /* Выше чем у сайдбара */
	margin-left: 0;
}

/* Верхнее меню на зеленом фоне */
.ui-nav-items {
	background-color: #0f5f2e;
	padding: 0;
}

.ui-nav-items--separated .nav-item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ui-nav-items--separated .nav-item:last-child {
	border-bottom: none;
}

.nav-item {
	display: flex;
	align-items: center;
	padding: 12px 15px;
	cursor: pointer;
	transition: background-color 0.2s ease;
	color: #ffffff;
}

.nav-icon {
	width: 20px;
	height: 20px;
	margin-right: 10px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.favorite-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
}

.recommended-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.competitions-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M19 5h-2V3H7v2H5c-1.1 0-2 .9-2 2v1c0 2.55 1.92 4.63 4.39 4.94.63 1.5 1.98 2.63 3.61 2.96V19H7v2h10v-2h-4v-3.1c1.63-.33 2.98-1.46 3.61-2.96C19.08 12.63 21 10.55 21 8V7c0-1.1-.9-2-2-2zM7 10.82C5.84 10.4 5 9.3 5 8V7h2v3.82zM19 8c0 1.3-.84 2.4-2 2.82V7h2v1z'/%3E%3C/svg%3E");
}

.games-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M21 6H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-10 7H8v3H6v-3H3v-2h3V8h2v3h3v2zm4.5 2c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm4-3c-.83 0-1.5-.67-1.5-1.5S18.67 9 19.5 9s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z'/%3E%3C/svg%3E");
}

/* Виды спорта */
.sports-categories {
	flex: 1;
	overflow-y: auto;
	padding: 0;
	background-color: #1e2a36;
}

.sports-category-title {
	padding: 10px 15px;
	font-weight: bold;
	color: #ffffff;
	background-color: #263545;
	font-size: 14px;
}

.sports-list {
	padding: 0;
}

.sport-item {
	display: flex;
	align-items: center;
	padding: 8px 15px;
	cursor: pointer;
	transition: background-color 0.2s ease;
	color: #ffffff;
}

.sport-item:hover {
	background-color: rgba(15, 95, 46, 0.2);
}

.sport-icon {
	width: 20px;
	height: 20px;
	margin-right: 10px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

/* Иконки для видов спорта */
.football-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 3.3l1.35-.95c1.82.56 3.37 1.76 4.38 3.34l-.39 1.34-1.35.46L13 6.7V5.3zm-3.35-.95L11 5.3v1.4L7.01 9.49l-1.35-.46-.39-1.34c1.01-1.57 2.56-2.77 4.38-3.34zM7.08 17.11l-1.14.1C4.73 15.81 4 14 4 12c0-.94.19-1.83.52-2.65L5.8 9.7l1.13.38 1.35 5.24-1.2 1.8zm7.42 2.48c-.79.26-1.63.41-2.5.41s-1.71-.15-2.5-.41l-.69-1.49.64-1.1h5.11l.64 1.11-.7 1.48zM14.27 15H9.73L8.38 9.76 12 7.23l3.62 2.53-1.35 5.24zm3.79 2.21l-1.14-.1-1.21-1.8 1.35-5.24 1.13-.38 1.28.36c.33.82.52 1.71.52 2.65 0 2--.73 3.81-1.93 5.21z'/%3E%3C/svg%3E");
}

.tennis-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M18.5 5.5c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-14 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm14 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm14 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E");
}

.basketball-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-10H9v2h2v2h2v-2h2v-2h-2V8h-2v2z'/%3E%3C/svg%3E");
}

.hockey-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M2 17v3h2v-4H3c-.55 0-1 .45-1 1zm7-1H5v4l4.69-.01c.38 0 .72-.21.89-.55l.87-1.9-1.59-3.48L9 16zm12.71.29c-.18-.18-.43-.29-.71-.29h-1v4h2v-3c0-.28-.11-.53-.29-.71zm-8.11-3.45L17.65 4H14.3l-1.76 3.97-.49 1.1-.05.14L9.7 4H6.35l4.05 8.84 1.52 3.32.08.18 1.42 3.1c.17.34.51.55.89.55L19 20v-4h-4l-1.4-3.16z'/%3E%3C/svg%3E");
}

.volleyball-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 2.07c3.07.38 5.57 2.52 6.54 5.36L13 5.65V4.07zM8 5.08c1.18-.69 2.54-1.08 4-1.08v2.83L8 10.29V5.08zM5 6.94v4.84c0 .68.44 1.27 1.09 1.49L4.43 16.5c-1.57-1.23-2.61-3.1-2.85-5.2 0-1.57.38-3.06 1.06-4.36h2.36zm5.38 12.44c-1.25-.33-2.37-1-3.27-1.9l1.42-3.12 3.13 3.47-1.28 1.55zm1.56-1.28l-3.15-3.5 5.88-5.1 4.76 7.35-7.49 1.25zm7.94-3.01l-4.78-7.4 7.88-4.09c.96 1.3 1.52 2.9 1.52 4.6 0 3.02-1.7 5.65-4.2 6.99l-.42-.1z'/%3E%3C/svg%3E");
}

.table-tennis-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z'/%3E%3C/svg%3E");
}

.cricket-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M15.05 12.81L6.56 4.32a.996.996 0 00-1.41 0L2.32 7.15c-.39.39-.39 1.02 0 1.41l8.49 8.49c.39.39 1.02.39 1.41 0l2.83-2.83c.39-.39.39-1.02 0-1.41zm-.71 4.95l3.53 3.53c.39.39 1.03.39 1.42 0 .39-.39.39-1.03 0-1.42l-3.53-3.53-1.42 1.42z'/%3E%3C/svg%3E");
}

.american-football-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M3.02 15.62c-.08 2.42.32 4.34.67 4.69s2.28.76 4.69.67l-5.36-5.36zM13.08 3.28c-2.33.42-4.79 1.34-6.62 3.18s-2.76 4.29-3.18 6.62l7.63 7.63c2.34-.41 4.79-1.34 6.62-3.18s2.76-4.29 3.18-6.62l-7.63-7.63zM9.9 15.5l-1.4-1.4 5.6-5.6 1.4 1.4-5.6 5.6zm11.08-7.12c.08-2.42-.32-4.34-.67-4.69s-2.28-.76-4.69-.67l5.36 5.36z'/%3E%3C/svg%3E");
}

.esports-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M21 6H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-10 7H8v3H6v-3H3v-2h3V8h2v3h3v2zm4.5 2c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm4-3c-.83 0-1.5-.67-1.5-1.5S18.67 9 19.5 9s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z'/%3E%3C/svg%3E");
}

/* Основной контент */
.sports-main-content {
	flex: 1;
	padding: 0;
	margin-left: 250px;
	margin-right: auto;
}

.article-post,
.post-entry {
	padding: 0 10px;
	max-width: 900px;
	margin: 0 auto;
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
	.sports-main-content {
		margin-left: 0; /* Убираем отступ на мобильных */
		width: 100%;
		max-width: 100%;
	}
}

/* Стили для светлой версии спортивного шаблона */
.sports-light {
	background-color: #ffffff;
	color: #333333;
}

.sports-light-layout {
	background-color: #ffffff;
}

/* Стили для сайдбара в светлой версии */
.sports-light-sidebar {
	background-color: #f5f5f5;
}

/* Верхнее меню в светлой версии */
.sports-light-nav {
	background-color: #0c6448; /* Оставляем зеленый цвет для меню */
}

.sports-light-nav .nav-item {
	color: #ffffff;
}

.sports-light-nav .nav-item:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

/* Категории видов спорта в светлой версии */
.sports-light-categories {
	background-color: #f5f5f5;
}

.sports-light-category-title {
	background-color: #e0e0e0;
	color: #333333;
}

.sports-light-categories .sports-list .sport-item {
	color: #333333;
}

.sports-light-categories .sports-list .sport-item:hover {
	background-color: rgba(15, 95, 46, 0.1);
}

/* Темные иконки для светлой версии */
.sports-light-categories .football-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333333'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 3.3l1.35-.95c1.82.56 3.37 1.76 4.38 3.34l-.39 1.34-1.35.46L13 6.7V5.3zm-3.35-.95L11 5.3v1.4L7.01 9.49l-1.35-.46-.39-1.34c1.01-1.57 2.56-2.77 4.38-3.34zM7.08 17.11l-1.14.1C4.73 15.81 4 14 4 12c0-.94.19-1.83.52-2.65L5.8 9.7l1.13.38 1.35 5.24-1.2 1.8zm7.42 2.48c-.79.26-1.63.41-2.5.41s-1.71-.15-2.5-.41l-.69-1.49.64-1.1h5.11l.64 1.11-.7 1.48zM14.27 15H9.73L8.38 9.76 12 7.23l3.62 2.53-1.35 5.24zm3.79 2.21l-1.14-.1-1.21-1.8 1.35-5.24 1.13-.38 1.28.36c.33.82.52 1.71.52 2.65 0 2--.73 3.81-1.93 5.21z'/%3E%3C/svg%3E");
}

.sports-light-categories .tennis-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333333'%3E%3Cpath d='M18.5 2C16.57 2 15 3.57 15 5.5C15 7.43 16.57 9 18.5 9C20.43 9 22 7.43 22 5.5C22 3.57 20.43 2 18.5 2M18.5 7C17.67 7 17 6.33 17 5.5C17 4.67 17.67 4 18.5 4C19.33 4 20 4.67 20 5.5C20 6.33 19.33 7 18.5 7M2 21.5C2 21.5 5.5 20 6.5 16C7.5 12 11 12 11 12L13.5 14.5C13.5 14.5 13.67 14.67 13.67 15C13.67 15.33 13.33 15.67 13 15.67C12.67 15.67 12 15 12 15L10 13C10 13 9 15 7 19C5 23 2 21.5 2 21.5M11 11.5C11 11.5 17 6 18 4C19 2 22 2 22 2S22 5 20 6C18 7 12.5 13 12.5 13L11 11.5Z'/%3E%3C/svg%3E");
}

.sports-light-categories .basketball-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333333'%3E%3Cpath d='M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,4A8,8 0 0,1 20,12C20,14.4 19,16.5 17.3,18C15.9,16.7 14,16 12,16C10,16 8.2,16.7 6.7,18C5,16.5 4,14.4 4,12A8,8 0 0,1 12,4M14,5.89C13.62,5.9 13.26,6.15 13.1,6.54L11.81,9.77L11.71,10C11,10.13 10.41,10.6 10.14,11.26C9.73,12.29 10.23,13.45 11.26,13.86C12.29,14.27 13.45,13.77 13.86,12.74C14.12,12.08 14,11.32 13.57,10.76L13.67,10.5L14.96,7.29L14.97,7.26C15.17,6.75 14.92,6.17 14.41,5.96C14.28,5.91 14.15,5.89 14,5.89M10,6A1,1 0 0,0 9,7A1,1 0 0,0 10,8A1,1 0 0,0 11,7A1,1 0 0,0 10,6M7,9A1,1 0 0,0 6,10A1,1 0 0,0 7,11A1,1 0 0,0 8,10A1,1 0 0,0 7,9M17,9A1,1 0 0,0 16,10A1,1 0 0,0 17,11A1,1 0 0,0 18,10A1,1 0 0,0 17,9Z'/%3E%3C/svg%3E");
}

.sports-light-categories .hockey-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333333'%3E%3Cpath d='M12.5,4H14V8H11V11H8V14H5V17H2V20H12.5C15,20 17,18 17,15.5C17,13.7 15.9,12.1 14.3,11.4L15,10H17V7H19V4H21V2H12.5V4M9,17H6V15H9V17M22,13.5V16H19V13.5A1.5,1.5 0 0,1 20.5,12A1.5,1.5 0 0,1 22,13.5Z'/%3E%3C/svg%3E");
}

.sports-light-categories .sport-icon {
	filter: brightness(0.2); /* Делаем все остальные иконки темными */
}

/* Стили для скроллбара в светлой версии */
.sports-light-sidebar {
	scrollbar-width: thin; /* Для Firefox */
	scrollbar-color: rgba(15, 95, 46, 0.2) transparent; /* Для Firefox - прозрачный фон и полупрозрачный ползунок */
}

.sports-light-sidebar::-webkit-scrollbar {
	width: 2px; /* Делаем скроллбар очень тонким */
}

.sports-light-sidebar::-webkit-scrollbar-track {
	background: transparent; /* Убираем фон у трека скроллбара */
}

.sports-light-sidebar::-webkit-scrollbar-thumb {
	background-color: rgba(
		15,
		95,
		46,
		0.2
	); /* Делаем ползунок очень полупрозрачным */
	border-radius: 1px; /* Минимальный радиус скругления */
	height: 50px; /* Делаем ползунок коротким */
}

/* Основной контент в светлой версии */
.sports-light-main-content {
	background-color: #ffffff;
}

/* Мобильная версия в светлой теме */
.sports-light-categories-mobile {
	background-color: #f5f5f5;
}

.sports-light-categories-mobile .sports-scroll-container .sport-item {
	background-color: #e0e0e0;
	color: #333333;
}

.sports-light-categories-mobile .sports-scroll-container .sport-item:hover {
	background-color: #d0d0d0;
}

/* Мобильная версия - горизонтальный скролл видов спорта */
.sports-categories-mobile {
	display: none;
	margin: 15px 0;
	padding: 0 15px;
}

.sports-scroll-container {
	display: flex;
	overflow-x: auto;
	padding: 10px 0;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none; /* Firefox */
}

.sports-scroll-container::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera */
}

.sports-scroll-container .sport-item {
	flex: 0 0 auto;
	margin-right: 15px;
	padding: 10px 15px;
	background-color: #263545;
	border-radius: 4px;
	white-space: nowrap;
}

/* Адаптивные стили */
@media (max-width: 768px) {
	.sports-layout,
	.sports-light-layout {
		flex-direction: column;
	}

	.sports-sidebar,
	.sports-light-sidebar {
		display: none;
	}

	.sports-categories-mobile,
	.sports-light-categories-mobile {
		display: block;
	}

	.sports-main-content,
	.sports-light-main-content {
		padding: 0;
		margin-left: 0; /* Убираем отступ на мобильных */
	}

	/* Исправляем баннер в спортивном шаблоне */
	.sports-main-content .banner-container,
	.sports-light-main-content .banner-container {
		margin-top: 0; /* Убираем отступ сверху, так как он уже есть в .main */
	}

	.sports-main-content .banner-item,
	.sports-light-main-content .banner-item {
		padding-top: 40px; /* Увеличиваем отступ сверху */
	}

	.sports-main-content .banner-content,
	.sports-light-main-content .banner-content {
		padding-top: 0;
		justify-content: flex-start; /* Выравниваем контент по верху */
	}

	.banner-item {
		align-items: start;
	}

	/* Дополнительные стили для светлой версии на мобильных */
	.sports-light-categories-mobile {
		border-bottom: 1px solid #e0e0e0;
	}

	.sports-light-categories-mobile .sport-item {
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	}
}

.grid-title {
	font-size: 18px;
	font-weight: bold;
}

.grid-subtitle {
	font-size: 14px;
}

@media (max-width: 768px) {
	.grid-container {
		flex-direction: column;
		align-items: center;
	}
	.grid-item {
		width: 100%;
	}
}

body > header > div {
	max-width: 100%;
}

/* Стили для покер темы */
.poker-main {
	background-color: transparent; /* Убираем белый фон */
	color: #333333;
	padding-top: 0; /* Убираем отступ сверху */
	margin-top: 0;
}

/* Хиро секция */
.poker-hero {
	color: #ffffff;
	padding: 0; /* Базово без отступов */
	position: relative;
	overflow: hidden;
	min-height: 100vh; /* Полная высота экрана */
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 0; /* Без отрицательных отступов, чтобы не появлялся белый зазор */
	padding-top: 120px; /* Отступ, чтобы контент не налезал на хедер */
	text-align: center;
	z-index: 0; /* Хиро-секция за прозрачным хедером */
}

.poker-hero-bg {
	position: absolute;
	top: 0; /* Фон начинается под хедером */
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	overflow: hidden;
}

.poker-hero-bg::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	/* Универсальное затемнение фона для читаемости контента */
	background: #1e1e1ee5;
	backdrop-filter: blur(5px);
}

.poker-hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	position: absolute;
	top: 0;
	left: 0;
}

.poker-hero-content {
	max-width: 1100px;
	padding: 40px 20px;
	position: relative;
	z-index: 2; /* Поверх изображения и затемнения */
	margin: 0 auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

/* Стили для контейнера кнопок */
.hero-buttons {
	display: flex;
	gap: 20px;
	margin-top: 35px;
	flex-wrap: wrap;
	justify-content: center;
}

/* Стили для светлой кнопки бонуса */
.btn-bonus-light {
	display: inline-block;
	padding: 16px 32px;
	background-color: #ffffff;
	color: #636363;
	font-weight: 600;
	text-decoration: none;
	border-radius: 6px;
	transition: all 0.3s ease;
	text-align: center;
	border: 2px solid #ffffff;
	font-size: 16px;
	text-transform: uppercase;
}

.btn-bonus-light:hover {
	background-color: transparent;
	color: #ffffff;
	border-color: #ffffff;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
	.poker-hero {
		min-height: 100vh;
		padding-top: 140px; /* Отступ под хедер */
		margin-top: 0;
	}
	/* На мобилках затемняем сильнее */
	.poker-hero-bg::after {
		background: linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.5) 0%,
			rgba(0, 0, 0, 0.6) 60%,
			rgba(0, 0, 0, 0.7) 100%
		);
	}

	.poker-hero-content {
		padding: 20px;
		max-width: 90%;
	}

	.hero-subtitle {
		font-size: 16px;
		margin-bottom: 10px;
	}

	.poker-hero h1 {
		font-size: 32px;
	}

	.poker-hero p {
		font-size: 16px;
	}

	.hero-buttons {
		flex-direction: column;
		align-items: center;
		gap: 15px;
	}

	.btn-play,
	.btn-bonus-light {
		width: 100%;
		max-width: 280px;
	}

	.hero-bonus-text {
		font-size: 13px;
		margin-top: 20px;
	}
}

.poker-hero h1 {
	font-size: 56px;
	font-weight: 700;
	margin-bottom: 25px;
	text-transform: uppercase;
	line-height: 1.2;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	text-align: center;
	width: 100%;
}

.hero-subtitle {
	font-size: 18px;
	color: #00ab55;
	text-transform: uppercase;
	font-weight: 600;
	margin-bottom: 15px;
	letter-spacing: 1px;
	text-align: center;
	width: 100%;
}

.poker-hero p {
	font-size: 18px;
	margin-bottom: 35px;
	color: #ffffff;
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	width: 100%;
	/* Подложка под текст для лучшей читаемости */
	background: rgba(0, 0, 0, 0.35);
	padding: 12px 16px;
	border-radius: 12px;
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-bonus-text {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
	margin-top: 25px;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	width: 100%;
}

/* Блок с иконками и преимуществами */
.hero-features {
	display: flex;
	justify-content: center;
	gap: 30px;
	margin-top: 50px;
	flex-wrap: nowrap;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.hero-feature {
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(255, 255, 255, 0.1);
	padding: 18px 20px;
	border-radius: 12px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	transition: all 0.3s ease;
	flex: 1;
	min-width: 0;
	max-width: 320px;
}

.hero-feature:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-feature-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	color: #00ab55;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-feature-icon svg {
	width: 100%;
	height: 100%;
}

.hero-feature-content {
	flex: 1;
}

.hero-feature-title {
	font-size: 16px;
	font-weight: 600;
	color: #ffffff;
	margin-bottom: 5px;
	line-height: 1.2;
}

.hero-feature-text {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.3;
}

/* Адаптивные стили для блока с иконками */
@media (max-width: 1024px) {
	.hero-features {
		flex-wrap: wrap;
		gap: 20px;
		margin-top: 40px;
		padding: 0 20px;
	}

	.hero-feature {
		min-width: 280px;
		max-width: none;
	}
}

@media (max-width: 768px) {
	.hero-features {
		flex-direction: column;
		gap: 20px;
		margin-top: 30px;
		padding: 0 20px;
	}

	.hero-feature {
		min-width: auto;
		width: 100%;
		padding: 15px 20px;
		gap: 12px;
	}

	.hero-feature-icon {
		width: 40px;
		height: 40px;
	}

	.hero-feature-title {
		font-size: 15px;
	}

	.hero-feature-text {
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.hero-features {
		margin-top: 25px;
		padding: 0 15px;
	}

	.hero-feature {
		padding: 12px 15px;
		gap: 10px;
	}

	.hero-feature-icon {
		width: 36px;
		height: 36px;
	}

	.hero-feature-title {
		font-size: 14px;
	}

	.hero-feature-text {
		font-size: 12px;
	}
}

.btn-play {
	background-color: #00ab55;
	color: #ffffff;
	font-weight: 700;
	padding: 16px 32px;
	border-radius: 6px;
	display: inline-block;
	text-transform: uppercase;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	font-size: 16px;
	text-decoration: none;
}

.btn-play:hover {
	background-color: #27ae60;
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Секция с кэшбэк бонусами */
.poker-bonuses {
	padding: 60px 0;
	background-color: #ffffff;
	position: relative;
	z-index: 1;
}

.poker-bonuses .section-header {
	text-align: left;
	margin-bottom: 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.poker-bonuses .section-title {
	font-size: 32px;
	font-weight: 700;
	color: #000000;
	margin: 0;
}

.poker-bonuses .section-description {
	font-size: 16px;
	color: #333333;
	margin: 8px 0 0 0;
}

.btn-all-bonuses {
	background-color: transparent;
	color: #333333;
	border: 1px solid #333333;
	padding: 12px 24px;
	border-radius: 6px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	transition: all 0.3s ease;
}

.btn-all-bonuses:hover {
	background-color: #333333;
	border-color: #444444;
	color: #ffffff;
}

.bonuses-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.bonus-card {
	border-radius: 12px;
	overflow: hidden;
	position: relative;
	transition: all 0.3s ease;
	min-height: 280px;
}

.bonus-card:hover {
	transform: translateY(-5px);
}

/* Белые фоны с цветными границами для карточек */
.bonus-card-blue {
	background: #ffffff;
	border: 2px solid #3b82f6;
}

.bonus-card-purple {
	background: #ffffff;
	border: 2px solid #a855f7;
}

.bonus-card-green {
	background: #ffffff;
	border: 2px solid #10b981;
}

.bonus-card-orange {
	background: #ffffff;
	border: 2px solid #f97316;
}

/* Цветные заголовки для разных типов карточек */
.bonus-card-blue .bonus-brand {
	color: #3b82f6;
}

.bonus-card-purple .bonus-brand {
	color: #a855f7;
}

.bonus-card-green .bonus-brand {
	color: #10b981;
}

.bonus-card-orange .bonus-brand {
	color: #f97316;
}

.bonus-card-header {
	padding: 24px 24px 16px 24px;
	position: relative;
}

.bonus-brand {
	font-size: 24px;
	font-weight: 700;
	color: #000000;
	margin-bottom: 4px;
}

.bonus-subtitle {
	font-size: 14px;
	color: #666666;
	font-weight: 500;
}

.bonus-card-body {
	padding: 0 24px 24px 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex-grow: 1;
}

.bonus-features {
	margin-bottom: 20px;
}

.bonus-feature {
	font-size: 13px;
	color: #333333;
	margin-bottom: 8px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.bonus-feature:last-child {
	margin-bottom: 0;
}

.btn-bonus-outline {
	background-color: transparent !important;
	color: #333333 !important;
	border: 1px solid #333333 !important;
	padding: 12px 24px;
	border-radius: 6px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	transition: all 0.3s ease;
	display: inline-block;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
}

.btn-bonus-outline:hover {
	background-color: #333333 !important;
	border-color: #333333 !important;
	color: #ffffff !important;
	text-decoration: none;
}

/* Ensure all bonus buttons in poker-bonuses section have uniform styling */
.poker-bonuses .btn-bonus-outline,
.poker-bonuses .bonus-card .btn-bonus-outline,
.poker-bonuses .bonus-card-blue .btn-bonus-outline,
.poker-bonuses .bonus-card-purple .btn-bonus-outline,
.poker-bonuses .bonus-card-green .btn-bonus-outline,
.poker-bonuses .bonus-card-orange .btn-bonus-outline {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	color: #333333 !important;
	border: 1px solid #333333 !important;
	padding: 12px 24px !important;
	border-radius: 6px !important;
	text-decoration: none !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	transition: all 0.3s ease !important;
	display: inline-block !important;
	width: 100% !important;
	text-align: center !important;
	box-sizing: border-box !important;
}

.poker-bonuses .btn-bonus-outline:hover,
.poker-bonuses .bonus-card .btn-bonus-outline:hover,
.poker-bonuses .bonus-card-blue .btn-bonus-outline:hover,
.poker-bonuses .bonus-card-purple .btn-bonus-outline:hover,
.poker-bonuses .bonus-card-green .btn-bonus-outline:hover,
.poker-bonuses .bonus-card-orange .btn-bonus-outline:hover {
	background: #333333 !important;
	background-color: #333333 !important;
	background-image: none !important;
	border-color: #333333 !important;
	color: #ffffff !important;
	text-decoration: none !important;
}

.btn-bonus {
	background-color: #00ab55;
	color: #ffffff;
	font-weight: 600;
	padding: 8px 20px;
	border-radius: 4px;
	display: inline-block;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 14px;
	transition: all 0.3s ease;
}

.btn-bonus:hover {
	background-color: #27ae60;
}

.btn-bonus-yellow {
	background-color: #ffbb2a;
	color: #000000;
	font-weight: 600;
	padding: 8px 20px;
	border-radius: 4px;
	text-decoration: none;
	display: inline-block;
	text-transform: uppercase;
	font-size: 14px;
	transition: all 0.3s ease;
	border: 2px solid #ffbb2a;
}

.btn-bonus-yellow:hover {
	background-color: transparent;
	color: #ffbb2a;
	border-color: #ffbb2a;
}

/* Секция с преимуществами */
.poker-features {
	padding: 80px 0;
	background-color: #ffffff;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-top: 50px;
}

.feature-card {
	text-align: center;
	padding: 30px 20px;
	transition: all 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-5px);
}

.feature-icon {
	width: 80px;
	height: 80px;
	background-color: #f5f5f5;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
}

.feature-icon img {
	width: 40px;
	height: 40px;
	margin: 0 auto;
}

.feature-title {
	font-size: 18px;
	font-weight: 700;
	color: #333333;
	margin-bottom: 10px;
}

.feature-description {
	font-size: 14px;
	color: #666666;
}

/* Основной контент */
.poker-content {
	padding: 60px 0;
	background-color: #141414;
}

.content-wrapper p {
	margin-bottom: 20px;
	line-height: 1.8;
	font-size: 16px;
	color: #e5e6ec;
}

.content-wrapper {
	line-height: 1.8;
}

.content-wrapper {
	margin: 0 auto;
}

/* Стили для заголовков в основном контенте */
.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4,
.content-wrapper h5,
.content-wrapper h6 {
	margin-top: 40px;
	margin-bottom: 20px;
	color: #ffffff;
	font-weight: 700;
	line-height: 1.3;
}

.content-wrapper h1 {
	font-size: 32px;
	margin-top: 50px;
}

.content-wrapper h2 {
	font-size: 28px;
	margin-top: 45px;
}

.content-wrapper h3 {
	font-size: 24px;
	margin-top: 40px;
}

.content-wrapper h4 {
	font-size: 20px;
	margin-top: 35px;
}

.content-wrapper h5 {
	font-size: 18px;
	margin-top: 30px;
}

.content-wrapper h6 {
	font-size: 16px;
	margin-top: 25px;
}

/* Первый заголовок без верхнего отступа */
.content-wrapper > h1:first-child,
.content-wrapper > h2:first-child,
.content-wrapper > h3:first-child,
.content-wrapper > h4:first-child,
.content-wrapper > h5:first-child,
.content-wrapper > h6:first-child {
	margin-top: 0;
}

/* Стили для списков в основном контенте */
.content-wrapper ul {
	padding-left: 20px;
	margin-bottom: 20px;
	list-style-type: disc;
}

.content-wrapper ol {
	padding-left: 20px;
	margin-bottom: 20px;
	list-style-type: decimal;
}

.content-wrapper ul li,
.content-wrapper ol li {
	margin-bottom: 10px;
	line-height: 1.6;
	position: relative;
	color: #e5e6ec;
}

.content-wrapper ul li::before {
	content: '';
	position: absolute;
	left: -18px;
	top: 8px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: #00ab55;
}

.content-wrapper ol {
	counter-reset: item;
}

.content-wrapper ol li {
	counter-increment: item;
}

.content-wrapper ol li::before {
	content: counter(item) '. ';
	color: #00ab55;
	font-weight: bold;
	display: inline-block;
	margin-right: 5px;
}

/* Стили для таблиц в основном контенте */
.content-wrapper table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 30px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	border-radius: 8px;
	overflow: hidden;
	background-color: #1f2329;
	border: 1px solid #3a3f45;
}

.content-wrapper table th {
	background-color: #2b3037;
	color: #ffffff;
	font-weight: 600;
	text-align: left;
	padding: 15px;
	border: 1px solid #2b3037;
}

.content-wrapper table td {
	padding: 12px 15px;
	border: 1px solid #2b3037;
	font-size: 14px;
	color: #e5e6ec;
	vertical-align: middle;
}

.content-wrapper table tr:nth-child(even) {
	background-color: #23272e;
}

.content-wrapper table tr:hover {
	background-color: #2b3037;
}

/* Адаптивные стили для таблиц на мобильных устройствах */
@media (max-width: 768px) {
	.content-wrapper table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}
}

/* Адаптивные стили для изображений */
.wp-block-image {
	margin: 30px 0;
	text-align: center;
}

.wp-block-image img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.wp-block-image figcaption {
	margin-top: 10px;
	font-size: 14px;
	color: #666;
	text-align: center;
}

.wp-block-image.alignleft {
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
	max-width: 50%;
}

.wp-block-image.alignright {
	float: right;
	margin-left: 20px;
	margin-bottom: 20px;
	max-width: 50%;
}

.wp-block-image.aligncenter {
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 768px) {
	.wp-block-image.alignleft,
	.wp-block-image.alignright {
		float: none;
		margin: 20px auto;
		max-width: 100%;
	}
}

/* Адаптивные стили для покер темы */
@media (max-width: 1200px) {
	.bonuses-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.features-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Медиа-запрос для разрешений 1700px и ниже */
@media (max-width: 1700px) {
	.poker-hero-image {
		object-position: center top;
		transform: translateY(0);
	}

	.poker-hero-bg {
		top: 0;
	}
}

@media (max-width: 768px) {
	.poker-hero h1 {
		font-size: 32px;
	}

	.poker-bonuses .section-title {
		font-size: 28px;
	}

	.poker-bonuses .section-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.bonuses-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.features-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.poker-hero {
		padding: 60px 0;
	}

	.poker-bonuses,
	.poker-features,
	.poker-content {
		padding: 40px 0;
	}

	.bonus-card {
		min-height: 240px;
	}

	.bonus-brand {
		font-size: 20px;
	}
}

/* Секция с играми */
.games-section {
	position: relative;
	margin-top: -200px;
	padding: 0 0 60px 0;
	z-index: 10;
}

.games-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ===== ТУРНИРЫ ===== */
.tournaments-section {
	padding: 50px 0 30px 0;
	background: #141414;
}
.tournaments-title {
	color: #ffffff;
	font-size: 40px;
	font-weight: 800;
	margin-bottom: 8px;
}
.tournaments-tabs {
	display: flex;
	align-items: center;
	gap: 24px;
	border-bottom: 1px solid #2b3037;
	margin-bottom: 18px;
}
.tournaments-tab {
	background: transparent;
	color: #cfd3da;
	padding: 8px 0;
	border: 0;
	cursor: pointer;
	position: relative;
	font-weight: 600;
}
.tournaments-tab.is-active {
	color: #ffffff;
}
.tournaments-tab.is-active::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 3px;
	background: #00ab55;
	border-radius: 3px;
}
.tournaments-subtitle {
	color: #ffffff;
	font-size: 28px;
	font-weight: 800;
	margin: 16px 0 14px 0;
}
.tournaments-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	display: none;
}
.tournaments-grid.is-active {
	display: grid;
}
@media (max-width: 1024px) {
	.tournaments-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 768px) {
	.tournaments-grid {
		grid-template-columns: 1fr;
	}
}
.t-card {
	display: flex;
	flex-direction: column;
	background: #1f2329;
	border: 1px solid #2b3037;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}
.t-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
	border-color: #343a40;
}
.t-card__image {
	position: relative;
	height: 190px;
	overflow: hidden;
}
.t-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.t-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: #1ad07d;
	color: #0f1a14;
	font-weight: 700;
	font-size: 12px;
	padding: 6px 10px;
	border-radius: 8px;
}
.t-card__body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.t-card__title {
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
}
.t-card__meta {
	color: #aab0b7;
	font-size: 14px;
}
.t-card__prize {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #23272e;
	border: 1px solid #2b3037;
	padding: 10px 12px;
	border-radius: 8px;
	color: #cfd3da;
}
.t-card__prize span {
	font-size: 13px;
	color: #aab0b7;
}
.t-card__prize strong {
	color: #fff;
	font-weight: 800;
}
.t-card__more {
	margin-top: 8px;
	color: #00ab55;
	font-weight: 700;
	text-decoration: none;
	display: inline-block;
}
.t-card__more:hover {
	text-decoration: underline;
}
.t-empty {
	color: #cfd3da;
}

/* ===== WPFront Scroll Top → заменить на зелёную иконку чата ===== */
#wpfront-scroll-top-container,
.wpfront-scroll-top-container {
	background-color: #00ab55 !important; /* зелёный фон */
	border-radius: 50% !important;
	width: 56px !important;
	height: 56px !important;
	box-shadow: 0 10px 30px rgba(22, 197, 122, 0.35) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

/* прячем стандартную картинку стрелки */
#wpfront-scroll-top-container img,
.wpfront-scroll-top-container img {
	display: none !important;
}

/* рисуем иконку чата белым цветом поверх */
#wpfront-scroll-top-container::after,
.wpfront-scroll-top-container::after {
	content: '' !important;
	width: 26px;
	height: 26px;
	display: block;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 26px 26px;
	/* SVG-иконка чата (белая) */
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M4 4h16a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H9.5l-3.7 3.7A1 1 0 0 1 4 20.9V17H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm3 5a1 1 0 1 0 0 2h10a1 1 0 1 0 0-2H7zm0 4a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2H7z'/></svg>");
}

#wpfront-scroll-top-container:hover,
.wpfront-scroll-top-container:hover {
	background-color: #13b56f !important;
}
.game-card {
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	transition: all 0.3s ease;
	border: 1px solid #e0e0e0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.game-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
	border-color: #d0d0d0;
}

.game-image {
	position: relative;
	overflow: hidden;
	height: 200px;
}

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

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

.game-content {
	padding: 24px;
}

.game-title {
	font-size: 24px;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 12px;
	text-align: center;
}

.game-description {
	color: #333333;
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 20px;
	text-align: center;
}

.game-buttons {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.btn-play-now {
	background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
	color: #000;
	padding: 12px 24px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.btn-play-now:hover {
	background: linear-gradient(135deg, #00cc6a 0%, #00aa55 100%);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 255, 136, 0.3);
}

.btn-play-demo {
	background: transparent;
	color: #333333;
	padding: 12px 24px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.3s ease;
	border: 2px solid #333333;
	cursor: pointer;
}

.btn-play-demo:hover {
	background: rgba(0, 0, 0, 0.1);
	border-color: #000000;
	transform: translateY(-2px);
}

/* Адаптивность для игр */
@media (max-width: 768px) {
	.games-section {
		padding: 40px 0;
	}

	.games-grid {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 0 20px;
	}

	.game-image {
		height: 180px;
	}

	.game-content {
		padding: 20px;
	}

	.game-title {
		font-size: 20px;
	}

	.game-buttons {
		flex-direction: column;
		gap: 10px;
	}

	.btn-play-now,
	.btn-play-demo {
		width: 100%;
		text-align: center;
	}
}
