/* ==========================================================================
   Fun with Games — site shell + front page showcase
   Scoped under .gs- / .gsh- / .gsf- to avoid collisions with Looper's CSS.
   ========================================================================== */

:root {
	--gs-ink: #080a12;
	--gs-panel: #10141f;
	--gs-panel-2: #171d2c;
	--gs-line: rgba(255, 255, 255, .09);
	--gs-text: #e8ebf2;
	--gs-muted: #939cb0;
	--gs-lime: #c7ff3e;
	--gs-coral: #ff6a52;
	--gs-cyan: #57dcff;

	--gs-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
	--gs-body: "Sora", "Helvetica Neue", sans-serif;
}

html,
body { background: #080a12; }

body {
	color: var(--gs-text);
	font-family: var(--gs-body);
	-webkit-font-smoothing: antialiased;
}

#content-area {
	background: var(--gs-ink);
	min-height: 30vh;
}

body .post-full,
body .container,
body article,
body .entry-content { background: transparent; }

body h1, body h2, body h3,
body h4, body h5, body h6 {
	font-family: var(--gs-display);
	color: var(--gs-text);
	letter-spacing: -.02em;
}

body p, body li, body dd,
body dt, body td, body blockquote { color: #b7bfd0; }

body a { color: var(--gs-lime); }
body a:hover, body a:focus { color: #dcff86; }

/* --- header -------------------------------------------------------------- */

.gsh {
	position: sticky;
	top: 0;
	z-index: 900;
	background: rgba(8, 10, 18, .82);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--gs-line);
}

.admin-bar .gsh { top: 32px; }

@media screen and (max-width: 782px) {
	.admin-bar .gsh { top: 46px; }
}

.gsh-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 28px;
	min-height: 74px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.gsh-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	flex-shrink: 0;
}

.gsh-brand:hover { text-decoration: none; }

.gsh-mark {
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: var(--gs-lime);
	display: grid;
	place-items: center;
	flex-shrink: 0;
	transition: transform .35s cubic-bezier(.2, .7, .3, 1);
}

.gsh-brand:hover .gsh-mark { transform: rotate(-8deg) scale(1.06); }

