* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	color: var(--text);
	background: var(--bg);
}

:root{
	--bg:#141920;
	--bg-2:#1a2028;
	--surface:#1d232e;
	--text:#f2f5f8;
	--muted:#aab3be;
	--accent:#ffcc00;
	--accent-2:#ffb600;
	--outline:rgba(255,255,255,.12);
	--radius:14px;
	--maxw:1280px;
	--shadow-1:0 6px 18px rgba(0,0,0,.35);
	--shadow-2:0 12px 28px rgba(0,0,0,.45);
	--glass:rgba(255,255,255,.055);
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: linear-gradient(180deg, var(--bg), var(--bg-2));
	border-bottom: 1px solid #000;
	box-shadow: var(--shadow-1);
	backdrop-filter: saturate(120%) blur(6px);
}

.header-inner{
	max-width:var(--maxw);
	margin:0 auto;
	padding:14px 20px;
	display:grid;
	grid-template-columns:max-content 1fr max-content;
	grid-template-areas:"logo . controls";
	align-items:center;
	column-gap:16px;
}

.logo{grid-area:logo;justify-self:start;display:flex;align-items:center;gap:10px}
.main-nav{grid-area:nav;justify-self:center}
.right-controls{grid-area:controls;justify-self:end;display:flex;gap:14px;align-items:center}
.main-nav{display:none}

.burger {
	grid-area: burger;
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid var(--outline);
	background: var(--glass);
	padding: 0px 8px;
	border-radius: 12px;
	color: var(--text);
	transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.burger:hover { transform: translateY(-1px); }
.burger:active { transform: translateY(0); }
.burger span {
	display: block;
	height: 2px;
	background: var(--text);
	margin: 7px 0;
	transition: .25s ease;
	border-radius: 2px;
	opacity:.95;
}
.burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-9px) rotate(-45deg); }

.logo {
	grid-area: logo;
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	justify-self: start;
}
.logo img {
	height: 32px;
	display: block;
	filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
}

.main-nav {
	grid-column: 2 / 3;
	justify-self: center;
}
.main-nav ul {
	display: flex;
	white-space: nowrap;
	gap: 22px;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0;
}
.main-nav a {
	color: var(--text);
	text-decoration: none;
	font-weight: 700;
	letter-spacing: .2px;
	opacity: .92;
	padding: 10px 6px;
	position: relative;
	transition: opacity .2s ease, transform .2s ease;
}
.main-nav a:hover { opacity: 1; transform: translateY(-1px); }
.main-nav a::after {
	content: "";
	position: absolute;
	left: 10%;
	right: 10%;
	bottom: -12px;
	height: 3px;
	background: transparent;
	border-radius: 2px;
	transition: background .2s ease, left .2s ease, right .2s ease;
}
.main-nav a:hover::after { background: var(--accent); left: 0; right: 0; }

.right-controls {
	grid-area: controls;
	display: flex;
	gap: 14px;
	align-items: center;
	justify-self: end;
}

.auth {
	display: flex;
	gap: 12px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 800;
	border: 1px solid transparent;
	transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
	box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.btn:focus-visible {
	outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
	outline-offset: 2px;
}
.btn-primary {
	background: linear-gradient(180deg, var(--accent), var(--accent-2));
	color: #121212;
	box-shadow: 0 8px 18px rgba(255,208,0,.25);
}
.btn-primary:hover { filter: brightness(1.04); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
	background: var(--glass);
	color: var(--text);
	border-color: var(--outline);
}
.btn-outline:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-outline:active { transform: translateY(0); }

.settings {
	display: flex;
	gap: 10px;
	align-items: center;
}

.icon-btn {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	border: 1px solid var(--outline);
	background: var(--glass);
	color: var(--muted);
	display: inline-grid;
	place-items: center;
	transition: transform .15s ease, filter .15s ease, border-color .2s ease;
}
.icon-btn:hover { color: var(--text); filter: brightness(1.06); transform: translateY(-1px); }
.icon-btn:active { transform: translateY(0); }

.tz-wrap,
.lang-wrap {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border: 1px solid var(--outline);
	border-radius: 12px;
	color: var(--muted);
	background: var(--glass);
	backdrop-filter: blur(6px);
	box-shadow: 0 4px 12px rgba(0,0,0,.2) inset;
}
select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background: transparent;
	color: inherit;
	border: 0;
	font: inherit;
	padding-right: 18px;
	cursor: pointer;
}
select:focus { outline: none; }
.clock {
	color: var(--text);
	font-weight: 800;
	margin-left: 4px;
}

