/*
Theme Name: TechMutt Arcade
Theme URI: https://arcade.thetechmutt.com/
Author: TechMutt
Author URI: https://thetechmutt.com/
Description: A fast, game-first WordPress hub for TechMutt Arcade.
Version: 1.4.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: techmutt-arcade
*/

:root {
	--arcade-bg: #080b12;
	--arcade-bg-deep: #05070c;
	--arcade-panel: #111722;
	--arcade-panel-soft: #151d2a;
	--arcade-paper: #f4f6f8;
	--arcade-muted: #98a4b5;
	--arcade-line: rgba(244, 246, 248, 0.13);
	--arcade-cyan: #5ce1e6;
	--arcade-cyan-dark: #1aafb8;
	--arcade-coral: #ff657d;
	--arcade-volt: #dfff59;
	--arcade-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
	--arcade-width: 1180px;
	--arcade-radius: 20px;
	--arcade-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at 8% 12%, rgba(92, 225, 230, 0.07), transparent 28rem),
		radial-gradient(circle at 88% 30%, rgba(255, 101, 125, 0.06), transparent 30rem),
		var(--arcade-bg);
	color: var(--arcade-paper);
	font-family: var(--arcade-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body::before {
	position: fixed;
	inset: 0;
	z-index: -1;
	background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
	background-size: 40px 40px;
	mask-image: linear-gradient(to bottom, black, transparent 74%);
	content: "";
	pointer-events: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

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

button,
input,
textarea,
select {
	font: inherit;
}

::selection {
	background: var(--arcade-cyan);
	color: var(--arcade-bg-deep);
}

:focus-visible {
	outline: 3px solid var(--arcade-volt);
	outline-offset: 4px;
}

.skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 99999;
	padding: 0.75rem 1rem;
	transform: translateY(-180%);
	border-radius: 8px;
	background: var(--arcade-volt);
	color: var(--arcade-bg-deep);
	font-weight: 900;
}

.skip-link:focus {
	transform: translateY(0);
}

.arcade-wrap {
	width: min(calc(100% - 40px), var(--arcade-width));
	margin-inline: auto;
}

.section-pad {
	padding-block: clamp(4rem, 7vw, 6.5rem);
}

.site-main {
	min-height: 68vh;
	overflow: clip;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	border-bottom: 1px solid var(--arcade-line);
	background: rgba(8, 11, 18, 0.88);
	box-shadow: 0 10px 35px rgba(0, 0, 0, 0.16);
	backdrop-filter: blur(18px);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	width: min(calc(100% - 40px), var(--arcade-width));
	min-height: 82px;
	margin-inline: auto;
	gap: 2rem;
}

.arcade-brand {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	gap: 0.75rem;
}

.arcade-brand__mark {
	position: relative;
	display: block;
	width: 42px;
	height: 30px;
	transform: rotate(-4deg);
	border: 2px solid var(--arcade-paper);
	border-radius: 12px 12px 15px 15px;
	background: var(--arcade-panel-soft);
	box-shadow: 3px 3px 0 var(--arcade-coral);
}

.arcade-brand__mark::before,
.arcade-brand__mark::after {
	position: absolute;
	background: var(--arcade-cyan);
	content: "";
}

.arcade-brand__mark::before {
	top: 8px;
	left: 8px;
	width: 12px;
	height: 4px;
}

.arcade-brand__mark::after {
	top: 4px;
	left: 12px;
	width: 4px;
	height: 12px;
}

.arcade-brand__mark i,
.arcade-brand__mark b {
	position: absolute;
	top: 9px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--arcade-coral);
}

.arcade-brand__mark i {
	right: 10px;
}

.arcade-brand__mark b {
	top: 14px;
	right: 5px;
}

.arcade-brand__type {
	display: flex;
	flex-direction: column;
	line-height: 0.9;
	text-transform: uppercase;
}

.arcade-brand__type span {
	color: var(--arcade-muted);
	font-size: 0.62rem;
	font-weight: 900;
	letter-spacing: 0.22em;
}

.arcade-brand__type strong {
	font-size: 1.22rem;
	font-weight: 950;
	letter-spacing: -0.04em;
}

.site-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2.25rem;
}