.gsh-mark svg { width: 17px; height: 17px; fill: #0b1005; }

.gsh-name {
	font-family: var(--gs-display);
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: -.025em;
	line-height: 1.1;
	color: var(--gs-text);
	margin: 0;
}

.gsh-brand:hover .gsh-name { color: #fff; }

.gsh-logo-img { max-height: 40px; width: auto; display: block; }

.gsh-nav {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.gsh-nav li { margin: 0; }

.gsh-nav a {
	display: inline-block;
	font-family: var(--gs-body);
	font-size: 13.5px;
	font-weight: 500;
	color: var(--gs-muted);
	text-decoration: none;
	padding: 9px 14px;
	border-radius: 9px;
	transition: color .22s ease, background .22s ease;
}

.gsh-nav a:hover,
.gsh-nav a:focus,
.gsh-nav .current-menu-item > a,
.gsh-nav .current_page_item > a {
	color: var(--gs-text);
	background: rgba(255, 255, 255, .06);
	text-decoration: none;
}

.gsh-nav .gsh-cta a {
	color: #0b1005;
	background: var(--gs-lime);
	font-weight: 600;
	margin-left: 6px;
	box-shadow: 0 10px 24px -14px rgba(199, 255, 62, .9);
}

.gsh-nav .gsh-cta a:hover { color: #0b1005; background: #d6ff63; }

@media (max-width: 720px) {
	.gsh-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		padding: 14px 20px 16px;
	}

	.gsh-nav { justify-content: flex-start; margin-left: -14px; }
}

/* --- footer -------------------------------------------------------------- */

.footer,
.gsf {
	position: relative;
	background: linear-gradient(180deg, var(--gs-ink) 0%, #05070d 100%);
	border-top: 1px solid var(--gs-line);
	color: var(--gs-muted);
}

/* Looper's decorative triangle dividers do not belong here. */
#bigTriangleShadow,
.head-sep { display: none !important; }

.footer-copyright { display: none !important; }

.gsf-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 62px 28px 0;
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr;
	gap: 44px;
}

@media (max-width: 820px) {
	.gsf-inner { grid-template-columns: 1fr; gap: 34px; padding-top: 48px; }
}

.gsf-brand .gsh-brand { margin-bottom: 16px; }

.gsf-blurb {
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--gs-muted);
	max-width: 42ch;
	margin: 0;
}

.gsf-col h3 {
	font-family: var(--gs-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #6d7689;
	margin: 0 0 16px;
}

.gsf-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.gsf-list li {
	margin: 0;
	font-size: 13.5px;
	color: var(--gs-muted);
	display: flex;
	align-items: center;
	gap: 9px;
}

.gsf-list svg { width: 14px; height: 14px; fill: #616a7e; flex-shrink: 0; }

.gsf-list a {
	color: var(--gs-muted);
	text-decoration: none;
	transition: color .22s ease;
}

.gsf-list a:hover, .gsf-list a:focus { color: var(--gs-lime); text-decoration: none; }

.gsf-bar {
	max-width: 1180px;
	margin: 52px auto 0;
	padding: 22px 28px 34px;
	border-top: 1px solid var(--gs-line);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 20px;
	font-size: 12.5px;
	color: #6d7689;
}

.gsf-bar a { color: #8a93a6; text-decoration: none; }
.gsf-bar a:hover { color: var(--gs-lime); }

/* --- showcase ------------------------------------------------------------ */

.gs-root {
	--gs-ink: #080a12;
	--gs-panel: #10141f;
	--gs-panel-2: #171d2c;
	--gs-line: rgba(255, 255, 255, .09);
	--gs-text: #e8ebf2;
	--gs-muted: #939cb0;
	--gs-lime: #c7ff3e;
	--gs-coral: #ff6a52;
	--gs-cyan: #57dcff;
	--gs-violet: #a583ff;

	--gs-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
	--gs-body: "Sora", "Helvetica Neue", sans-serif;

	position: relative;
	background: var(--gs-ink);
	color: var(--gs-text);
	font-family: var(--gs-body);
	overflow: hidden;
	margin: 0;
	padding: 0;
}

/* full-bleed even inside Looper's wrappers */
.gs-root {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.gs-root * { box-sizing: border-box; }

.gs-root a { text-decoration: none; }

.gs-wrap {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 28px;
	position: relative;
	z-index: 2;
}

/* --- atmosphere ---------------------------------------------------------- */

.gs-grain {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: .5;
	background-image:
		radial-gradient(circle at 12% 8%, rgba(199, 255, 62, .13), transparent 42%),
		radial-gradient(circle at 88% 22%, rgba(87, 220, 255, .11), transparent 46%),
		radial-gradient(circle at 62% 92%, rgba(255, 106, 82, .10), transparent 50%);
}

.gs-mesh {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		linear-gradient(var(--gs-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--gs-line) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: linear-gradient(180deg, #000 0%, transparent 68%);
	-webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 68%);
}

/* --- hero ---------------------------------------------------------------- */

.gs-hero {
	padding: 96px 0 72px;
}

.gs-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--gs-lime);
	border: 1px solid rgba(199, 255, 62, .32);
	border-radius: 999px;
	padding: 7px 16px;
	margin-bottom: 30px;
	animation: gs-rise .7s cubic-bezier(.2, .7, .3, 1) both;
}

.gs-eyebrow svg { width: 13px; height: 13px; }

.gs-title {
	font-family: var(--gs-display);
	font-weight: 800;
	font-size: clamp(2.9rem, 8vw, 6rem);
	line-height: .92;
	letter-spacing: -.035em;
	margin: 0 0 26px;
	color: var(--gs-text);
	max-width: 15ch;
	animation: gs-rise .7s .08s cubic-bezier(.2, .7, .3, 1) both;
}

.gs-title em {
	font-style: normal;
	color: var(--gs-lime);
}

.gs-lede {
	font-size: clamp(1rem, 1.6vw, 1.18rem);
	line-height: 1.65;
	color: var(--gs-muted);
	max-width: 56ch;
	margin: 0 0 34px;
	animation: gs-rise .7s .16s cubic-bezier(.2, .7, .3, 1) both;
}

.gs-platforms {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	animation: gs-rise .7s .24s cubic-bezier(.2, .7, .3, 1) both;
}

.gs-plat {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--gs-muted);
	background: var(--gs-panel);
	border: 1px solid var(--gs-line);
	border-radius: 10px;
	padding: 9px 14px;
	transition: color .25s ease, border-color .25s ease, transform .25s ease;
}

.gs-plat svg { width: 15px; height: 15px; fill: currentColor; }

.gs-plat:hover {
	color: var(--gs-text);
	border-color: rgba(199, 255, 62, .4);
	transform: translateY(-2px);
}

/* --- section heading ----------------------------------------------------- */

.gs-section {
	padding: 24px 0 104px;
}

.gs-sechead {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	border-top: 1px solid var(--gs-line);
	padding-top: 26px;
	margin-bottom: 44px;
}

.gs-sechead h2 {
	font-family: var(--gs-display);
	font-weight: 700;
	font-size: clamp(1.5rem, 3.2vw, 2.1rem);
	letter-spacing: -.02em;
	margin: 0;
	color: var(--gs-text);
}

.gs-sechead p {
	margin: 0;
	font-size: 13px;
	color: var(--gs-muted);
	letter-spacing: .04em;
}

/* --- grid ---------------------------------------------------------------- */

.gs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 26px;
}

.gs-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: linear-gradient(160deg, var(--gs-panel-2), var(--gs-panel));
	border: 1px solid var(--gs-line);
	border-radius: 20px;
	overflow: hidden;
	transition: transform .4s cubic-bezier(.2, .7, .3, 1), border-color .4s ease, box-shadow .4s ease;
	animation: gs-rise .7s both;
}

.gs-card:nth-child(1) { animation-delay: .30s; }
.gs-card:nth-child(2) { animation-delay: .38s; }
.gs-card:nth-child(3) { animation-delay: .46s; }

.gs-card:hover {
	transform: translateY(-7px);
	border-color: rgba(255, 255, 255, .2);
	box-shadow: 0 26px 60px -28px rgba(0, 0, 0, .95);
}

/* --- card art ------------------------------------------------------------ */

.gs-art {
	position: relative;
	aspect-ratio: 16 / 10;
	display: grid;
	place-items: center;
	overflow: hidden;
	border-bottom: 1px solid var(--gs-line);
}

.gs-art img {
	width: 108px;
	height: 108px;
	border-radius: 24px;
	object-fit: cover;
	box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .9);
	transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}

.gs-card:hover .gs-art img { transform: scale(1.06) rotate(-2deg); }

.gs-art--live {
	background:
		radial-gradient(circle at 30% 25%, rgba(199, 255, 62, .22), transparent 58%),
		linear-gradient(145deg, #1b2436, #0d111b);
}

/* real artwork, filling the card head */
.gs-art--cover { background: #0c0f18; }

.gs-art--cover img {
	width: 100%;
	height: 100%;
	border-radius: 0;
	object-fit: cover;
	box-shadow: none;
}

.gs-art--cover::after {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 45%;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(6, 8, 14, .72), transparent);
}

.gs-card:hover .gs-art--cover img { transform: scale(1.05); }

/* placeholder art for unreleased titles */
.gs-art--soon { background: linear-gradient(145deg, #1a1f30, #0c0f18); }

.gs-art--soon::before {
	content: "";
	position: absolute;
	inset: -20%;
	background-image: repeating-linear-gradient(
		45deg,
		var(--ph-a) 0 16px,
		transparent 16px 40px
	);
	opacity: .32;
	animation: gs-drift 24s linear infinite;
}

.gs-art--soon::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 45%, var(--ph-b) 0%, transparent 62%);
	opacity: .55;
}

.gs-ph {
	position: relative;
	z-index: 2;
	display: grid;
	place-items: center;
	gap: 12px;
	text-align: center;
}

.gs-ph-mark {
	width: 104px;
	height: 104px;
	display: grid;
	place-items: center;
	border-radius: 26px;
	background: rgba(8, 10, 18, .62);
	border: 1px dashed rgba(255, 255, 255, .28);
	backdrop-filter: blur(4px);
	font-family: var(--gs-display);
	font-weight: 800;
	font-size: 2.4rem;
	letter-spacing: -.04em;
	color: var(--ph-b);
	transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}

.gs-card:hover .gs-ph-mark { transform: scale(1.05) rotate(2deg); }

.gs-ph-note {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .42);
}

.gs-flag {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 3;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	padding: 6px 11px;
	border-radius: 7px;
}

.gs-flag--live {
	color: #0b1005;
	background: var(--gs-lime);
}

.gs-flag--soon {
	color: var(--gs-text);
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .22);
}

