/* ==========================================================================
   Respawn Gaming
   HUD palette: void navy panels, health red for actions, XP blue for progress
   and links, coin gold for scores. Anybody (display) + Barlow (text).
   Signature: cut-corner HUD panels.
   ========================================================================== */

:root {
	--rs-void: #0b1020;
	--rs-void-2: #0f1528;
	--rs-panel: #141b31;
	--rs-panel-2: #1b2340;
	--rs-line: #28324f;
	--rs-line-2: #36426a;
	--rs-text: #e9edf8;
	--rs-muted: #9ba5c2;
	--rs-dim: #6f7a99;
	--rs-hp: #ff3d5a;
	--rs-hp-hover: #ff5c74;
	--rs-xp: #3fa9ff;
	--rs-coin: #ffc93c;

	--rs-display: "Anybody", "Arial Black", Impact, sans-serif;
	--rs-body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--rs-wrap: 1240px;
	--rs-gutter: clamp(16px, 4vw, 40px);
	--rs-cut: 14px;
	--rs-section: clamp(64px, 9vw, 120px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--rs-void);
	color: var(--rs-text);
	font-family: var(--rs-body);
	font-size: 1.125rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }

a { color: var(--rs-xp); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: #7cc5ff; text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--rs-coin); outline-offset: 3px; }

h1, h2, h3, h4 {
	margin: 0 0 0.5em;
	font-family: var(--rs-display);
	font-weight: 900;
	line-height: 1.02;
	letter-spacing: -0.01em;
	text-wrap: balance;
}
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.375rem; font-weight: 700; line-height: 1.15; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: calc(var(--rs-wrap) + var(--rs-gutter) * 2); margin-inline: auto; padding-inline: var(--rs-gutter); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 1000; padding: 12px 18px; background: var(--rs-coin); color: var(--rs-void); font-weight: 700; }
.skip-link:focus { top: 12px; }
.ico { flex: none; width: 1.15em; height: 1.15em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Cut-corner HUD shape (top-left and bottom-right corners clipped). */
.cut,
.btn,
.game-card__inner,
.post-card,
.countdown__unit,
.form,
.chip,
.share__btn {
	clip-path: polygon(var(--rs-cut) 0, 100% 0, 100% calc(100% - var(--rs-cut)), calc(100% - var(--rs-cut)) 100%, 0 100%, 0 var(--rs-cut));
}

/* Buttons ---------------------------------------------------------------- */

.btn,
.form button[type="submit"],
.search-submit,
.comment-form .submit {
	--rs-cut: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	min-height: 52px;
	padding: 0.8em 1.6em;
	border: 0;
	background: var(--rs-hp);
	color: #fff;
	font-family: var(--rs-body);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover,
.form button[type="submit"]:hover,
.comment-form .submit:hover { background: var(--rs-hp-hover); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--small { min-height: 44px; padding: 0.6em 1.15em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--ghost { background: var(--rs-panel-2); color: var(--rs-text); box-shadow: inset 0 0 0 1px var(--rs-line-2); }
.btn--ghost:hover { background: var(--rs-line); color: var(--rs-text); }
.text-link { font-weight: 700; }

/* Header ----------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(11, 16, 32, 0.78);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid rgba(54, 66, 106, 0.6);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { margin-right: auto; }
.brand .custom-logo { display: block; width: auto; max-height: 48px; }
.brand__link { display: inline-flex; align-items: center; gap: 12px; color: var(--rs-text); font-family: var(--rs-display); font-size: 1.375rem; font-weight: 900; letter-spacing: -0.01em; text-decoration: none; }
.brand__link:hover { color: var(--rs-text); }
.brand__mark { width: 40px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav .menu a { display: block; padding: 10px 14px; color: var(--rs-muted); font-weight: 600; text-decoration: none; border-radius: 4px; }
.site-nav .menu a:hover { color: var(--rs-text); background: rgba(255, 255, 255, 0.05); }
.site-nav .menu .current-menu-item > a,
.site-nav .menu .current_page_item > a { color: var(--rs-text); box-shadow: inset 0 -2px 0 var(--rs-hp); border-radius: 0; }

.nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--rs-line-2); border-radius: 6px; background: var(--rs-panel); color: var(--rs-text); cursor: pointer; }
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-toggle__close, .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.site-header__inner { min-height: 66px; }
	.site-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		display: none; flex-direction: column; align-items: stretch; gap: 16px;
		padding: 12px var(--rs-gutter) 24px;
		background: var(--rs-void-2);
		border-bottom: 1px solid var(--rs-line);
		box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
	}
	.site-nav.is-open { display: flex; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu a { padding: 14px 4px; border-bottom: 1px solid var(--rs-line); border-radius: 0; font-size: 1.125rem; color: var(--rs-text); }
	.site-nav .menu .current-menu-item > a { box-shadow: inset 3px 0 0 var(--rs-hp); padding-left: 14px; }
}

/* Chips, tags, badges ----------------------------------------------------- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	--rs-cut: 7px;
	display: inline-flex; align-items: center;
	min-height: 40px; padding: 0.4em 1em;
	border: 0; background: var(--rs-panel); color: var(--rs-muted);
	box-shadow: inset 0 0 0 1px var(--rs-line);
	font: 600 0.9375rem/1 var(--rs-body);
	text-decoration: none; cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.chip:hover { background: var(--rs-panel-2); color: var(--rs-text); }
.chip.is-active { background: var(--rs-text); color: var(--rs-void); box-shadow: none; }

.tag {
	display: inline-block; padding: 4px 10px; margin-bottom: 12px;
	background: rgba(63, 169, 255, 0.12); color: var(--rs-xp);
	font: 700 0.8125rem/1.3 var(--rs-body); text-decoration: none; letter-spacing: 0.02em;
	border-radius: 3px;
}
.tag:hover { background: rgba(63, 169, 255, 0.2); color: var(--rs-xp); }

.badge {
	position: absolute; top: 12px; right: 12px;
	padding: 4px 10px; border-radius: 3px;
	background: rgba(11, 16, 32, 0.78); color: var(--rs-text);
	font: 700 0.8125rem/1.3 var(--rs-body);
	backdrop-filter: blur(6px);
}

/* Game library ------------------------------------------------------------ */

.library__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.library__search { position: relative; display: flex; align-items: center; min-width: min(100%, 280px); }
.library__search .ico { position: absolute; left: 14px; color: var(--rs-dim); pointer-events: none; }
.library__search input {
	width: 100%; min-height: 44px; padding: 10px 14px 10px 42px;
	border: 1px solid var(--rs-line-2); border-radius: 6px;
	background: var(--rs-panel); color: var(--rs-text); font: 500 1rem var(--rs-body);
}
.library__search input:focus { border-color: var(--rs-xp); outline: 3px solid rgba(63, 169, 255, 0.25); outline-offset: 0; }
.library__empty { padding: 32px; text-align: center; color: var(--rs-muted); border: 1px dashed var(--rs-line-2); border-radius: 8px; }

.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 24px; }

.game-card { perspective: 900px; transition: opacity 0.25s ease; }
.game-card[hidden] { display: none; }
.game-card.is-leaving { opacity: 0; }
.game-card__inner {
	--rs-cut: 16px;
	position: relative; display: flex; flex-direction: column; height: 100%;
	background: var(--rs-panel); color: var(--rs-text); text-decoration: none;
	transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0));
	transition: transform 0.2s ease, background-color 0.2s ease;
	will-change: transform;
}
a.game-card__inner:hover { color: var(--rs-text); }
.game-card:hover .game-card__inner { --lift: -4px; background: var(--rs-panel-2); }

.game-card__cover {
	position: relative; aspect-ratio: 4 / 5; overflow: hidden;
	background:
		radial-gradient(120% 80% at 80% 0%, rgba(255, 255, 255, 0.18), transparent 50%),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 14px),
		linear-gradient(160deg, var(--c1, var(--rs-hp)), var(--c2, var(--rs-xp)));
}
.game-card__cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.game-card:hover .game-card__cover img { transform: scale(1.04); }
.game-card__art {
	position: absolute; right: -0.06em; bottom: -0.18em;
	color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.55);
	font: 900 clamp(6rem, 12vw, 9rem)/1 var(--rs-display);
	letter-spacing: -0.04em;
}
.game-card__body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 18px 18px 20px; }
.game-card__kicker { margin: 0; color: var(--rs-xp); font-size: 0.875rem; font-weight: 700; }
.game-card__title { margin: 0; font-size: 1.3125rem; }
.game-card__tagline { margin: 0; color: var(--rs-muted); font-size: 1rem; line-height: 1.45; }
.game-card__excerpt { margin: 4px 0 0; color: var(--rs-muted); font-size: 1rem; }
.game-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.platforms { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.platforms li { padding: 2px 7px; border: 1px solid var(--rs-line-2); border-radius: 3px; color: var(--rs-muted); font-size: 0.75rem; font-weight: 700; line-height: 1.5; }
.score { display: inline-flex; align-items: center; gap: 4px; color: var(--rs-coin); font: 900 1.0625rem/1 var(--rs-display); font-variant-numeric: tabular-nums; }
.score .ico { width: 16px; height: 16px; }

.game-card--big .game-card__inner { --rs-cut: 22px; }
.game-card--big .game-card__cover { aspect-ratio: 16 / 10; }
.game-card--big .game-card__art { font-size: clamp(8rem, 14vw, 12rem); bottom: -0.22em; }
.game-card--big .game-card__body { padding: 22px 24px 26px; }
.game-card--big .game-card__title { font-size: 1.75rem; }
.game-card__cta { align-self: flex-start; margin-top: 16px; pointer-events: none; }

/* Countdown -------------------------------------------------------------- */

.countdown__label { margin: 0 0 12px; color: var(--rs-muted); font-weight: 600; }
.countdown__units { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 520px; }
.countdown__unit {
	--rs-cut: 10px;
	display: flex; flex-direction: column; align-items: center; gap: 4px;
	padding: 16px 8px 14px;
	background: var(--rs-panel); box-shadow: inset 0 0 0 1px var(--rs-line-2);
}
.countdown__num { font: 900 clamp(2rem, 5vw, 3.25rem)/1 var(--rs-display); font-variant-numeric: tabular-nums; color: var(--rs-text); }
.countdown__name { color: var(--rs-muted); font-size: 0.875rem; font-weight: 600; }
.countdown__date { margin: 12px 0 0; color: var(--rs-muted); font-size: 0.9375rem; }
.countdown.is-live .countdown__units { display: none; }
.countdown.is-live .countdown__label::after { content: " Live now"; color: var(--rs-hp); font-weight: 700; }

/* Marquee ---------------------------------------------------------------- */

.marquee {
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; gap: 0; margin: 0; padding: 0; list-style: none; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li {
	display: flex; align-items: center; padding-inline: 28px;
	color: var(--rs-text); font: 900 clamp(1.75rem, 4vw, 3rem)/1.2 var(--rs-display); white-space: nowrap;
}
.marquee__track li::after { content: ""; width: 12px; height: 12px; margin-left: 56px; background: var(--rs-hp); transform: rotate(45deg); }
.marquee__track li:nth-child(3n + 2) { color: transparent; -webkit-text-stroke: 1.5px var(--rs-muted); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Blog cards ------------------------------------------------------------- */

.posts-block .chips { margin-bottom: 28px; }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px; }
.post-card { --rs-cut: 16px; display: flex; flex-direction: column; background: var(--rs-panel); transition: background-color 0.2s ease; }
.post-card:hover { background: var(--rs-panel-2); }
.post-card__media {
	position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden;
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 14px),
		linear-gradient(140deg, var(--c1), var(--c2));
}
.post-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__art { position: absolute; left: 18px; bottom: 14px; color: #fff; font: 900 2rem/1 var(--rs-display); opacity: 0.9; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.post-card__body .tag { align-self: flex-start; }
.post-card__title { margin: 0 0 8px; font-size: 1.375rem; }
.post-card__title a { color: var(--rs-text); text-decoration: none; }
.post-card__title a:hover { color: var(--rs-xp); }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card .tag { position: relative; z-index: 1; }
.post-card__excerpt { color: var(--rs-muted); font-size: 1rem; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 16px; margin: auto 0 0; color: var(--rs-dim); font-size: 0.875rem; font-weight: 600; }
.post-card__meta span { display: inline-flex; align-items: center; gap: 6px; }

.pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pager__num { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; border: 1px solid var(--rs-line-2); border-radius: 6px; color: var(--rs-text); font-weight: 700; text-decoration: none; }
.pager__num:hover { background: var(--rs-panel-2); color: var(--rs-text); }
.pager__num.is-current { background: var(--rs-hp); border-color: var(--rs-hp); }
.pager-wrap .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pager-wrap .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--rs-line-2); border-radius: 6px; color: var(--rs-text); text-decoration: none; font-weight: 700; }
.pager-wrap .page-numbers.current { background: var(--rs-hp); border-color: var(--rs-hp); }