.nav-stripe {
	width: 100%;
	height: 36px;
	background: linear-gradient(180deg, var(--accent), var(--accent-2));
	box-shadow: inset 0 -1px 0 rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.18);
}

@media (max-width:1024px){
	.header-inner{
		grid-template-columns:44px 1fr 44px;
		grid-template-areas:"burger logo .";
		padding:12px 16px;
	}
	.burger{grid-area:burger;display:inline-block}
	.main-nav{display:none}
	.right-controls{display:none}
	.logo{justify-self:center}
	.logo img{height:30px}
}

.mobile-drawer {
	position: fixed;
	inset: 0 30% 0 0;
	transform: translateX(-100%);
	transition: transform .25s ease;
	background: var(--surface);
	border-right: 1px solid #000;
	z-index: 1001;
	padding: 16px 14px 100px;
	overflow: auto;
	box-shadow: var(--shadow-2);
	backdrop-filter: blur(6px);
}
.mobile-drawer.open { transform: translateX(0); }
.no-scroll { overflow: hidden; }

.drawer-nav ul {
	list-style: none;
	padding: 0;
	margin: 12px 0 0;
	display: grid;
	gap: 8px;
}
.drawer-nav a {
	display: block;
	padding: 14px 14px;
	border-radius: 12px;
	text-decoration: none;
	color: var(--text);
	background: rgba(255,255,255,.05);
	border: 1px solid var(--outline);
	box-shadow: 0 4px 10px rgba(0,0,0,.18);
	font-weight: 700;
	transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.drawer-nav a:hover { background: rgba(255,255,255,.08); transform: translateY(-1px); }
.drawer-nav a:active { transform: translateY(0); }

.drawer-close {
	position: sticky;
	top: 10px;
	margin-left: auto;
	margin-right: -2px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--outline);
	border-radius: 12px;
	background: var(--glass);
	color: var(--text);
	box-shadow: 0 6px 14px rgba(0,0,0,.22);
	transition: transform .15s ease, filter .15s ease;
}
.drawer-close:hover { filter: brightness(1.06); transform: translateY(-1px); }
.drawer-close:active { transform: translateY(0); }
.drawer-close span {
	position: absolute;
	width: 20px;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
}
.drawer-close span:first-child { transform: rotate(45deg); }
.drawer-close span:last-child { transform: rotate(-45deg); }

@media (max-width: 560px) {
	.mobile-drawer { right: 20%; }
}
@media (max-width: 420px) {
	.mobile-drawer { right: 10%; }
}

.mobile-auth-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 998;
	display: none;
	gap: 12px;
	padding: 12px;
	background: linear-gradient(180deg, rgba(0,0,0,.0), rgba(0,0,0,.4)), var(--bg-2);
	border-top: 1px solid #000;
	box-shadow: 0 -8px 18px rgba(0,0,0,.35);
}
@media (max-width: 1024px) {
	.mobile-auth-bar {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
}
.mobile-auth-bar .btn {
	padding: 14px 16px;
	font-size: 15px;
	border-radius: 12px;
}

::selection {
	background: #2b3347;
	color: #fff;
}

.lang-dropdown {
	position: relative;
	padding: 0;
	border: 0;
	background: transparent;
}
.lang-summary {
	list-style: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border: 1px solid var(--outline);
	border-radius: 12px;
	color: var(--muted);
	background: var(--glass);
	cursor: pointer;
}
.lang-dropdown[open] .lang-summary {
	filter: brightness(1.06);
}
.lang-list {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--surface);
	border: 1px solid var(--outline);
	border-radius: 12px;
	box-shadow: var(--shadow-2);
	display: grid;
	gap: 6px;
	min-width: 160px;
	z-index: 10;
}
.lang-list a {
	display: block;
	padding: 10px 12px;
	border-radius: 10px;
	text-decoration: none;
	color: var(--text);
	background: rgba(255,255,255,.05);
	border: 1px solid var(--outline);
}
.lang-list a:hover {
	background: rgba(255,255,255,.08);
}
.lang-current {
	font-weight: 800;
	color: var(--text);
}
.lang-dropdown summary::-webkit-details-marker {
	display: none;
}

