/* RESET */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	background-color: #0B0F26;
	color: #FFFFFF;
}

/* ===== HEADER (DESKTOP & MOBILE) ===== */
header.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

/* Top strip */
header.site-header .topbar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px;
	background: #16385d;
}

header.site-header .burger {
	display: none;
	place-items: center;
	width: 40px; height: 40px;
	border: 0; background: transparent;
	cursor: pointer; border-radius: 10px;
}
header.site-header .burger:focus-visible {
	outline: 2px solid #2a86ff; outline-offset: 2px;
}
header.site-header .burger svg { width: 22px; height: 22px; fill: #ffffff; }

header.site-header .logo { display: inline-flex; align-items: center; }
header.site-header .logo img { height: 28px; display: block; }

header.site-header .spacer { flex: 1; }

/* Right cluster */
header.site-header .header-actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

/* Small icon chips */
header.site-header .chip {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	height: 36px; min-width: 36px; padding: 0 10px;
	border-radius: 8px;
	background: #1f4f78;
	border: 1px solid #2a628f;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
	color: #ffffff; text-decoration: none;
}
header.site-header .chip:hover { background: #225b8a; }
header.site-header .chip svg { width: 18px; height: 18px; fill: currentColor; }

header.site-header .chip .badge {
	position: absolute; top: -4px; right: -4px;
	min-width: 16px; height: 16px; border-radius: 999px;
	background: #9ad84a; color: #17314e;
	font: 700 10px/16px Roboto, system-ui, sans-serif;
	text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.35);
}

/* Buttons */
header.site-header .btn-reg {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 138px; height: 36px; padding: 0 16px;
	border-radius: 10px; background: #86C042; color: #11324f;
	font: 700 13px/36px Roboto, system-ui, sans-serif;
	text-decoration: none; border: 1px solid rgba(0,0,0,.08);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
header.site-header .btn-reg:hover { background: #79b338; }

header.site-header .btn-login {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 74px; height: 36px; padding: 0 14px;
	border-radius: 10px; background: #1f5a8b; color: #ffffff;
	font: 700 13px/36px Roboto, system-ui, sans-serif;
	text-decoration: none; border: 1px solid #2a628f;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
header.site-header .btn-login:hover { background: #226497; }

/* Gear + chevron */
header.site-header .chip--split { gap: 8px; padding-right: 8px; }
header.site-header .chip--split .chev { width: 14px; height: 14px; opacity: .9; }

/* Lang/Time chip */
header.site-header .chip-lang {
	display: inline-flex; align-items: center; gap: 8px;
	height: 36px; padding: 0 10px 0 8px;
	border-radius: 10px; background: #1f4f78; border: 1px solid #2a628f;
	color: #ffffff; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
header.site-header .chip-lang .flag { width: 18px; height: 18px; border-radius: 50%; overflow: hidden; display: inline-flex; border: 1px solid rgba(0,0,0,.15); }
header.site-header .chip-lang .flag svg { width: 100%; height: 100%; display: block; }
header.site-header .chip-lang .code { font-weight: 700; }
header.site-header .chip-lang .slash { opacity: .8; }
header.site-header .chip-lang .time { font-weight: 700; }
header.site-header .chip-lang .chev { width: 14px; height: 14px; margin-left: 6px; }

/* ===== BOTTOM NAV (DESKTOP) ===== */
header.site-header .navbar { background: #1E4E7A; border-top: 1px solid #1a426a; }
header.site-header .menu { display: flex; gap: 18px; padding: 0px 16px; overflow-x: auto; }
header.site-header .menu a {
	color: #ffffff; text-decoration: none; white-space: nowrap;
	font-weight: 600; padding: 8px 10px; border-radius: 8px;
}
header.site-header .menu a:hover { background: rgba(255,255,255,.08); }

/* ===== MOBILE SPECIFICS ===== */
header.site-header .mobile-cta { display: none; gap: 8px; padding: 8px 16px; background: #16385d; }
header.site-header .mobile-cta .btn-reg,
header.site-header .mobile-cta .btn-login { flex: 1; }

/* Off-canvas */
.offcanvas { position: fixed; inset: 0; z-index: 60; display: none; }
.offcanvas.is-open { display: block; }
.offcanvas__mask { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.offcanvas__panel {
	position: absolute; top: 0; left: 0; height: 100%; width: 86%; max-width: 360px;
	background: #0B2B4A; box-shadow: 0 10px 30px rgba(0,0,0,.4); display: flex; flex-direction: column;
}
.offcanvas__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 14px 16px; border-bottom: 1px solid #1a426a; color: #ffffff;
}

/* swap: close button LEFT, title RIGHT; real "X" icon */
.offcanvas__close {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer;
}
.offcanvas__close svg { width: 22px; height: 22px; display: block; }
.offcanvas__title { font-weight: 700; margin-left: auto; }

/* body */
.offcanvas__body { padding: 12px 12px 24px; overflow: auto; }

/* keep links/icons white inside aside (no purple visited state) */
.offcanvas a,
.offcanvas a:visited { color: #ffffff; }
.offcanvas .chip { color: #ffffff !important; }
.offcanvas .chip svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }

/* top quick icons row — EXACTLY LIKE DESKTOP CHIPS */
.off-actions {
	display: grid;
	grid-template-columns: repeat(4, 44px); /* four fixed chips */
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}
.off-actions .chip {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0;
	border-radius: 8px;
	background: #1f4f78;               /* desktop chip bg */
	border: 1px solid #2a628f;         /* light border */
	box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
	color: #ffffff !important;
	text-decoration: none;
}
.off-actions .chip:hover { background: #225b8a; }

/* gift badge */
.off-actions .chip .badge {
	position: absolute; top: -6px; right: -6px;
	min-width: 16px; height: 16px; border-radius: 999px;
	background: #9ad84a; color: #17314e;
	font: 700 10px/16px Roboto, system-ui, sans-serif;
	text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.35);
}

/* menu items */
.off-menu { display: grid; gap: 6px; }
.off-menu a {
	display: block; padding: 10px 12px; border-radius: 10px;
	color: #ffffff; text-decoration: none;
	background: rgba(255,255,255,.06); border: 1px solid #1a426a;
}
.off-menu a:hover { background: rgba(255,255,255,.12); }

/* Responsive */
@media (max-width: 768px) {
	header.site-header .burger { display: grid; }

	/* Right cluster hidden on mobile */
	header.site-header .header-actions { display: none; }
	header.site-header .navbar { display: none; }
	header.site-header .mobile-cta { display: flex; }

	/* Center logo between burger (left) and empty right side */
	header.site-header .topbar { position: relative; justify-content: center; padding: 8px 12px; }
	header.site-header .burger { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); }
	header.site-header .spacer { display: none; }
	header.site-header .logo { margin: 0 auto; }
	header.site-header .logo img { height: 24px; }
}

/* ====== LAYOUT CONTAINER (max 1300px) ====== */
.container {
	max-width: 1300px;
	margin: 0 auto;
}

/* ====== HERO SLIDER ====== */
.hero { position: relative; background: #0B0F26; }
.hero__viewport { position: relative; overflow: hidden; border-radius: 14px; }
.hero__track {
	display: flex;                             
	transition: transform .5s ease;
	will-change: transform;
}

.hero__slide {
	position: relative;
	flex: 0 0 100%;
	min-height: 420px;
	display: flex;
	align-items: center;                         
	justify-content: flex-start;                  
}

.hero__bg {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	filter: saturate(1.05);
}
.hero__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(5,12,24,.78) 0%, rgba(5,12,24,.55) 48%, rgba(5,12,24,.28) 100%);
}

/* контент */
.hero__content {
	position: relative; z-index: 2;
	max-width: 420px; padding: 24px;
	display: flex; flex-direction: column; gap: 14px;
}
.hero__title {
	display: inline-block;
	font: 800 32px/1.15 "Roboto", system-ui, sans-serif;
	color: #FFFFFF; letter-spacing: .2px;
}
.hero__text { color: #BFD3EA; font-size: 16px; line-height: 1.55; }
.hero__btn {
	display: inline-flex; align-items: center; justify-content: center;
	height: 44px; padding: 0 18px; border-radius: 12px;
	background: #86C042; color: #0B2036; font-weight: 800; text-decoration: none;
	border: 1px solid rgba(0,0,0,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.hero__btn:hover { background: #79b338; }

.hero__dots {
	position: absolute; left: 0; right: 0; bottom: 14px;
	display: flex; justify-content: center; gap: 8px; z-index: 3;
}
.hero__dot {
	width: 9px; height: 9px; border-radius: 999px;
	background: rgba(255,255,255,.45);
	border: 2px solid rgba(0,0,0,.15);
	cursor: pointer; transition: transform .2s ease, background-color .2s ease;
}
.hero__dot[aria-current="true"] { background: #FFFFFF; transform: scale(1.15); }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
	.hero__slide { min-height: 380px; justify-content: flex-start; }
	.hero__content {
		max-width: 560px;
		padding: 20px 18px 20px 14px; 
		align-items: flex-start;
		text-align: left;
		margin-left: 0;
	}
	.hero__title { font-size: 28px; }
}

@media (max-width: 768px) {
	.hero__slide { min-height: 320px; justify-content: flex-start; }
	.hero__content {
		max-width: 520px;
		padding: 18px 16px 18px 12px; 
		gap: 12px;
		align-items: flex-start;
		text-align: left;
		margin-left: 0;
	}
	.hero__title { font-size: 24px; }
	.hero__btn { height: 42px; }
}

@media (max-width: 520px) {
	.hero__slide { min-height: 300px; justify-content: flex-start; }
	.hero__content {
		gap: 10px;
		padding: 16px 14px 16px 10px; 
		align-items: flex-start;
		text-align: left;
		margin-left: 0;
	}
	.hero__title { font-size: 21px; }
	.hero__text { font-size: 15px; }
	.hero__dots { bottom: 10px; }
}


/* ===== TOP GAMES — elevated card styling ===== */
.topgames {
	padding: 26px 0 8px;
	background: transparent;
}
.topgames .container {
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 px;
}

/* Card wrapper to avoid “висящий” блок */
.topgames__card {
	position: relative;
	border-radius: 18px;
	background:
		radial-gradient(1200px 40% at 0% 0%, rgba(134,192,66,.10), transparent 60%),
		linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
	border: 1px solid rgba(42,98,143,.65);            /* #2a628f */
	box-shadow:
		0 20px 50px rgba(0,0,0,.35),
		inset 0 1px 0 rgba(255,255,255,.06);
	overflow: hidden; /* скругление наследуется внутрь */
}

/* тонкая глянцевая кромка */
.topgames__card::before {
	content: "";
	position: absolute; inset: 0;
	border-radius: 18px;
	padding: 1px;                                   /* толщина обводки */
	background: linear-gradient(135deg, rgba(124,192,67,.55), rgba(21,101,192,.55));
	-webkit-mask: 
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

/* Внутренний фон-подложка для контента */
.topgames__inner {
	position: relative;
	border-radius: 14px;
	background: rgba(11,31,58,.55);
	border: 1px solid rgba(26,66,106,.7);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

/* Шапка секции */
.topgames__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid rgba(255,255,255,.06);
}
.topgames__title {
	display: inline-block;
	font: 800 22px/1.2 "Roboto", system-ui, sans-serif;
	color: #FFFFFF;
	letter-spacing: .2px;
	text-shadow: 0 1px 0 rgba(0,0,0,.25);
}
.topgames__more {
	color: #86C042;
	text-decoration: none;
	font-weight: 800;
	padding: 8px 10px;
	border-radius: 10px;
	border: 1px solid rgba(134,192,66,.25);
	background: rgba(134,192,66,.08);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
}
.topgames__more:hover {
	background: rgba(134,192,66,.14);
}

/* Область скролла с «вставкой» */
.topgames__scroller {
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
	padding: 14px 12px 16px; /* внутри карточки */
	border-radius: 0 0 14px 14px;
	background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00));
}

/* Двухрядная горизонтальная сетка */
.topgames__grid {
	display: grid;
	grid-auto-flow: column;
	grid-template-rows: repeat(2, 150px);
	grid-auto-columns: 140px;
	gap: 14px 14px;
}

/* Карточки игр — лёгкое парение и обрамление */
.game {
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.game__thumb {
	position: relative;
	width: 120px; height: 120px;
	border-radius: 14px;
	overflow: hidden;
	background: #12243a;
	border: 1px solid rgba(255,255,255,.10);
	box-shadow:
		0 8px 22px rgba(0,0,0,.30),
		inset 0 1px 0 rgba(255,255,255,.06);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.game__thumb img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	filter: saturate(1.05);
}
@media (hover:hover) {
	.game__thumb:hover {
		transform: translateY(-3px);
		box-shadow: 0 14px 34px rgba(0,0,0,.38);
		border-color: rgba(134,192,66,.55);
	}
}

/* Оверлей с кнопками на десктопе */
.game__actions {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; justify-content: flex-end;
	gap: 8px; padding: 10px;
	background: linear-gradient(180deg, rgba(7,16,30,0) 40%, rgba(7,16,30,.78) 100%);
	opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
@media (hover:hover) {
	.game__thumb:hover .game__actions { opacity: 1; pointer-events: auto; }
}

/* Кнопки */
.game__btn {
	display: inline-flex; align-items: center; justify-content: center;
	height: 32px; border-radius: 9px;
	border: 1px solid rgba(0,0,0,.08);
	text-decoration: none; font: 800 12px/32px "Roboto", system-ui, sans-serif;
	letter-spacing: .2px;
}
.game__btn--demo {
	background: rgba(255,255,255,.10);
	color: #FFFFFF;
	backdrop-filter: blur(2px);
}
.game__btn--demo:hover { background: rgba(255,255,255,.18); }
.game__btn--play {
	background: #86C042; color: #0B2036;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.game__btn--play:hover { background: #79b338; }

.game__actions--static {
	display: none;
	gap: 8px; margin-top: 8px; width: 120px;
}

.topgames__scroller::-webkit-scrollbar { height: 8px; }
.topgames__scroller::-webkit-scrollbar-track { background: rgba(255,255,255,.06); border-radius: 10px; }
.topgames__scroller::-webkit-scrollbar-thumb { background: rgba(255,255,255,.22); border-radius: 10px; }
.topgames__scroller:hover::-webkit-scrollbar-thumb { background: rgba(255,255,255,.35); }

/* ===== Responsive polish ===== */
@media (max-width: 1024px) {
	.topgames__card { padding: 0px; border-radius: 16px; }
	.topgames__inner { border-radius: 12px; }
}
@media (max-width: 768px) {
	/* на мобильных — кнопки под картинкой, без оверлея */
	.game__actions { display: none !important; }
	.game__actions--static { display: grid; grid-template-columns: 1fr 1fr; }

	/* немного легче фон карточки */
	.topgames__card {
		box-shadow:
			0 14px 40px rgba(0,0,0,.32),
			inset 0 1px 0 rgba(255,255,255,.05);
	}
}
@media (max-width: 520px) {
	.topgames .container { padding: 0 12px; }
	.topgames__head { padding: 12px; }
	.topgames__title { font-size: 20px; }
	.topgames__more { font-weight: 700; }
}

/* ===== Article / Content area (only main has a class) ===== */
main.page-content {
	/* container + single card wrapper */
	max-width: 1300px;
	margin: 26px auto 48px;                 /* аккуратно под ТОП-играми */
	padding: 16px;                           /* внутренняя «подложка» */
	border-radius: 18px;
	position: relative;

	/* фирменная подложка и тени */
	background:
		radial-gradient(1100px 40% at 0% 0%, rgba(134,192,66,.08), transparent 60%),
		linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
	border: 1px solid rgba(26,66,106,.70);
	box-shadow:
		0 20px 50px rgba(0,0,0,.35),
		inset 0 1px 0 rgba(255,255,255,.06);
}
/* тонкая глянцевая кромка без доп. разметки */
main.page-content::before{
	content:"";
	position:absolute; inset:0;
	border-radius:18px; pointer-events:none;
	padding:1px;
	background:linear-gradient(135deg, rgba(124,192,67,.5), rgba(33,115,183,.5));
	-webkit-mask:
		linear-gradient(#000 0 0) content-box,
		linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}
/* убираем «лишние» внешние зазоры у первого/последнего элемента внутри */
main.page-content > *:first-child { margin-top: 0; }
main.page-content > *:last-child  { margin-bottom: 0; }

/* Typography */
main.page-content h1 {
	margin: 6px 0 16px;
	font: 800 34px/1.15 "Roboto", system-ui, sans-serif;
	color: #ffffff;
	letter-spacing: .2px;
}
main.page-content h2 {
	margin: 28px 0 14px;
	font: 800 26px/1.2 "Roboto", system-ui, sans-serif;
	color: #ffffff;
}
main.page-content h3 {
	margin: 24px 0 12px;
	font: 800 20px/1.25 "Roboto", system-ui, sans-serif;
	color: #dbe8f6;
}
main.page-content p {
	margin: 12px 0;
	color: #c8d7e9;
	font: 16px/1.7 "Roboto", system-ui, sans-serif;
}
main.page-content ul,
main.page-content ol {
	margin: 10px 0 16px 20px;
	color: #cfe0f3;
}
main.page-content li { margin: 6px 0; }

/* Images */
main.page-content img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 14px;
	border: 1px solid rgba(255,255,255,.08);
	box-shadow: 0 10px 28px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
	margin: 10px auto;
}

/* Table wrapper (the DIV right before table; no class inside) */
main.page-content > div {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 10px 0 14px;
	border-radius: 12px;
	border: 1px solid rgba(26,66,106,.65);
	background: rgba(11,31,58,.35);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

/* Table */
main.page-content table {
	border-collapse: collapse;
	min-width: 680px;               /* lets horizontal scroll kick in on small screens */
	width: 100%;
}
main.page-content table th,
main.page-content table td {
	padding: 12px 14px;
	text-align: left;
	border-bottom: 1px solid rgba(255,255,255,.06);
	color: #e7f1ff;
	font: 14px/1.45 "Roboto", system-ui, sans-serif;
	white-space: nowrap;
}
main.page-content table th {
	background: #17314e;
	color: #ffffff;
	font-weight: 800;
	position: sticky;
	top: 0;                         /* keeps header visible while scrolling wrapper */
}
main.page-content table tr:nth-child(even) td {
	background: rgba(255,255,255,.03);
}
main.page-content table tr:hover td {
	background: rgba(124,192,66,.08);
}

/* Subtle scrollbar for the div wrapper */
main.page-content > div::-webkit-scrollbar { height: 8px; }
main.page-content > div::-webkit-scrollbar-track { background: rgba(255,255,255,.06); border-radius: 10px; }
main.page-content > div::-webkit-scrollbar-thumb { background: rgba(255,255,255,.22); border-radius: 10px; }
main.page-content > div:hover::-webkit-scrollbar-thumb { background: rgba(255,255,255,.35); }

/* Responsive tweaks */
@media (max-width: 768px) {
	main.page-content {
		margin: 20px auto 36px;
		padding: 12px;
		border-radius: 16px;
	}
	main.page-content h1 { font-size: 28px; margin-bottom: 12px; }
	main.page-content h2 { font-size: 22px; }
	main.page-content h3 { font-size: 18px; }
	main.page-content p  { font-size: 15px; }
}
@media (max-width: 520px) {
	main.page-content {
		margin: 16px auto 30px;
		border-radius: 14px;
	}
	main.page-content img { border-radius: 12px; }
}

/* ===== FOOTER ===== */
.site-footer {
	background: #16385d;                 /* как topbar */
	border-top: 1px solid #1a426a;
	margin-top: 32px;
}

/* card-like wrapper inside to match header width/max 1300px */
.site-footer .footer-wrap {
	max-width: 100%;
	margin: 0 auto;
	padding: 18px 16px 26px;
}

.site-footer .footer-card {
	position: relative;
	background: #1E4E7A;                 /* как navbar */
	border: 1px solid #2a628f;
	border-radius: 14px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}


.site-footer .footer-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0,1fr));
	gap: 18px 28px;
	padding: 20px;
}

.site-footer .footer-col span {
	display: block;
	font: 800 18px/1.2 "Roboto", system-ui, sans-serif;
	color: #ffffff;
	margin: 4px 0 10px;
	text-transform: uppercase;
	letter-spacing: .4px;
}
.site-footer .footer-col ul { list-style: none; }
.site-footer .footer-col li { margin: 8px 0; }
.site-footer .footer-col a {
	color: #d9e9ff;
	text-decoration: none;
}
.site-footer .footer-col a:hover { color: #ffffff; }

.site-footer .apps li {
	display: grid;
	grid-template-columns: 18px 1fr;
	align-items: center;
	gap: 8px;
}
.site-footer .apps svg{
	width: 18px; height: 18px; fill: #ffffff;
	filter: drop-shadow(0 1px 0 rgba(0,0,0,.15));
}

.site-footer .footer-bottom{
	border-top: 1px solid rgba(255,255,255,.08);
	display: flex; justify-content: space-between; align-items: center;
	gap: 12px;
	color: #b8cbe4;
	font: 13px/1.6 "Roboto", system-ui, sans-serif;
	padding: 12px 20px 14px;
	border-radius: 0 0 14px 14px;
}
.site-footer .legal a{ color:#d9e9ff; text-decoration:none; }
.site-footer .legal a:hover{ color:#ffffff; }

@media (max-width: 1200px){
	.site-footer .footer-grid{ grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 900px){
	.site-footer .footer-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 700px){
	.site-footer .footer-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 480px){
	.site-footer .footer-wrap{
		padding: 14px 12px 20px;
	}

	.site-footer .footer-grid{
		grid-template-columns: 1fr;
		padding: 14px;
		gap: 12px 18px;
		text-align: center;
	}

	.site-footer .footer-col ul{ padding: 0; }
	.site-footer .footer-col li{ margin: 8px 0; }
	.site-footer .footer-col a{
		display: inline-block;
	}

	.site-footer .apps{
		justify-items: center;
	}
	.site-footer .apps li{
		grid-template-columns: 18px auto;
		justify-content: center;
	}

	.site-footer .footer-bottom{
		padding: 10px 14px 12px;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}

header.site-header .navbar {
	background: #1E4E7A;
	border-top: 1px solid #1a426a;
}
header.site-header .menu ul {
	display: flex;
	gap: 18px;
	padding: 10px 16px;
	margin: 0;
	list-style: none;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
header.site-header .menu li {
	flex: 0 0 auto; /* чтобы элементы не сжимались при горизонтальном скролле */
}
header.site-header .menu a {
	color: #ffffff;
	text-decoration: none;
	white-space: nowrap;
	font-weight: 600;
	padding: 8px 10px;
	border-radius: 8px;
	display: inline-block;
}
header.site-header .menu a:hover {
	background: rgba(255,255,255,.08);
}

/* Off-canvas menu */
.off-menu ul {
	display: grid;
	gap: 6px;
	padding: 0;
	margin: 0;
	list-style: none;
}
.off-menu li { }
.off-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: 10px;
	color: #ffffff;
	text-decoration: none;
	background: rgba(255,255,255,.06);
	border: 1px solid #1a426a;
}
.off-menu a:hover {
	background: rgba(255,255,255,.12);
}