:root {
	--bg: #0e0e0e;
	--surface: #181818;
	--border: rgba(255, 255, 255, 0.08);
	--border-btn: rgba(255, 255, 255, 0.15);
	--accent: #e53e3e;
	--text: #ecedef;
	--text-dim: #72727e;
	--radius: 8px;
	--radius-lg: 14px;
	--ease: cubic-bezier(.25, .46, .45, .94);
}

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

body {
	min-height: 100dvh;
	font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", sans-serif;
	color: var(--text);
	background: var(--bg);
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 2rem;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Subtle warm ambient glow behind card */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	background: radial-gradient(ellipse 60% 50% at 30% 20%, rgba(229, 62, 62, 0.025), transparent);
	pointer-events: none;
}

.page-wrap {
	width: 100%;
	max-width: 880px;
}

/* ── Card ── */
.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 2.6rem 2.8rem;
	position: relative;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.04),
		0 40px 80px -20px rgba(0, 0, 0, 0.55);
	animation: rise 550ms var(--ease) both;
}

/* Gentle top-left sheen */
.card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, transparent 45%);
	pointer-events: none;
}

.card-inner {
	position: relative;
	z-index: 1;
}

@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(18px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ── Header ── */
header {
	margin-bottom: 1.8rem;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--text-dim);
	margin-bottom: 0.75rem;
}

.eyebrow-line {
	display: block;
	width: 26px;
	height: 2px;
	background: var(--accent);
	border-radius: 1px;
}

h1 {
	font-size: clamp(2rem, 4.5vw, 2.7rem);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1.1;
}

.subtitle {
	margin-top: 0.85rem;
	max-width: 50rem;
	font-size: 0.92rem;
	color: var(--text-dim);
	line-height: 1.7;
}

/* ── Sections ── */
.section {
	margin-top: 1.6rem;
}

.section-label {
	font-size: 0.68rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--text-dim);
	margin-bottom: 0.6rem;
}

/* ── Buttons ── */
.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.6rem 1.25rem;
	font-size: 0.8rem;
	font-weight: 500;
	font-family: inherit;
	border-radius: var(--radius);
	border: 1px solid var(--border-btn);
	background: transparent;
	color: var(--text);
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	transition: all 160ms var(--ease);
}

.btn svg {
	width: 1.15em;
	height: 1.15em;
	flex-shrink: 0;
	fill: currentColor;
	overflow: visible;
}

.btn:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--bg);
	transform: translateY(-1px);
	box-shadow: 0 4px 24px rgba(229, 62, 62, 0.22);
}

.btn:active {
	transform: translateY(1px);
	box-shadow: none;
}

.btn:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.btn:focus:not(:focus-visible) {
	outline: none;
}

/* ── Game Cards ── */
.game-cards {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.game-card {
	padding: 1rem 1.2rem;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.game-card-header {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 0.6rem;
}

.game-card-img {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
}

.game-card-title {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.game-card-desc {
	font-size: 0.82rem;
	color: var(--text-dim);
	line-height: 1.55;
	margin-bottom: 0.85rem;
}

.game-card-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

/* ── Badge ── */
.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.15rem 0.55rem;
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: none;
	color: var(--text-dim);
	background: rgba(255, 255, 255, 0.06);
	border-radius: 20px;
}

.coming-soon {
	color: var(--accent);
	background: rgba(229, 62, 62, 0.1);
}

/* ── Footer ── */
footer {
	margin-top: 2.2rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.8rem;
	font-size: 0.73rem;
	color: var(--text-dim);
}

.lang-switcher {
	display: inline-flex;
	align-items: center;
}

.lang-select {
	appearance: none;
	-webkit-appearance: none;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2372727e' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.55rem center;
	border: 1px solid var(--border-btn);
	color: var(--text);
	padding: 0.28rem 1.7rem 0.28rem 0.55rem;
	border-radius: 6px;
	font-size: 0.78rem;
	font-family: inherit;
	cursor: pointer;
	transition: border-color 160ms var(--ease);
}

.lang-select:hover,
.lang-select:focus {
	border-color: var(--accent);
	outline: none;
}

/* ── Responsive ── */
@media (max-width: 700px) {
	body {
		padding: 1rem;
		align-items: flex-start;
	}

	.card {
		padding: 1.8rem 1.4rem;
	}

	footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.45rem;
	}
}

@media (max-width: 480px) {
	body {
		padding: 0.5rem;
	}

	.card {
		padding: 1.2rem 1rem;
		border-radius: 10px;
	}

	h1 {
		font-size: 1.6rem;
		letter-spacing: 0.08em;
	}

	.subtitle {
		font-size: 0.85rem;
	}

	.btn-row {
		flex-direction: column;
	}

	.btn {
		width: 100%;
		min-height: 44px;
	}
}