.site-nav a {
	position: relative;
	padding: 0.45rem 0;
	color: #cbd3df;
	font-size: 0.75rem;
	font-weight: 850;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.site-nav a::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	transform: scaleX(0);
	transform-origin: right;
	background: var(--arcade-cyan);
	content: "";
	transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
	transform: scaleX(1);
	transform-origin: left;
}

.header-launch {
	display: inline-flex;
	align-items: center;
	justify-self: end;
	gap: 0.6rem;
	padding: 0.7rem 0.9rem 0.7rem 1rem;
	border: 1px solid rgba(92, 225, 230, 0.48);
	border-radius: 10px;
	background: rgba(92, 225, 230, 0.08);
	color: var(--arcade-cyan);
	font-size: 0.75rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.header-launch:hover {
	transform: translateY(-2px);
	border-color: var(--arcade-cyan);
	background: var(--arcade-cyan);
	color: var(--arcade-bg-deep);
}

.header-launch svg {
	width: 20px;
	height: 20px;
	fill: currentcolor;
}

.arcade-hero {
	position: relative;
	display: grid;
	align-items: center;
	min-height: clamp(400px, 56svh, 620px);
	overflow: hidden;
	padding-block: clamp(4rem, 8vw, 6.5rem);
	border-bottom: 1px solid var(--arcade-line);
}

.arcade-hero::before {
	position: absolute;
	top: 8%;
	left: -8rem;
	width: 21rem;
	height: 21rem;
	border: 1px solid rgba(92, 225, 230, 0.16);
	border-radius: 50%;
	content: "";
}

.arcade-hero::after {
	position: absolute;
	top: calc(8% + 4rem);
	left: -4rem;
	width: 13rem;
	height: 13rem;
	border: 1px dashed rgba(255, 101, 125, 0.18);
	border-radius: 50%;
	content: "";
}

.arcade-hero__glow {
	position: absolute;
	top: 17%;
	right: 5%;
	width: 42vw;
	height: 42vw;
	border-radius: 50%;
	background: rgba(92, 225, 230, 0.12);
	filter: blur(120px);
	pointer-events: none;
}

.arcade-hero__content {
	position: relative;
	z-index: 1;
	text-align: center;
}

.signal-label {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin: 0 0 1.35rem;
	color: var(--arcade-cyan);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.19em;
	text-transform: uppercase;
}

.signal-label span {
	display: inline-block;
	width: 28px;
	height: 2px;
	background: currentcolor;
	box-shadow: 5px 0 0 rgba(92, 225, 230, 0.28);
}

.arcade-hero h1,
.section-heading h2,
.arcade-code h2,
.final-call h2,
.content-card h1,
.error-screen h1 {
	margin: 0;
	font-weight: 950;
	letter-spacing: -0.065em;
	line-height: 0.91;
}

.arcade-hero h1 {
	font-size: clamp(4.2rem, 13.5vw, 10rem);
	letter-spacing: -0.075em;
	text-transform: uppercase;
	white-space: nowrap;
}

.arcade-hero h1 em,
.arcade-code h2 em {
	position: relative;
	color: var(--arcade-cyan);
	font-style: normal;
}

.arcade-hero h1 em::after {
	position: absolute;
	right: 0.05em;
	bottom: -0.13em;
	width: 45%;
	height: 0.08em;
	transform: rotate(-1deg);
	background: var(--arcade-coral);
	content: "";
}

.arcade-hero__subtitle {
	margin: 1.35rem 0 0;
	color: #d6dce5;
	font-size: clamp(1.15rem, 2.1vw, 1.6rem);
	font-weight: 750;
	letter-spacing: -0.025em;
}

.arcade-hero .button {
	margin-top: 2rem;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	min-height: 54px;
	padding: 0.9rem 1.35rem;
	border-radius: 10px;
	font-size: 0.76rem;
	font-weight: 950;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
	transition: box-shadow 180ms ease, transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button svg {
	width: 22px;
	height: 22px;
	fill: currentcolor;
}

.button--primary {
	border: 1px solid var(--arcade-cyan);
	background: var(--arcade-cyan);
	box-shadow: 5px 5px 0 var(--arcade-coral);
	color: var(--arcade-bg-deep);
}

.button--primary:hover {
	transform: translate(-2px, -2px);
	box-shadow: 8px 8px 0 var(--arcade-coral);
}

.button--quiet {
	border: 1px solid var(--arcade-line);
	background: rgba(255, 255, 255, 0.025);
	color: var(--arcade-paper);
}

.button--quiet:hover {
	transform: translateY(-2px);
	border-color: rgba(244, 246, 248, 0.36);
	background: rgba(255, 255, 255, 0.065);
}

.trust-strip {
	display: flex;
	align-items: stretch;
	margin: 2.75rem 0 0;
	padding: 0;
	list-style: none;
}

.trust-strip li {
	display: flex;
	flex-direction: column;
	min-width: 112px;
	padding: 0 1.2rem;
	border-left: 1px solid var(--arcade-line);
}

.trust-strip li:first-child {
	padding-left: 0;
	border-left: 0;
}

.trust-strip b {
	color: var(--arcade-paper);
	font-size: 1.05rem;
	font-weight: 950;
	line-height: 1.1;
}

.trust-strip span {
	margin-top: 0.25rem;
	color: var(--arcade-muted);
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.featured-machine {
	position: relative;
	display: block;
	transform: rotate(1.2deg);
	transition: transform 280ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 280ms ease;
}

.featured-machine:hover {
	transform: rotate(0deg) translateY(-8px);
	filter: saturate(1.08);
}

.featured-machine figure {
	position: relative;
	margin: 0;
	overflow: hidden;
	border: 1px solid rgba(244, 246, 248, 0.26);
	border-radius: var(--arcade-radius);
	background: #060a10;
	box-shadow: var(--arcade-shadow), 13px 13px 0 rgba(255, 101, 125, 0.74);
}

.featured-machine figure::before {
	position: absolute;
	inset: 0;
	z-index: 2;
	border: 9px solid rgba(8, 11, 18, 0.5);
	border-radius: inherit;
	content: "";
	pointer-events: none;
}

.featured-machine img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.featured-machine:hover img {
	transform: scale(1.035);
}

.featured-machine__wash {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(3, 5, 9, 0.84), transparent 42%), linear-gradient(120deg, rgba(92, 225, 230, 0.05), rgba(255, 101, 125, 0.05));
	pointer-events: none;
}

.featured-machine figcaption {
	position: absolute;
	right: 1.35rem;
	bottom: 1.35rem;
	left: 1.35rem;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.game-badge {
	padding: 0.5rem 0.65rem;
	border: 1px solid rgba(92, 225, 230, 0.5);
	border-radius: 999px;
	background: rgba(8, 11, 18, 0.8);
	color: var(--arcade-cyan);
	font-size: 0.64rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	backdrop-filter: blur(12px);
}

.featured-machine__play {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--arcade-paper);
	font-size: 0.72rem;
	font-weight: 950;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.featured-machine__play i {
	position: relative;
	display: inline-block;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--arcade-cyan);
	box-shadow: 3px 3px 0 var(--arcade-coral);
}

.featured-machine__play i::after {
	position: absolute;
	top: 10px;
	left: 14px;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-left: 12px solid var(--arcade-bg-deep);
	content: "";
}

.featured-machine__rail {
	position: absolute;
	z-index: 5;
	display: block;
	width: 105px;
	height: 9px;
	background: var(--arcade-volt);
	box-shadow: 0 0 28px rgba(223, 255, 89, 0.34);
	pointer-events: none;
}

.featured-machine__rail--top {
	top: -4px;
	right: 15%;
}

.featured-machine__rail--bottom {
	bottom: 2px;
	left: 12%;
	width: 70px;
	background: var(--arcade-cyan);
}

.arcade-ticker {
	position: relative;
	z-index: 3;
	overflow: hidden;
	border-block: 1px solid rgba(8, 11, 18, 0.25);
	background: var(--arcade-volt);
	color: var(--arcade-bg-deep);
	transform: rotate(-0.7deg) scale(1.02);
}

.arcade-ticker > div {
	display: flex;
	align-items: center;
	justify-content: space-around;
	min-width: 900px;
	min-height: 48px;
	gap: 2rem;
	font-size: 0.72rem;
	font-weight: 950;
	letter-spacing: 0.18em;
	white-space: nowrap;
}

.arcade-ticker b {
	color: var(--arcade-coral);
	font-size: 1rem;
}

.arcade-benefits {
	position: relative;
	z-index: 3;
	border-block: 1px solid rgba(8, 11, 18, 0.28);
	background: var(--arcade-volt);
	color: var(--arcade-bg-deep);
}

.arcade-benefits > div {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	gap: clamp(0.8rem, 2.4vw, 2.2rem);
	font-size: clamp(0.62rem, 1.15vw, 0.76rem);
	font-weight: 950;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.arcade-benefits b {
	color: var(--arcade-coral);
	font-size: 1rem;
}

.arcade-floor {
	position: relative;
	background: linear-gradient(180deg, rgba(17, 23, 34, 0.6), rgba(8, 11, 18, 0));
}

.section-heading {
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-heading h2,
.arcade-code h2 {
	font-size: clamp(3.2rem, 7vw, 6rem);
	text-transform: uppercase;
}

.section-heading > p {
	margin: 0 0 0.45rem;
	color: var(--arcade-muted);
	font-size: 1.02rem;
}

.game-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

.game-card,
.next-drop {
	min-height: 100%;
	border: 1px solid var(--arcade-line);
	border-radius: var(--arcade-radius);
}

.game-card {
	overflow: hidden;
	background: var(--arcade-panel);
	box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.game-card:hover {
	transform: translateY(-5px);
	border-color: rgba(92, 225, 230, 0.58);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.game-card:only-child {
	grid-column: 1 / -1;
	width: min(100%, 900px);
	justify-self: center;
}

.game-card > a {
	display: block;
	height: 100%;
}

.game-card__image {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #05080d;
}

.game-card__image::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(17, 23, 34, 0.38), transparent 44%);
	content: "";
	pointer-events: none;
}

.game-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 450ms ease;
}

.game-card:hover .game-card__image img {
	transform: scale(1.045);
	filter: saturate(1.12);
}

.game-card__launch {
	position: absolute;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 3;
	display: grid;
	width: 54px;
	height: 54px;
	place-items: center;
	border-radius: 50%;
	background: var(--arcade-cyan);
	box-shadow: 5px 5px 0 var(--arcade-coral);
	color: var(--arcade-bg-deep);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.game-card:hover .game-card__launch {
	transform: translate(-2px, -2px);
	box-shadow: 8px 8px 0 var(--arcade-coral);
}

.game-card__launch svg {
	width: 25px;
	height: 25px;
	fill: currentcolor;
}

.game-card__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 2rem;
	padding: clamp(1.4rem, 3vw, 2.2rem);
}

.game-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 1.25rem;
}

.game-card__tags span {
	padding: 0.35rem 0.5rem;
	border: 1px solid var(--arcade-line);
	border-radius: 999px;
	color: var(--arcade-cyan);
	font-size: 0.59rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.game-card h3,
.next-drop h3 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.8rem);
	font-weight: 950;
	letter-spacing: -0.055em;
	line-height: 0.96;
}

.game-card__body > p,
.next-drop > div:last-child > p:last-child {
	margin: 1.15rem 0 0;
	color: var(--arcade-muted);
}

.game-card__body > div > p {
	margin: 0.75rem 0 0;
	color: var(--arcade-muted);
	font-size: 1rem;
}

.game-card__body > strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 50px;
	padding: 0.85rem 1.15rem;
	border: 1px solid var(--arcade-cyan);
	border-radius: 9px;
	background: var(--arcade-cyan);
	box-shadow: 4px 4px 0 var(--arcade-coral);
	color: var(--arcade-bg-deep);
	font-size: 0.7rem;
	font-weight: 950;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.game-card__body > strong svg {
	width: 19px;
	height: 19px;
	fill: currentcolor;
}

.next-drop {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 430px;
	overflow: hidden;
	padding: clamp(1.75rem, 4vw, 3rem);
	background:
		linear-gradient(135deg, rgba(255, 101, 125, 0.06), transparent 44%),
		var(--arcade-panel-soft);
}

.next-drop::before {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(244, 246, 248, 0.1) 1px, transparent 1px);
	background-size: 22px 22px;
	mask-image: linear-gradient(to bottom left, black, transparent 62%);
	content: "";
}