.nav-stripe{
	width:100%;
	height:36px;
	background:linear-gradient(180deg,var(--accent),var(--accent-2));
	box-shadow:inset 0 -1px 0 rgba(0,0,0,.25),0 8px 16px rgba(0,0,0,.18);
	display:flex;
	align-items:center;
}
.stripe-nav{
	width:100%;
	max-width:var(--maxw);
	margin:0 auto;
	padding:0 20px;
}
.stripe-nav ul{
	display:flex;
	align-items:center;
	gap:22px;
	list-style:none;
	margin:0;
	padding:0;
	white-space:nowrap;
}
.stripe-nav a{
	color:#111;
	text-decoration:none;
	font-weight:800;
	letter-spacing:.2px;
	padding:6px 0;
	position:relative;
	opacity:.95;
}
.stripe-nav a:hover{opacity:1}
.stripe-nav a::after{
	content:"";
	position:absolute;
	left:0; right:0; bottom:-8px;
	height:3px;
	background:transparent;
	border-radius:2px;
	transition:background .2s ease;
}
.stripe-nav a:hover::after{background:#111}

@media (max-width:1024px){
	.header-inner{
		grid-template-columns:44px 1fr 44px;
		grid-template-areas:"burger logo .";
		padding:12px 16px;
	}
	.burger{grid-area:burger;display:inline-block}
	.right-controls{display:none}
	.logo{justify-self:center}
	.logo img{height:30px}
	.nav-stripe{display:none}
}

.hero {
	width: 100%;
}
.hero-inner {
	max-width: var(--maxw);
	margin: 0 auto;
	position: relative;
	padding: 0 20px;
}
.hero-viewport {
	position: relative;
	overflow: hidden;
}
.hero-track {
	display: flex;
	will-change: transform;
}
.hero-slide {
	min-width: 100%;
	height: 420px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	background-image: var(--img);
	background-size: cover;
    background-repeat: no-repeat;
	background-position: center;
	box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 65%, rgba(0,0,0,.65) 100%);
}
.hero-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px;
	max-width: 760px;
	margin-left: 0;
}
.hero-title {
	display: inline-block;
	font-weight: 900;
	font-size: 28px;
	line-height: 1.15;
	color: #fff;
	padding: 8px 0px;
}
.hero-text {
	margin: 0;
	color: var(--text);
	font-size: 16px;
	opacity: .95;
}
.hero-cta {
	align-self: flex-start;
	padding: 12px 18px;
}
.hero-dots {
	position: absolute;
	left: 50%;
	bottom: 14px;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	padding: 6px 8px;
	border-radius: 999px;
	background: rgba(0,0,0,.28);
	border: 1px solid var(--outline);
}
.hero-dots button {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1px solid var(--outline);
	background: rgba(255,255,255,.25);
	cursor: pointer;
}
.hero-dots button.active {
	background: var(--accent);
	border-color: transparent;
}
@media (max-width: 1024px) {
	.hero-inner { padding: 0 16px; }
	.hero-slide { height: 360px; }
	.hero-content { padding: 22px; gap: 12px; }
	.hero-title { font-size: 24px; }
}
@media (max-width: 560px) {
	.hero-inner { padding: 0; }
	.hero-slide { height: 300px; border-radius: 0; }
	.hero-overlay { border-radius: 0; }
	.hero-viewport { border-radius: 0; }
	.hero-title { font-size: 20px; }
	.hero-text { font-size: 14px; }
}

