/* ==========================================================================
   Smiling Ghost — main stylesheet
   Colours come from schemes.css (CSS custom properties per data-scheme).
   ========================================================================== */

:root {
	--font-display: "Unbounded", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--grad: linear-gradient(120deg, var(--accent), var(--accent-2));
	--radius: 20px;
	--radius-sm: 12px;
	--container: 1320px;
	--gutter: 24px;
	--header-h: 72px;
	--shadow: 0 18px 50px -20px rgba(0, 0, 0, .55);
	--ease: cubic-bezier(.2, .8, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.sg-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; padding: 10px 16px; background: var(--accent); color: var(--on-accent); border-radius: 10px; }
.sg-skip:focus { left: 8px; }

.sg-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sg-container--narrow { max-width: 860px; }
.sg-center { text-align: center; }

.sg-icon { width: 1.25em; height: 1.25em; flex: none; }

.sg-main { min-height: 60vh; }

/* ------------------------------------------------------------- buttons */
.sg-btn {
	--btn-pad: 12px 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: var(--btn-pad);
	border-radius: 999px;
	border: 1.5px solid transparent;
	font-weight: 800;
	font-size: 15px;
	line-height: 1.2;
	letter-spacing: .01em;
	white-space: nowrap;
	transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.sg-btn .sg-icon { width: 18px; height: 18px; }
.sg-btn--primary { background: var(--grad); color: var(--on-accent); box-shadow: 0 10px 30px -10px var(--glow); }
.sg-btn--primary:hover { color: var(--on-accent); transform: translateY(-2px); box-shadow: 0 16px 40px -12px var(--glow); }
.sg-btn--ghost { border-color: var(--line); background: color-mix(in srgb, var(--surface) 60%, transparent); color: var(--text); backdrop-filter: blur(8px); }
.sg-btn--ghost:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); }
.sg-btn--sm { --btn-pad: 8px 16px; font-size: 13px; }
.sg-btn--lg { --btn-pad: 15px 28px; font-size: 16px; }

.sg-icon-btn {
	display: inline-grid;
	place-items: center;
	width: 42px; height: 42px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: color-mix(in srgb, var(--surface) 70%, transparent);
	color: var(--text);
	transition: border-color .2s, color .2s, background .2s;
}
.sg-icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.sg-icon-btn .sg-icon { width: 20px; height: 20px; }

.sg-link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--accent); }
.sg-link-arrow .sg-icon { transition: transform .2s var(--ease); }
.sg-link-arrow:hover .sg-icon { transform: translateX(4px); }
.sg-link-btn { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 700; }

/* --------------------------------------------------------------- header */
.sg-header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--header-h);
	background: color-mix(in srgb, var(--bg) 72%, transparent);
	backdrop-filter: blur(16px) saturate(1.4);
	-webkit-backdrop-filter: blur(16px) saturate(1.4);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, background .3s;
}
.admin-bar .sg-header { top: 32px; }
.sg-header.is-scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); }
.sg-header__inner { display: flex; align-items: center; gap: 28px; height: 100%; }

.sg-logo, .custom-logo-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.01em; color: var(--text); flex: none; }
.sg-logo:hover { color: var(--text); }
.sg-logo__mark { width: 38px; height: 38px; filter: drop-shadow(0 6px 14px var(--glow)); transition: transform .4s var(--ease); }
.sg-logo:hover .sg-logo__mark { transform: rotate(-8deg) translateY(-2px); }
.sg-logo__img { display: block; width: 252px; height: auto; max-width: min(252px, 66vw); margin: -9px; transition: filter .3s var(--ease); }
.sg-logo:hover .sg-logo__img { filter: brightness(1.15); }
.custom-logo { max-height: 44px; width: auto; }

.sg-nav { flex: 1; display: flex; align-items: center; }
.sg-menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.sg-menu a { display: block; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--muted); transition: color .2s, background .2s; }
.sg-menu a:hover, .sg-menu .current-menu-item > a, .sg-menu .current-menu-ancestor > a, .sg-menu .current_page_item > a { color: var(--text); background: var(--surface); }
.sg-menu li { position: relative; }
.sg-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 8px 0 0; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); }
.sg-menu li:hover > .sub-menu, .sg-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sg-nav__cta { display: none; }
.sg-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.sg-burger { display: none; }
.sg-burger__close { display: none; }

/* ----------------------------------------------------------------- hero */
.sg-hero, .sg-game-hero {
	--text: #fff;
	--muted: rgba(255, 255, 255, .74);
	--line: rgba(255, 255, 255, .18);
	--surface: rgba(255, 255, 255, .07);
	position: relative;
	color: var(--text);
	isolation: isolate;
	overflow: hidden;
	background: #07060b;
}
.sg-hero { min-height: min(820px, calc(100svh - var(--header-h))); display: flex; flex-direction: column; }
.sg-hero__slides { position: relative; flex: 1; display: grid; }
.sg-hero__slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.sg-hero__slide.is-active { opacity: 1; visibility: visible; }
.sg-hero__bg, .sg-game-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(60% 70% at 78% 40%, hsl(var(--h) 85% 50% / .55), transparent 70%),
		radial-gradient(50% 60% at 10% 90%, hsl(calc(var(--h) + 60) 85% 50% / .35), transparent 70%),
		linear-gradient(160deg, hsl(var(--h) 60% 14%), #07060b 70%);
	background-size: cover;
	background-position: center;
	transform: scale(1.04);
	transition: transform 8s linear;
}
.sg-hero__slide.is-active .sg-hero__bg { transform: scale(1.1); }
.sg-hero__bg::after, .sg-game-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(5, 4, 10, .92) 0%, rgba(5, 4, 10, .7) 45%, rgba(5, 4, 10, .15) 100%),
		linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.sg-hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 110px; }