/* --- card body ----------------------------------------------------------- */

.gs-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 26px 24px 24px;
}

.gs-name {
	font-family: var(--gs-display);
	font-weight: 700;
	font-size: 1.42rem;
	letter-spacing: -.02em;
	margin: 0 0 10px;
	color: var(--gs-text);
}

.gs-desc {
	font-size: 14px;
	line-height: 1.62;
	color: var(--gs-muted);
	margin: 0 0 18px;
}

.gs-feats {
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	display: grid;
	gap: 8px;
}

.gs-feats li {
	position: relative;
	padding-left: 20px;
	font-size: 13px;
	line-height: 1.5;
	color: #b7bfd0;
}

.gs-feats li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .5em;
	width: 7px;
	height: 7px;
	border-radius: 2px;
	background: var(--gs-lime);
	transform: rotate(45deg);
}

.gs-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0 0 22px;
}

.gs-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 500;
	color: #aab3c6;
	background: rgba(255, 255, 255, .05);
	border: 1px solid var(--gs-line);
	border-radius: 7px;
	padding: 6px 10px;
}

.gs-tag svg { width: 12px; height: 12px; fill: currentColor; }

.gs-tag--soon {
	color: #7f889b;
	background: transparent;
	border-style: dashed;
	border-color: rgba(255, 255, 255, .16);
}

