:root {
	--bg: #f6f7fb;
	--surface: #ffffff;
	--text: #1f2937;
	--muted: #6b7280;
	--accent: #2563eb;
	--accent-hover: #1d4ed8;
	--border: #e5e7eb;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Comfortaa", sans-serif;
	color: #ffffff;
	background-color: #120018;
	background-image:
		url("img/1620740765_22-phonoteka_org-p-fioletovii-fon-dlya-shapki-na-yutub-22.png"),
		url("img/4c33c28e80db25e33afec1ac7325b99e.png"),
		url("img/ЛИНИИ.png"),
		url("img/Слой 50.png"),
		url("img/Слой 47.png");
	background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
	background-position: center top, center top, center top, center top, center top, center top;
	background-size: 100% auto, 100% auto, 100% auto, 100% auto, cover, cover;
	line-height: 1.5;
}

.container {
	width: min(1100px, 92%);
	margin: 0 auto;
}

.site-header {
	background: rgba(17, 19, 24, 0.96);
	border-bottom: none;
	position: relative;
	z-index: 3;
	padding-top: 0;
}

.site-header .container {
	width: 100%;
	margin: 0;
	padding: 0 2rem;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 2.2rem;
	padding: 0.75rem 0;
	background: transparent;
	border: none;
}

.logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.header-logo-img {
	height: 56px;
	width: auto;
	max-width: min(340px, 32vw);
	display: block;
}

.nav {
	display: flex;
	gap: 2rem;
}

.nav a {
	font-size: clamp(0.85rem, 0.9vw, 1.05rem);
}

.nav a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
}

.nav a:hover {
	color: #ffffff;
}

.hero {
	position: relative;
	overflow: hidden;
	padding: 2rem 0 6rem;
	min-height: 72vh;
	display: flex;
	align-items: center;
}

.hero::before {
	content: none;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 1;
}

.hero-content {
	max-width: 680px;
	position: relative;
	z-index: 2;
	color: #ffffff;
	transform: translateX(-70px);
}

.hero-main-title {
	margin: 0;
	font-family: "Franklin Gothic Demi", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
	font-size: 192px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.hero-main-desc {
	margin: 1.3rem 0 1.6rem;
	font-size: clamp(0.95rem, 1.05vw, 1.28rem);
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.95);
}

.hero-play-btn {
	width: min(340px, 78vw);
	aspect-ratio: 768 / 278;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-image: url("img/Линии кнопка.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	color: #ffffff;
	text-decoration: none;
	text-indent: -18px;
	font-size: clamp(1.9rem, 2.2vw, 2.7rem);
	font-weight: 400;
	line-height: 1;
	text-shadow:
		0 0 6px rgba(255, 255, 255, 0.6),
		0 0 16px rgba(197, 77, 255, 0.7);
}

.hero-play-btn:hover {
	transform: translateY(-1px);
}

.hero-divider {
	width: 100%;
	aspect-ratio: 1920 / 529;
	margin-top: -110px;
	background-image: url("img/1 разделитель.png");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	position: relative;
	z-index: 2;
}

.hero-divider-2 {
	width: 100%;
	aspect-ratio: 1920 / 529;
	margin-top: -110px;
	background-image: url("img/2 разделитель.png");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	position: relative;
	z-index: 2;
}

.hero-divider-3 {
	width: 100%;
	aspect-ratio: 1920 / 529;
	margin-top: -110px;
	background-image: url("img/3 разделитель.png");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	position: relative;
	z-index: 2;
}

.about-section {
	padding: 2rem 0 5rem;
	margin-top: -50px;
}

.about-section .container {
	width: min(1400px, 97%);
}

.about-panel {

	border: none;
	border-radius: 20px;
	padding: 2rem;
	box-shadow: none;
}

.about-title {
	margin: 0 0 1.8rem;
	text-align: center;
	font-size: clamp(2.3rem, 4.3vw, 3.5rem);
	font-weight: 400;
    transform: translateY(-20px);
	text-shadow:
		0 0 6px rgba(255, 170, 255, 0.9),
		0 0 16px rgba(203, 75, 255, 0.8),
		0 0 28px rgba(153, 53, 255, 0.7);
}

.about-grid {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.2fr);
	gap: 2rem;
	align-items: center;
}