.topgames {
	width: 100%;
}
.topgames-inner {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 16px 20px 0;
}
.topgames-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}
.topgames-title {
	font-weight: 900;
	font-size: 18px;
	color: var(--text);
	letter-spacing: .2px;
}
.topgames-more {
	color: #111;
	background: linear-gradient(180deg, var(--accent), var(--accent-2));
	border-radius: 10px;
	padding: 8px 12px;
	text-decoration: none;
	font-weight: 800;
	box-shadow: 0 6px 14px rgba(255,208,0,.25);
}

.topgames-grid {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 110px;
	grid-template-rows: 110px 110px;
	gap: 12px;
	overflow-x: auto;
	padding-bottom: 8px;
	scroll-snap-type: x mandatory;
}
.topgames-grid::-webkit-scrollbar {
	height: 8px;
}
.topgames-grid::-webkit-scrollbar-thumb {
	background: rgba(255,255,255,.15);
	border-radius: 999px;
}

.game-card {
	width: 110px;
	scroll-snap-align: start;
}
.game-thumb {
	position: relative;
	width: 110px;
	height: 110px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 24px rgba(0,0,0,.35);
	background: var(--surface);
}
.game-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55));
	opacity: 0;
	transition: opacity .2s ease;
}
@media (hover:hover) {
	.game-card:hover .overlay { opacity: 1; }
	.game-actions { display: none; }
}
@media (hover:none) {
	.overlay { display: none; }
	.game-actions { display: flex; }
}

.game-actions {
	margin-top: 8px;
	display: flex;
	gap: 8px;
	justify-content: center;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	text-decoration: none;
	border-radius: 10px;
	border: 1px solid transparent;
}
.btn.xs {
	font-size: 12px;
	padding: 6px 10px;
}
.btn-ghost {
	background: rgba(255,255,255,.05);
	border-color: var(--outline);
	color: var(--text);
}
.btn-ghost:hover {
	filter: brightness(1.06);
}
.btn-accent {
	background: linear-gradient(180deg, var(--accent), var(--accent-2));
	color: #111;
	box-shadow: 0 6px 14px rgba(255,208,0,.25);
}

.game-actions {
    display: none;
}

@media (max-width: 560px) {
	.topgames-inner { padding: 12px 16px 0; }
	.topgames-grid { gap: 10px; }
}

.content {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 16px 20px 0px;
	color: var(--text);
	background: linear-gradient(180deg, #1a2028, #161b24);
	border: 1px solid rgba(0,0,0,.6);
	box-shadow: 0 10px 28px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.03);
    margin-top: 20px;
}

.content h1 {
	font-size: 32px;
	line-height: 1.2;
	margin: 8px 0 16px;
	font-weight: 900;
}

.content h2 {
	font-size: 24px;
	line-height: 1.25;
	margin: 22px 0 14px;
	font-weight: 800;
}

.content h3 {
	font-size: 20px;
	line-height: 1.3;
	margin: 20px 0 10px;
	font-weight: 800;
}

.content p, .content P {
	margin: 12px 0;
	font-size: 16px;
	line-height: 1.65;
	color: var(--muted);
}

.content img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 14px;
	box-shadow: 0 10px 24px rgba(0,0,0,.35);
	margin: 0 auto;
}

/* списки */
.content ul,
.content ol {
	margin: 12px 0 18px 20px;
	display: grid;
	gap: 8px;
}
.content li { line-height: 1.6 }