.empty-note { padding: 24px; border: 1px dashed var(--rs-line-2); border-radius: 8px; color: var(--rs-muted); }

/* Forms ------------------------------------------------------------------ */

.form {
	--rs-cut: 18px;
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px 20px;
	padding: clamp(22px, 3vw, 36px);
	background: var(--rs-panel); box-shadow: inset 0 0 0 1px var(--rs-line);
}
@media (min-width: 640px) {
	.form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.form .field--wide, .form .form-notice { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.9375rem; font-weight: 600; }
.opt { color: var(--rs-dim); font-weight: 500; }
.field input, .field select, .field textarea,
.newsletter input,
.search-form .search-field,
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; min-height: 50px; padding: 12px 14px;
	border: 1px solid var(--rs-line-2); border-radius: 6px;
	background: var(--rs-void-2); color: var(--rs-text);
	font: 500 1rem/1.4 var(--rs-body);
}
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239ba5c2' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .newsletter input:focus, .comment-form textarea:focus, .comment-form input:focus { border-color: var(--rs-xp); outline: 3px solid rgba(63, 169, 255, 0.25); outline-offset: 0; }
::placeholder { color: var(--rs-dim); }

.form-notice { margin: 0 0 4px; padding: 12px 14px; border-radius: 6px; font-size: 1rem; font-weight: 600; }
.form-notice--ok { background: rgba(41, 224, 176, 0.12); color: #6ff0cb; }
.form-notice--error { background: rgba(255, 61, 90, 0.14); color: #ff8a9c; }

.newsletter__row { display: flex; gap: 8px; }
.newsletter__row input { flex: 1; min-width: 0; }
.newsletter__row .btn { flex: none; min-height: 50px; }
.newsletter__fine { margin: 10px 0 0; color: var(--rs-dim); font-size: 0.875rem; }
@media (max-width: 480px) { .newsletter__row { flex-direction: column; } }

.search-form { display: flex; gap: 8px; max-width: 520px; margin-top: 16px; }
.search-form label { flex: 1; }
.search-submit { min-height: 50px; }

/* Basic pages (non-Elementor) --------------------------------------------- */

.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(32px, 4vw, 48px); background: radial-gradient(60% 120% at 85% 0%, rgba(255, 61, 90, 0.16), transparent 60%), var(--rs-void-2); border-bottom: 1px solid var(--rs-line); }
.page-head__title { max-width: 18ch; margin: 0; font-size: clamp(2.5rem, 6vw, 4.5rem); }
.page-head__text { max-width: 40em; margin-top: 16px; color: var(--rs-muted); }
.section-basic { padding-block: clamp(40px, 6vw, 72px); }
.hero-basic { padding: clamp(80px, 12vw, 160px) 0; background: radial-gradient(60% 100% at 80% 0%, rgba(255, 61, 90, 0.2), transparent 60%), var(--rs-void-2); }
.hero-basic__title { max-width: 16ch; font-size: clamp(2.75rem, 7vw, 5.5rem); }
.hero-basic__text { max-width: 36em; color: var(--rs-muted); font-size: 1.25rem; }
.glitch { margin: 0; color: var(--rs-hp); font: 900 clamp(5rem, 16vw, 10rem)/0.9 var(--rs-display); text-shadow: -4px 0 var(--rs-xp), 4px 0 rgba(255, 201, 60, 0.6); }
.prose-wrap { padding-block: clamp(40px, 6vw, 72px) var(--rs-section); }

/* Prose (posts and plain pages) */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { margin: 1.8em 0 0.4em; font-size: clamp(1.625rem, 3vw, 2.125rem); scroll-margin-top: 100px; }
.prose h3 { margin: 1.5em 0 0.3em; font-size: 1.375rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--rs-hp); }
.prose blockquote, .prose .wp-block-quote {
	margin: 1.8em 0; padding: 20px 24px;
	border-left: 4px solid var(--rs-hp); background: var(--rs-panel);
	font-size: 1.25rem; font-weight: 500;
}
.prose blockquote p { margin: 0; }
.prose img { border-radius: 8px; }
.prose code { padding: 2px 6px; border-radius: 4px; background: var(--rs-panel-2); font-size: 0.9em; }
.prose pre { padding: 18px; overflow-x: auto; border-radius: 8px; background: var(--rs-void-2); border: 1px solid var(--rs-line); }
.prose a { color: var(--rs-xp); }
.prose .wp-block-image figcaption, .prose figcaption { color: var(--rs-dim); font-size: 0.875rem; }