.sg-hero__eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.sg-hero__title { font-size: clamp(40px, 6.4vw, 92px); font-weight: 800; line-height: .98; margin-bottom: 18px; text-transform: uppercase; letter-spacing: -.02em; }
.sg-hero__title a { color: inherit; }
.sg-hero__title a:hover { color: inherit; }
.sg-hero__tagline { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); max-width: 560px; margin-bottom: 26px; }
.sg-hero__specs { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 30px; }
.sg-hero__specs div { padding: 10px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .05); backdrop-filter: blur(6px); min-width: 110px; }
.sg-hero__specs dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sg-hero__specs dd { margin: 2px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 18px; display: flex; align-items: center; min-height: 26px; }
.sg-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sg-hero__visual {
	position: relative;
	justify-self: center;
	width: min(440px, 100%);
	aspect-ratio: 1;
	border-radius: 32px;
	overflow: hidden;
	box-shadow: 0 40px 90px -30px hsl(var(--h) 90% 50% / .7), 0 0 0 1px rgba(255, 255, 255, .14);
	transform: perspective(1200px) rotateY(-10deg) rotateX(4deg);
	transition: transform .6s var(--ease);
}
.sg-hero__visual:hover { transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-6px); }
.sg-hero__visual > img, .sg-hero__visual .sg-cover { width: 100%; height: 100%; object-fit: cover; }
.sg-hero__visual--ghost { box-shadow: none; background: none; transform: none; display: grid; place-items: center; }
.sg-hero__visual--ghost .sg-ghost { width: 70%; animation: sg-float 6s ease-in-out infinite; filter: drop-shadow(0 30px 60px var(--glow)); }
.sg-hero--plain { min-height: 560px; }