.next-drop__index {
	position: relative;
	z-index: 2;
	color: rgba(244, 246, 248, 0.15);
	font-size: 4.5rem;
	font-weight: 950;
	letter-spacing: -0.08em;
	line-height: 1;
}

.next-drop__orbit {
	position: absolute;
	top: 13%;
	right: -9%;
	width: 230px;
	height: 230px;
	border: 1px solid rgba(92, 225, 230, 0.28);
	border-radius: 50%;
	animation: arcade-spin 18s linear infinite;
}

.next-drop__orbit::before,
.next-drop__orbit::after {
	position: absolute;
	border: 1px solid rgba(255, 101, 125, 0.24);
	border-radius: 50%;
	content: "";
}

.next-drop__orbit::before {
	inset: 30px;
}

.next-drop__orbit::after {
	inset: 74px;
}

.next-drop__orbit i,
.next-drop__orbit b {
	position: absolute;
	border-radius: 50%;
	background: var(--arcade-volt);
	box-shadow: 0 0 24px rgba(223, 255, 89, 0.5);
}

.next-drop__orbit i {
	top: 19px;
	left: 39px;
	width: 12px;
	height: 12px;
}

.next-drop__orbit b {
	right: 44px;
	bottom: 15px;
	width: 7px;
	height: 7px;
	background: var(--arcade-coral);
}

