/*
 * Sky Game Arena v1.0.0 — Bespoke UK Gaming, Tech & Interactive Culture Design System
 */

@font-face {
	font-family: 'Space Grotesk';
	src: url('../fonts/space-grotesk-latin-wght.woff2') format('woff2');
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Inter';
	src: url('../fonts/Inter-VariableFont_slnt,wght.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--sg-primary: #0F172A;
	--sg-accent: #7C3AED;
	--sg-bg: #F9FAFB;
	--sg-surface: #FFFFFF;
	--sg-ink: #0F172A;
	--sg-muted: #475569;
	--sg-border: #E2E8F0;
	--sg-midnight: #090D1A;
	--sg-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
	--sg-sans: 'Inter', system-ui, -apple-system, sans-serif;
	--sg-max: 1280px;
}

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

[hidden],
.elementor-location-popup,
.elementor-popup-modal,
.dialog-widget {
	display: none !important;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

html, body {
	overflow-x: clip;
	max-width: 100%;
}

body {
	margin: 0;
	background: var(--sg-bg);
	color: var(--sg-ink);
	font-family: var(--sg-sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

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

img {
	display: block;
}

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

h1, h2, h3, h4, p, li, td, th {
	overflow-wrap: break-word;
	word-wrap: break-word;
}

h1, h2, h3, h4 {
	font-family: var(--sg-display);
	letter-spacing: -0.02em;
}

.sg-wrap {
	width: 100%;
	max-width: var(--sg-max);
	margin: 0 auto;
	padding: 0 24px;
}

.sg-hp {
	position: absolute;
	left: -9999px;
}

/* Safe Grid & Flex Children */
.sg-hud-bar > *,
.sg-spotlight-grid > *,
.sg-arena-3col > *,
.sg-hubs-matrix > *,
.sg-pillars-grid > *,
.sg-studio-panel > *,
.sg-studio-stats > *,
.sg-console-grid > *,
.sg-form-2col > *,
.sg-footer-grid > * {
	min-width: 0;
}

/* ==========================================================================
   1. Dark Translucent Arcade HUD Navbar
   ========================================================================== */
.sg-hud-header {
	position: sticky;
	top: 0;
	z-index: 900;
	background: rgba(15, 23, 42, 0.94);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 2px solid var(--sg-accent);
	box-shadow: 0 4px 24px rgba(124, 58, 237, 0.25);
	color: #F8FAFC;
}

body.admin-bar .sg-hud-header {
	top: 32px;
}

.sg-hud-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 68px;
}

.sg-hud-left {
	flex-shrink: 0;
}

.sg-brand-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #FFFFFF;
	color: #0F172A;
	padding: 5px 12px 5px 6px;
	border-radius: 999px;
	border: 1px solid rgba(124, 58, 237, 0.35);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
	max-width: 100%;
}

.sg-monogram {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: var(--sg-accent);
	color: #FFFFFF;
	font-family: var(--sg-display);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.04em;
	flex-shrink: 0;
}

.sg-brand-img {
	max-height: 26px;
	max-width: 145px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.sg-brand-word {
	font-family: var(--sg-display);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: -0.02em;
	color: #0F172A;
	white-space: nowrap;
}

.sg-hud-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: none;
}

.sg-hud-nav::-webkit-scrollbar {
	display: none;
}

.sg-hud-nav a {
	font-family: var(--sg-display);
	font-size: 14px;
	font-weight: 600;
	color: #CBD5E1;
	padding: 6px 2px;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.sg-hud-nav a:hover,
.sg-hud-nav a[aria-current="page"] {
	color: #FFFFFF;
	border-bottom-color: var(--sg-accent);
}

.sg-hud-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.sg-hud-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 38px;
	padding: 7px 13px;
	border-radius: 999px;
	font-family: var(--sg-display);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	border: 1px solid rgba(148, 163, 184, 0.35);
	background: rgba(30, 41, 59, 0.85);
	color: #F8FAFC;
	white-space: nowrap;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.sg-hud-btn:hover {
	border-color: var(--sg-accent);
	background: rgba(124, 58, 237, 0.22);
}

.sg-hud-hubs-btn {
	background: var(--sg-accent);
	border-color: var(--sg-accent);
	color: #FFFFFF;
}

.sg-hud-hubs-btn:hover {
	background: #6D28D9;
	border-color: #8B5CF6;
}

/* Instant Search Modal & Slide-Out Drawer */
.sg-search-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(9, 13, 26, 0.78);
	backdrop-filter: blur(6px);
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 90px 16px 24px;
}

.sg-search-dialog {
	width: 100%;
	max-width: 680px;
	background: var(--sg-primary);
	color: #F8FAFC;
	border: 1px solid rgba(124, 58, 237, 0.55);
	border-radius: 18px;
	padding: 24px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.sg-search-dialog-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.sg-modal-close {
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 184, 0.35);
	background: rgba(30, 41, 59, 0.9);
	color: #FFFFFF;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.sg-modal-close:hover {
	border-color: var(--sg-accent);
	background: var(--sg-accent);
}

.sg-modal-search-form,
.sg-inline-search-form {
	display: flex;
	gap: 10px;
}

.sg-modal-search-form input,
.sg-inline-search-form input {
	flex: 1;
	min-width: 0;
	padding: 12px 16px;
	border-radius: 12px;
	border: 1px solid rgba(148, 163, 184, 0.35);
	background: #1E293B;
	color: #FFFFFF;
	font-family: var(--sg-sans);
	font-size: 15px;
}

.sg-modal-search-form input::placeholder,
.sg-inline-search-form input::placeholder {
	color: #94A3B8;
}

.sg-modal-search-form button,
.sg-inline-search-form button {
	padding: 12px 20px;
	border-radius: 12px;
	border: 0;
	background: var(--sg-accent);
	color: #FFFFFF;
	font-family: var(--sg-display);
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	white-space: nowrap;
}

.sg-search-quick-hubs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
}

.sg-quick-label {
	font-size: 12px;
	font-weight: 700;
	color: #94A3B8;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.sg-search-quick-hubs a {
	background: rgba(124, 58, 237, 0.16);
	border: 1px solid rgba(124, 58, 237, 0.45);
	color: #E9D5FF;
	padding: 4px 11px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
}

.sg-drawer {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(9, 13, 26, 0.72);
	display: flex;
	justify-content: flex-end;
}

.sg-drawer-sheet {
	width: 100%;
	max-width: 390px;
	height: 100%;
	background: var(--sg-primary);
	color: #F8FAFC;
	border-left: 2px solid var(--sg-accent);
	padding: 24px;
	overflow-y: auto;
}

.sg-drawer-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.sg-drawer-pages {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 18px 0 24px;
}

.sg-drawer-pages a {
	display: block;
	padding: 10px 14px;
	border-radius: 10px;
	background: rgba(30, 41, 59, 0.7);
	border: 1px solid rgba(148, 163, 184, 0.18);
	font-family: var(--sg-display);
	font-weight: 600;
	font-size: 15px;
}

.sg-drawer-pages a:hover {
	border-color: var(--sg-accent);
	background: rgba(124, 58, 237, 0.22);
}

.sg-drawer-subhead {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #94A3B8;
	margin: 0 0 12px;
}

.sg-drawer-cats {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

.sg-drawer-cats a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 9px 13px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 14px;
	font-weight: 600;
}

.sg-drawer-cats a:hover {
	border-color: var(--sg-accent);
}

.sg-drawer-cats small {
	color: #C4B5FD;
	font-weight: 700;
}

/* ==========================================================================
   2. Shared Badges, Kickers, Thumbnails & Buttons
   ========================================================================== */
.sg-hud-kicker {
	display: inline-block;
	font-family: var(--sg-display);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--sg-accent);
}

