/*
 * E-TECH | It's your world games
 * Stylesheet rebuilt on 2026-10-24 from the original design source
 * ("etech web index.psd", 1920x1080, July 2022). The markup is the archived
 * production index.html; the original style.css was not preserved.
 */

@font-face {
	font-family: "Aeonik Fono";
	src: url("fonts/AeonikFono-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Aeonik Fono";
	src: url("fonts/AeonikFono-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--bg-base: #161f42;
	--glow: #d0baf7;
	--text: #fefefe;
	--accent: #3f70ff;
	--muted: #e9dafb;
	--gutter: clamp(20px, 7.6vw, 146px);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
}

body {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
	overflow-x: hidden;
	font-family: "Aeonik Fono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
	font-weight: 400;
	color: var(--text);
	background: var(--bg-base) url("img/bg.jpg") center center / cover no-repeat fixed;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Glowing light bars at the top and bottom edges of the design. */
body::before,
body::after {
	content: "";
	position: fixed;
	left: 0;
	right: 0;
	z-index: 2;
	height: 8px;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(208, 186, 247, 0) 0%, rgba(208, 186, 247, 0.5) 14%, var(--glow) 50%, rgba(208, 186, 247, 0.5) 86%, rgba(208, 186, 247, 0) 100%);
}

body::before {
	top: 0;
	-webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0) 100%);
	mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0) 100%);
}

body::after {
	bottom: 0;
	-webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0) 100%);
	mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0) 100%);
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover,
a:focus-visible {
	color: var(--text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

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

.container {
	width: 100%;
	max-width: 1920px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}

/* Header / logo */
.header {
	padding-top: clamp(48px, 13.7vh, 148px);
	text-align: center;
}

.logo {
	display: inline-block;
	line-height: 0;
}

.logo:hover,
.logo:focus-visible {
	text-decoration: none;
}

.logo img {
	display: block;
	width: clamp(220px, 27.2vw, 521px);
	height: auto;
}

/* Main message */
.main {
	flex: 1 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(40px, 8vh, 110px) 0;
	text-align: center;
}

.welcome-block h1 {
	margin: 0 0 clamp(16px, 3vh, 36px);
	font-size: clamp(30px, 3.75vw, 72px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0;
	text-transform: uppercase;
}

.welcome-block p {
	margin: 0;
	font-size: clamp(16px, 1.5625vw, 30px);
	line-height: 1.3;
	color: var(--accent);
}

/* Footer */
.footer {
	flex-shrink: 0;
	padding-bottom: clamp(36px, 7.8vh, 84px);
	font-size: 16px;
	line-height: 1.35;
	color: var(--muted);
}

.footer-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 48px;
}

.footer li {
	position: relative;
	min-height: 29px;
	padding-left: 34px;
	display: flex;
	align-items: center;
}

.footer li + li {
	margin-top: 20px;
}

.footer li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 28px;
	height: 29px;
	transform: translateY(-50%);
	background-repeat: no-repeat;
	background-position: left center;
}

.footer-left li::before {
	background-image: url("img/icon-pin.png");
}

.footer-right {
	margin-left: auto;
}

.footer-right li {
	padding-left: 37px;
}

.footer-right li:has(.mailto)::before {
	background-image: url("img/icon-mail.png");
}

.footer-right li:has(.website)::before {
	background-image: url("img/icon-web.png");
}

@media (max-width: 1440px) {
	body {
		background-image: url("img/bg-1366.jpg");
	}
}

@media (max-width: 900px) {
	body {
		background-attachment: scroll;
	}

	.footer-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-right {
		margin-left: 0;
	}

	/* Keep footer text legible over the brighter parts of the photo. */
	.footer {
		padding-top: 32px;
		background: linear-gradient(to bottom, rgba(22, 31, 66, 0) 0%, rgba(22, 31, 66, 0.82) 38%, rgba(22, 31, 66, 0.9) 100%);
		text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
	}
}

@media (max-width: 520px) {
	.footer {
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
	}
}
