@font-face {
	font-family: "Special Elite";
	src: url("SpecialElite-Regular.ttf") format("truetype");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

:root {
	--background-color: #000000;
	--text-color: #f1f1f1;
	--muted-color: #9d9d9d;
	--line-color: rgba(255, 255, 255, 0.23);
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	min-height: 100%;
	background-color: var(--background-color);
	color: var(--text-color);
	font-family: "Special Elite", "Courier New", "Courier", monospace;
	scroll-behavior: smooth;
	scroll-snap-type: y proximity;
}

body {
	position: relative;
	overflow-x: hidden;
	letter-spacing: 0.04em;
	background-color: #000000;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	background: #000000;
	pointer-events: none;
	z-index: 0;
}

.language-toggle {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 200;
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1px solid rgba(255, 255, 255, 0.32);
	background: rgba(0, 0, 0, 0.62);
	color: #ffffff;
	padding: 8px 12px;
	letter-spacing: 0.2em;
	font-size: 0.74rem;
	cursor: pointer;
	transition: border-color 260ms ease, background-color 260ms ease;
}

.language-toggle:hover {
	border-color: rgba(255, 255, 255, 0.75);
	background: rgba(0, 0, 0, 0.9);
}

.language-option {
	opacity: 0.45;
	transition: opacity 260ms ease;
}

.language-option.is-active {
	opacity: 1;
}

.language-divider {
	opacity: 0.55;
}

.logo-shell {
	position: fixed;
	top: 0;
	left: 0;
	width: min(94vw, 1380px);
	min-width: 680px;
	aspect-ratio: 16 / 9;
	transform: translate3d(50vw, 50vh, 0) translate(-50%, -50%) scale(1);
	transform-origin: center center;
	z-index: 100;
	pointer-events: none;
	will-change: transform, opacity;
}

.logo-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	user-select: none;
	-webkit-user-drag: none;
}

.logo-main {
	opacity: 1;
	filter: none;
	animation: logoMainAppear 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.18s backwards;
}

.corner-logo-shell {
	position: fixed;
	top: 26px;
	left: 14px;
	width: clamp(170px, 20vw, 260px);
	aspect-ratio: 5.2 / 1;
	z-index: 110;
	opacity: 0;
	transform: translate3d(0, 14px, 0) scale(0.94);
	transform-origin: top left;
	overflow: hidden;
	margin: 0;
	border: 0;
	background: transparent;
	padding: 0;
	appearance: none;
	-webkit-appearance: none;
	line-height: 0;
	pointer-events: none;
	will-change: transform, opacity;
}

.logo-docked .corner-logo-shell {
	pointer-events: auto;
	cursor: pointer;
}

.corner-logo-image {
	position: static;
	inset: auto;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 48%;
	transform: none;
	filter: none;
}

.site-main {
	position: relative;
	z-index: 20;
	width: min(1280px, 94vw);
	margin: 0 auto;
	padding-bottom: 120px;
}

.hero-spacer {
	height: 115vh;
}

.content-section {
	margin-bottom: 124px;
}

.section-heading {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	column-gap: 18px;
	margin-bottom: 34px;
}

.section-heading::after {
	content: "";
	height: 1px;
	background: var(--line-color);
}

.section-heading::before {
	content: "";
	position: absolute;
	right: calc(-1 * (50vw - 50%));
	top: 50%;
	transform: translateY(-50%);
	width: calc(50vw - 50%);
	height: 1px;
	background: var(--line-color);
}

.section-title {
	position: relative;
	margin: 0;
	display: inline-block;
	padding-right: 0;
	background: transparent;
	letter-spacing: 0.08em;
	font-size: clamp(1.45rem, 2.2vw, 3rem);
	font-weight: 400;
	text-align: left;
}

.about-heading-icons {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(calc(-100% - 10px));
	display: flex;
	align-items: center;
	gap: 10px;
	z-index: 2;
}

.about-heading-icons .social-link {
	width: 36px;
	height: 36px;
	padding: 0;
	opacity: 0.92;
}

.about-heading-icons .social-icon-image {
	width: 22px;
	height: 22px;
}

.games-list {
	display: grid;
	padding-top: 0;
	gap: clamp(64px, 14vh, 220px);
}

.game-showcase {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 18px;
	padding: clamp(22px, 4vh, 64px) 0;
	min-height: calc(100vh - 120px);
}

.game-showcase:first-child {
	padding-top: clamp(10px, 2vh, 26px);
}

.game-showcase.scroll-step {
	scroll-margin-top: clamp(84px, 12vh, 146px);
}