/* Single post ------------------------------------------------------------ */

.read-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 3px; pointer-events: none; }
.admin-bar .read-progress { top: 32px; }
.read-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--rs-xp), var(--rs-hp)); transform-origin: 0 50%; transform: scaleX(0); }

.article__head { padding: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 40px); background: radial-gradient(60% 120% at 90% 0%, rgba(63, 169, 255, 0.14), transparent 60%); }
.article__head-inner { max-width: calc(900px + var(--rs-gutter) * 2); }
.article__title { margin: 0 0 16px; font-size: clamp(2.25rem, 5.4vw, 4rem); line-height: 1; }
.article__dek { max-width: 40em; color: var(--rs-muted); font-size: 1.25rem; }
.article__meta { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.article__avatar { border-radius: 50%; }
.article__author { display: block; font-weight: 700; }
.article__sub { display: flex; gap: 14px; color: var(--rs-dim); font-size: 0.9375rem; }

.article__media { margin: 0 auto; }
.article__media-frame {
	--rs-cut: 24px;
	position: relative; aspect-ratio: 21 / 9; overflow: hidden;
	clip-path: polygon(var(--rs-cut) 0, 100% 0, 100% calc(100% - var(--rs-cut)), calc(100% - var(--rs-cut)) 100%, 0 100%, 0 var(--rs-cut));
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 16px),
		linear-gradient(140deg, var(--c1), var(--c2));
}
.article__media-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.article__art { position: absolute; left: clamp(20px, 4vw, 48px); bottom: clamp(16px, 3vw, 36px); color: #fff; font: 900 clamp(2.5rem, 7vw, 5.5rem)/0.9 var(--rs-display); }
@media (max-width: 640px) { .article__media-frame { aspect-ratio: 16 / 10; } }
.article__media figcaption { margin-top: 10px; color: var(--rs-dim); font-size: 0.875rem; }

.article__layout { display: grid; grid-template-columns: 1fr; gap: 32px; padding-block: clamp(36px, 5vw, 64px) var(--rs-section); }
@media (min-width: 1000px) {
	.article__layout { grid-template-columns: 64px minmax(0, 70ch); justify-content: center; gap: 56px; }
	.share { position: sticky; top: 110px; align-self: start; flex-direction: column; }
}
.share { display: flex; align-items: center; gap: 10px; position: relative; }
.share__label { color: var(--rs-dim); font-size: 0.8125rem; font-weight: 700; }
.share__btn {
	--rs-cut: 8px;
	display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; border: 0; padding: 0;
	background: var(--rs-panel-2); color: var(--rs-text); cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.share__btn:hover { background: var(--rs-hp); color: #fff; }
.share__toast { position: absolute; left: 0; top: 100%; margin-top: 8px; padding: 6px 10px; border-radius: 4px; background: var(--rs-text); color: var(--rs-void); font-size: 0.8125rem; font-weight: 700; white-space: nowrap; opacity: 0; transform: translateY(-4px); transition: opacity 0.2s ease, transform 0.2s ease; pointer-events: none; }
.share__toast.is-visible { opacity: 1; transform: none; }
@media (min-width: 1000px) { .share__toast { left: 56px; top: 30px; } }

.article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2.5em !important; }
.article__tags a { padding: 4px 10px; border: 1px solid var(--rs-line-2); border-radius: 3px; color: var(--rs-muted); font-size: 0.875rem; text-decoration: none; }
.article__tags a:hover { color: var(--rs-text); border-color: var(--rs-muted); }

.author-box { display: flex; gap: 18px; margin-top: 2.5em !important; padding: 24px; background: var(--rs-panel); border-left: 4px solid var(--rs-xp); }
.author-box img { flex: none; border-radius: 50%; }
.author-box__name { font-weight: 700; margin-bottom: 4px !important; }
.author-box p { color: var(--rs-muted); font-size: 1rem; }

.post-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-top: 2.5em !important; }
.post-nav__item { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--rs-line); border-radius: 8px; color: var(--rs-text); font-weight: 700; text-decoration: none; }
.post-nav__item span { color: var(--rs-dim); font-size: 0.8125rem; }
.post-nav__item:hover { border-color: var(--rs-line-2); background: var(--rs-panel); color: var(--rs-text); }
.post-nav__item--next { text-align: right; }

