@font-face {
	font-family: 'm';
	src: url('img/m.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'm';
	src: url('img/mb.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
}

* { box-sizing: border-box; }

a { text-decoration: none; }

body {
	margin: 0;
	font-family: 'Montserrat', arial;
	font-weight: normal;
	background: #0F1327;
}

.wrap {
	width: 1300px;
	margin: auto;
}

/* ================= HEADER ================= */
.topbar {
	height: 97px;
	background-color: #0F1530;
	display: flex;
	border-bottom: 1px solid #626262;
}

.topbar .wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.brand img { width: 150px; }

.auth { display: flex; gap: 12px; }

/* ================= КНОПКИ ================= */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	padding: 0 26px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .2px;
	color: #FBFAF4;
	border-radius: 14px;
	cursor: pointer;
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
	will-change: transform;
	white-space: nowrap;
}

/* Блик при наведении */
.btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: -120%;
	width: 100%;
	height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255,255,255,.25), transparent);
	transition: left .6s ease;
}
.btn:hover::before { left: 120%; }

/* Основная (Регистрация) */
.btn-primary {
	background: linear-gradient(135deg, #4a7cf7 0%, #3064D5 55%, #1f4bb0 100%);
	box-shadow: 0 6px 18px rgba(48,100,213,.45), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(48,100,213,.6), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:active { transform: translateY(0); }

/* Призрачная (Вход) */
.btn-ghost {
	background: rgba(255,255,255,.04);
	border: 1px solid rgba(255,255,255,.18);
	backdrop-filter: blur(6px);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.btn-ghost:hover {
	transform: translateY(-2px);
	border-color: #3064D5;
	background: rgba(48,100,213,.15);
	box-shadow: 0 8px 20px rgba(48,100,213,.35);
}

/* ================= NAVI ================= */
.navi {
	display: flex;
	color: #fff;
	align-items: center;
	justify-content: space-between;
	width: 60%;
}

.navi a {
	color: #FBFAF4;
	transition: .3s;
}

.navi a:hover { color: #e51c32; }

.navi a:first-child { display: none; }

/* ================= CONTENT ================= */
.layout .wrap {
	display: flex;
	justify-content: space-between;
}

.content { width: 100%; }

h1 {
	font-size: 30px !important;
	color: #FAF9E3;
	font-weight: bold;
	margin-top: 40px !important;
}

h2, h3, h4, h5, strong {
	font-weight: bold;
	color: #FAF9E3;
	font-size: 24px;
}

p, li {
	line-height: 1.7;
	color: #E5E5E5;
}

.hero {
	display: block;
	margin: auto;
	width: 70%;
}

/* ================= ПОДВАЛ ================= */
.foot {
	position: relative;
	margin-top: 60px;
	background: linear-gradient(180deg, #0a0e1f 0%, #05060f 100%);
	border-top: 1px solid rgba(255,255,255,.06);
	color: #cfd3e1;
}

.foot::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, #f76329, #3064D5, transparent);
	opacity: .8;
}

.foot .wrap {
	padding: 48px 0 24px;
}

.foot-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(255,255,255,.07);
}

.foot-brand .foot-logo {
	width: 150px;
	margin-bottom: 16px;
}

.foot-desc {
	font-size: 14px;
	line-height: 1.6;
	color: #9aa0b4;
	margin: 0 0 20px;
	max-width: 320px;
}

.foot-pay img {
	max-width: 220px;
	height: auto;
	opacity: .9;
	filter: grayscale(.1);
	transition: opacity .3s, filter .3s;
}
.foot-pay img:hover { opacity: 1; filter: none; }

.foot-col h4 {
	margin: 0 0 16px;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: .8px;
	color: #FAF9E3;
}

.foot-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.foot-col li { margin-bottom: 10px; }

.foot-col a {
	color: #9aa0b4;
	font-size: 14px;
	transition: color .25s, padding-left .25s;
	position: relative;
}
.foot-col a:hover {
	color: #FBFAF4;
	padding-left: 6px;
}
.foot-col a:hover::before {
	content: "›";
	position: absolute;
	left: -8px;
	color: #3064D5;
}

.foot-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 24px;
	font-size: 13px;
	color: #7d8296;
}

.foot-18 {
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(247,99,41,.12);
	border: 1px solid rgba(247,99,41,.35);
	color: #f76329;
	font-weight: 600;
	letter-spacing: .3px;
}

/* ================= АДАПТИВ ================= */
@media screen and (max-width: 1350px) and (min-width: 1000px) {
	.wrap { width: 1000px; }
	.navi { width: 50%; }
	.navi a { font-size: 10px; }
}

@media screen and (max-width: 1000px) {
	body, html { overflow-x: hidden; }

	.wrap { width: 90vw; }

	h1 { margin-top: 20px !important; }

	.content { width: 100%; }

	.navi {
		width: auto;
		order: 3;
		overflow: scroll;
		margin: 20px 0px;
	}

	.navi a {
		color: #000000;
		margin: 0px 7px;
	}

	.topbar {
		padding-top: 20px;
		height: auto;
	}

	.topbar .wrap {
		flex-wrap: wrap;
	}

	.topbar .wrap img {
		width: 30vw;
	}

	.auth {
		gap: 8px;
		flex-wrap: wrap;
	}

	.btn {
		height: 42px;
		padding: 0 16px;
		font-size: 13px;
		border-radius: 12px;
	}

	.hero {
		width: 150% !important;
		max-width: 150%;
		margin-left: -25%;
	}

	.foot-grid {
		grid-template-columns: 1fr 1fr;
		gap: 28px;
	}

	.foot-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media screen and (max-width: 600px) {
	.foot-grid { grid-template-columns: 1fr; }
	.foot-desc { max-width: 100%; }
}