.game-showcase-head {
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	gap: 14px;
	flex-wrap: wrap;
}

.game-showcase-title {
	margin: 0;
	letter-spacing: 0.06em;
	font-size: clamp(2rem, 4vw, 4.2rem);
	font-weight: 400;
	text-align: left;
}

.tabusal-download-link {
	display: block;
	line-height: 0;
	text-decoration: none;
	opacity: 0.9;
	margin-bottom: clamp(4px, 0.6vw, 10px);
	transition: opacity 260ms ease, transform 260ms ease;
}

.tabusal-download-link:hover {
	opacity: 1;
	transform: translateY(-2px);
}

.tabusal-download-image {
	display: block;
	height: clamp(1.6rem, 3.2vw, 3.2rem);
	width: auto;
	max-width: clamp(128px, 18vw, 240px);
	object-fit: contain;
}

.game-showcase-body {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	gap: 34px;
	align-items: start;
}

.game-visual-placeholder {
	aspect-ratio: 16 / 9;
	display: grid;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)),
		repeating-linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 14px);
	color: rgba(255, 255, 255, 0.7);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.9rem;
}

.game-visual-placeholder.has-image {
	padding: 0;
	overflow: hidden;
	background: #000000;
}

.game-visual-placeholder.centered-image-frame {
	background: #000000;
	display: grid;
	place-items: center;
}

.game-visual-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.74) brightness(0.84) contrast(1.05);
}

.game-visual-image-contain {
	width: min(416px, 55%);
	height: auto;
	max-width: 55%;
	max-height: none;
	object-fit: contain;
	object-position: center center;
	justify-self: center;
	align-self: center;
	background: #000000;
	padding: 0;
	filter: none;
	transform: translateY(-18%);
}

.game-copy-column {
	display: grid;
	gap: 12px;
	padding-top: 6px;
}

.game-copy-column p {
	margin: 0;
	line-height: 1.62;
	font-size: clamp(1rem, 1.3vw, 2rem);
	color: rgba(255, 255, 255, 0.9);
}

.store-links {
	margin-top: 0;
	display: flex;
	gap: 8px;
	margin-left: 2px;
}

.store-link,
.social-link {
	display: grid;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: #f3f3f3;
	text-decoration: none;
	opacity: 0.84;
	transition: opacity 260ms ease, transform 260ms ease, border-color 260ms ease, background-color 260ms ease;
}

.store-link {
	width: 48px;
	height: 48px;
	padding: 10px;
}

.social-link {
	width: 42px;
	height: 42px;
	border: 0;
	padding: 8px;
	background: transparent;
}

.store-icon-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.social-icon-image {
	display: block;
	object-fit: contain;
}

.store-link:hover,
.social-link:hover {
	opacity: 1;
	transform: translateY(-2px);
	border-color: rgba(255, 255, 255, 0.75);
	background: rgba(255, 255, 255, 0.04);
}

.store-link svg {
	width: 24px;
	height: 24px;
}

.social-link svg {
	width: 26px;
	height: 26px;
}

.store-link svg,
.social-link svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.social-google-play {
	border: 0;
	background: transparent;
	opacity: 1;
}

.social-google-play svg {
	fill: none;
	stroke: none;
}

.play-color-a {
	fill: #00e887;
}

.play-color-b {
	fill: #17c6ff;
}

.play-color-c {
	fill: #ff3f7f;
}

.play-color-d {
	fill: #ffb838;
}

.about-copy {
	margin: 0 0 14px;
	max-width: 66ch;
	color: #f0f0f0;
	line-height: 1.8;
	font-size: clamp(1.8rem, 2.2vw, 3.1rem);
}

.about-note {
	margin: 0 0 16px;
	max-width: 74ch;
	color: rgba(255, 255, 255, 0.75);
	letter-spacing: 0.02em;
	font-size: clamp(1rem, 1.2vw, 1.5rem);
}

.about-contact {
	margin: 60px 0 0;
	max-width: 74ch;
	color: rgba(255, 255, 255, 0.86);
	letter-spacing: 0.04em;
	font-size: clamp(0.95rem, 1.05vw, 1.2rem);
}

.about-contact-link,
.about-contact-link:visited {
	color: #ffffff;
	opacity: 1;
	text-decoration: none;
}

.about-contact-link:hover {
	text-decoration: underline;
}

.social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}


.about-social-row {
	display: flex;
	justify-content: flex-start;
	margin-bottom: 26px;
}

#about {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	padding-left: clamp(14px, 3vw, 48px);
	padding-right: clamp(14px, 3vw, 48px);
}