.sg-kicker-glow {
	color: #C4B5FD;
	text-shadow: 0 0 14px rgba(124, 58, 237, 0.75);
}

.sg-pill-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.sg-cat-pill {
	display: inline-block;
	background: rgba(124, 58, 237, 0.12);
	color: var(--sg-accent);
	border: 1px solid rgba(124, 58, 237, 0.28);
	padding: 3px 10px;
	border-radius: 999px;
	font-family: var(--sg-display);
	font-size: 12px;
	font-weight: 700;
}

.sg-cat-pill:hover {
	background: var(--sg-accent);
	color: #FFFFFF;
}

.sg-detail-pill {
	display: inline-block;
	background: #F1F5F9;
	color: var(--sg-muted);
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
}

.sg-detail-dark {
	background: rgba(255, 255, 255, 0.1);
	color: #CBD5E1;
}

.sg-btn-violet {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--sg-accent);
	color: #FFFFFF;
	padding: 11px 20px;
	border-radius: 999px;
	font-family: var(--sg-display);
	font-size: 14px;
	font-weight: 700;
	border: 0;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

.sg-btn-violet:hover {
	background: #6D28D9;
	transform: translateY(-1px);
}

.sg-media {
	position: relative;
	overflow: hidden;
	background: #0F172A;
	width: 100%;
	height: 100%;
}