.next-drop > div:last-child {
	position: relative;
	z-index: 2;
}

.next-drop h3 {
	font-size: clamp(2rem, 3.4vw, 3.1rem);
}

.arcade-code {
	position: relative;
	border-block: 1px solid var(--arcade-line);
	background: var(--arcade-bg-deep);
}

.arcade-code::before {
	position: absolute;
	top: 0;
	left: 7%;
	width: 1px;
	height: 100%;
	background: linear-gradient(transparent, rgba(92, 225, 230, 0.28), transparent);
	content: "";
}

.arcade-code__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
	align-items: start;
	gap: clamp(4rem, 10vw, 9rem);
}

.arcade-code__rules {
	display: grid;
}

.arcade-code__rules article {
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 1.25rem;
	padding: 2rem 0;
	border-top: 1px solid var(--arcade-line);
}

.arcade-code__rules article:last-child {
	border-bottom: 1px solid var(--arcade-line);
}

.arcade-code__rules article > span {
	color: var(--arcade-coral);
	font-size: 0.72rem;
	font-weight: 950;
	letter-spacing: 0.12em;
}

.arcade-code__rules h3 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 900;
	letter-spacing: -0.025em;
}

.arcade-code__rules p {
	margin: 0.45rem 0 0;
	color: var(--arcade-muted);
}