.related { padding-block: var(--rs-section); background: var(--rs-void-2); border-top: 1px solid var(--rs-line); }
.related__title { margin-bottom: 32px; }

/* Comments */
.comments-area { margin-top: 3em !important; }
.comment-list { padding: 0; list-style: none; }
.comment-list .comment { margin-top: 20px; padding: 18px 20px; background: var(--rs-panel); border-radius: 8px; }
.comment-list .children { list-style: none; padding-left: 20px; }
.comment-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.875rem; color: var(--rs-dim); }
.comment-meta a { color: var(--rs-muted); }
.comment-author img { border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.comment-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9375rem; }
.comment-form p { margin-top: 16px; }

/* Footer ----------------------------------------------------------------- */

.site-footer { padding-top: clamp(56px, 8vw, 96px); background: #080c18; border-top: 1px solid var(--rs-line); color: var(--rs-muted); font-size: 1rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.3fr 0.7fr 0.9fr 1.3fr; } }
.site-footer__brand p { max-width: 30em; margin-top: 16px; }
.footer-title { margin-bottom: 14px; color: var(--rs-text); font: 700 1rem var(--rs-body); letter-spacing: 0; }
.footer-menu, .site-footer .menu { margin: 0; padding: 0; list-style: none; }
.footer-menu li, .site-footer .menu li { margin-bottom: 8px; }
.site-footer a { color: var(--rs-muted); text-decoration: none; }
.site-footer a:hover { color: var(--rs-text); text-decoration: underline; }
.site-footer .btn, .site-footer .btn:hover { color: #fff; text-decoration: none; }
.site-footer__event { margin-bottom: 4px; color: var(--rs-text); font: 900 1.25rem/1.2 var(--rs-display); }
.socials { display: flex; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--rs-line-2); border-radius: 8px; color: var(--rs-text); }
.socials a:hover { background: var(--rs-hp); border-color: var(--rs-hp); color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 28px; border-top: 1px solid var(--rs-line); color: var(--rs-dim); font-size: 0.875rem; }
.site-footer__bottom p { margin: 0; }

/* Elementor sections ------------------------------------------------------ */

.site-main--elementor { overflow-x: clip; }

/* Hero backdrop: faint dot grid + one red glow. */
.elementor .rs-hero {
	background-image:
		radial-gradient(55% 70% at 85% 10%, rgba(255, 61, 90, 0.22), transparent 60%),
		radial-gradient(40% 60% at 0% 100%, rgba(63, 169, 255, 0.14), transparent 60%),
		radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
	background-size: auto, auto, 22px 22px;
}

/* The one orchestrated moment: the headline's colour split settles on load. */
.elementor .rs-glitch .elementor-heading-title {
	text-shadow: -3px 0 rgba(63, 169, 255, 0.85), 3px 0 rgba(255, 61, 90, 0.85);
	animation: rs-settle 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
}
@keyframes rs-settle {
	0% { text-shadow: -14px 0 rgba(63, 169, 255, 0.9), 14px 0 rgba(255, 61, 90, 0.9); opacity: 0; transform: translateY(12px); }
	40% { opacity: 1; }
	100% { text-shadow: -3px 0 rgba(63, 169, 255, 0.85), 3px 0 rgba(255, 61, 90, 0.85); transform: none; }
}

/* HUD corner brackets around a container. */
.elementor .rs-hud { position: relative; }
.elementor .rs-hud::before,
.elementor .rs-hud::after {
	content: ""; position: absolute; width: 28px; height: 28px; pointer-events: none; z-index: 2;
	border-color: var(--rs-coin); border-style: solid;
}
.elementor .rs-hud::before { top: -10px; left: -10px; border-width: 2px 0 0 2px; }
.elementor .rs-hud::after { right: -10px; bottom: -10px; border-width: 0 2px 2px 0; }

/* Cut-corner panel. */
.elementor .rs-panel {
	--rs-cut: 18px;
	clip-path: polygon(var(--rs-cut) 0, 100% 0, 100% calc(100% - var(--rs-cut)), calc(100% - var(--rs-cut)) 100%, 0 100%, 0 var(--rs-cut));
}

/* Feature boxes lift on hover. */
.elementor .rs-feature { transition: transform 0.2s ease, background-color 0.2s ease; }
.elementor .rs-feature:hover { transform: translateY(-4px); background-color: var(--rs-panel-2) !important; }

/* XP-style progress bars. */
.elementor .rs-xp .elementor-progress-wrapper { overflow: hidden; }
.elementor .rs-xp .elementor-progress-bar { background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 22px); }