.sg-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sg-media-fallback {
	width: 100%;
	height: 100%;
	min-height: 160px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #0F172A 0%, #3B0764 100%);
	color: #E9D5FF;
	font-family: var(--sg-display);
	font-size: 28px;
	font-weight: 700;
}

.sg-section-bar {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.sg-section-bar h2 {
	margin: 4px 0 0;
	font-size: clamp(22px, 3vw, 30px);
	color: var(--sg-ink);
}

.sg-count-badge {
	background: var(--sg-surface);
	border: 1px solid var(--sg-border);
	color: var(--sg-muted);
	padding: 6px 14px;
	border-radius: 999px;
	font-family: var(--sg-display);
	font-size: 13px;
	font-weight: 700;
}

/* ==========================================================================
   3. Front Page: Game-Hub 1+3 Asymmetric Spotlight & Topic Chips & Matrix
   ========================================================================== */
.sg-spotlight-band {
	background: var(--sg-primary);
	color: #F8FAFC;
	padding: 32px 0 40px;
	border-bottom: 1px solid rgba(124, 58, 237, 0.35);
}

.sg-spotlight-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
	gap: 24px;
	align-items: stretch;
}

.sg-spotlight-card {
	background: #1E293B;
	border: 1px solid rgba(124, 58, 237, 0.42);
	border-radius: 18px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.sg-spotlight-cover {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.sg-spotlight-img {
	aspect-ratio: 16 / 9;
}

.sg-featured-badge {
	position: absolute;
	top: 16px;
	left: 16px;
	background: var(--sg-accent);
	color: #FFFFFF;
	font-family: var(--sg-display);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 6px 12px;
	border-radius: 999px;
	box-shadow: 0 0 16px rgba(124, 58, 237, 0.75);
}

.sg-spotlight-body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

.sg-spotlight-body .sg-cat-pill {
	background: rgba(124, 58, 237, 0.3);
	border-color: rgba(167, 139, 250, 0.5);
	color: #EDE9FE;
}

.sg-spotlight-title {
	margin: 0;
	font-size: clamp(22px, 2.8vw, 32px);
	line-height: 1.2;
	color: #FFFFFF;
}

.sg-spotlight-title a:hover {
	color: #C4B5FD;
}

.sg-spotlight-dek {
	margin: 0;
	color: #CBD5E1;
	font-size: 15px;
	line-height: 1.6;
}

.sg-spotlight-foot {
	margin-top: auto;
	padding-top: 8px;
}

.sg-spotlight-stack {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.sg-stack-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 6px;
	border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.sg-stack-pulse {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: var(--sg-accent);
	box-shadow: 0 0 10px var(--sg-accent);
}

.sg-hud-stack-card {
	display: grid;
	grid-template-columns: 124px minmax(0, 1fr);
	gap: 14px;
	background: #1E293B;
	border: 1px solid rgba(148, 163, 184, 0.2);
	border-radius: 14px;
	padding: 12px;
	align-items: center;
	transition: border-color 0.15s ease;
	flex: 1;
}

.sg-hud-stack-card:hover {
	border-color: var(--sg-accent);
}

.sg-hud-stack-thumb {
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 10px;
	overflow: hidden;
}

.sg-hud-stack-copy .sg-cat-pill {
	background: rgba(124, 58, 237, 0.28);
	border-color: rgba(167, 139, 250, 0.45);
	color: #EDE9FE;
}

.sg-hud-stack-copy h2 {
	margin: 7px 0 4px;
	font-size: 16px;
	line-height: 1.32;
	color: #FFFFFF;
}

.sg-hud-stack-copy h2 a:hover {
	color: #C4B5FD;
}

.sg-hud-mini-time,
.sg-hud-mini-date {
	font-size: 12px;
	color: #94A3B8;
	font-weight: 600;
}

/* Platform / Genre Topic Chips Strip */
.sg-chips-strip {
	background: var(--sg-surface);
	border-bottom: 1px solid var(--sg-border);
	padding: 14px 0;
}

.sg-chips-row {
	display: flex;
	align-items: center;
	gap: 10px;
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.sg-chips-row::-webkit-scrollbar {
	display: none;
}

.sg-chips-label {
	font-family: var(--sg-display);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
	color: var(--sg-muted);
	flex-shrink: 0;
}

.sg-topic-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--sg-bg);
	border: 1px solid var(--sg-border);
	font-family: var(--sg-display);
	font-size: 13px;
	font-weight: 600;
	color: var(--sg-ink);
	flex-shrink: 0;
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.sg-topic-chip:hover,
.sg-topic-chip.is-active {
	background: var(--sg-accent);
	border-color: var(--sg-accent);
	color: #FFFFFF;
}

.sg-topic-chip small {
	font-size: 11px;
	opacity: 0.78;
}

/* 3-Column Arena Capsule Card Grid */
.sg-arena-grid-section,
.sg-archive-grid-sec {
	padding: 44px 0 56px;
}

.sg-arena-3col {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.sg-capsule-card {
	background: var(--sg-surface);
	border: 1px solid var(--sg-border);
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.sg-capsule-card:hover {
	border-color: var(--sg-accent);
	box-shadow: 0 14px 32px rgba(124, 58, 237, 0.12);
	transform: translateY(-2px);
}

.sg-capsule-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.sg-capsule-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.sg-capsule-title {
	margin: 2px 0 0;
	font-size: 19px;
	line-height: 1.3;
	color: var(--sg-ink);
}

.sg-capsule-title a:hover {
	color: var(--sg-accent);
}

.sg-capsule-excerpt {
	margin: 0;
	font-size: 14px;
	color: var(--sg-muted);
	line-height: 1.58;
}

.sg-capsule-foot {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--sg-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	color: var(--sg-muted);
}

.sg-play-link {
	font-family: var(--sg-display);
	font-weight: 700;
	color: var(--sg-accent);
}

/* Visible Arena Hubs Matrix */
.sg-hubs-matrix-section {
	padding: 0 0 64px;
}

.sg-hubs-matrix {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.sg-hub-tile {
	background: var(--sg-surface);
	border: 1px solid var(--sg-border);
	border-radius: 16px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sg-hub-tile:hover {
	border-color: var(--sg-accent);
	box-shadow: 0 10px 24px rgba(124, 58, 237, 0.1);
}

.sg-hub-tile-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 11px;
	font-weight: 700;
}

.sg-hub-code {
	color: var(--sg-accent);
	letter-spacing: 0.08em;
}

.sg-hub-count {
	color: var(--sg-muted);
}

.sg-hub-tile h3 {
	margin: 0;
	font-size: 18px;
	color: var(--sg-ink);
}

.sg-hub-enter {
	margin-top: auto;
	font-family: var(--sg-display);
	font-size: 13px;
	font-weight: 700;
	color: var(--sg-accent);
}

/* ==========================================================================
   4. Archive Banner & Violet Capsule Pagination
   ========================================================================== */
.sg-archive-banner {
	background: var(--sg-primary);
	color: #F8FAFC;
	padding: 40px 0;
	border-bottom: 2px solid var(--sg-accent);
	box-shadow: inset 0 -18px 40px rgba(124, 58, 237, 0.16);
}

.sg-archive-banner-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.sg-archive-banner h1 {
	margin: 8px 0 8px;
	font-size: clamp(26px, 4vw, 40px);
	color: #FFFFFF;
}

.sg-archive-dek {
	margin: 0;
	max-width: 680px;
	color: #CBD5E1;
	font-size: 16px;
}

.sg-quest-counter {
	background: rgba(124, 58, 237, 0.18);
	border: 1px solid rgba(167, 139, 250, 0.45);
	border-radius: 16px;
	padding: 14px 22px;
	text-align: center;
	min-width: 140px;
}

.sg-quest-counter strong {
	display: block;
	font-family: var(--sg-display);
	font-size: 28px;
	line-height: 1.1;
	color: #FFFFFF;
}

.sg-quest-counter span {
	font-size: 12px;
	color: #DDD6FE;
	font-weight: 600;
}

.sg-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 36px;
}

.sg-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--sg-surface);
	border: 1px solid var(--sg-border);
	font-family: var(--sg-display);
	font-size: 14px;
	font-weight: 700;
	color: var(--sg-ink);
}

.sg-pagination .page-numbers:hover {
	border-color: var(--sg-accent);
	color: var(--sg-accent);
}

.sg-pagination .page-numbers.current {
	background: var(--sg-accent);
	border-color: var(--sg-accent);
	color: #FFFFFF;
}

/* ==========================================================================
   5. Single Post: Cinema Widescreen Cover + Pill Bar + 740px Prose + Next-Play
   ========================================================================== */
.sg-cinema-header {
	background: var(--sg-primary);
	color: #F8FAFC;
	padding: 32px 0 42px;
	border-bottom: 2px solid var(--sg-accent);
}

.sg-cinema-wrap {
	max-width: 1020px;
}

.sg-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #94A3B8;
	margin-bottom: 14px;
}

.sg-breadcrumbs a:hover {
	color: #C4B5FD;
}

.sg-cinema-title {
	margin: 0 0 18px;
	font-size: clamp(26px, 4.2vw, 44px);
	line-height: 1.16;
	color: #FFFFFF;
}

.sg-cinema-pill-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 26px;
}

.sg-pill-violet {
	background: var(--sg-accent);
	color: #FFFFFF;
	padding: 6px 14px;
	border-radius: 999px;
	font-family: var(--sg-display);
	font-size: 13px;
	font-weight: 700;
}

.sg-pill-slate {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(148, 163, 184, 0.25);
	color: #E2E8F0;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
}

.sg-cinema-cover {
	aspect-ratio: 16 / 9;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid rgba(124, 58, 237, 0.45);
	box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

.sg-single-body {
	padding: 44px 0 56px;
}

.sg-prose-container {
	max-width: 740px;
	margin: 0 auto;
}

.sg-prose {
	font-family: var(--sg-sans);
	font-size: 18px;
	line-height: 1.82;
	color: var(--sg-ink);
}

.sg-prose h2,
.sg-prose h3,
.sg-prose h4 {
	margin-top: 1.8em;
	margin-bottom: 0.6em;
	line-height: 1.28;
}

.sg-prose a {
	color: var(--sg-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sg-prose blockquote {
	margin: 24px 0;
	padding: 16px 22px;
	background: #F5F3FF;
	border-left: 4px solid var(--sg-accent);
	border-radius: 0 12px 12px 0;
}

.sg-prose table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.sg-prose th,
.sg-prose td {
	border: 1px solid var(--sg-border);
	padding: 10px 12px;
}

.sg-prose pre {
	overflow-x: auto;
	max-width: 100%;
	padding: 16px;
	background: #0F172A;
	color: #F8FAFC;
	border-radius: 12px;
}

.sg-single-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 34px;
	padding-top: 22px;
	border-top: 1px solid var(--sg-border);
	font-size: 13px;
	font-weight: 700;
	color: var(--sg-muted);
}

.sg-single-tags a {
	background: var(--sg-surface);
	border: 1px solid var(--sg-border);
	padding: 5px 12px;
	border-radius: 999px;
	color: var(--sg-ink);
}

.sg-single-tags a:hover {
	border-color: var(--sg-accent);
	color: var(--sg-accent);
}

.sg-next-play-strip {
	background: #F1F5F9;
	border-top: 1px solid var(--sg-border);
	padding: 44px 0 56px;
}

/* ==========================================================================
   6. About Us Manifesto & Contact Us Press Kit Console & Page / 404
   ========================================================================== */
.sg-manifesto-body,
.sg-console-section,
.sg-404-section {
	padding: 44px 0 64px;
}

.sg-pillars-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	margin-bottom: 32px;
}

.sg-pillar-card {
	background: var(--sg-surface);
	border: 1px solid var(--sg-border);
	border-top: 3px solid var(--sg-accent);
	border-radius: 16px;
	padding: 26px;
}

.sg-pillar-idx {
	font-family: var(--sg-display);
	font-size: 12px;
	font-weight: 700;
	color: var(--sg-accent);
	letter-spacing: 0.08em;
}

.sg-pillar-card h2 {
	margin: 8px 0 10px;
	font-size: 22px;
}

.sg-pillar-card p {
	margin: 0;
	color: var(--sg-muted);
	font-size: 15px;
}

.sg-studio-panel {
	background: var(--sg-primary);
	color: #F8FAFC;
	border-radius: 18px;
	border: 1px solid rgba(124, 58, 237, 0.45);
	padding: 32px;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 28px;
	align-items: center;
}

.sg-studio-copy h2 {
	margin: 8px 0 12px;
	font-size: clamp(22px, 3vw, 30px);
	color: #FFFFFF;
}

.sg-studio-copy p {
	margin: 0 0 20px;
	color: #CBD5E1;
}

.sg-studio-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.sg-stat-box {
	background: rgba(30, 41, 59, 0.85);
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: 14px;
	padding: 18px;
}

.sg-stat-box strong {
	display: block;
	font-family: var(--sg-display);
	font-size: 24px;
	color: #C4B5FD;
	margin-bottom: 4px;
}

.sg-stat-box span {
	font-size: 13px;
	color: #CBD5E1;
}

/* Contact Us Console */
.sg-console-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 28px;
	align-items: start;
}

.sg-presskit-card {
	background: var(--sg-surface);
	border: 1px solid var(--sg-border);
	border-radius: 16px;
	padding: 28px;
}

.sg-presskit-card h2 {
	margin: 8px 0 10px;
	font-size: 24px;
}

.sg-coord-list {
	margin: 20px 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.sg-coord-list dt {
	font-family: var(--sg-display);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--sg-accent);
}

.sg-coord-list dd {
	margin: 2px 0 0;
	font-weight: 600;
	color: var(--sg-ink);
}

.sg-presskit-specs h3 {
	font-size: 14px;
	margin: 0 0 10px;
	color: var(--sg-muted);
}

.sg-route-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sg-route-pill {
	background: var(--sg-bg);
	border: 1px solid var(--sg-border);
	border-radius: 999px;
	padding: 7px 14px;
	font-family: var(--sg-display);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.sg-route-pill.is-active {
	background: var(--sg-accent);
	border-color: var(--sg-accent);
	color: #FFFFFF;
}

.sg-console-form-card {
	background: var(--sg-surface);
	border: 2px solid var(--sg-accent);
	border-radius: 18px;
	padding: 28px;
	box-shadow: 0 16px 36px rgba(124, 58, 237, 0.12);
}

.sg-console-form-card h2 {
	margin: 8px 0 18px;
	font-size: 24px;
}

.sg-console-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.sg-form-2col {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.sg-console-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-family: var(--sg-display);
	font-size: 13px;
	font-weight: 700;
}

.sg-console-form input,
.sg-console-form textarea {
	width: 100%;
	padding: 11px 14px;
	border-radius: 10px;
	border: 1px solid #CBD5E1;
	background: var(--sg-bg);
	font-family: var(--sg-sans);
	font-size: 15px;
	color: var(--sg-ink);
}

.sg-form-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.sg-form-hint {
	font-size: 12px;
	color: var(--sg-muted);
}

.sg-notice {
	padding: 12px 16px;
	border-radius: 12px;
	margin-bottom: 16px;
	font-weight: 600;
	font-size: 14px;
}

.sg-notice-ok {
	background: #ECFDF5;
	color: #065F46;
	border: 1px solid #A7F3D0;
}

.sg-notice-error {
	background: #FEF2F2;
	color: #991B1B;
	border: 1px solid #FECACA;
}

/* Generic Page & 404 & Empty */
.sg-page-sheet,
.sg-404-screen,
.sg-empty-state {
	background: var(--sg-surface);
	border: 1px solid var(--sg-border);
	border-radius: 18px;
	padding: 32px;
}

.sg-404-screen {
	max-width: 780px;
	margin: 0 auto;
	text-align: center;
	border: 2px solid var(--sg-accent);
	box-shadow: 0 20px 44px rgba(124, 58, 237, 0.14);
}

.sg-404-badge {
	display: inline-block;
	background: var(--sg-primary);
	color: #C4B5FD;
	padding: 6px 14px;
	border-radius: 999px;
	font-family: var(--sg-display);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.sg-404-screen h1 {
	margin: 16px 0 10px;
	font-size: clamp(26px, 4vw, 38px);
}

.sg-404-screen p {
	color: var(--sg-muted);
	margin: 0 0 22px;
}

.sg-404-search {
	max-width: 520px;
	margin: 0 auto 24px;
}

.sg-404-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

/* ==========================================================================
   7. Midnight Slate Violet-Ruled Footer (#090D1A)
   ========================================================================== */
.sg-footer {
	background: var(--sg-midnight);
	color: #CBD5E1;
	padding: 48px 0 26px;
	border-top: 2px solid var(--sg-accent);
	box-shadow: 0 -4px 24px rgba(124, 58, 237, 0.22);
}

.sg-footer-grid {
	display: grid;
	grid-template-columns: 1.25fr 0.75fr 1.4fr;
	gap: 32px;
	padding-bottom: 30px;
	border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.sg-footer-logo-wrap {
	margin-bottom: 14px;
}

.sg-footer-tagline {
	margin: 0 0 8px;
	font-family: var(--sg-display);
	font-weight: 700;
	color: #FFFFFF;
	font-size: 15px;
}

.sg-footer-desc {
	margin: 0 0 14px;
	font-size: 14px;
	color: #94A3B8;
}

.sg-footer-coords {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 13px;
	color: #CBD5E1;
}

.sg-footer h4 {
	margin: 0 0 14px;
	font-size: 16px;
	color: #FFFFFF;
}

.sg-footer-links-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sg-footer-links-col li {
	margin-bottom: 9px;
	font-size: 14px;
}

.sg-footer-links-col a:hover {
	color: #C4B5FD;
}

.sg-footer-hub-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sg-footer-hub-pills a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(148, 163, 184, 0.2);
	font-size: 13px;
	color: #E2E8F0;
}

.sg-footer-hub-pills a:hover {
	border-color: var(--sg-accent);
	background: rgba(124, 58, 237, 0.22);
}

.sg-footer-hub-pills small {
	color: #C4B5FD;
	font-weight: 700;
}

.sg-footer-base {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 18px;
	font-size: 13px;
	color: #94A3B8;
}

/* ==========================================================================
   8. Responsive Breakpoints (<= 1080px, <= 900px HUD, <= 768px, <= 520px)
   ========================================================================== */
@media (max-width: 1080px) {
	.sg-spotlight-grid {
		grid-template-columns: 1fr;
	}
	.sg-arena-3col {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.sg-hubs-matrix {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.sg-pillars-grid,
	.sg-studio-panel,
	.sg-console-grid {
		grid-template-columns: 1fr;
	}
	.sg-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 900px) {
	.sg-hud-nav {
		display: none;
	}
	.sg-hud-bar {
		min-height: 60px;
		gap: 10px;
	}
}

@media (max-width: 768px) {
	.sg-wrap {
		padding: 0 16px;
	}
	.sg-arena-3col,
	.sg-form-2col,
	.sg-footer-grid {
		grid-template-columns: 1fr;
	}
	.sg-inline-search-form,
	.sg-modal-search-form {
		flex-direction: column;
	}
}

@media (max-width: 520px) {
	.sg-wrap {
		padding: 0 12px;
	}
	.sg-brand-pill {
		padding: 4px 10px 4px 5px;
		gap: 6px;
	}
	.sg-monogram {
		width: 24px;
		height: 24px;
		font-size: 11px;
	}
	.sg-brand-word {
		font-size: 14px;
	}
	.sg-hud-btn {
		padding: 6px 10px;
		font-size: 12px;
		min-height: 36px;
	}
	.sg-hud-search-btn .sg-hud-btn-lbl {
		display: none;
	}
	.sg-hud-stack-card {
		grid-template-columns: 96px minmax(0, 1fr);
		gap: 10px;
	}
	.sg-hubs-matrix,
	.sg-studio-stats {
		grid-template-columns: 1fr;
	}
	.sg-spotlight-body,
	.sg-capsule-body,
	.sg-studio-panel,
	.sg-presskit-card,
	.sg-console-form-card,
	.sg-page-sheet,
	.sg-404-screen {
		padding: 18px;
	}
}