.sg-hero__nav { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; gap: 12px; }
.sg-hero__dot { flex: 1; max-width: 220px; text-align: left; background: none; border: 0; padding: 0; color: var(--muted); }
.sg-hero__dot-title { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.sg-hero__dot-bar { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.sg-hero__dot-bar i { display: block; height: 100%; width: 0; background: var(--grad); }
.sg-hero__dot.is-active { color: #fff; }
.sg-hero__dot.is-active .sg-hero__dot-bar i { animation: sg-progress var(--slide-ms, 7000ms) linear forwards; }
.sg-hero[data-paused] .sg-hero__dot.is-active .sg-hero__dot-bar i { animation-play-state: paused; }

/* --------------------------------------------------------------- badges */
.sg-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.sg-badges { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.sg-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; }
.sg-badge--new { background: var(--grad); color: var(--on-accent); }
.sg-badge--soon { background: #fff; color: #111; }
.sg-badge--test { background: repeating-linear-gradient(45deg, #ffd23f, #ffd23f 8px, #1a1a1a 8px, #1a1a1a 16px); color: #fff; text-shadow: 0 1px 2px #000; }
.sg-badge--hot { background: #ff3d57; color: #fff; }

.sg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-chip { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 700; color: var(--text); transition: border-color .2s, color .2s; }
a.sg-chip:hover { border-color: var(--accent); color: var(--accent); }
.sg-chip--static { cursor: default; }

/* volatility meter */
.sg-vol { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; vertical-align: middle; }
.sg-vol i { width: 5px; border-radius: 2px; background: color-mix(in srgb, var(--muted) 35%, transparent); }
.sg-vol i:nth-child(1) { height: 40%; }
.sg-vol i:nth-child(2) { height: 55%; }
.sg-vol i:nth-child(3) { height: 70%; }
.sg-vol i:nth-child(4) { height: 85%; }
.sg-vol i:nth-child(5) { height: 100%; }
.sg-vol i.on { background: var(--grad); background-size: 400% 100%; box-shadow: 0 0 8px var(--glow); }
.sg-vol[data-level="5"] i.on { background: linear-gradient(180deg, #ffd23f, #ff3d57); }
.sg-vol__label { margin-left: 8px; }

/* ------------------------------------------------------------- sections */
.sg-section { padding: 88px 0; position: relative; }
.sg-section--tight { padding: 44px 0; }
.sg-section--alt { background: var(--bg-2); }
.sg-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.sg-section__title { font-size: clamp(28px, 3.4vw, 46px); font-weight: 800; margin: 6px 0 0; }
.sg-lead { font-size: 18px; color: var(--muted); }

.sg-grid { display: grid; gap: 22px; }
.sg-grid--games, .sg-games-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.sg-games-grid { display: grid; gap: 22px; }
.sg-grid--posts { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* stats */
.sg-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.sg-stat { padding: 28px 24px; background: var(--surface); display: flex; flex-direction: column; gap: 4px; }
.sg-stat__value { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 3.4vw, 48px); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sg-stat__label { color: var(--muted); font-weight: 700; }

/* ------------------------------------------------------------ game card */
.sg-card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.sg-card[hidden] { display: none; }
.sg-card__media {
	position: relative;
	aspect-ratio: 1;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--line);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.sg-card:hover .sg-card__media { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--accent), 0 24px 50px -18px var(--glow); }
.sg-card__cover { display: block; width: 100%; height: 100%; }
.sg-card__cover > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sg-card__cover > img { transition: transform .6s var(--ease); }
.sg-card:hover .sg-card__cover > img, .sg-card:hover .sg-cover { transform: scale(1.06); }
.sg-card__media .sg-badges { position: absolute; top: 12px; left: 12px; z-index: 2; }
.sg-card__overlay {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	padding: 40px 12px 14px;
	background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent);
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .3s var(--ease), transform .3s var(--ease);
	--text: #fff;
	--line: rgba(255, 255, 255, .3);
	--surface: rgba(255, 255, 255, .1);
}
.sg-card:hover .sg-card__overlay, .sg-card:focus-within .sg-card__overlay { opacity: 1; transform: none; }
.sg-card__soon { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 800; font-size: 13px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.sg-card__body { padding: 0 4px; }
.sg-card__title { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.sg-card__meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); font-weight: 700; }
@media (hover: none) {
	/* Touch: no hover, so show a compact round play button that keeps the cover readable. */
	.sg-card__overlay { inset: auto 10px 10px auto; padding: 0; background: none; opacity: 1; transform: none; }
	.sg-card__overlay .sg-btn--ghost, .sg-card__play-label { display: none; }
	.sg-card .sg-card__overlay .sg-btn--primary { --btn-pad: 0; width: 44px; height: 44px; border-radius: 50%; }
	.sg-card .sg-card__overlay .sg-btn--primary .sg-icon { width: 20px; height: 20px; margin-left: 2px; }
	.sg-card__soon { display: none; }
}

/* generated cover */
.sg-cover {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 6px;
	width: 100%;
	height: 100%;
	padding: 9%;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(80% 60% at 70% 20%, hsl(var(--h) 90% 60% / .9), transparent 65%),
		radial-gradient(60% 50% at 10% 100%, hsl(calc(var(--h) + 70) 90% 55% / .7), transparent 70%),
		linear-gradient(160deg, hsl(var(--h) 70% 28%), hsl(calc(var(--h) + 30) 60% 9%));
	transition: transform .6s var(--ease);
	container-type: inline-size;
}
.sg-cover__rays {
	position: absolute;
	inset: -40%;
	background: repeating-conic-gradient(from 0deg at 70% 30%, rgba(255, 255, 255, .07) 0 6deg, transparent 6deg 18deg);
	animation: sg-spin 60s linear infinite;
}
.sg-cover__ghost {
	position: absolute;
	width: calc(62% * var(--cs, 1));
	right: -6%;
	top: 4%;
	transform: rotate(12deg);
	opacity: .95;
	filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .4));
	--accent: #fff;
	--accent-2: hsl(var(--h) 100% 85%);
	--bg: hsl(var(--h) 60% 15%);
}
.sg-cover__title {
	position: relative;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(18px, calc(12cqi * var(--cs, 1)), 54px);
	line-height: .95;
	text-transform: uppercase;
	text-shadow: 0 4px 24px rgba(0, 0, 0, .55);
	letter-spacing: -.02em;
}
.sg-cover__studio { position: relative; font-size: clamp(9px, 3.6cqi, 13px); font-weight: 800; letter-spacing: .24em; text-transform: uppercase; opacity: .75; }

/* ------------------------------------------------------------- upcoming */
.sg-upcoming { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sg-upcoming__item { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.sg-upcoming__item:hover { transform: translateY(-6px); border-color: var(--accent); color: inherit; }
.sg-upcoming__media { aspect-ratio: 16 / 10; overflow: hidden; }
.sg-upcoming__media > img, .sg-upcoming__media .sg-cover { width: 100%; height: 100%; object-fit: cover; }
.sg-upcoming__media .sg-cover { --cs: .62; padding: 6% 7%; }
.sg-upcoming__body { padding: 20px 22px 24px; }
.sg-upcoming__body h3 { font-size: 22px; margin: 8px 0 6px; }
.sg-upcoming__body p { color: var(--muted); margin-bottom: 14px; }
.sg-upcoming__date { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--accent); }
.sg-upcoming__date .sg-icon { width: 16px; height: 16px; }
.sg-countdown { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; }
.sg-upcoming__count .sg-countdown { display: inline-block; padding: 8px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 18px; }

/* ------------------------------------------------------------ mechanics */
.sg-mechanics { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.sg-mechanic {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	padding: 22px 22px;
	border-radius: var(--radius);
	background: var(--surface);
	border: 1px solid var(--line);
	overflow: hidden;
	transition: border-color .3s, transform .3s var(--ease);
}
.sg-mechanic::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .3s; z-index: 0; }
.sg-mechanic > * { position: relative; z-index: 1; }
.sg-mechanic:hover { transform: translateY(-4px); border-color: transparent; color: var(--on-accent); }
.sg-mechanic:hover::before { opacity: 1; }
.sg-mechanic__name { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.sg-mechanic__count { grid-column: 1; font-size: 13px; color: var(--muted); font-weight: 700; }
.sg-mechanic:hover .sg-mechanic__count { color: inherit; opacity: .8; }
.sg-mechanic .sg-icon { grid-column: 2; grid-row: 1 / 3; }

/* ---------------------------------------------------------------- about */
.sg-about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.sg-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sg-value { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.sg-value .sg-icon { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--grad); color: var(--on-accent); margin-bottom: 14px; }
.sg-value h3 { font-size: 17px; margin-bottom: 6px; }
.sg-value p { color: var(--muted); font-size: 15px; margin: 0; }

/* ------------------------------------------------------------- partners */
.sg-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); margin-top: 18px; }
.sg-marquee__track { display: flex; width: max-content; animation: sg-marquee 40s linear infinite; }
.sg-marquee:hover .sg-marquee__track { animation-play-state: paused; }
.sg-marquee__dup { display: flex; }
.sg-partner { padding: 14px 34px; font-family: var(--font-display); font-weight: 800; font-size: clamp(18px, 2vw, 26px); letter-spacing: -.01em; color: var(--muted); opacity: .75; white-space: nowrap; transition: color .2s, opacity .2s; }
.sg-partner:hover { color: var(--text); opacity: 1; }

/* ------------------------------------------------------------ post card */
.sg-post-card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), border-color .3s; }
.sg-post-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.sg-post-card__media { aspect-ratio: 16 / 9; overflow: hidden; display: block; }
.sg-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.sg-post-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 70% 30%, hsl(var(--h) 80% 50% / .6), transparent 60%), linear-gradient(140deg, hsl(var(--h) 50% 20%), hsl(calc(var(--h) + 40) 50% 8%)); }
.sg-post-card__placeholder .sg-ghost { width: 26%; opacity: .9; --accent: #fff; --accent-2: hsl(var(--h) 100% 85%); --bg: hsl(var(--h) 50% 18%); }
.sg-post-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.sg-post-card__meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); font-weight: 700; }
.sg-post-card__title { font-size: 20px; margin: 0; }
.sg-post-card__excerpt { color: var(--muted); margin: 0; font-size: 15px; }

/* ------------------------------------------------------------ page hero */
.sg-page-hero { position: relative; padding: 84px 0 64px; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(60% 120% at 85% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%), radial-gradient(50% 100% at 0% 100%, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 60%), var(--bg); }
.sg-page-hero__bg { position: absolute; right: -40px; top: 10px; width: 300px; opacity: .14; pointer-events: none; transform: rotate(12deg); }
.sg-page-hero__title { font-size: clamp(36px, 5.6vw, 76px); font-weight: 800; margin: 8px 0 14px; text-transform: uppercase; letter-spacing: -.02em; }
.sg-page-hero__lead { max-width: 760px; font-size: 18px; color: var(--muted); }
.sg-page-hero__lead p:last-child { margin: 0; }

/* -------------------------------------------------------------- filters */
.sg-section--catalog { padding-top: 34px; }
.sg-filters {
	position: sticky;
	top: calc(var(--header-h) + 10px);
	z-index: 20;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 12px;
	margin-bottom: 30px;
	border-radius: calc(var(--radius) + 4px);
	background: color-mix(in srgb, var(--surface) 88%, transparent);
	backdrop-filter: blur(14px);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}
.admin-bar .sg-filters { top: calc(var(--header-h) + 42px); }
.sg-filters__search { position: relative; flex: 1 1 220px; }
.sg-filters__search .sg-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.sg-filters__search input { width: 100%; height: 44px; padding: 0 16px 0 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); outline: none; }
.sg-filters__search input:focus { border-color: var(--accent); }
.sg-segment { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.sg-segment button { border: 0; background: none; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); white-space: nowrap; }
.sg-segment button.is-active { background: var(--grad); color: var(--on-accent); }
.sg-filters__selects { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-select select {
	height: 44px;
	padding: 0 36px 0 16px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23999' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;
	appearance: none;
	-webkit-appearance: none;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	max-width: 220px;
}
.sg-select select.is-set { border-color: var(--accent); color: var(--accent); }
.sg-filters__meta { display: flex; gap: 14px; align-items: center; margin-left: auto; font-size: 14px; font-weight: 700; color: var(--muted); padding: 0 6px; }

.sg-empty { text-align: center; padding: 60px 20px; color: var(--muted); font-size: 18px; }
.sg-empty__ghost { width: 90px; margin: 0 auto 16px; animation: sg-float 5s ease-in-out infinite; }

/* ------------------------------------------------------------ game hero */
.sg-game-hero { padding: 0; }
.sg-game-hero__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 72px; min-height: 560px; }
.sg-crumbs { display: inline-flex; gap: 10px; font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 18px; }
.sg-crumbs a:hover { color: var(--text); }
.sg-game-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.sg-game-hero__title { font-size: clamp(40px, 6vw, 86px); font-weight: 800; text-transform: uppercase; line-height: .98; margin-bottom: 14px; letter-spacing: -.02em; }
.sg-game-hero__tagline { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); max-width: 640px; }
.sg-game-hero .sg-chips { margin: 18px 0 28px; }
.sg-game-hero__cover { width: min(400px, 100%); justify-self: end; aspect-ratio: 1; border-radius: 30px; overflow: hidden; box-shadow: 0 40px 90px -30px hsl(var(--h) 90% 50% / .7), 0 0 0 1px rgba(255, 255, 255, .16); }
.sg-game-hero__cover > img, .sg-game-hero__cover .sg-cover { width: 100%; height: 100%; object-fit: cover; }
.sg-release-box { display: inline-flex; flex-direction: column; padding: 10px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); }
.sg-release-box span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sg-release-box strong { font-size: 22px; }