.about-logo {
	width: 150%;
	max-width: 690px;
	height: auto;
	display: block;
	margin: 0;
	justify-self: start;
	transform: translateX(-160px);
}

.about-text h2 {
	margin: 0 0 1rem;
	font-size: clamp(2.3rem, 2.4vw, 2rem);
	font-weight: 400;
    transform: translateX(160px);
}

.about-text p {
	margin: 0;
	font-size: clamp(1.1rem, 1.35vw, 1.45rem);
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.95);
    transform: translateX(160px);
}

.games-section {
	padding: 1rem 0 5rem;
	margin-top: -20px;
	position: relative;
	z-index: 2;
}

.games-section .container {
	width: min(1400px, 97%);
}

.games-panel {
	background: transparent;
	border-radius: 16px;
	padding: 1rem 0;
}

.games-title {
	margin: 0 0 1.8rem;
	text-align: center;
	font-size: clamp(2.3rem, 4.3vw, 3.5rem);
	font-weight: 400;
	text-shadow:
		0 0 6px rgba(255, 170, 255, 0.9),
		0 0 16px rgba(203, 75, 255, 0.8);
}

.games-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.4rem;
}

.game-card img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 10px;
	margin-bottom: 1.2rem;
}

.game-card h3 {
	margin: 0 0 0.9rem;
	text-align: center;
	font-size: clamp(2rem, 3.1vw, 2.9rem);
	font-weight: 400;
	color: #d24cff;
}

.game-card p {
	margin: 0;
	text-align: center;
	font-size: clamp(1.15rem, 1.35vw, 1.5rem);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.92);
}

.characters-section {
	padding: 1.2rem 0 4rem;
	margin-top: -20px;
	position: relative;
	z-index: 2;
}

.characters-section .container {
	width: min(1400px, 97%);
}

.characters-panel {
	padding: 1rem 0;
}

.characters-title {
	margin: 0 0 1.6rem;
	text-align: center;
	font-size: clamp(2.3rem, 4.3vw, 3.5rem);
	font-weight: 400;
	text-shadow:
		0 0 6px rgba(255, 170, 255, 0.9),
		0 0 16px rgba(203, 75, 255, 0.8);
}

.characters-grid {
	display: grid;
	grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
	gap: 2rem;
	align-items: center;
}

.character-art-wrap {
	display: flex;
	justify-content: center;
	align-items: end;
}

.character-art {
	width: min(500px, 100%);
	height: auto;
	display: block;
}

.characters-text {
	margin: 0 0 1.5rem;
	font-size: clamp(1.2rem, 1.55vw, 1.9rem);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.95);
}

.characters-text span {
	color: #c54dff;
	text-shadow: 0 0 10px rgba(197, 77, 255, 0.7);
}

.characters-text a {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 5px;
}

.characters-logos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.2rem 1.4rem;
	align-items: center;
}

.characters-logos img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

.characters-logos .logo-wide {
	grid-column: 1 / -1;
	max-width: 360px;
	justify-self: center;
}

.ready-banner {
	position: relative;
	width: 100%;
	aspect-ratio: 1920 / 1046;
	margin-top: -10px;
	background-image:
		url("img/Линии готовы играть.png"),
		url("img/готтовы итгрыть.png");
	background-repeat: no-repeat, no-repeat;
	background-position: center -23px, center top;
	background-size: 100% auto, 100% auto;
	z-index: 2;
}

.ready-banner-content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	text-align: center;
	padding: 2rem;
	z-index: 3;
}

.ready-title {
	margin: 0;
	font-size: clamp(2.4rem, 4.5vw, 4.5rem);
	font-weight: 400;
	text-shadow:
		0 0 8px rgba(255, 255, 255, 0.45),
		0 0 22px rgba(197, 77, 255, 0.6);
}