#about .section-heading {
	margin-left: 0;
}

.scroll-step {
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.site-footer {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	padding-left: clamp(14px, 3vw, 48px);
	padding-right: clamp(14px, 3vw, 48px);
	border-top: 1px solid rgba(255, 255, 255, 0.17);
	padding-top: 22px;
}

.site-footer p {
	margin: 0;
	text-align: left;
	color: #848484;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.74rem;
}

.reveal-section,
.reveal-item {
	opacity: 0;
	transform: translate3d(0, 54px, 0);
	filter: blur(4px);
	transition:
		opacity 980ms cubic-bezier(0.22, 1, 0.36, 1),
		transform 1280ms cubic-bezier(0.19, 1, 0.22, 1),
		filter 1080ms cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--reveal-delay, 0ms);
}

.reveal-section.is-visible,
.reveal-item.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	filter: blur(0);
}

.game-showcase-head-reveal {
	transition:
		opacity 940ms cubic-bezier(0.22, 1, 0.36, 1),
		transform 1160ms cubic-bezier(0.19, 1, 0.22, 1);
}

.game-showcase-body-reveal {
	transition:
		opacity 1120ms cubic-bezier(0.22, 1, 0.36, 1),
		transform 1380ms cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes logoMainAppear {
	from {
		opacity: 0;
		transform: translate3d(0, 14px, 0) scale(0.985);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1);
	}
}
@media (max-width: 980px) {
	.site-main {
		width: min(1280px, 94vw);
		margin: 0 auto;
	}

	.hero-spacer {
		height: 104vh;
	}

	.logo-shell {
		width: min(95vw, 1120px);
		min-width: 560px;
	}

	.corner-logo-shell {
		width: clamp(150px, 24vw, 220px);
		top: 26px;
		left: 16px;
	}

	.game-showcase-body {
		grid-template-columns: 1fr;
	}

	.game-showcase-title {
		font-size: clamp(1.7rem, 6vw, 2.8rem);
	}

	.tabusal-download-image {
		height: clamp(1.45rem, 4.8vw, 2.4rem);
		max-width: clamp(118px, 28vw, 210px);
	}

	.game-copy-column p {
		font-size: clamp(0.95rem, 3vw, 1.28rem);
	}

	.about-copy {
		font-size: clamp(1.2rem, 4.2vw, 1.8rem);
	}

	.about-note {
		font-size: clamp(0.9rem, 2.8vw, 1.1rem);
	}
}

@media (max-width: 640px) {
	.site-main {
		width: 94vw;
		margin: 0 auto;
	}

	.language-toggle {
		top: 16px;
		right: 16px;
		padding: 7px 10px;
		letter-spacing: 0.16em;
		font-size: 0.69rem;
	}

	.logo-shell {
		width: min(96vw, 760px);
		min-width: 300px;
	}

	.corner-logo-shell {
		width: clamp(130px, 36vw, 190px);
		top: 20px;
		left: 10px;
	}

	.hero-spacer {
		height: 92vh;
	}

	.game-showcase {
		gap: 14px;
		min-height: calc(100vh - 108px);
		padding: clamp(14px, 2.6vh, 30px) 0;
	}

	.game-showcase:first-child {
		padding-top: clamp(24px, 4.8vh, 44px);
	}

	.game-showcase-head {
		align-items: flex-start;
	}

	.game-showcase-title {
		font-size: clamp(1.55rem, 8.5vw, 2.4rem);
	}

	.tabusal-download-image {
		height: clamp(1.15rem, 5.8vw, 1.85rem);
		max-width: clamp(94px, 40vw, 165px);
	}

	.store-link {
		width: 40px;
		height: 40px;
	}

	.store-link svg {
		width: 20px;
		height: 20px;
	}

	.game-visual-image-contain {
		width: min(300px, 72%);
		max-width: 72%;
		transform: translateY(-12%);
	}

	.content-section {
		margin-bottom: 92px;
	}

	.section-title {
		font-size: clamp(1.15rem, 8vw, 1.7rem);
	}

	.about-heading-icons {
		gap: 6px;
		transform: translateY(calc(-100% - 8px));
	}

	.about-heading-icons .social-link {
		width: 30px;
		height: 30px;
	}

	.about-heading-icons .social-icon-image {
		width: 18px;
		height: 18px;
	}

	.about-social-row {
		justify-content: flex-start;
	}

	#about {
		padding-left: 3vw;
		padding-right: 3vw;
	}

	.social-link {
		width: 34px;
		height: 34px;
	}

	.social-link svg {
		width: 21px;
		height: 21px;
	}
}