.final-call {
	position: relative;
	overflow: hidden;
	background: var(--arcade-coral);
	color: var(--arcade-bg-deep);
}

.final-call::after {
	position: absolute;
	top: -250%;
	right: 12%;
	width: 620px;
	height: 620px;
	border: 80px solid rgba(8, 11, 18, 0.08);
	border-radius: 50%;
	content: "";
}

.final-call__inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	min-height: 260px;
	padding-block: 3rem;
}

.final-call p {
	margin: 0 0 0.4rem;
	font-size: 0.72rem;
	font-weight: 950;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.final-call h2 {
	font-size: clamp(3rem, 7vw, 6.5rem);
}

.final-call .button--primary {
	border-color: var(--arcade-bg-deep);
	background: var(--arcade-bg-deep);
	box-shadow: 6px 6px 0 var(--arcade-volt);
	color: var(--arcade-paper);
}

.final-call .button--primary:hover {
	box-shadow: 9px 9px 0 var(--arcade-volt);
}

.site-footer {
	border-top: 1px solid var(--arcade-line);
	background: #030509;
}

.site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(calc(100% - 40px), var(--arcade-width));
	min-height: 96px;
	margin-inline: auto;
	gap: 2rem;
}

.site-footer strong {
	font-size: 1rem;
	font-weight: 950;
	letter-spacing: -0.02em;
}

