* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    background-color: #020712;
    color: #ffffff;
}


.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #183a62;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  background-color: rgba(24, 58, 98, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}


.header-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo img {
  display: block;
  height: 32px;
  width: auto;
}

/* Бургер */

.header-burger {
	display: none;
	position: relative;
	width: 40px;
	height: 32px;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	flex-shrink: 0;
}

.header-burger span {
	position: absolute;
	left: 6px;
	right: 6px;
	height: 3px;
	border-radius: 2px;
	background-color: #f3f5f8;
	transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease, bottom 0.2s ease;
}

.header-burger span:nth-child(1) {
	top: 7px;
}

.header-burger span:nth-child(2) {
	top: 50%;
	transform: translateY(-50%);
}

.header-burger span:nth-child(3) {
	bottom: 7px;
}

.site-header.menu-open .header-burger span:nth-child(1) {
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
}

.site-header.menu-open .header-burger span:nth-child(2) {
	opacity: 0;
}

.site-header.menu-open .header-burger span:nth-child(3) {
	bottom: auto;
	top: 50%;
	transform: translateY(-50%) rotate(-45deg);
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.site-nav ul li a {
  text-decoration: none;
  font-size: 14px;
  color: #f3f5f8;
  opacity: 0.9;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  display: inline-block;
  transition: color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.site-nav ul li a:hover,
.site-nav ul li a:focus-visible {
  color: #0fb0f8;
  opacity: 1;
  border-color: #0fb0f8;
}


.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.btn--login {
  background-color: transparent;
  color: #ffffff;
  border-color: #255f8f;
}

.btn--login:hover,
.btn--login:focus-visible {
  background-color: #255f8f;
  border-color: #0fb0f8;
}


.btn--register {
  background-color: #0fb0f8;
  color: #020712;
  border-color: #0fb0f8;
}

.btn--register:hover,
.btn--register:focus-visible {
  background-color: #11c5ff;
  border-color: #11c5ff;
  transform: translateY(-1px);
}


.mobile-overlay {
  position: fixed;
  inset: 0;
  border: none;
  padding: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.site-header.menu-open .mobile-overlay {
  opacity: 1;
  pointer-events: auto;
}

header button {
    display: none;
}


@media (min-width: 960px) {
  .header-burger {
    display: none;
  }

  .site-nav {
    position: static;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .mobile-overlay {
    display: none;
  }
}

@media (max-width: 959px) {
	.header-inner {
		padding: 8px 16px;
		gap: 16px;
		flex-wrap: wrap;
	}

	.header-burger {
		display: inline-flex;
		order: 1;
	}

	.header-logo {
		order: 2;
		flex: 1 1 auto;
		justify-content: center;
	}

	.header-logo img {
		height: 28px;
        margin-right: 61px;
	}

	.header-actions {
		order: 3;
		width: 100%;
		margin-top: 8px;
		display: flex;
		gap: 8px;
	}

	.header-actions .btn {
		flex: 1 1 50%;
		padding: 10px 0;
		text-align: center;
	}

	.site-nav {
		order: 4;
		width: 100%;
		display: none;
		padding: 0 16px 8px;
	}

	.site-header.menu-open .site-nav {
		display: block;
	}

	.site-nav ul {
		margin: 0;
		padding: 8px 0 0;
	}

	.site-nav ul li {
		margin-bottom: 6px;
	}

	.site-nav ul li a {
		display: block;
		padding: 8px 0;
		border-bottom: 1px solid rgba(4, 17, 47, 0.9);
	}
}


.hero-slider__inner {
	max-width: 1300px;
	margin: 0 auto;
	padding: 16px 24px 0px;
}

.hero-slider__viewport {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	background-color: #020712;
	box-shadow: 0 14px 26px rgba(0, 0, 0, 0.65);
}

.hero-slider__track {
	display: flex;
	will-change: transform;
	transition: transform 0.4s ease;
	touch-action: pan-y;
}

.hero-slide {
	position: relative;
	min-width: 100%;
	min-height: 399px;
	background-size: cover;
	background-position: right center;
	background-repeat: no-repeat;
}

.hero-slide::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.15) 100%);
}

.hero-slide__content {
	position: relative;
	z-index: 1;
	height: 100%;
	max-width: 420px;
	padding: 32px 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	color: #ffffff;
}

.hero-slide__heading {
	display: inline-block;
	margin-bottom: 12px;
	padding: 4px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #11c5ff;
	background-color: rgba(3, 28, 85, 0.9);
	box-shadow: 0 0 0 1px rgba(15, 176, 248, 0.5);
}

.hero-slide__text {
	font-size: 15px;
	line-height: 1.6;
	color: #f3f5f8;
	opacity: 0.92;
	margin-bottom: 18px;
}

.hero-slide__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 22px;
	border-radius: 999px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	color: #020712;
	background-image: linear-gradient(90deg, #0fb0f8 0%, #11c5ff 100%);
	border: 1px solid #11c5ff;
	box-shadow: 0 8px 18px rgba(0, 181, 255, 0.5);
	cursor: pointer;
	transition: background-image 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.hero-slide__cta:hover,
.hero-slide__cta:focus-visible {
	background-image: linear-gradient(90deg, #11c5ff 0%, #35d2ff 100%);
	box-shadow: 0 10px 24px rgba(0, 181, 255, 0.7);
	transform: translateY(-1px);
}

.hero-slider__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 14px;
}

.hero-slider__dot {
	width: 9px;
	height: 9px;
	border-radius: 999px;
	border: 0;
	padding: 0;
	background-color: rgba(255, 255, 255, 0.3);
	cursor: pointer;
	transition: width 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
	opacity: 0.7;
}

.hero-slider__dot.is-active {
	width: 22px;
	background-color: #0fb0f8;
	opacity: 1;
}

@media (max-width: 959px) {
	.hero-slider__inner {
		padding: 0px 0px 0px;
	}

	.hero-slider__viewport {
		border-radius: 12px;
		box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
	}

	.hero-slide {
		min-height: 230px;
		background-position: center right;
	}

	.hero-slide__content {
		max-width: 70%;
		padding: 22px 18px 20px;
    
	}

	.hero-slide__heading {
		font-size: 10px;
		margin-bottom: 8px;
        text-wrap: nowrap;
	}

	.hero-slide__text {
		font-size: 11px;
		margin-bottom: 14px;
	}

	.hero-slide__cta {
		justify-content: center;
		min-height: 35px;
        font-size: 12px;

	}
}

@media (min-width: 1300px) {
	.hero-slide {
		min-height: 380px;
	}
}


.games-strip {
	margin-top: 14px;
}

.games-strip__inner {
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 24px 26px;
}

.games-strip__panel {
	padding: 14px 14px 16px;
	border-radius: 18px;
	background-color: #183a62;
	box-shadow: 0 18px 30px rgba(0, 0, 0, 0.75);
}

.games-strip__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 15px;
}

.games-strip__title {
	font-size: 18px;
	font-weight: 600;
	color: #f3f5f8;
}

.games-strip__link {
	font-size: 13px;
	color: #11c5ff;
	text-decoration: none;
	opacity: 0.9;
	padding-bottom: 2px;
	border-bottom: 1px dashed rgba(17, 197, 255, 0.9);
	transition: opacity 0.2s ease, border-color 0.2s ease;
}

.games-strip__link:hover,
.games-strip__link:focus-visible {
	opacity: 1;
	border-color: #11c5ff;
}

.games-strip__row {
	display: flex;
	align-items: stretch;
	gap: 5px;
	padding: 6px 6px 4px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.games-strip__row::-webkit-scrollbar {
	height: 6px;
}

.games-strip__row::-webkit-scrollbar-track {
	background: rgba(4, 17, 47, 0.9);
	border-radius: 999px;
}

.games-strip__row::-webkit-scrollbar-thumb {
	background: rgba(15, 176, 248, 0.75);
	border-radius: 999px;
}

.game-pill {
	flex: 0 0 auto;
	width: 122px;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.game-pill__thumb {
	position: relative;
	width: 100px;
	height: 100px;
	border-radius: 18px;
	overflow: hidden;
	background-color: #020712;
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.85);
}

.game-pill__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.game-pill__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	padding: 10px 8px 10px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.7) 45%, rgba(0, 0, 0, 0.92) 100%);
	opacity: 0;
	transform: translateY(6px);
	pointer-events: none;
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.game-pill__thumb:hover .game-pill__overlay,
.game-pill__thumb:focus-within .game-pill__overlay {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.game-pill__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 24px;
	min-width: 78px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.game-pill__btn--play {
	background-image: linear-gradient(90deg, #0fb0f8 0%, #11c5ff 100%);
	color: #020712;
	border-color: #11c5ff;
	box-shadow: 0 4px 10px rgba(0, 181, 255, 0.6);
}

.game-pill__btn--play:hover,
.game-pill__btn--play:focus-visible {
	background-image: linear-gradient(90deg, #11c5ff 0%, #35d2ff 100%);
	box-shadow: 0 6px 14px rgba(0, 181, 255, 0.8);
	transform: translateY(-1px);
}

.game-pill__btn--demo {
	background-color: rgba(3, 28, 85, 0.7);
	color: #f3f5f8;
	border-color: rgba(243, 245, 248, 0.6);
}

.game-pill__btn--demo:hover,
.game-pill__btn--demo:focus-visible {
	background-color: rgba(3, 28, 85, 0.95);
	border-color: #f3f5f8;
	transform: translateY(-1px);
}

.game-pill__name {
	display: inline-block;
	max-width: 100%;
	font-size: 12px;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #f3f5f8;
	opacity: 0.9;
}

@media (max-width: 959px) {
	.games-strip__inner {
		padding: 0 12px 22px;
	}

	.games-strip__panel {
		padding: 12px 12px 14px;
		border-radius: 16px;
	}

	.games-strip__head {
		margin-bottom: 15px;
	}

	.games-strip__title {
		font-size: 16px;
	}

	.games-strip__row {
		padding: 6px 4px 4px;
		gap: 10px;
	}

	.game-pill {
		width: 110px;
	}

	.game-pill__thumb {
		width: 96px;
		height: 96px;
		border-radius: 16px;
	}

	.game-pill__btn {
		min-height: 24px;
		min-width: 74px;
		font-size: 10px;
	}

	.game-pill__name {
		font-size: 11px;
	}
}

.site-main {
	max-width: 1300px;
	margin: 24px auto 40px;
	padding: 24px 24px 32px;
	border-radius: 20px;
	background:
		radial-gradient(circle at top left, rgba(24, 58, 98, 0.95) 0%, rgba(2, 7, 18, 0) 45%);
	box-shadow: 0 24px 40px rgba(0, 0, 0, 0.9);
	color: #f3f5f8;
	font-size: 15px;
	line-height: 1.7;
}

/* заголовки всередині main */

.site-main h1,
.site-main h2,
.site-main h3 {
	font-weight: 600;
	color: #ffffff;
}

.site-main h1 {
	font-size: 26px;
	line-height: 1.3;
	margin-bottom: 18px;
	letter-spacing: 0.02em;
	position: relative;
	padding-bottom: 6px;
}

.site-main h1::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 72px;
	height: 3px;
	border-radius: 999px;
	background-image: linear-gradient(90deg, #0fb0f8 0%, #d07710 100%);
}

.site-main h2 {
	font-size: 20px;
	line-height: 1.4;
	margin-top: 26px;
	margin-bottom: 14px;
	letter-spacing: 0.01em;
	color: #0fb0f8;
}

.site-main h3 {
	font-size: 18px;
	line-height: 1.4;
	margin-top: 24px;
	margin-bottom: 12px;
	color: #0fb0f8;
}


.site-main p {
	margin-bottom: 14px;
	color: #dfe4ee;
}

.site-main p + p {
	margin-top: 2px;
}

.site-main img {
	display: block;
	max-width: 100%;
	height: auto;
    margin: 0 auto;
	border-radius: 16px;
	margin-bottom: 18px;
	box-shadow: 0 18px 30px rgba(0, 0, 0, 0.85);
	border: 1px solid rgba(37, 95, 143, 0.8);
}

.site-main > div {
	margin-top: 4px;
	margin-bottom: 16px;
	border-radius: 14px;
	border: 1px solid rgba(37, 95, 143, 0.8);
	background-color: rgba(2, 7, 18, 0.85);
	overflow-x: auto;
	overflow-y: hidden;
}

.site-main table {
	width: 100%;
	border-collapse: collapse;
	min-width: 520px;
}

.site-main thead {
	background: linear-gradient(90deg, #183a62 0%, #255f8f 100%);
}

.site-main thead th {
	font-size: 13px;
	font-weight: 600;
	text-align: left;
	padding: 10px 14px;
	color: #f3f5f8;
	border-bottom: 1px solid rgba(0, 0, 0, 0.6);
	white-space: nowrap;
}

.site-main tbody td {
	font-size: 14px;
	padding: 9px 14px;
	color: #e3e7f1;
	border-bottom: 1px solid rgba(24, 58, 98, 0.6);
}

.site-main tbody tr:nth-child(2n) td {
	background-color: rgba(24, 58, 98, 0.22);
}

.site-main tbody tr:hover td {
	background-color: rgba(15, 176, 248, 0.07);
}

.site-main ul,
.site-main ol {
	margin: 10px 0 14px 20px;
}

.site-main ul li,
.site-main ol li {
	margin-bottom: 6px;
	color: #dfe4ee;
}

.site-main ul li::marker {
	color: #4b7a38;
}

.site-main ol li::marker {
	color: #4b7a38;
	font-weight: 600;
}

@media (max-width: 959px) {
	.site-main {
		margin: 18px 12px 32px;
		padding: 18px 14px 24px;
		border-radius: 16px;
		font-size: 14px;
	}

	.site-main h1 {
		font-size: 22px;
	}

	.site-main h2 {
		font-size: 18px;
	}

	.site-main h3 {
		font-size: 16px;
	}

	.site-main img {
		margin-bottom: 14px;
		border-radius: 14px;
	}

	.site-main > div {
		margin-bottom: 14px;
	}
}


.site-footer {
	margin-top: 16px;
	border-top: 1px solid rgba(0, 0, 0, 0.55);
	background-color: #183a62;
	background-image: linear-gradient(180deg, #183a62 0%, #153559 100%);
	box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.8);
}

.site-footer__inner {
	max-width: 1300px;
	margin: 0 auto;
	padding: 18px 24px 26px;
}

.site-footer__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 14px;
}

.site-footer__brand {
	max-width: 320px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.site-footer__logo {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	text-decoration: none;
}

.site-footer__logo img {
	display: block;
	height: 28px;
	width: auto;
}

.site-footer__brand-text {
	font-size: 10px;
	line-height: 1.6;
	color: #dfe4ee;
	opacity: 0.9;
}

.site-footer__nav {
	display: flex;
	gap: 40px;
}

.site-footer__col {
	min-width: 160px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.site-footer__col-title {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #0fb0f8;
	opacity: 0.95;
}

.site-footer__nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__nav li + li {
	margin-top: 4px;
}

.site-footer__nav a {
	font-size: 13px;
	color: #f3f5f8;
	text-decoration: none;
	opacity: 0.8;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
	color: #0fb0f8;
	opacity: 1;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 16px;
	border-top: 1px solid rgba(2, 7, 18, 0.45);
	padding-top: 10px;
}

.site-footer__copy,
.site-footer__note {
	font-size: 12px;
	color: #b8c0ca;
	opacity: 0.9;
}

@media (max-width: 959px) {
	.site-footer__inner {
		padding: 16px 12px 22px;
	}

	.site-footer__top {
		flex-direction: column;
		align-items: center;
		gap: 18px;
		text-align: center;
	}

	.site-footer__brand {
		max-width: 100%;
		align-items: center;
	}

	.site-footer__brand-text {
		text-align: center;
	}

	.site-footer__nav {
		width: 100%;
		gap: 20px;
		flex-wrap: wrap;
		justify-content: center;
		text-align: center;
	}

	.site-footer__col {
		min-width: 140px;
		align-items: center;
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: center;
		gap: 6px;
		text-align: center;
	}
}