.gs-tag--soon em {
	font-style: normal;
	font-weight: 600;
	font-size: 10px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--gs-cyan);
	padding-left: 2px;
}

.gs-cta {
	margin-top: auto;
}

.gs-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--gs-body);
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: .01em;
	padding: 13px 20px;
	border-radius: 11px;
	transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.gs-btn svg { width: 15px; height: 15px; fill: currentColor; }

.gs-btn--primary {
	color: #0b1005;
	background: var(--gs-lime);
	box-shadow: 0 12px 28px -14px rgba(199, 255, 62, .85);
}

.gs-btn--primary:hover {
	color: #0b1005;
	transform: translateY(-2px);
	box-shadow: 0 16px 34px -12px rgba(199, 255, 62, .95);
}

.gs-btn--ghost {
	color: var(--gs-muted);
	background: transparent;
	border: 1px dashed rgba(255, 255, 255, .22);
	cursor: default;
}

/* --- footer note --------------------------------------------------------- */

.gs-note {
	border-top: 1px solid var(--gs-line);
	padding: 26px 0 90px;
	font-size: 13px;
	color: var(--gs-muted);
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	align-items: center;
}

.gs-note strong { color: var(--gs-text); font-weight: 600; }

/* --- motion -------------------------------------------------------------- */

@keyframes gs-rise {
	from { opacity: 0; transform: translateY(22px); }
	to   { opacity: 1; transform: translateY(0); }
}

@keyframes gs-drift {
	from { transform: translateX(0); }
	to   { transform: translateX(-56px); }
}

@media (prefers-reduced-motion: reduce) {
	.gs-root *,
	.gs-root *::before,
	.gs-root *::after {
		animation: none !important;
		transition: none !important;
	}
}

@media (max-width: 640px) {
	.gs-hero { padding: 64px 0 48px; }
	.gs-wrap { padding: 0 20px; }
	.gs-section { padding-bottom: 72px; }
}