.site-footer p {
	margin: 0;
	color: #707b8b;
	font-size: 0.76rem;
}

.content-shell {
	max-width: 880px;
}

.content-card {
	padding: clamp(2rem, 6vw, 5rem);
	border: 1px solid var(--arcade-line);
	border-radius: var(--arcade-radius);
	background: var(--arcade-panel);
	box-shadow: var(--arcade-shadow);
}

.content-card h1,
.error-screen h1 {
	font-size: clamp(3rem, 8vw, 6rem);
}

.entry-content {
	margin-top: 2.5rem;
	color: #c5cdd8;
}

.entry-content > * + * {
	margin-top: 1.4em;
}

.entry-content a {
	color: var(--arcade-cyan);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.entry-content h2,
.entry-content h3 {
	color: var(--arcade-paper);
	line-height: 1.15;
}

.error-screen {
	position: relative;
	max-width: 900px;
}

.error-screen__code {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	color: rgba(244, 246, 248, 0.045);
	font-size: clamp(8rem, 25vw, 18rem);
	font-weight: 950;
	letter-spacing: -0.1em;
	line-height: 0.75;
	pointer-events: none;
}

.error-screen > p:not(.signal-label, .error-screen__code) {
	max-width: 590px;
	margin: 2rem 0;
	color: var(--arcade-muted);
	font-size: 1.1rem;
}

@keyframes arcade-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 1000px) {
	.arcade-hero {
		min-height: auto;
	}

	.arcade-hero__grid {
		grid-template-columns: 1fr;
	}

	.arcade-hero__copy {
		max-width: 780px;
	}

	.featured-machine {
		width: min(100%, 820px);
		margin-inline: auto;
	}

	.game-grid {
		grid-template-columns: 1fr;
	}

	.next-drop {
		min-height: 360px;
	}

	.arcade-code__grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}
}