.ready-subtitle {
	margin: 0;
	max-width: 850px;
	font-size: clamp(1.5rem, 2.1vw, 3rem);
	line-height: 1.3;
	font-weight: 400;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.ready-play-btn {
	width: min(340px, 78vw);
	aspect-ratio: 768 / 278;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-image: url("img/Линии кнопка.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	color: #ffffff;
	text-decoration: none;
	text-indent: -18px;
	font-size: clamp(1.6rem, 1.95vw, 2.2rem);
	font-weight: 400;
	line-height: 1;
	text-shadow:
		0 0 6px rgba(255, 255, 255, 0.6),
		0 0 16px rgba(197, 77, 255, 0.7);
}

.ready-play-btn:hover {
	transform: translateY(-1px);
}

.hero h1 {
	margin: 0 0 1rem;
	font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

.hero p {
	margin: 0 0 1.5rem;
	color: rgba(255, 255, 255, 0.9);
}

.btn {
	display: inline-block;
	padding: 0.75rem 1.1rem;
	border-radius: 10px;
	background: var(--accent);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

.btn:hover {
	background: var(--accent-hover);
}

.features {
	padding: 2rem 0 4rem;
}

.features h2 {
	margin: 0 0 1rem;
}

.feature-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 1rem;
}

.card h3 {
	margin: 0 0 0.5rem;
}

.card p {
	margin: 0;
	color: var(--muted);
}

.site-footer {
	background: rgba(12, 12, 16, 0.98);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 1.1rem 0 1.4rem;
	color: rgba(255, 255, 255, 0.9);
}

.footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
}

.footer-socials {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.2rem;
}

.footer-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	opacity: 0.95;
	transition: opacity 0.2s ease;
}

.footer-socials a:hover {
	opacity: 1;
}

.footer-socials img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.footer-socials svg {
	width: 100%;
	height: 100%;
	fill: #ffffff;
}

.footer-copy {
	margin: 0;
	font-size: clamp(1.5rem, 1.35vw, 2.2rem);
	line-height: 1.2;
	text-align: center;
}

@media (max-width: 800px) {
	.about-panel {
		padding: 1.2rem;
	}

	.about-grid {
		grid-template-columns: 1fr;
		gap: 1.2rem;
		text-align: center;
	}

	.games-panel {
		padding: 1.2rem;
	}

	.games-grid {
		grid-template-columns: 1fr;
		gap: 1.4rem;
	}

	.characters-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.character-art {
		width: min(420px, 85%);
	}

	.hero-main-title {
		font-size: clamp(2rem, 10vw, 3.3rem);
	}

	.hero-content {
		transform: none;
	}

	.hero-main-desc {
		font-size: clamp(1rem, 3.7vw, 1.28rem);
		line-height: 1.4;
	}

	.hero-play-btn {
		font-size: clamp(1.3rem, 5.2vw, 1.9rem);
	}

	.characters-content {
		text-align: center;
	}

	.characters-logos {
		gap: 0.9rem;
	}

	.ready-banner {
		aspect-ratio: 1920 / 1046;
	}

	.ready-banner-content {
		gap: 0.6rem;
		padding: 1rem;
	}

	.ready-title {
		font-size: clamp(1.5rem, 6.2vw, 2.2rem);
	}

	.ready-subtitle {
		font-size: clamp(1rem, 4vw, 1.35rem);
		max-width: 95%;
	}

	.footer-socials {
		gap: 0.9rem;
	}

	.footer-socials a {
		width: 22px;
		height: 22px;
	}

	.footer-copy {
		font-size: clamp(1.05rem, 4.2vw, 1.55rem);
	}

	.feature-grid {
		grid-template-columns: 1fr;
	}

	.header-inner {
		flex-direction: row;
		gap: 1rem;
		padding: 0.6rem 0;
	}

	.site-header .container {
		padding: 0 0.8rem;
	}

	.nav {
		gap: 1rem;
	}

	.header-logo-img {
		height: 36px;
	}
}