/* specs */
.sg-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.sg-spec { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.sg-spec__label { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sg-spec__value { font-family: var(--font-display); font-weight: 700; font-size: 19px; display: flex; align-items: center; flex-wrap: wrap; }
.sg-spec--volatility .sg-vol__label { font-family: var(--font-body); font-size: 14px; font-weight: 700; color: var(--muted); }
.sg-spec--max_win .sg-spec__value { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --------------------------------------------------------------- player */
.sg-player { border-radius: calc(var(--radius) + 6px); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.sg-player__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.sg-player__devices { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.sg-device { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 7px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--muted); }
.sg-device .sg-icon { width: 18px; height: 18px; }
.sg-device.is-active { background: var(--grad); color: var(--on-accent); }
.sg-player__tools { display: flex; align-items: center; gap: 8px; }
.sg-player__size { font: 12px/1 ui-monospace, Consolas, monospace; color: var(--muted); margin-right: 4px; }
.sg-player__stage {
	display: grid;
	place-items: center;
	padding: 24px;
	min-height: 420px;
	background:
		radial-gradient(60% 80% at 50% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
		#050409;
}
.sg-player__frame {
	position: relative;
	width: 100%;
	max-width: 1180px;
	aspect-ratio: 16 / 9;
	border-radius: 14px;
	overflow: hidden;
	background: #000;
	box-shadow: 0 30px 80px -30px var(--glow), 0 0 0 1px rgba(255, 255, 255, .1);
	transition: width .45s var(--ease), max-width .45s var(--ease), height .45s var(--ease), border-radius .45s;
}
.sg-player__frame[data-device="tablet"] { aspect-ratio: 4 / 3; max-width: 860px; border-radius: 26px; box-shadow: 0 0 0 10px #16141c, 0 0 0 11px rgba(255, 255, 255, .12), 0 30px 80px -30px var(--glow); }
.sg-player__frame[data-device="mobile"] { aspect-ratio: 390 / 844; width: auto; height: min(78vh, 760px); max-width: 100%; border-radius: 34px; box-shadow: 0 0 0 10px #16141c, 0 0 0 11px rgba(255, 255, 255, .12), 0 30px 80px -30px var(--glow); }
.sg-player__frame[data-device="mobile-l"] { aspect-ratio: 844 / 390; max-width: 844px; border-radius: 30px; box-shadow: 0 0 0 10px #16141c, 0 0 0 11px rgba(255, 255, 255, .12), 0 30px 80px -30px var(--glow); }
.sg-player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
.sg-player__frame:fullscreen { border-radius: 0; max-width: none; width: 100vw; height: 100vh; aspect-ratio: auto; box-shadow: none; }
.sg-player__poster {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	background-size: cover;
	background-position: center;
	color: #fff;
}
.sg-player__poster::before { content: ""; position: absolute; inset: 0; background: rgba(5, 4, 10, .55); backdrop-filter: blur(2px); }
.sg-player__poster-cover { position: absolute; inset: 0; }
.sg-player__poster-cover .sg-cover { filter: blur(3px) brightness(.8); transform: scale(1.1); }
.sg-player__start { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; border: 0; background: none; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; }
.sg-player__start-icon { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--grad); color: var(--on-accent); box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 25%, transparent), 0 20px 60px var(--glow); transition: transform .3s var(--ease); animation: sg-pulse 2.4s ease-in-out infinite; }
.sg-player__start-icon .sg-icon { width: 38px; height: 38px; margin-left: 5px; }
.sg-player__start:hover .sg-player__start-icon { transform: scale(1.08); }
.sg-player__note { position: relative; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.sg-player--locked { position: relative; min-height: 360px; display: grid; place-items: center; text-align: center; background: linear-gradient(rgba(5, 4, 10, .78), rgba(5, 4, 10, .9)), var(--art, none) center / cover, var(--surface); color: #fff; }
.sg-player__locked { max-width: 520px; padding: 40px 24px; }
.sg-player__locked p { color: rgba(255, 255, 255, .75); }
.sg-player__locked-icon { width: 48px; height: 48px; color: var(--accent); margin-bottom: 10px; }

/* tester panel */
.sg-tester { margin-top: 18px; padding: 18px 20px; border-radius: var(--radius); border: 1px dashed color-mix(in srgb, #ffd23f 70%, var(--line)); background: color-mix(in srgb, #ffd23f 6%, var(--surface)); }
.sg-tester__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.sg-tester__hint { font-size: 13px; color: var(--muted); }
.sg-tester__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.sg-tester__grid div { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.sg-tester__grid span { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 800; }
.sg-tester__grid strong { word-break: break-all; }
.sg-tester__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sg-tester__actions input { flex: 1 1 280px; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); font: 12px ui-monospace, Consolas, monospace; }
.sg-tester__qr { margin-top: 14px; display: inline-block; padding: 12px; background: #fff; border-radius: 12px; }

/* game info */
.sg-game-info { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.sg-game-info__aside { position: sticky; top: calc(var(--header-h) + 20px); padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.sg-facts { margin: 0; display: grid; gap: 18px; }
.sg-facts dt { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.sg-facts dd { margin: 0; font-weight: 700; }

/* prose */
.sg-prose { font-size: 17px; line-height: 1.75; }
.sg-prose h2 { font-size: 30px; margin-top: 1.6em; }
.sg-prose h3 { font-size: 22px; margin-top: 1.5em; }
.sg-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.sg-prose ul, .sg-prose ol { padding-left: 1.3em; }
.sg-prose li { margin-bottom: .5em; }
.sg-prose li::marker { color: var(--accent); }
.sg-prose img { border-radius: var(--radius-sm); }
.sg-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--muted); font-size: 19px; }
.sg-prose > *:first-child { margin-top: 0; }

/* media */
.sg-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; background: #000; }
.sg-video iframe, .sg-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sg-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.sg-gallery__item { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 10; display: block; }
.sg-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.sg-gallery__item:hover img { transform: scale(1.05); }
.sg-lightbox { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, .9); cursor: zoom-out; }
.sg-lightbox img { max-height: 90vh; width: auto; border-radius: 12px; }

/* ------------------------------------------------------------- timeline */
.sg-timeline { position: relative; display: grid; gap: 54px; }
.sg-timeline::before { content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--accent), var(--accent-2), transparent); opacity: .5; }
.sg-timeline__month { position: relative; padding-left: 48px; }
.sg-timeline__label { font-size: 26px; margin-bottom: 20px; display: flex; align-items: center; }
.sg-timeline__label::before { content: ""; position: absolute; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 20%, transparent), 0 0 20px var(--glow); }
.sg-timeline__items { display: grid; gap: 18px; }
.sg-roadmap-item { display: grid; grid-template-columns: 220px 1fr; gap: 26px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s; }
.sg-roadmap-item:hover { border-color: var(--accent); }
.sg-roadmap-item__media { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; display: block; }
.sg-roadmap-item__media > img, .sg-roadmap-item__media .sg-cover { width: 100%; height: 100%; object-fit: cover; }
.sg-roadmap-item__body { display: flex; flex-direction: column; gap: 10px; padding: 6px 6px 6px 0; }
.sg-roadmap-item__body p { color: var(--muted); margin: 0; }
.sg-roadmap-item__date { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 800; color: var(--accent); font-size: 14px; }
.sg-roadmap-item__date .sg-icon { width: 18px; height: 18px; }
.sg-roadmap-item__date .sg-countdown { padding: 3px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--text); font-size: 13px; }
.sg-roadmap-item__title { font-size: 26px; margin: 0; }
.sg-mini-specs { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 4px 0; }
.sg-mini-specs dt { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sg-mini-specs dd { margin: 0; font-weight: 800; }
.sg-roadmap-item__actions { display: flex; gap: 8px; margin-top: auto; }

/* -------------------------------------------------------------- contact */
.sg-contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.sg-panel { padding: 32px; border-radius: calc(var(--radius) + 4px); background: var(--surface); border: 1px solid var(--line); }
.sg-panel__title { font-size: 24px; margin-bottom: 20px; }
.sg-contact__aside { display: grid; gap: 14px; }
.sg-contact-card { display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
a.sg-contact-card:hover { border-color: var(--accent); color: inherit; }
.sg-contact-card .sg-icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--grad); color: var(--on-accent); }
.sg-contact-card span { display: flex; flex-direction: column; color: var(--muted); }
.sg-contact-card strong { color: var(--text); font-size: 16px; }

/* form (plugin shortcode) */
.sg-form { display: grid; gap: 16px; }
.sg-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sg-form__field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.sg-form__field span { color: var(--muted); }
.sg-form input[type=text], .sg-form input[type=email], .sg-form select, .sg-form textarea {
	width: 100%;
	padding: 13px 16px;
	border-radius: 14px;
	border: 1px solid var(--line);
	background: var(--bg);
	color: var(--text);
	font-weight: 500;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
}
.sg-form input:focus, .sg-form select:focus, .sg-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.sg-form textarea { resize: vertical; min-height: 140px; }
.sg-form__check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.sg-form__check input { margin-top: 4px; accent-color: var(--accent); width: 18px; height: 18px; }
.sg-form .sg-btn { justify-self: start; }
.sg-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sg-form__notice { padding: 14px 18px; border-radius: 14px; font-weight: 700; }
.sg-form__notice--ok { background: color-mix(in srgb, #22c55e 16%, var(--surface)); border: 1px solid #22c55e; }
.sg-form__notice--error { background: color-mix(in srgb, #ef4444 14%, var(--surface)); border: 1px solid #ef4444; }

/* ------------------------------------------------------------- CTA band */
.sg-cta-band { padding: 0 0 88px; }
.sg-cta-band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 44px 48px;
	border-radius: calc(var(--radius) + 10px);
	background:
		radial-gradient(80% 140% at 100% 0%, color-mix(in srgb, var(--accent-2) 40%, transparent), transparent 60%),
		radial-gradient(70% 140% at 0% 100%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 60%),
		var(--surface-2);
	border: 1px solid var(--line);
	box-shadow: 0 30px 80px -40px var(--glow);
}
.sg-cta-band__title { font-size: clamp(26px, 3vw, 40px); margin: 0 0 8px; }
.sg-cta-band__text { color: var(--muted); margin: 0; font-size: 17px; }
.sg-cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------- footer */
.sg-footer { padding: 70px 0 30px; background: var(--bg-2); border-top: 1px solid var(--line); }
.sg-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.sg-footer__brand p { color: var(--muted); max-width: 360px; margin: 16px 0 18px; }
.sg-footer__title { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-family: var(--font-body); font-weight: 800; }
.sg-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sg-footer__links a { font-weight: 600; }
.sg-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.sg-footer__contact .sg-icon { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.sg-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.sg-social { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); transition: .2s; }
.sg-social:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.sg-social .sg-icon { width: 18px; height: 18px; }
.sg-licenses { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 0; padding-top: 30px; border-top: 1px solid var(--line); }
.sg-license { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 800; font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.sg-license .sg-icon { width: 16px; height: 16px; color: var(--accent); }
.sg-badges-ok { list-style: none; padding-left: 0; }
.sg-license--ok { color: var(--text); border-color: color-mix(in srgb, #22c55e 45%, var(--line)); background: color-mix(in srgb, #22c55e 9%, var(--surface)); }
.sg-license--ok .sg-icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: #22c55e; color: #04150a; }
.sg-section .sg-licenses { margin-top: 0; padding-top: 0; border-top: 0; }
.sg-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.sg-rg { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; max-width: 900px; }
.sg-rg a { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.sg-rg__age { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid currentColor; font-weight: 900; font-size: 13px; color: var(--text); flex: none; }

/* ---------------------------------------------------------------- modal */
.sg-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.sg-modal[hidden] { display: none; }
.sg-modal__backdrop { position: absolute; inset: 0; background: rgba(3, 2, 8, .82); backdrop-filter: blur(8px); animation: sg-fade .3s; }
.sg-modal__dialog { position: relative; width: min(1280px, 100%); border-radius: 20px; overflow: hidden; background: #0a0910; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 120px -20px var(--glow); animation: sg-zoom .35s var(--ease); --text: #fff; --line: rgba(255, 255, 255, .16); --surface: rgba(255, 255, 255, .06); color: #fff; }
.sg-modal__bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px 10px 20px; font-family: var(--font-display); }
.sg-modal__actions { display: flex; gap: 8px; }
.sg-modal__frame { position: relative; aspect-ratio: 16 / 9; max-height: calc(100vh - 120px); background: #000; }
.sg-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sg-modal__frame:fullscreen { max-height: none; }

/* ------------------------------------------------------------- switcher */
.sg-switcher { position: fixed; left: 18px; bottom: 18px; z-index: 250; }
.sg-switcher__toggle { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--grad); color: var(--on-accent); box-shadow: 0 12px 30px -8px var(--glow); transition: transform .3s var(--ease); }
.sg-switcher__toggle:hover { transform: rotate(-20deg) scale(1.06); }
.sg-switcher__toggle .sg-icon { width: 24px; height: 24px; }
.sg-switcher__panel { position: absolute; left: 0; bottom: 64px; width: 260px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); animation: sg-zoom .25s var(--ease); }
.sg-switcher__title { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 2px 4px 10px; }
.sg-switcher__list { display: grid; gap: 4px; }
.sg-swatch { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; border: 1px solid transparent; background: none; text-align: left; font-weight: 700; font-size: 14px; }
.sg-swatch:hover { background: var(--surface-2); }
.sg-swatch.is-active { border-color: var(--accent); background: var(--surface-2); }
.sg-swatch__chip { width: 34px; height: 22px; border-radius: 7px; flex: none; background: linear-gradient(135deg, var(--sw-a) 0 50%, var(--sw-b) 50% 100%); box-shadow: inset 0 0 0 3px var(--sw-bg), 0 0 0 1px var(--line); }
.sg-switcher__reset { margin-top: 8px; width: 100%; padding: 8px; border-radius: 10px; border: 1px dashed var(--line); background: none; color: var(--muted); font-weight: 700; font-size: 13px; }

/* ------------------------------------------------------------- age gate */
.sg-age { position: fixed; inset: 0; z-index: 500; display: none; place-items: center; padding: 20px; background: color-mix(in srgb, var(--bg) 70%, rgba(0, 0, 0, .6)); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.sg-age-pending .sg-age { display: grid; }
.sg-age-pending body { overflow: hidden; }
.sg-age__card { width: min(460px, 100%); text-align: center; padding: 40px 32px 32px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 40px 120px -30px var(--glow); animation: sg-zoom .4s var(--ease); }
.sg-age__ghost { width: 76px; margin: 0 auto 16px; animation: sg-float 4s ease-in-out infinite; }
.sg-age__card h2 { font-size: 26px; }
.sg-age__card p { color: var(--muted); }
.sg-age__actions { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.sg-age__denied { margin-top: 18px; color: #ff6b6b !important; font-weight: 700; }

/* --------------------------------------------------------------- cookie */
.sg-cookie { position: fixed; right: 18px; bottom: 18px; z-index: 240; display: flex; align-items: center; gap: 16px; max-width: 520px; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; color: var(--muted); animation: sg-up .4s var(--ease); }
.sg-cookie[hidden] { display: none; }
.sg-cookie p { margin: 0; }
.sg-cookie a { color: var(--accent); text-decoration: underline; }

/* ----------------------------------------------------------- 404 / misc */
.sg-404 { padding: 110px 0; text-align: center; }
.sg-404__ghost { width: 140px; margin: 0 auto; animation: sg-float 5s ease-in-out infinite; filter: drop-shadow(0 30px 50px var(--glow)); }
.sg-404__title { font-size: clamp(80px, 16vw, 200px); margin: 10px 0 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sg-404 .sg-hero__actions { justify-content: center; }

.sg-article__head { padding: 70px 0 30px; }
.sg-article__head .sg-crumbs { margin-bottom: 26px; }
.sg-article__title { font-size: clamp(34px, 4.6vw, 60px); margin: 14px 0 0; }
.sg-article__image { margin-bottom: 30px; }
.sg-article__image img { border-radius: var(--radius); width: 100%; }
.sg-article__content { padding-bottom: 70px; }

.sg-pagination { margin-top: 40px; }
.sg-pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.sg-pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 800; }
.sg-pagination .page-numbers.current { background: var(--grad); color: var(--on-accent); border-color: transparent; }

.sg-search-again { margin-bottom: 30px; }
.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.search-form .search-submit { height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--grad); color: var(--on-accent); font-weight: 800; }

.sg-widget { margin-top: 20px; color: var(--muted); }

/* WordPress core alignment helpers */
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, .wp-element-caption { font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------ animation */
[data-reveal] { opacity: 1; }
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes sg-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes sg-spin { to { transform: rotate(360deg); } }
@keyframes sg-progress { from { width: 0; } to { width: 100%; } }
@keyframes sg-marquee { to { transform: translateX(-50%); } }
@keyframes sg-pulse { 0%, 100% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 25%, transparent), 0 20px 60px var(--glow); } 50% { box-shadow: 0 0 0 20px color-mix(in srgb, var(--accent) 8%, transparent), 0 20px 60px var(--glow); } }
@keyframes sg-fade { from { opacity: 0; } }
@keyframes sg-zoom { from { opacity: 0; transform: scale(.94); } }
@keyframes sg-up { from { opacity: 0; transform: translateY(20px); } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------- responsive */
@media (max-width: 1100px) {
	.sg-footer__grid { grid-template-columns: 1fr 1fr; }
	.sg-about { grid-template-columns: 1fr; gap: 36px; }
	.sg-upcoming { grid-template-columns: 1fr 1fr; }
	.sg-upcoming__item:nth-child(3) { display: none; }
	.sg-game-info { grid-template-columns: 1fr; }
	.sg-game-info__aside { position: static; }
}

@media (max-width: 960px) {
	:root { --header-h: 64px; }
	/* backdrop-filter would make the fixed mobile menu relative to the header */
	.sg-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: color-mix(in srgb, var(--bg) 94%, transparent); }
	.sg-burger { display: inline-grid; }
	.sg-header__cta { display: none; }
	.sg-nav {
		position: fixed;
		top: var(--header-h);
		left: 0; right: 0; bottom: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
		padding: 24px var(--gutter) 40px;
		background: var(--bg);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
	}
	.admin-bar .sg-nav { top: calc(var(--header-h) + 46px); }
	.sg-nav-open .sg-nav { opacity: 1; visibility: visible; transform: none; }
	.sg-nav-open body { overflow: hidden; }
	.sg-nav-open .sg-burger__open { display: none; }
	.sg-nav-open .sg-burger__close { display: block; }
	.sg-menu { flex-direction: column; gap: 4px; }
	.sg-menu a { font-family: var(--font-display); font-size: 24px; padding: 12px 6px; color: var(--text); border-radius: 0; border-bottom: 1px solid var(--line); background: none !important; }
	.sg-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; margin: 0; padding: 0 0 0 16px; }
	.sg-menu .sub-menu a { font-size: 18px; }
	.sg-nav__cta { display: inline-flex; align-self: flex-start; }

	.sg-hero__inner, .sg-game-hero__inner { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; }
	.sg-hero__inner { padding-bottom: 100px; }
	.sg-hero__visual { width: min(300px, 70%); justify-self: start; transform: none; order: -1; display: none; }
	.sg-game-hero__cover { display: none; }
	.sg-game-hero__inner { min-height: 0; padding-bottom: 48px; }
	.sg-hero__bg::after, .sg-game-hero__bg::after { background: linear-gradient(0deg, rgba(5, 4, 10, .95) 10%, rgba(5, 4, 10, .55) 100%); }
	.sg-hero__nav { bottom: 22px; }
	.sg-hero__dot-title { font-size: 11px; }

	.sg-contact { grid-template-columns: 1fr; }
	.sg-roadmap-item { grid-template-columns: 140px 1fr; gap: 18px; }
	.sg-filters { position: static; }
}

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

@media (max-width: 640px) {
	:root { --gutter: 16px; --radius: 16px; }
	.sg-section { padding: 60px 0; }
	.sg-section--tight { padding: 30px 0; }
	.sg-section__head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
	.sg-grid--games, .sg-games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.sg-card__title { font-size: 15px; }
	.sg-card__overlay { padding: 24px 8px 10px; }
	.sg-card__overlay .sg-btn { --btn-pad: 7px 12px; font-size: 12px; }
	.sg-upcoming { grid-template-columns: 1fr; }
	.sg-upcoming__item:nth-child(3) { display: flex; }
	.sg-values { grid-template-columns: 1fr; }
	.sg-footer__grid { grid-template-columns: 1fr; gap: 30px; }
	.sg-cta-band__inner { padding: 30px 22px; }
	.sg-hero__specs div { min-width: 0; padding: 8px 12px; }
	.sg-hero__nav { gap: 8px; }
	.sg-player__stage { padding: 12px; min-height: 0; }
	.sg-specs { grid-template-columns: 1fr 1fr; }
	.sg-spec { padding: 14px 16px; }
	.sg-spec__value { font-size: 16px; }
	.sg-device span { display: none; }
	.sg-player__size { display: none; }
	.sg-player__frame[data-device="mobile"] { height: min(70vh, 640px); }
	.sg-roadmap-item { grid-template-columns: 1fr; }
	.sg-roadmap-item__media { aspect-ratio: 16 / 9; }
	.sg-roadmap-item__media .sg-cover { --cs: .62; }
	.sg-timeline__month { padding-left: 34px; }
	.sg-timeline::before { left: 8px; }
	.sg-timeline__label::before { left: 0; }
	.sg-form__row { grid-template-columns: 1fr; }
	.sg-panel { padding: 22px 18px; }
	.sg-segment { width: 100%; overflow-x: auto; }
	.sg-filters__selects { width: 100%; }
	.sg-select { flex: 1 1 45%; }
	.sg-select select { width: 100%; max-width: none; }
	.sg-filters__meta { margin-left: 0; }
	.sg-cookie { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; }
	.sg-switcher { left: 12px; bottom: 84px; }
	.sg-switcher__toggle { width: 46px; height: 46px; }
	.sg-modal { padding: 0; }
	.sg-modal__dialog { border-radius: 0; height: 100%; display: flex; flex-direction: column; }
	.sg-modal__frame { flex: 1; aspect-ratio: auto; max-height: none; }
	.sg-page-hero { padding: 56px 0 44px; }
	.sg-page-hero__bg { width: 180px; }
	.sg-stats { grid-template-columns: 1fr 1fr; }
	.sg-stat { padding: 20px 16px; }
}

/* Note under the trust badges (About). */
.sg-note { margin: 16px 0 0; max-width: 760px; color: var(--muted); font-size: 14px; }
.sg-hero__tagline p { margin: 0 0 10px; }
.sg-prose table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 15px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sg-prose th, .sg-prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.sg-prose th { background: var(--surface); color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sg-prose tbody tr:last-child td { border-bottom: 0; }

/* Article lists: four cards in a row on desktop. */
.sg-grid--articles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .sg-grid--articles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sg-grid--articles { grid-template-columns: 1fr; } }
.sg-grid--articles .sg-post-card__title { font-size: 18px; }
.sg-articles-intro { max-width: 760px; margin-bottom: 32px; }