@media (max-width: 760px) {
	.admin-bar .site-header {
		top: 46px;
	}

	.arcade-wrap,
	.site-header__inner,
	.site-footer__inner {
		width: min(calc(100% - 28px), var(--arcade-width));
	}

	.site-header__inner {
		grid-template-columns: 1fr auto;
		min-height: 70px;
		gap: 1rem;
	}

	.site-nav {
		display: none;
	}

	.header-launch span {
		display: none;
	}

	.header-launch {
		width: 42px;
		height: 42px;
		padding: 0;
	}

	.arcade-hero {
		padding-block: 4rem 5rem;
	}

	.arcade-hero__grid {
		gap: 3.3rem;
	}

	.arcade-hero h1 {
		font-size: clamp(3.2rem, 15.7vw, 5.2rem);
	}

	.arcade-hero__lede {
		font-size: 1rem;
	}

	.trust-strip {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
	}

	.trust-strip li {
		min-width: 0;
		padding-inline: 0.65rem;
	}

	.trust-strip span {
		font-size: 0.54rem;
	}

	.featured-machine figure {
		box-shadow: var(--arcade-shadow), 7px 7px 0 rgba(255, 101, 125, 0.74);
	}

	.featured-machine figcaption {
		right: 0.9rem;
		bottom: 0.9rem;
		left: 0.9rem;
	}

	.featured-machine__play {
		font-size: 0;
	}

	.featured-machine__play i {
		width: 34px;
		height: 34px;
	}

	.featured-machine__play i::after {
		top: 9px;
		left: 13px;
	}

	.section-heading {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.section-heading h2,
	.arcade-code h2 {
		font-size: clamp(3rem, 14vw, 4.5rem);
	}

	.game-card > a {
		grid-template-columns: 1fr;
	}

	.game-card__image {
		min-height: auto;
		aspect-ratio: 16 / 10;
	}

	.game-card__image::after {
		background: linear-gradient(to top, rgba(17, 23, 34, 0.54), transparent 55%);
	}

	.game-card__body {
		grid-template-columns: 1fr;
		gap: 1.25rem;
		padding: 1.6rem;
	}

	.game-card__body > strong {
		width: 100%;
	}

	.game-card h3 {
		font-size: 2.5rem;
	}

	.next-drop {
		min-height: 370px;
		padding: 1.6rem;
	}

	.arcade-code__rules article {
		grid-template-columns: 40px 1fr;
	}

	.final-call__inner {
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		padding-block: 4rem;
	}

	.site-footer__inner {
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		padding-block: 2.5rem;
	}
}

@media (max-width: 440px) {
	.arcade-brand__mark {
		width: 36px;
		height: 27px;
	}

	.arcade-brand__type strong {
		font-size: 1.05rem;
	}

	.arcade-hero__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.arcade-hero__actions .button {
		width: 100%;
	}

	.trust-strip li {
		padding-inline: 0.45rem;
	}

	.game-badge {
		font-size: 0.54rem;
	}
}

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

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Install appears only when the browser offers an install prompt. */
#arcade-install:not([hidden]) { border: 1px solid #5ce1e6; border-radius: 8px; background: #111722; color: #f4f6f8; padding: .55rem .75rem; font: inherit; cursor: pointer; }

/* Featured game launch: title, arena preview, and CTA stay together. */
.site-header__inner { display: flex; justify-content: space-between; }
.arcade-home .site-header { position: relative; }
.arcade-home .site-main { min-height: 0; }
.stick-hero { min-height: auto; padding-block: clamp(24px, 5vw, 64px); }
.stick-hero__layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: 40px; align-items: center; }
.stick-hero__heading { align-self: end; }
.stick-hero h1 { font-size: clamp(3rem, 5.6vw, 5rem); white-space: normal; line-height: 1; }
.stick-hero h1 em { display: block; }
.stick-hero__challenge { margin: 22px 0 0; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 750; color: #d6dce5; }
.stick-hero__gameplay { grid-column: 2; grid-row: 1 / 3; margin: 0; overflow: hidden; border: 1px solid var(--arcade-line); border-radius: 14px; box-shadow: 6px 6px 0 var(--arcade-coral); background: var(--arcade-panel); }
.stick-hero__gameplay img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.stick-hero__launch { align-self: start; }
.stick-hero .button { margin-top: 24px; min-height: 56px; font-size: .85rem; }
.stick-hero__details { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 20px 0 0; padding: 0; list-style: none; font-size: .78rem; font-weight: 650; color: var(--arcade-volt); }
.stick-hero__controls { margin: 8px 0 0; font-size: .78rem; color: var(--arcade-muted); }
#arcade-install:not([hidden]) { min-height: 44px; border-color: var(--arcade-line); font-size: .8rem; }
@media (max-width: 760px) {
	.arcade-home .site-header__inner { min-height: 62px; }
	.stick-hero { padding-block: 20px 28px; }
	.stick-hero__layout { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
	.stick-hero__heading, .stick-hero__launch { width: 100%; text-align: center; }
	.stick-hero h1 { font-size: clamp(2rem, 8.6vw, 3rem); letter-spacing: -.065em; }
	.stick-hero h1 em { display: inline; }
	.stick-hero__challenge { margin-top: 12px; font-size: 1.05rem; }
	.stick-hero__gameplay { width: 100%; }
	.stick-hero .button { width: 100%; margin-top: 0; }
	.stick-hero__details { justify-content: center; margin-top: 18px; gap: 3px 12px; font-size: .72rem; }
	.stick-hero__controls { font-size: .72rem; }
	.arcade-home .site-footer__inner { align-items: center; gap: 12px; padding-block: 24px; }
}
@media (orientation: landscape) and (max-height: 500px) {
	.arcade-home .site-header__inner { min-height: 54px; }
	.stick-hero { padding-block: 16px 22px; }
	.stick-hero__layout { display: grid; max-width: var(--arcade-width); grid-template-columns: 1fr 1fr; gap: 12px 24px; }
	.stick-hero__heading, .stick-hero__launch { text-align: left; }
	.stick-hero h1 { font-size: clamp(1.8rem, 4.6vw, 3rem); }
	.stick-hero h1 em { display: inline; }
	.stick-hero__challenge { margin-top: 12px; font-size: 1rem; }
	.stick-hero .button { width: 100%; margin-top: 0; }
	.stick-hero__details { justify-content: flex-start; margin-top: 14px; }
}