/* Counters as scoreboards. */
.elementor .rs-score .elementor-counter-number-wrapper { font-variant-numeric: tabular-nums; }

.elementor .elementor-shortcode .form { margin: 0; }
.elementor .rs-dark a:not(.btn) { color: inherit; }

/* Motion preferences ----------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
	.marquee__track { animation: none; }
	.game-card__inner { transform: none !important; }
}

/* Small screens: two-up game cards and a tighter countdown. */
@media (max-width: 600px) {
	.games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.game-card__inner { --rs-cut: 10px; }
	.game-card__cover { aspect-ratio: 1 / 1; }
	.game-card__art { font-size: 5rem; -webkit-text-stroke-width: 1.5px; }
	.game-card__body { padding: 12px 12px 14px; gap: 4px; }
	.game-card__title { font-size: 1.0625rem; }
	.game-card__kicker { font-size: 0.75rem; }
	.game-card:not(.game-card--big) .game-card__tagline,
	.game-card:not(.game-card--big) .platforms { display: none; }
	.badge { top: 8px; right: 8px; padding: 3px 7px; font-size: 0.6875rem; }
	.game-card--big .game-card__cover { aspect-ratio: 16 / 10; }
	.game-card--big .game-card__art { font-size: 8rem; }
	.countdown__units { gap: 6px; }
	.countdown__unit { padding: 12px 4px 10px; }
	.countdown__name { font-size: 0.75rem; }
	.library__controls .chips { gap: 6px; }
	.chip { min-height: 36px; padding: 0.35em 0.8em; font-size: 0.875rem; }
}