.content div {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 2px solid var(--accent);
	border-radius: 0;
	background: rgba(0,0,0,.14);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.content table {
	width: 100%;
	min-width: 720px;
	border-collapse: collapse;
	background: transparent;
}

.content thead th {
	background: #1d232e;
	color: var(--text);
	text-align: left;
	font-weight: 800;
	font-size: 14px;
	letter-spacing: .2px;
}

.content th,
.content td {
	padding: 14px 16px;
	border-right: 1px solid rgba(255,255,255,.08);
	border-bottom: 1px solid rgba(255,255,255,.08);
	white-space: nowrap;
}

.content th:last-child,
.content td:last-child {
	border-right: 0;
}

.content tbody tr:nth-child(odd) td {
	background: rgba(255,255,255,.03);
}

.content tbody tr:hover td {
	background: rgba(255,255,255,.05);
}

.content div::-webkit-scrollbar { height: 10px }
.content div::-webkit-scrollbar-thumb {
	background: rgba(255,255,255,.18);
	border-radius: 999px;
}
.content div::-webkit-scrollbar-track { background: transparent }

@media (max-width: 1024px) {
	.content { padding: 18px }
	.content h1 { font-size: 28px }
	.content h2 { font-size: 22px }
	.content h3 { font-size: 18px }
	.content p, .content P { font-size: 15px }
}

@media (max-width: 560px) {
	.content { padding: 14px 16px }
	.content table { min-width: 560px }
}

.site-footer {
	margin-top: 24px;
	background: linear-gradient(180deg, var(--bg-2), var(--bg));
	color: var(--text);
	border-top: 1px solid #000;
	box-shadow: 0 -10px 24px rgba(0,0,0,.35) inset;
}
.footer-topline {
	height: 4px;
	background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.footer-inner {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 24px 20px;
	display: grid;
	grid-template-columns: 1.2fr repeat(3, 1fr) 1.2fr;
	gap: 24px;
	align-items: start;
}
.footer-brand img {
	height: 28px;
	display: block;
	filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
}
.footer-brand p {
	margin: 10px 0 14px;
	color: var(--muted);
	line-height: 1.6;
}
.footer-social {
	display: flex;
	gap: 10px;
}
.footer-social a {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--outline);
	border-radius: 10px;
	background: var(--glass);
	color: var(--text);
}

.footer-col { display: grid; gap: 10px }
.section-title,
.footer-apps .section-title {
	display: inline-block;
	font-weight: 900;
	font-size: 14px;
	letter-spacing: .3px;
	text-transform: uppercase;
	padding: 6px 10px;
	border: 1px solid var(--accent);
	border-radius: 10px;
	color: #111;
	background: linear-gradient(180deg, var(--accent), var(--accent-2));
	width: max-content;
}

.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}
.footer-col a {
	color: var(--text);
	text-decoration: none;
	opacity: .9;
}
.footer-col a:hover { opacity: 1 }

.footer-apps { display: grid; gap: 12px; justify-items: start }
.footer-apps .app-badges { display: flex; gap: 10px }
.app-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 800;
	border: 1px solid var(--outline);
	background: var(--glass);
	color: var(--text);
}
.app-badge:hover { filter: brightness(1.06) }

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,.08);
	margin-top: 12px;
	padding: 12px 20px 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	max-width: var(--maxw);
	margin-left: auto;
	margin-right: auto;
	color: var(--muted);
}
.footer-bottom .badges { display: inline-flex; gap: 6px }
.footer-bottom .dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255,255,255,.25);
	border: 1px solid var(--outline);
}

@media (max-width: 1024px) {
	.footer-inner { grid-template-columns: 1fr 1fr; gap: 18px }
	.footer-bottom { flex-direction: column; align-items: center; text-align: center }
}

@media (max-width: 560px) {
	.footer-inner {
		grid-template-columns: 1fr;
		padding: 18px 16px;
		justify-items: center;
		text-align: center;
	}

	.footer-brand { display: grid; justify-items: center; }
	.footer-logo { display: inline-block; }
	.footer-brand img { height: 32px; margin: 0 auto; }

	.footer-social { justify-content: center }
	.footer-col { justify-items: center }
	.footer-col ul { width: 100%; max-width: 22rem }
	.footer-apps { justify-items: center }
	.footer-apps .app-badges { width: 100%; justify-content: center }
	.app-badge { flex: 0 0 auto; text-align: center }

	.footer-bottom { align-items: center; text-align: center }
	.footer-bottom .badges { justify-content: center }
}