/**
 * GameHub Theme - Main Modern Dark Arcade Stylesheet
 */

:root {
	--gh-bg-body: #0a0b10;
	--gh-bg-surface: #12141d;
	--gh-bg-surface-elevated: #1a1d29;
	--gh-color-primary: #00f0ff;
	--gh-color-secondary: #ff0055;
	--gh-color-accent: #ffb800;
	--gh-accent-cyan: var(--gh-color-primary, #00f0ff);
	--gh-accent-pink: var(--gh-color-secondary, #ff0055);
	--gh-accent-amber: var(--gh-color-accent, #ffb800);
	--gh-accent-green: #00ff88;
	--gh-accent-purple: #7928ca;
	--gh-text-main: #f8fafc;
	--gh-text-muted: #94a3b8;
	--gh-border: rgba(255, 255, 255, 0.08);
	--gh-glow-cyan: 0 0 25px var(--gh-glow-color, rgba(0, 240, 255, 0.4));
	--gh-glow-pink: 0 0 25px var(--gh-glow-color, rgba(255, 0, 85, 0.4));
	--gh-glow-color: rgba(0, 240, 255, 0.4);
	--gh-font-heading: 'Outfit', -apple-system, sans-serif;
	--gh-font-body: 'Inter', -apple-system, sans-serif;
	--gh-radius-sm: 8px;
	--gh-radius-md: 14px;
	--gh-radius-lg: 20px;
}

/* Global Reset & Base */
*, *::before, *::after {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
	max-width: 100%;
	overflow-x: hidden;
}

body {
	background-color: var(--gh-bg-body, #0a0b10);
	color: var(--gh-text-main, #f8fafc);
	font-family: var(--gh-font-body, 'Inter', -apple-system, sans-serif);
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--gh-font-heading);
	color: #fff;
	font-weight: 700;
	line-height: 1.25;
}

a {
	color: var(--gh-accent-cyan);
	text-decoration: none;
	transition: all 0.2s ease;
}
a:hover {
	color: #fff;
}

.gamehub-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

.gamehub-main-content {
	min-height: calc(100vh - 280px);
	padding-bottom: 40px;
}

/* ==========================================================================
   HEADER NAVBAR
   ========================================================================== */
.gamehub-navbar {
	background: rgba(10, 11, 16, 0.85);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--gh-border);
	position: sticky;
	top: 0;
	z-index: 1000;
	padding: 14px 0;
}
.gamehub-nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

/* Brand */
.gamehub-logo-text {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	font-family: var(--gh-font-heading);
	font-size: 22px;
	font-weight: 900;
	color: #fff;
	letter-spacing: -0.5px;
}
.gamehub-logo-icon {
	font-size: 26px;
	filter: drop-shadow(0 0 10px var(--gh-accent-cyan));
}
.gamehub-logo-badge {
	background: linear-gradient(135deg, var(--gh-accent-cyan), var(--gh-accent-purple));
	color: #050811;
	font-size: 10px;
	font-weight: 900;
	padding: 2px 6px;
	border-radius: 4px;
	text-shadow: none;
}

/* Search Bar & Autocomplete */
.gamehub-search-container {
	flex: 1;
	max-width: 460px;
	position: relative;
}
.gamehub-search-box {
	position: relative;
	width: 100%;
}
.gamehub-search-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--gh-text-muted);
	font-size: 14px;
	pointer-events: none;
}
.gamehub-search-input {
	width: 100%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--gh-border);
	border-radius: 30px;
	padding: 10px 16px 10px 40px;
	color: #fff;
	font-size: 14px;
	outline: none;
	transition: all 0.25s;
}
.gamehub-search-input:focus {
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--gh-accent-cyan);
	box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}
.gamehub-search-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	background: var(--gh-bg-surface-elevated);
	border: 1px solid var(--gh-border);
	border-radius: var(--gh-radius-md);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
	overflow: hidden;
	z-index: 1100;
}
.search-drop-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	color: var(--gh-text-main);
	border-bottom: 1px solid var(--gh-border);
	text-decoration: none;
	transition: background 0.15s;
}
.search-drop-item:hover {
	background: rgba(0, 240, 255, 0.1);
	color: var(--gh-accent-cyan);
}
.search-drop-thumb {
	width: 38px;
	height: 38px;
	border-radius: 6px;
	object-fit: cover;
}

/* Nav Links */
.gamehub-main-nav {
	display: flex;
	align-items: center;
	gap: 18px;
}
.gamehub-nav-link {
	color: var(--gh-text-muted);
	font-size: 14px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 8px;
	transition: all 0.2s;
}
.gamehub-nav-link:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.05);
}
.gamehub-fav-badge {
	background: var(--gh-accent-pink);
	color: #fff;
	font-size: 10px;
	font-weight: 900;
	padding: 1px 6px;
	border-radius: 10px;
}

/* Mobile Toggle */
.gamehub-menu-toggle {
	display: none;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 8px;
}
.gamehub-menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: #fff;
	margin: 5px 0;
	transition: all 0.3s;
}

@media (max-width: 860px) {
	.gamehub-search-container {
		display: none;
	}
	.gamehub-menu-toggle {
		display: block;
	}
	.gamehub-main-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--gh-bg-surface-elevated);
		flex-direction: column;
		padding: 20px;
		border-bottom: 1px solid var(--gh-border);
	}
	.gamehub-main-nav.active {
		display: flex;
	}
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.gamehub-hero {
	margin: 30px 0 40px;
	border-radius: var(--gh-radius-lg);
	overflow: hidden;
	background-size: cover;
	background-position: center;
	border: 1px solid var(--gh-border);
	box-shadow: 0 10px 40px rgba(0,0,0,0.7), 0 0 30px rgba(0, 240, 255, 0.15);
	min-height: 420px;
	display: flex;
	align-items: center;
}
.gamehub-hero-inner {
	padding: 50px;
	max-width: 680px;
}
.gamehub-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(0, 240, 255, 0.15);
	color: var(--gh-accent-cyan);
	border: 1px solid rgba(0, 240, 255, 0.3);
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1px;
	margin-bottom: 16px;
}
.gamehub-badge-dot {
	width: 6px;
	height: 6px;
	background: var(--gh-accent-cyan);
	border-radius: 50%;
	box-shadow: 0 0 8px var(--gh-accent-cyan);
}
.gamehub-hero-title {
	font-size: 2.8rem;
	margin: 0 0 14px;
	color: #fff;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}
.gamehub-hero-desc {
	color: #cbd5e1;
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 24px;
}
.gamehub-hero-stats {
	display: flex;
	gap: 14px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}
.hero-stat-item {
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(6px);
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 700;
	border: 1px solid var(--gh-border);
}
.hero-cat-tag {
	color: var(--gh-accent-cyan);
}

/* Glowing Button */
.gamehub-btn-glow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(135deg, var(--gh-accent-cyan), #0088ff);
	color: #050811 !important;
	font-family: var(--gh-font-heading);
	font-weight: 900;
	font-size: 15px;
	padding: 14px 32px;
	border-radius: 30px;
	border: none;
	cursor: pointer;
	box-shadow: var(--gh-glow-cyan);
	transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
	text-decoration: none;
}
.gamehub-btn-glow:hover {
	transform: translateY(-3px) scale(1.03);
	box-shadow: 0 0 35px rgba(0, 240, 255, 0.8);
}

/* Category Slider */
.gamehub-categories-slider {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding-bottom: 6px;
	scrollbar-width: none;
	-ms-overflow-style: none;
	margin-bottom: 30px;
}
.gamehub-categories-slider::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}
.gamehub-cat-pill {
	background: var(--gh-bg-surface);
	border: 1px solid var(--gh-border);
	color: var(--gh-text-main);
	padding: 8px 18px;
	border-radius: 24px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all 0.2s;
}
.gamehub-cat-pill:hover, .gamehub-cat-pill.active {
	background: rgba(0, 240, 255, 0.12);
	border-color: var(--gh-accent-cyan);
	color: var(--gh-accent-cyan);
}
.pill-count {
	background: rgba(255, 255, 255, 0.08);
	font-size: 11px;
	padding: 2px 7px;
	border-radius: 12px;
}

/* Game Sections */
.gamehub-game-section {
	margin-bottom: 48px;
}
.gamehub-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 22px;
}
.section-title-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
}
.section-badge-icon {
	font-size: 22px;
}
.gamehub-section-title {
	font-size: 1.6rem;
	margin: 0;
	color: #fff;
}
.section-view-all {
	color: var(--gh-text-muted);
	font-size: 14px;
	font-weight: 600;
}
.section-view-all:hover {
	color: var(--gh-accent-cyan);
}

/* Catalog Toolbar */
.gamehub-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--gh-bg-surface);
	border: 1px solid var(--gh-border);
	border-radius: var(--gh-radius-md);
	padding: 14px 20px;
	margin-bottom: 24px;
	flex-wrap: wrap;
	gap: 16px;
}
.toolbar-input {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--gh-border);
	border-radius: 6px;
	color: #fff;
	padding: 8px 14px;
	min-width: 240px;
	outline: none;
}
.toolbar-select {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--gh-border);
	border-radius: 6px;
	color: #fff;
	padding: 8px 14px;
	outline: none;
}
.toolbar-counter {
	font-size: 13px;
	color: var(--gh-text-muted);
}

/* Single Game Detail Page */
.gamehub-breadcrumbs {
	font-size: 13px;
	color: var(--gh-text-muted);
	margin: 20px 0 15px;
	display: flex;
	gap: 8px;
	align-items: center;
}
.gamehub-breadcrumbs a {
	color: var(--gh-text-muted);
}
.gamehub-breadcrumbs a:hover {
	color: var(--gh-accent-cyan);
}
.gamehub-breadcrumbs .current {
	color: #fff;
	font-weight: 600;
}
.gamehub-game-headline {
	margin-bottom: 20px;
}
.game-page-title {
	font-size: 2.2rem;
	margin: 0 0 10px;
}
.game-headline-tags {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.tag-badge {
	background: var(--gh-bg-surface);
	border: 1px solid var(--gh-border);
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	color: var(--gh-text-muted);
}
.cat-badge {
	color: var(--gh-accent-cyan);
	border-color: rgba(0, 240, 255, 0.3);
}

/* Action Bar */
.gamehub-action-bar {
	background: var(--gh-bg-surface);
	border: 1px solid var(--gh-border);
	border-radius: var(--gh-radius-md);
	padding: 14px 20px;
	margin: 20px 0 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}
.action-bar-left, .action-bar-right {
	display: flex;
	align-items: center;
	gap: 16px;
}
.action-btn {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--gh-border);
	color: #fff;
	padding: 8px 16px;
	border-radius: 20px;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.action-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.2);
}

/* Details Grid */
.gamehub-details-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 28px;
}
@media (max-width: 860px) {
	.gamehub-details-grid {
		grid-template-columns: 1fr;
	}
}
.gamehub-card-box {
	background: var(--gh-bg-surface);
	border: 1px solid var(--gh-border);
	border-radius: var(--gh-radius-md);
	padding: 24px;
	margin-bottom: 24px;
}
.box-title {
	font-size: 1.3rem;
	margin-top: 0;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--gh-border);
	padding-bottom: 10px;
}
.controls-pill-list {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}
.ctrl-tag {
	background: rgba(0, 240, 255, 0.1);
	color: var(--gh-accent-cyan);
	border: 1px solid rgba(0, 240, 255, 0.3);
	padding: 3px 10px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
}

/* Footer */
.gamehub-footer {
	background: #06070a;
	border-top: 1px solid var(--gh-border);
	padding: 60px 0 30px;
	margin-top: 80px;
}
.gamehub-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
}
@media (max-width: 960px) {
	.gamehub-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 540px) {
	.gamehub-footer-grid {
		grid-template-columns: 1fr;
	}
}
.gamehub-footer-title {
	font-size: 16px;
	margin: 0 0 16px;
	color: #fff;
}
.gamehub-footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}
.gamehub-footer-links li {
	margin-bottom: 10px;
}
.gamehub-footer-links a {
	color: var(--gh-text-muted);
	font-size: 14px;
}
.gamehub-footer-links a:hover {
	color: var(--gh-accent-cyan);
}
.gamehub-footer-desc {
	color: var(--gh-text-muted);
	font-size: 14px;
	line-height: 1.6;
}
.gamehub-footer-bottom {
	border-top: 1px solid var(--gh-border);
	padding-top: 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #64748b;
	font-size: 13px;
	flex-wrap: wrap;
	gap: 12px;
}
.gamehub-back-to-top {
	cursor: pointer;
	color: var(--gh-text-muted);
	transition: color 0.2s;
}
.gamehub-back-to-top:hover {
	color: var(--gh-accent-cyan);
}

/* ==========================================================================
   ACCESSIBILITY & HARDENING (Phase 19)
   ========================================================================== */

/* 1. Focus Visible for Keyboard Navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.wgh-game-card:focus-visible {
	outline: 2px solid var(--gh-accent-cyan) !important;
	outline-offset: 3px !important;
	box-shadow: var(--gh-glow-cyan) !important;
}

/* 2. Screen Reader Only Class */
.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	padding: 0 !important;
	border: 0 !important;
	height: 1px !important;
	width: 1px !important;
	overflow: hidden;
}

/* 3. Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.wgh-game-card:hover {
		transform: none !important;
	}
}

/* 4. Loading, Error & Empty States */
.gamehub-state-box {
	text-align: center;
	padding: 48px 24px;
	border-radius: var(--gh-radius-md);
	background: var(--gh-bg-surface);
	border: 1px dashed var(--gh-border);
	margin: 24px 0;
}
.gamehub-state-icon {
	font-size: 40px;
	margin-bottom: 12px;
	display: block;
}
.gamehub-state-title {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 8px;
	color: #fff;
}
.gamehub-state-desc {
	color: var(--gh-text-muted);
	font-size: 14px;
	max-width: 420px;
	margin: 0 auto;
}

/* 5. Ultra-wide screens */
@media (min-width: 1600px) {
	.gamehub-container {
		max-width: 1440px;
	}
}

/* ==========================================================================
   MULTI-DESIGN SYSTEM COMPONENT LAYOUTS & PRESETS
   ========================================================================== */

/* --- ROOT TOKEN FALLBACK MAPPING --- */
:root {
	--gh-color-primary: #00f0ff;
	--gh-color-secondary: #ff0055;
	--gh-color-accent: #ffb800;
	--gh-bg-body: #0a0b10;
	--gh-bg-surface: #12141d;
	--gh-bg-surface-elevated: #1a1d29;
	--gh-text-main: #f8fafc;
	--gh-text-muted: #94a3b8;
	--gh-border: rgba(255, 255, 255, 0.08);
	--gh-glow-color: rgba(0, 240, 255, 0.4);
	--gh-radius-sm: 8px;
	--gh-radius-md: 14px;
	--gh-radius-lg: 20px;
	--gh-radius-pill: 9999px;
	--gh-shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
	--gh-shadow-button: 0 4px 14px 0 rgba(0, 240, 255, 0.39);
	--gh-container-width: 1280px;
	--gh-grid-gap: 24px;
	--gh-section-spacing: 60px;
}

/* --- HEADER VARIANTS --- */
/* Header B: Centered Logo */
.gamehub-header-b .gamehub-nav-inner,
.gamehub-header-layout-b .gamehub-nav-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
}
.gamehub-header-b .header-col-center,
.gamehub-header-layout-b .header-col-center {
	display: flex;
	justify-content: center;
}
.gamehub-header-b .header-col-right,
.gamehub-header-layout-b .header-col-right {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 15px;
}

/* Header C: Gaming HUD */
.gamehub-header-c,
.gamehub-header-layout-c {
	border-bottom: 2px solid var(--gh-color-primary);
	box-shadow: 0 4px 20px var(--gh-glow-color);
}
.gamehub-hud-topbar {
	background: rgba(0, 0, 0, 0.45);
	border-bottom: 1px solid var(--gh-border);
	font-size: 0.75rem;
	padding: 6px 0;
	letter-spacing: 0.5px;
}
.gamehub-hud-bar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}
.hud-status {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--gh-text-muted);
	font-weight: 600;
	font-family: var(--gh-font-mono, monospace);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.hud-pulse-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--gh-color-primary);
	box-shadow: 0 0 8px var(--gh-color-primary);
	flex-shrink: 0;
	animation: pulse 2s infinite;
}
.hud-quick-links {
	display: flex;
	gap: 16px;
	align-items: center;
	flex-shrink: 0;
}
.hud-quick-links a {
	color: var(--gh-text-muted);
	text-decoration: none;
	font-size: 0.75rem;
	transition: color 0.2s;
}
.hud-quick-links a:hover {
	color: var(--gh-color-primary);
}
.hud-logo-tag {
	font-size: 0.65rem;
	font-weight: 800;
	background: var(--gh-color-primary);
	color: #000;
	padding: 2px 6px;
	border-radius: var(--gh-radius-sm);
	margin-left: 6px;
	vertical-align: middle;
}
.gamehub-header-c .gamehub-logo-text,
.gamehub-header-layout-c .gamehub-logo-text {
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* Header D: Minimalist */
.gamehub-header-d,
.gamehub-header-layout-d {
	background: var(--gh-bg-body) !important;
	border-bottom: 1px solid var(--gh-border);
	padding: 12px 0;
}
.gamehub-header-d .gamehub-nav-inner,
.gamehub-header-layout-d .gamehub-nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.gamehub-header-d .gamehub-nav-right,
.gamehub-header-layout-d .gamehub-nav-right {
	display: flex;
	align-items: center;
	gap: 20px;
}
.gamehub-header-d .gamehub-nav-link,
.gamehub-header-layout-d .gamehub-nav-link {
	font-size: 14px;
	color: var(--gh-text-muted);
	font-weight: 600;
	white-space: nowrap;
}
.gamehub-header-d .gamehub-nav-link:hover,
.gamehub-header-layout-d .gamehub-nav-link:hover {
	color: var(--gh-color-primary);
}
.gamehub-search-compact {
	position: relative;
	min-width: 200px;
	max-width: 260px;
}
.gamehub-search-compact .gamehub-search-input {
	width: 100%;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--gh-border);
	border-radius: 20px;
	padding: 7px 14px 7px 32px;
	font-size: 13px;
	color: #fff;
	outline: none;
	transition: all 0.2s ease;
}
.gamehub-search-compact .gamehub-search-input:focus {
	border-color: var(--gh-color-primary);
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}
.gamehub-search-compact .gamehub-search-icon {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 12px;
	pointer-events: none;
	opacity: 0.7;
}

/* Header E: Floating Glass Capsule */
.gamehub-header-e,
.gamehub-header-layout-e {
	position: sticky;
	top: 16px;
	z-index: 1000;
	background: transparent;
	padding: 0;
	border: none;
}
.gamehub-header-e .header-floating-capsule,
.gamehub-header-layout-e .header-floating-capsule,
.gamehub-header-e .gamehub-nav-inner,
.gamehub-header-layout-e .gamehub-nav-inner {
	background: rgba(18, 20, 29, 0.75);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--gh-radius-pill);
	padding: 10px 24px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* --- HERO VARIANTS --- */
/* Hero B: Split Screen */
.gamehub-hero-layout-b {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 40px;
	align-items: center;
	padding: 40px 0;
}
.gamehub-hero-layout-b .hero-split-media {
	border-radius: var(--gh-radius-lg);
	overflow: hidden;
	border: 1px solid var(--gh-border);
	box-shadow: var(--gh-shadow-card);
}
.gamehub-hero-layout-b .hero-split-img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.4s ease;
}
.gamehub-hero-layout-b:hover .hero-split-img {
	transform: scale(1.03);
}

/* Hero C: Centered Focus */
.gamehub-hero-layout-c {
	text-align: center;
	padding: 60px 20px;
	max-width: 860px;
	margin: 0 auto;
}
.gamehub-hero-layout-c .gamehub-hero-desc {
	margin: 0 auto 24px;
}
.gamehub-hero-layout-c .gamehub-hero-stats {
	justify-content: center;
}

/* Hero D: Compact Banner */
.gamehub-hero-compact,
.gamehub-hero-layout-d {
	background: var(--gh-bg-surface);
	border: 1px solid var(--gh-border);
	border-radius: var(--gh-radius-md);
	padding: 18px 24px;
	margin: 20px 0 30px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.compact-hero-inner {
	display: flex;
	align-items: center;
	gap: 24px;
}
.compact-hero-media {
	flex-shrink: 0;
	width: 140px;
	height: 90px;
	border-radius: var(--gh-radius-sm);
	overflow: hidden;
	border: 1px solid var(--gh-border);
	background: #141724;
}
.compact-hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}
.compact-hero-media:hover .compact-hero-img {
	transform: scale(1.06);
}
.compact-hero-info {
	flex-grow: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.compact-tag {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1px;
	color: var(--gh-color-secondary, #ff0055);
	text-transform: uppercase;
}
.compact-title {
	font-size: 1.6rem;
	font-weight: 800;
	margin: 0;
	color: #fff;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.compact-meta {
	display: flex;
	gap: 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--gh-text-muted);
}
.compact-hero-action {
	flex-shrink: 0;
}
.compact-play-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(135deg, var(--gh-color-primary), #0088ff);
	color: #050811 !important;
	font-family: var(--gh-font-heading);
	font-weight: 800;
	font-size: 14px;
	padding: 10px 24px;
	border-radius: 30px;
	text-decoration: none;
	box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
	transition: all 0.2s ease;
}
.compact-play-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 30px rgba(0, 240, 255, 0.7);
}

@media (max-width: 768px) {
	.compact-hero-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
	.compact-hero-media {
		width: 100%;
		height: 140px;
	}
	.compact-title {
		font-size: 1.3rem;
		white-space: normal;
	}
	.compact-hero-action {
		width: 100%;
	}
	.compact-play-btn {
		width: 100%;
		justify-content: center;
	}
}

/* Hero E: Editorial Highlight */
.gamehub-hero-layout-e {
	background: linear-gradient(135deg, var(--gh-bg-surface) 0%, var(--gh-bg-surface-elevated) 100%);
	border-left: 4px solid var(--gh-color-primary);
	border-radius: var(--gh-radius-md);
	padding: 40px;
	margin: 25px 0;
}

/* --- GAME CARD VARIANTS & GRID --- */
.wgh-game-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 24px;
}
.wgh-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.wgh-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.wgh-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.wgh-grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
.wgh-grid-cols-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1024px) {
	.wgh-game-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
	.wgh-grid-cols-4, .wgh-grid-cols-5, .wgh-grid-cols-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
	.wgh-game-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.wgh-grid-cols-3, .wgh-grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.wgh-game-grid { grid-template-columns: 1fr; gap: 14px; }
	.wgh-grid-cols-2, .wgh-grid-cols-3, .wgh-grid-cols-4 { grid-template-columns: 1fr; }
}

.wgh-game-card {
	background: var(--gh-bg-surface);
	border: 1px solid var(--gh-border);
	border-radius: var(--gh-radius-md);
	overflow: hidden;
	transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s, border-color 0.25s;
	display: flex;
	flex-direction: column;
	position: relative;
}
.wgh-game-card:hover {
	transform: translateY(-6px);
	border-color: rgba(0, 240, 255, 0.4);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.15);
}

/* Card Layout A: Standard Arcade */
.wgh-card-thumb-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	background: #141724;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.wgh-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}
.wgh-game-card:hover .wgh-card-img {
	transform: scale(1.06);
}
.wgh-card-placeholder {
	width: 100%;
	height: 100%;
	min-height: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	background: radial-gradient(circle at center, #1e2235 0%, #0d0f18 100%);
	color: #fff;
}
.wgh-card-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: rgba(10, 11, 16, 0.85);
	backdrop-filter: blur(4px);
	color: var(--gh-accent-cyan);
	font-size: 11px;
	font-weight: 800;
	padding: 3px 8px;
	border-radius: 4px;
	border: 1px solid rgba(0, 240, 255, 0.3);
	letter-spacing: 0.5px;
	z-index: 2;
}
.wgh-card-overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 11, 16, 0.6);
	opacity: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	transition: opacity 0.25s ease;
	z-index: 3;
}
.wgh-game-card:hover .wgh-card-overlay {
	opacity: 1;
}
.wgh-card-play-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--gh-color-primary);
	color: #000 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 900;
	box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
	transform: scale(0.9);
	transition: transform 0.2s ease;
}
.wgh-card-play-btn:hover {
	transform: scale(1.08);
}
.wgh-card-fav-btn {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(4px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
}
.wgh-card-fav-btn:hover, .wgh-card-fav-btn.is-active {
	background: var(--gh-color-secondary);
	border-color: var(--gh-color-secondary);
	color: #fff;
}
.wgh-card-body {
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex-grow: 1;
}
.wgh-card-title {
	font-size: 15px;
	margin: 0;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.wgh-card-title a {
	color: #fff;
}
.wgh-card-title a:hover {
	color: var(--gh-color-primary);
}
.wgh-card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 12px;
	color: var(--gh-text-muted);
}

/* Card Layout B: Compact Tile */
.wgh-card-layout-b {
	border-radius: var(--gh-radius-sm);
	padding: 8px;
	background: var(--gh-bg-surface);
	border: 1px solid var(--gh-border);
}
.wgh-card-layout-b .wgh-compact-link {
	text-decoration: none;
	color: inherit;
	display: block;
}
.wgh-card-layout-b .wgh-compact-thumb {
	position: relative;
	aspect-ratio: 1 / 1;
	background: #141724;
	overflow: hidden;
	border-radius: var(--gh-radius-sm);
}
.wgh-card-layout-b .wgh-compact-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}
.wgh-card-layout-b:hover .wgh-compact-thumb img {
	transform: scale(1.08);
}
.wgh-card-layout-b .wgh-compact-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 12px 10px 8px;
	background: linear-gradient(to top, rgba(10, 11, 16, 0.95) 0%, rgba(10, 11, 16, 0.6) 60%, transparent 100%);
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.wgh-card-layout-b .wgh-compact-title {
	font-size: 13px;
	margin: 0;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.wgh-card-layout-b .wgh-compact-rate {
	font-size: 11px;
	color: var(--gh-text-muted);
}

/* Card Layout C: Horizontal Row */
.wgh-card-layout-c {
	display: flex;
	gap: 16px;
	background: var(--gh-bg-surface);
	border: 1px solid var(--gh-border);
	border-radius: var(--gh-radius-md);
	padding: 12px;
	align-items: center;
}
.wgh-card-layout-c .wgh-row-thumb {
	width: 90px;
	height: 65px;
	flex-shrink: 0;
	border-radius: var(--gh-radius-sm);
	overflow: hidden;
	background: #141724;
}
.wgh-card-layout-c .wgh-row-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.wgh-card-layout-c .wgh-row-content {
	flex-grow: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.wgh-card-layout-c .wgh-row-cat {
	font-size: 10px;
	font-weight: 700;
	color: var(--gh-color-primary);
	text-transform: uppercase;
}
.wgh-card-layout-c .wgh-row-title {
	font-size: 14px;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.wgh-card-layout-c .wgh-row-title a { color: #fff; }
.wgh-card-layout-c .wgh-row-meta {
	font-size: 12px;
	color: var(--gh-text-muted);
	display: flex;
	gap: 10px;
}
.wgh-card-layout-c .wgh-row-play-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--gh-color-primary);
	color: #000 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 800;
}

/* Card Layout D: Frosted Glass */
.wgh-card-layout-d {
	background: rgba(18, 20, 29, 0.55);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--gh-radius-md);
	box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
	transition: all 0.3s ease;
}
.wgh-card-layout-d:hover {
	border-color: var(--gh-color-primary);
	box-shadow: 0 0 25px var(--gh-glow-color);
}
.wgh-card-layout-d .wgh-glass-card-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.wgh-card-layout-d .wgh-glass-thumb-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #141724;
}
.wgh-card-layout-d .wgh-glass-thumb-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.wgh-card-layout-d:hover .wgh-glass-thumb-wrap img {
	transform: scale(1.06);
}
.wgh-card-layout-d .wgh-glass-play-btn {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.4);
	color: var(--gh-color-primary) !important;
	font-size: 28px;
	opacity: 0;
	transition: opacity 0.2s ease;
}
.wgh-card-layout-d:hover .wgh-glass-play-btn {
	opacity: 1;
}
.wgh-card-layout-d .wgh-glass-body {
	padding: 14px 16px;
}
.wgh-card-layout-d .wgh-glass-title {
	font-size: 15px;
	margin: 0 0 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.wgh-card-layout-d .wgh-glass-title a { color: #fff; }
.wgh-card-layout-d .wgh-glass-meta {
	font-size: 12px;
	color: var(--gh-text-muted);
	display: flex;
	gap: 12px;
}

/* Card Layout E: Minimalist Outline */
.wgh-card-layout-e {
	background: transparent;
	border: 1px solid var(--gh-border);
	border-radius: var(--gh-radius-sm);
}
.wgh-card-layout-e:hover {
	border-color: var(--gh-color-primary);
}
.wgh-card-layout-e .wgh-minimal-card-link {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
}
.wgh-card-layout-e .wgh-minimal-thumb {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	background: #12141e;
	overflow: hidden;
}
.wgh-card-layout-e .wgh-minimal-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.wgh-card-layout-e:hover .wgh-minimal-thumb img {
	transform: scale(1.05);
}
.wgh-card-layout-e .wgh-minimal-info {
	padding: 12px 14px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.wgh-card-layout-e .wgh-minimal-title {
	font-size: 14px;
	margin: 0;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.wgh-card-layout-e .wgh-minimal-rate {
	font-size: 12px;
	color: var(--gh-text-muted);
}

/* Card Layout F: Arcade Cabinet Poster */
.wgh-card-layout-f {
	background: #08090e !important;
	border: 2px solid rgba(255, 184, 0, 0.4) !important;
	border-radius: 6px !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
	transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
	overflow: hidden;
}
.wgh-card-layout-f:hover {
	transform: translateY(-6px) !important;
	border-color: var(--gh-color-accent, #ffb800) !important;
	box-shadow: 0 10px 30px rgba(255, 184, 0, 0.25), 0 0 15px rgba(255, 0, 85, 0.3) !important;
}
.wgh-poster-card-link {
	text-decoration: none;
	color: inherit;
	display: block;
	height: 100%;
}
.wgh-poster-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #0e1018;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.wgh-poster-frame img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
	z-index: 1;
}
.wgh-card-layout-f:hover .wgh-poster-frame img {
	transform: scale(1.08);
}
.wgh-poster-frame .wgh-card-placeholder {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.wgh-poster-glow {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(8, 9, 14, 0.75) 70%, rgba(8, 9, 14, 0.96) 100%);
	z-index: 2;
	pointer-events: none;
}
.wgh-poster-caption {
	position: relative;
	z-index: 3;
	padding: 16px 14px 14px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.wgh-poster-caption .poster-badge {
	align-self: flex-start;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 1px;
	padding: 2px 7px;
	border-radius: 3px;
	background: rgba(0, 240, 255, 0.15);
	color: var(--gh-color-primary, #00f0ff);
	border: 1px solid var(--gh-color-primary, #00f0ff);
	margin-bottom: 2px;
}
.wgh-poster-caption .poster-badge.wgh-badge-premium {
	background: #ffd700 !important;
	color: #000 !important;
	border-color: #ffd700 !important;
}
.wgh-poster-caption .poster-title {
	font-size: 15px;
	font-weight: 700;
	margin: 0;
	color: #fff;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.wgh-poster-caption .poster-rate {
	font-size: 12px;
	font-weight: 600;
	color: var(--gh-color-accent, #ffb800);
}

/* --- FOOTER VARIANTS --- */
/* Footer B: 4-Column + Badges */
.gamehub-footer-layout-b .gamehub-footer-grid {
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}
.gamehub-footer-layout-b .footer-platform-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--gh-bg-surface-elevated);
	border: 1px solid var(--gh-border);
	padding: 6px 12px;
	border-radius: var(--gh-radius-sm);
	font-size: 12px;
	margin-right: 8px;
}

/* Footer C: Minimalist Row */
.gamehub-footer-layout-c {
	padding: 24px 0;
	border-top: 1px solid var(--gh-border);
	background: var(--gh-bg-body);
}
.gamehub-footer-layout-c .footer-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
}

/* Footer D: Arcade HUD */
.gamehub-footer-layout-d {
	border-top: 2px solid var(--gh-color-primary);
	background: #050608;
	box-shadow: 0 -4px 20px var(--gh-glow-color);
	padding: 30px 0 20px;
}
.gamehub-footer-layout-d .hud-footer-neon-line {
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--gh-color-primary), var(--gh-color-secondary), transparent);
	margin-bottom: 25px;
}
.gamehub-footer-layout-d .hud-footer-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--gh-border);
}
.gamehub-footer-layout-d .hud-footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
}
.gamehub-footer-layout-d .hud-brand-title {
	font-family: var(--gh-font-heading);
	font-weight: 800;
	letter-spacing: 1px;
	color: #fff;
	text-transform: uppercase;
}
.gamehub-footer-layout-d .hud-brand-badge {
	font-size: 10px;
	font-weight: 800;
	background: rgba(0, 240, 255, 0.15);
	color: var(--gh-color-primary);
	border: 1px solid var(--gh-color-primary);
	padding: 2px 6px;
	border-radius: var(--gh-radius-sm);
	letter-spacing: 0.5px;
}
.gamehub-footer-layout-d .hud-footer-scrolltop {
	cursor: pointer;
	color: var(--gh-color-primary);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	transition: opacity 0.2s ease;
}
.gamehub-footer-layout-d .hud-footer-scrolltop:hover {
	opacity: 0.8;
}
.gamehub-footer-layout-d .hud-footer-nav-row {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
	flex-wrap: wrap;
	align-items: center;
}
.gamehub-footer-layout-d .hud-footer-nav-row a {
	color: var(--gh-text-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.2s ease;
}
.gamehub-footer-layout-d .hud-footer-nav-row a:hover {
	color: var(--gh-color-primary);
}
.gamehub-footer-layout-d .hud-footer-bottom-row {
	font-size: 12px;
	color: var(--gh-text-muted);
	opacity: 0.7;
}

/* Footer E: Centered Showcase */
.gamehub-footer-layout-e {
	text-align: center;
	padding: 50px 0 30px;
}
.gamehub-footer-layout-e .footer-social-icons {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin: 20px 0;
}

/* --- SINGLE GAME PAGE VARIANTS --- */
/* Single C: Split Metadata Stage */
.gamehub-split-stage {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 30px;
	align-items: flex-start;
}
.gamehub-split-meta-col .gamehub-meta-card {
	background: var(--gh-bg-surface);
	border: 1px solid var(--gh-border);
	border-radius: var(--gh-radius-md);
	padding: 20px;
}
.split-game-title {
	font-size: 22px;
	margin: 0 0 10px;
}
.split-stats-row {
	display: flex;
	gap: 10px;
	margin-bottom: 14px;
}
.split-spec-item {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid var(--gh-border);
	font-size: 13px;
}
.split-subhead {
	font-size: 15px;
	margin: 16px 0 10px;
	color: #fff;
}

/* Single D: Cinema Ambient Experience */
.gamehub-cinema-experience {
	padding: 20px 0;
}
.cinema-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}
.cinema-title {
	font-size: 26px;
	margin: 4px 0 0;
}
.cinema-screen-container {
	position: relative;
	background: #000;
	border-radius: var(--gh-radius-lg);
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.cinema-ambient-glow {
	position: absolute;
	inset: -20px;
	background: radial-gradient(circle at center, var(--gh-color-primary) 0%, transparent 70%);
	opacity: 0.15;
	filter: blur(40px);
	pointer-events: none;
}
.cinema-hud-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--gh-bg-surface);
	border: 1px solid var(--gh-border);
	border-radius: var(--gh-radius-sm);
	padding: 12px 20px;
	margin-top: 16px;
}
.cinema-content-grid {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 30px;
	margin-top: 30px;
}
.cinema-card-box {
	background: var(--gh-bg-surface);
	border: 1px solid var(--gh-border);
	border-radius: var(--gh-radius-md);
	padding: 24px;
	margin-bottom: 20px;
}

/* --- BUTTON SYSTEM --- */
.gamehub-btn-glow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--gh-color-primary);
	color: #000;
	font-weight: 700;
	padding: 10px 22px;
	border-radius: var(--gh-radius-sm);
	box-shadow: var(--gh-shadow-button);
	transition: all 0.25s ease;
	border: none;
	cursor: pointer;
}
.gamehub-btn-glow:hover {
	color: #000;
	transform: translateY(-2px);
	box-shadow: 0 0 25px var(--gh-glow-color);
}

.gamehub-btn-solid {
	display: inline-flex;
	align-items: center;
	background: var(--gh-color-primary);
	color: #000 !important;
	font-weight: 700;
	padding: 10px 22px;
	border-radius: var(--gh-radius-sm);
	border: none;
}

.gamehub-btn-outline {
	display: inline-flex;
	align-items: center;
	background: transparent;
	color: var(--gh-color-primary) !important;
	border: 2px solid var(--gh-color-primary);
	font-weight: 700;
	padding: 8px 20px;
	border-radius: var(--gh-radius-sm);
}
.gamehub-btn-outline:hover {
	background: var(--gh-color-primary);
	color: #000 !important;
}

.gamehub-btn-pill {
	border-radius: var(--gh-radius-pill) !important;
}

.gamehub-btn-gradient {
	background: linear-gradient(135deg, var(--gh-color-primary) 0%, var(--gh-color-secondary) 100%) !important;
	color: #fff !important;
}

/* --- COLOR SCHEME (LIGHT MODE) --- */
body.gamehub-scheme-light {
	background-color: var(--gh-bg-body, #f8fafc) !important;
	color: var(--gh-text-main, #0f172a) !important;
}
body.gamehub-scheme-light h1,
body.gamehub-scheme-light h2,
body.gamehub-scheme-light h3,
body.gamehub-scheme-light h4 {
	color: #0f172a !important;
}
body.gamehub-scheme-light .gamehub-navbar {
	background: rgba(255, 255, 255, 0.94) !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}
body.gamehub-scheme-light .wgh-game-card,
body.gamehub-scheme-light .gamehub-card-box,
body.gamehub-scheme-light .gamehub-meta-card {
	background: #ffffff !important;
	border-color: rgba(0, 0, 0, 0.08) !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}
body.gamehub-scheme-light .gamehub-footer {
	background: #f1f5f9 !important;
	border-top-color: rgba(0, 0, 0, 0.08) !important;
}
body.gamehub-scheme-light .gamehub-logo-text {
	color: #0f172a !important;
}

/* --- THEME MODE SWITCHER BUTTON --- */
.wgh-theme-mode-toggle {
	background: var(--gh-bg-surface-elevated);
	border: 1px solid var(--gh-border);
	color: var(--gh-text-main);
	border-radius: var(--gh-radius-pill);
	padding: 6px 12px;
	font-size: 13px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s;
}
.wgh-theme-mode-toggle:hover {
	border-color: var(--gh-color-primary);
}

/* --- ANIMATION INTENSITY MODIFIERS --- */
body.gamehub-anim-off *,
body.gamehub-anim-off *::before,
body.gamehub-anim-off *::after {
	transition: none !important;
	animation: none !important;
}

body.gamehub-anim-expressive .wgh-game-card:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 15px 35px var(--gh-glow-color);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
	.gamehub-split-stage,
	.cinema-content-grid,
	.gamehub-hero-layout-b {
		grid-template-columns: 1fr;
	}
	.gamehub-footer-layout-b .gamehub-footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.gamehub-hero {
		min-height: auto;
		margin: 16px 0 24px;
	}
	.gamehub-hero-inner {
		padding: 24px 16px;
	}
	.gamehub-hero-title {
		font-size: clamp(1.5rem, 5.5vw, 2.2rem);
	}
	.gamehub-hero-desc {
		font-size: 14px;
	}
	.gamehub-hero-stats {
		flex-wrap: wrap;
		gap: 12px;
	}
	.gamehub-hero-layout-b {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 20px 0;
	}
	.gamehub-hero-layout-c {
		padding: 30px 16px;
	}
	.gamehub-hero-layout-d {
		flex-direction: column;
		align-items: flex-start;
		padding: 16px;
	}
	.gamehub-hero-layout-e {
		padding: 24px 16px;
	}
	.gamehub-header-layout-c .hud-quick-links,
	.gamehub-header-c .hud-quick-links {
		display: none;
	}
	.hud-status {
		font-size: 0.72rem;
		width: 100%;
		justify-content: center;
	}
	.cinema-hud-bar {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	.hud-footer-top {
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}
	.hud-footer-nav-row {
		justify-content: center;
		gap: 14px;
	}
}

@media (max-width: 640px) {
	.gamehub-header-b .gamehub-nav-inner,
	.gamehub-header-layout-b .gamehub-nav-inner {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}
	.gamehub-footer-layout-b .gamehub-footer-grid {
		grid-template-columns: 1fr;
	}
	.gamehub-catalog-header {
		padding: 16px 0;
	}
	.gamehub-leaderboards-grid {
		grid-template-columns: 1fr !important;
	}
}

/* --- PREMIUM GAMES & GAME PACK DESIGN SYSTEM (Sections #5, #29, #45) --- */
.wgh-badge-premium {
	background: #ffd700 !important;
	color: #000 !important;
	font-weight: 800 !important;
	letter-spacing: 0.5px;
	box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.wgh-game-card.is-premium {
	position: relative;
	border-color: rgba(255, 215, 0, 0.3) !important;
}

.wgh-game-card.is-premium:hover {
	border-color: #ffd700 !important;
	box-shadow: 0 10px 25px rgba(255, 215, 0, 0.25) !important;
}

.wgh-game-card.is-elite {
	box-shadow: 0 4px 20px rgba(168, 85, 247, 0.25) !important;
}

.wgh-game-card.is-elite .wgh-badge-premium {
	background: linear-gradient(135deg, #a855f7, #ffd700) !important;
	color: #fff !important;
}

.wgh-tech-pill {
	display: inline-flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 4px;
	padding: 3px 8px;
	font-size: 0.75rem;
	color: #cbd5e1;
	font-weight: 500;
}

.is-premium-catalog {
	background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(168, 85, 247, 0.05));
	border-color: rgba(255, 215, 0, 0.3);
}

.wgh-pack-hero {
	transition: all 0.3s ease;
}

/* ==========================================================================
   ARCADE PORTAL & 6 PRESETS DESIGN SYSTEM (Images 1 & 2 Realignment)
   ========================================================================== */

/* --- 1. HEADER HUD (Header Layout C) --- */
.gamehub-header-c,
.gamehub-header-layout-c {
	background: rgba(8, 9, 20, 0.92);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--gh-border, rgba(255, 255, 255, 0.08));
	padding: 12px 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	transition: background 0.3s ease, border-color 0.3s ease;
}
.gamehub-scheme-light .gamehub-header-c,
.gamehub-scheme-light .gamehub-header-layout-c {
	background: rgba(255, 255, 255, 0.95);
	border-bottom-color: rgba(0, 0, 0, 0.07);
}
.gamehub-hud-topbar {
	display: none; /* Streamline header to single sleek HUD bar */
}
.hud-eyebrow-tag {
	display: block;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 1.5px;
	color: var(--gh-color-primary, #ec4899);
	text-transform: uppercase;
	margin-bottom: 3px;
	line-height: 1;
}
.hud-logo {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	font-family: var(--gh-font-heading, 'Outfit', sans-serif);
	font-size: 20px;
	font-weight: 900;
	color: #ffffff;
	letter-spacing: -0.3px;
}
.gamehub-scheme-light .hud-logo {
	color: #0f172a;
}
.hud-logo .gamehub-logo-icon {
	color: var(--gh-color-primary, #ec4899);
	font-size: 20px;
	filter: drop-shadow(0 0 10px var(--gh-glow-color, rgba(236, 72, 153, 0.5)));
}
.hud-logo-tag {
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.5px;
	padding: 2px 7px;
	border-radius: 4px;
	background: var(--gh-color-primary, #ec4899);
	color: #ffffff;
	margin-left: 4px;
	display: inline-block;
}
.gamehub-search-box.hud-search-box {
	position: relative;
	width: 100%;
}
.hud-search-box .gamehub-search-input {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 30px;
	padding: 10px 18px 10px 42px;
	font-size: 13.5px;
	color: #ffffff;
	transition: all 0.25s ease;
	width: 100%;
}
.gamehub-scheme-light .hud-search-box .gamehub-search-input {
	background: rgba(0, 0, 0, 0.03);
	border-color: rgba(0, 0, 0, 0.1);
	color: #0f172a;
}
.hud-search-box .gamehub-search-input::placeholder {
	color: var(--gh-text-muted, #94a3b8);
}
.hud-search-box .gamehub-search-input:focus {
	border-color: var(--gh-color-primary);
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 0 20px var(--gh-glow-color, rgba(236, 72, 153, 0.3));
}
.gamehub-scheme-light .hud-search-box .gamehub-search-input:focus {
	background: #ffffff;
	box-shadow: 0 0 15px rgba(2, 132, 199, 0.2);
}
.hud-search-box .gamehub-search-icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 14px;
	opacity: 0.6;
	pointer-events: none;
}
.hud-nav-link {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--gh-text-muted, #94a3b8);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 20px;
	transition: all 0.2s ease;
}
.gamehub-scheme-light .hud-nav-link {
	color: #475569;
}
.hud-nav-link:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.06);
}
.gamehub-scheme-light .hud-nav-link:hover {
	color: #0f172a;
	background: rgba(0, 0, 0, 0.04);
}
.hud-fav-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 20px;
	background: rgba(236, 72, 153, 0.12);
	border: 1px solid rgba(236, 72, 153, 0.25);
	color: var(--gh-color-primary, #ec4899);
	font-size: 13px;
	font-weight: 700;
}
.gamehub-scheme-light .hud-fav-pill {
	background: rgba(2, 132, 199, 0.08);
	border-color: rgba(2, 132, 199, 0.2);
}
.hud-toggle {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--gh-border, rgba(255, 255, 255, 0.08));
	color: #ffffff;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}
.gamehub-scheme-light .hud-toggle {
	background: rgba(0, 0, 0, 0.04);
	color: #0f172a;
	border-color: rgba(0, 0, 0, 0.08);
}
.hud-toggle:hover {
	border-color: var(--gh-color-primary);
	box-shadow: 0 0 12px var(--gh-glow-color);
}

/* --- 2. HERO LAYOUT A (Cinematic 3D Showcase) --- */
.gamehub-hero.gamehub-hero-layout-a {
	margin: 28px 0 36px;
	background: radial-gradient(circle at 82% 42%, rgba(139, 92, 246, 0.28) 0%, transparent 55%), linear-gradient(135deg, rgba(16, 13, 36, 0.95) 0%, rgba(8, 9, 20, 0.98) 100%);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 28px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px var(--gh-glow-color, rgba(236, 72, 153, 0.15));
	overflow: hidden;
	position: relative;
	min-height: 440px;
	display: flex;
	align-items: center;
	padding: 0;
}
.gamehub-hero-container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 44px 52px;
	position: relative;
	z-index: 2;
}
.gamehub-hero-layout-a .gamehub-hero-inner {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 40px;
	align-items: center;
	max-width: 100%;
	padding: 0;
	position: static;
}
.gamehub-hero-content {
	position: relative;
	z-index: 3;
}
.gamehub-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(139, 92, 246, 0.18);
	border: 1px solid rgba(139, 92, 246, 0.38);
	color: #c084fc;
	padding: 6px 14px;
	border-radius: 30px;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 1px;
	margin-bottom: 18px;
}
.gamehub-badge-star {
	color: #facc15;
	font-size: 12px;
}
.gamehub-hero-title {
	font-size: clamp(2.4rem, 4.5vw, 3.6rem);
	font-weight: 900;
	margin: 0 0 16px;
	color: #ffffff;
	letter-spacing: -0.5px;
	line-height: 1.1;
	text-shadow: 0 4px 25px rgba(0, 0, 0, 0.8);
}
.gamehub-hero-desc {
	color: #94a3b8;
	font-size: 15.5px;
	line-height: 1.65;
	margin-bottom: 26px;
	max-width: 520px;
}
.gamehub-hero-stats {
	display: flex;
	gap: 12px;
	margin-bottom: 30px;
	flex-wrap: wrap;
	align-items: center;
}
.hero-stat-item {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 700;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.hero-stat-rating .stat-star {
	color: #facc15;
}
.hero-stat-plays .stat-icon {
	color: var(--gh-color-primary, #ec4899);
	font-size: 10px;
}
.hero-stat-item.hero-cat-tag {
	color: #cbd5e1;
}
.hero-play-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(135deg, var(--gh-color-primary, #ec4899) 0%, var(--gh-color-secondary, #8b5cf6) 100%);
	color: #ffffff !important;
	font-family: var(--gh-font-heading, 'Outfit', sans-serif);
	font-weight: 900;
	font-size: 15px;
	letter-spacing: 0.5px;
	padding: 15px 36px;
	border-radius: 30px;
	border: none;
	cursor: pointer;
	box-shadow: 0 0 25px var(--gh-glow-color, rgba(236, 72, 153, 0.45));
	transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
	text-decoration: none;
}
.hero-play-btn:hover {
	transform: translateY(-3px) scale(1.03);
	box-shadow: 0 0 40px var(--gh-glow-color, rgba(236, 72, 153, 0.7));
}
.hero-play-btn .btn-icon {
	font-size: 12px;
}

/* Right Column 3D Showcase */
.gamehub-hero-showcase {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 360px;
}
.hero-watermark {
	position: absolute;
	right: -20px;
	bottom: -15px;
	font-family: var(--gh-font-heading, 'Outfit', sans-serif);
	font-size: clamp(3.5rem, 7vw, 6rem);
	font-weight: 900;
	letter-spacing: 6px;
	color: rgba(255, 255, 255, 0.04);
	text-transform: uppercase;
	line-height: 1;
	pointer-events: none;
	user-select: none;
	z-index: 1;
	white-space: nowrap;
}
.hero-card-3d-wrapper {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 360px;
	filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.85));
	transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-card-3d-wrapper:hover {
	transform: translateY(-8px) scale(1.02);
}
.hero-card-3d {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 28px;
	overflow: hidden;
	position: relative;
	background: #110d24;
	border: 2px solid rgba(255, 255, 255, 0.16);
	box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.25), 0 0 35px var(--gh-glow-color, rgba(236, 72, 153, 0.3));
}
.hero-card-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.hero-card-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 72px;
	background: #15102a;
}
.hero-card-glow-overlay {
	position: absolute;
	inset: 0;
	border-radius: 26px;
	pointer-events: none;
	box-shadow: inset 0 0 30px rgba(236, 72, 153, 0.2);
}

/* --- 3. CATEGORY PILLS --- */
.gamehub-section-categories {
	margin: 28px 0 36px;
}
.gamehub-categories-slider {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding: 4px 0 12px;
	margin: 0;
	align-items: center;
	scrollbar-width: none;
}
.gamehub-cat-pill {
	background: var(--gh-bg-surface, #101426);
	border: 1px solid var(--gh-border, rgba(255, 255, 255, 0.08));
	color: var(--gh-text-main, #f8fafc);
	padding: 9px 20px;
	border-radius: 30px;
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all 0.2s ease;
	text-decoration: none;
}
.gamehub-scheme-light .gamehub-cat-pill {
	background: #ffffff;
	border-color: rgba(0, 0, 0, 0.08);
	color: #334155;
}
.gamehub-cat-pill:hover {
	border-color: var(--gh-color-primary);
	color: var(--gh-color-primary);
	transform: translateY(-1px);
}
.gamehub-cat-pill.active {
	background: linear-gradient(135deg, var(--gh-color-primary) 0%, var(--gh-color-secondary) 100%) !important;
	border-color: transparent !important;
	color: #ffffff !important;
	box-shadow: 0 0 20px var(--gh-glow-color, rgba(236, 72, 153, 0.4));
	font-weight: 700;
}
.pill-count {
	background: rgba(255, 255, 255, 0.16);
	font-size: 11px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 12px;
}
.gamehub-cat-pill.active .pill-count {
	background: rgba(0, 0, 0, 0.25);
	color: #ffffff;
}

/* --- 4. SECTION HEADERS & 4-COLUMN CARDS --- */
.gamehub-game-section {
	margin-bottom: 44px;
}
.gamehub-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}
.section-title-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
}
.section-badge-icon {
	font-size: 20px;
}
.gamehub-section-title {
	font-size: 1.55rem;
	font-weight: 800;
	margin: 0;
	color: #ffffff;
	letter-spacing: -0.3px;
}
.gamehub-scheme-light .gamehub-section-title {
	color: #0f172a;
}
.section-view-all {
	color: var(--gh-color-primary, #ec4899);
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.section-view-all:hover {
	color: #ffffff;
	text-shadow: 0 0 10px var(--gh-glow-color);
}
.gamehub-scheme-light .section-view-all:hover {
	color: var(--gh-color-secondary);
	text-shadow: none;
}

/* 4-column game card grid */
/* 4-column game card grid */
.wgh-grid-cols-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
@media (max-width: 1024px) {
	.wgh-grid-cols-4 {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}
@media (max-width: 600px) {
	.wgh-grid-cols-4 {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}

.wgh-game-card {
	background: var(--gh-bg-surface, #0d1124);
	border: 1px solid var(--gh-border, rgba(255, 255, 255, 0.08));
	border-radius: 16px;
	overflow: hidden;
	padding: 14px;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s, border-color 0.25s;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.gamehub-scheme-light .wgh-game-card {
	background: #ffffff;
	border-color: rgba(0, 0, 0, 0.08);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}
.wgh-game-card:hover {
	transform: translateY(-4px);
	border-color: var(--gh-color-primary, #00f0ff);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 25px var(--gh-glow-color, rgba(0, 240, 255, 0.25));
}
.gamehub-scheme-light .wgh-game-card:hover {
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 0 15px var(--gh-glow-color, rgba(2, 132, 199, 0.15));
}

.wgh-card-thumb-wrap {
	border-radius: 12px;
	overflow: hidden;
	position: relative;
	aspect-ratio: 16 / 10;
	background: #080a14;
	display: block;
	width: 100%;
}
.wgh-card-thumb-link {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
	text-decoration: none;
}
.wgh-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}
.wgh-game-card:hover .wgh-card-img {
	transform: scale(1.05);
}
.wgh-card-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	background: #141728;
	color: #ffffff;
}

.wgh-card-play-action {
	position: absolute;
	inset: 0;
	background: rgba(8, 10, 20, 0.4);
	backdrop-filter: blur(2px);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
	pointer-events: none;
	z-index: 2;
}
.wgh-game-card:hover .wgh-card-play-action {
	opacity: 1;
}
.wgh-play-icon-glow {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--gh-color-primary, #00f0ff);
	color: #000000;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 900;
	box-shadow: 0 0 20px var(--gh-color-primary, #00f0ff);
	transform: scale(0.85);
	transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wgh-game-card:hover .wgh-play-icon-glow {
	transform: scale(1);
}

.wgh-card-fav-btn {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(12, 16, 32, 0.65);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #ffffff;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 5;
	transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
	outline: none;
	padding: 0;
}
.gamehub-scheme-light .wgh-card-fav-btn {
	background: rgba(255, 255, 255, 0.85);
	border-color: rgba(0, 0, 0, 0.12);
	color: #334155;
}
.wgh-card-fav-btn:hover {
	transform: scale(1.12);
	background: rgba(255, 0, 85, 0.25);
	border-color: #ff0055;
	color: #ff0055;
	box-shadow: 0 0 12px rgba(255, 0, 85, 0.4);
}
.wgh-card-fav-btn.active,
.wgh-card-fav-btn.is-favorited {
	background: #ff0055;
	border-color: #ff0055;
	color: #ffffff;
	box-shadow: 0 0 15px rgba(255, 0, 85, 0.6);
	animation: wgh-fav-pulse 0.35s ease;
}

.wgh-card-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	background: rgba(10, 11, 16, 0.85);
	backdrop-filter: blur(4px);
	color: var(--gh-color-primary, #00f0ff);
	font-size: 10px;
	font-weight: 800;
	padding: 3px 8px;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	letter-spacing: 0.5px;
	z-index: 4;
}

.wgh-card-body {
	padding: 12px 2px 2px 2px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.wgh-card-title {
	font-size: 13.5px;
	font-weight: 700;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.3;
}
.wgh-card-title a {
	color: var(--gh-color-primary, #00f0ff);
	text-decoration: none;
	transition: color 0.15s ease;
}
.wgh-card-title a:hover {
	color: #ffffff;
}
.gamehub-scheme-light .wgh-card-title a {
	color: #0f172a;
}
.gamehub-scheme-light .wgh-card-title a:hover {
	color: var(--gh-color-primary, #0284c7);
}

.wgh-card-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--gh-text-muted, #94a3b8);
	margin-top: 2px;
}
.wgh-meta-rating {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #f1f5f9;
}
.gamehub-scheme-light .wgh-meta-rating {
	color: #475569;
}
.wgh-meta-rating .meta-star {
	color: #fbbf24;
	font-size: 12px;
}
.wgh-meta-plays {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--gh-text-muted, #94a3b8);
}
.gamehub-scheme-light .wgh-meta-plays {
	color: #64748b;
}
.meta-play-icon {
	font-size: 9px;
	opacity: 0.85;
}

/* ==========================================================================
   HERO 3-BLOCK MULTI-GAME SHOWCASE
   ========================================================================== */
.gamehub-hero-3blocks,
.gamehub-hero-layout-a.gamehub-hero-3blocks {
	margin: 20px 0 32px !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	min-height: auto !important;
	padding: 0 !important;
	display: block !important;
}
.gamehub-hero-blocks-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	width: 100%;
}
.gamehub-hero-block {
	background: var(--gh-bg-surface, #0f1326);
	border: 1px solid var(--gh-border, rgba(255, 255, 255, 0.08));
	border-radius: 20px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.gamehub-scheme-light .gamehub-hero-block {
	background: #ffffff;
	border-color: rgba(0, 0, 0, 0.08);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}
.gamehub-hero-block:hover {
	border-color: var(--gh-color-primary, #00f0ff);
	box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45), 0 0 22px var(--gh-glow-color, rgba(0, 240, 255, 0.2));
}
.hero-block-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--gh-border, rgba(255, 255, 255, 0.08));
}
.gamehub-scheme-light .hero-block-header {
	border-bottom-color: rgba(0, 0, 0, 0.06);
}
.hero-block-title-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
}
.hero-block-icon {
	font-size: 17px;
}
.hero-block-title {
	font-size: 15.5px;
	font-weight: 800;
	letter-spacing: -0.2px;
	margin: 0;
	color: var(--gh-text-main, #ffffff);
}
.gamehub-scheme-light .hero-block-title {
	color: #0f172a;
}
.hero-block-view-all {
	font-size: 12px;
	font-weight: 700;
	color: var(--gh-color-primary, #00f0ff);
	text-decoration: none;
	transition: opacity 0.2s, transform 0.2s;
}
.gamehub-scheme-light .hero-block-view-all {
	color: var(--gh-color-primary, #0284c7);
}
.hero-block-view-all:hover {
	opacity: 0.85;
	transform: translateX(2px);
}
.hero-block-cards-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
.hero-mini-thumb-link {
	display: block;
	position: relative;
	text-decoration: none;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #080a14;
	border: 1px solid rgba(255, 255, 255, 0.07);
	transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s, border-color 0.25s;
}
.gamehub-scheme-light .hero-mini-thumb-link {
	background: #f8fafc;
	border-color: rgba(0, 0, 0, 0.07);
}
.hero-mini-thumb-link:hover {
	transform: translateY(-3px) scale(1.02);
	border-color: var(--gh-color-primary, #00f0ff);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px var(--gh-glow-color, rgba(0, 240, 255, 0.25));
}
.hero-mini-thumb-wrap {
	position: relative;
	width: 100%;
	height: 100%;
}
.hero-mini-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}
.hero-mini-thumb-link:hover .hero-mini-thumb {
	transform: scale(1.08);
}
.hero-mini-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	background: #141728;
	color: #ffffff;
}
.hero-mini-thumb-hover {
	position: absolute;
	inset: 0;
	background: rgba(8, 10, 18, 0.45);
	backdrop-filter: blur(2px);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
	pointer-events: none;
}
.hero-mini-thumb-link:hover .hero-mini-thumb-hover {
	opacity: 1;
}
.hero-mini-play {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--gh-color-primary, #00f0ff);
	color: #000000;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 900;
	box-shadow: 0 0 16px var(--gh-color-primary, #00f0ff);
	transform: scale(0.9);
	transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hero-mini-thumb-link:hover .hero-mini-play {
	transform: scale(1);
}

/* ==========================================================================
   SINGLE GAME ARENA & LEFT / RIGHT CORNER AD SLOTS
   ========================================================================== */
.gamehub-player-stage-arena {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 20px;
	width: 100%;
	margin: 20px 0 24px;
}
.gamehub-player-stage-arena .gamehub-player-wrapper-outer {
	flex: 1;
	min-width: 0;
	max-width: 960px;
}
.wgh-player-ad-slot {
	width: 160px;
	min-height: 500px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.wgh-player-ad-slot:empty {
	display: none;
}
.wgh-player-ad-slot .wgh-ad-container {
	width: 100%;
	position: sticky;
	top: 80px;
}
@media (max-width: 1024px) {
	.wgh-player-ad-slot,
	.wgh-player-ad-left,
	.wgh-player-ad-right {
		display: none !important;
	}
}
@media (max-width: 860px) {
	.gamehub-hero-blocks-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}
@media (max-width: 600px) {
	.hero-block-cards-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}
}

/* --- 5. FOOTER HUD (Footer Layout D) --- */
.gamehub-footer-layout-d {
	border-top: 1px solid var(--gh-border, rgba(255, 255, 255, 0.08));
	background: #06070d;
	padding: 24px 0;
	margin-top: 50px;
}
.gamehub-scheme-light .gamehub-footer-layout-d {
	background: #ffffff;
	border-top-color: rgba(0, 0, 0, 0.08);
}
.gamehub-footer-layout-d .hud-footer-neon-line {
	display: none;
}
.gamehub-footer-layout-d .hud-footer-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}
.gamehub-footer-layout-d .hud-footer-brand {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 800;
	color: #ffffff;
}
.gamehub-scheme-light .gamehub-footer-layout-d .hud-footer-brand {
	color: #0f172a;
}
.gamehub-footer-layout-d .hud-brand-icon {
	color: var(--gh-color-primary, #ec4899);
	font-size: 16px;
}
.gamehub-footer-layout-d .hud-brand-badge {
	font-size: 9.5px;
	font-weight: 800;
	color: var(--gh-text-muted, #94a3b8);
	letter-spacing: 1px;
}
.gamehub-footer-layout-d .hud-footer-nav-row {
	display: flex;
	gap: 24px;
	align-items: center;
	margin: 0;
	flex-wrap: wrap;
}
.gamehub-footer-layout-d .hud-footer-nav-row a {
	color: var(--gh-text-muted, #94a3b8);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.2s ease;
}
.gamehub-footer-layout-d .hud-footer-nav-row a:hover {
	color: var(--gh-color-primary);
}
.gamehub-footer-layout-d .hud-footer-bottom-row p {
	font-size: 12px;
	color: var(--gh-text-muted, #94a3b8);
	margin: 0;
}

/* --- 6. PRESET SPECIFIC VISUAL IDENTITIES (Image 2) --- */

/* Preset 1: Neon Arcade (Cyber Dark Magenta) */
.gamehub-preset-neon .gamehub-hero.gamehub-hero-layout-a {
	background: radial-gradient(circle at 82% 42%, rgba(139, 92, 246, 0.28) 0%, transparent 55%), linear-gradient(135deg, #120b29 0%, #080914 100%);
}

/* Preset 2: Sky Cloud (Sky Blue Cloud Light) */
.gamehub-preset-casual .gamehub-hero.gamehub-hero-layout-a {
	background: radial-gradient(circle at 82% 42%, rgba(56, 189, 248, 0.35) 0%, transparent 60%), linear-gradient(135deg, #e0f2fe 0%, #f0f7ff 100%);
	border-color: rgba(2, 132, 199, 0.2);
	box-shadow: 0 15px 40px rgba(2, 132, 199, 0.12);
}
.gamehub-preset-casual .gamehub-hero-title { color: #0f172a; text-shadow: none; }
.gamehub-preset-casual .gamehub-hero-desc { color: #475569; }
.gamehub-preset-casual .hero-stat-item { background: #ffffff; border-color: rgba(2, 132, 199, 0.2); color: #0f172a; }
.gamehub-preset-casual .hero-watermark { color: rgba(2, 132, 199, 0.08); }
.gamehub-preset-casual .gamehub-hero-badge { background: rgba(2, 132, 199, 0.12); border-color: rgba(2, 132, 199, 0.3); color: #0284c7; }

/* Preset 3: Emerald Cyber (Matrix Dark Green) */
.gamehub-preset-midnight .gamehub-hero.gamehub-hero-layout-a {
	background: radial-gradient(circle at 82% 42%, rgba(34, 197, 94, 0.25) 0%, transparent 55%), linear-gradient(135deg, #071c10 0%, #030a06 100%);
	border-color: rgba(34, 197, 94, 0.25);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(34, 197, 94, 0.2);
}
.gamehub-preset-midnight .gamehub-hero-badge { background: rgba(34, 197, 94, 0.15); border-color: rgba(34, 197, 94, 0.35); color: #4ade80; }
.gamehub-preset-midnight .hero-watermark { color: rgba(34, 197, 94, 0.05); }

/* Preset 4: Synthwave Sunset (Sunset Amber Orange) */
.gamehub-preset-arcade .gamehub-hero.gamehub-hero-layout-a {
	background: radial-gradient(circle at 82% 42%, rgba(249, 115, 22, 0.35) 0%, transparent 60%), linear-gradient(180deg, #1c0f24 0%, #3d141b 45%, #631c12 75%, #9a3412 100%);
	border-color: rgba(249, 115, 22, 0.3);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(249, 115, 22, 0.25);
}
.gamehub-preset-arcade .gamehub-hero-badge { background: rgba(249, 115, 22, 0.18); border-color: rgba(249, 115, 22, 0.4); color: #fb923c; }
.gamehub-preset-arcade .hero-watermark { color: rgba(249, 115, 22, 0.06); }

/* Preset 5: Vaporwave Lilac (Soft Violet Pastel) */
.gamehub-preset-colorpop .gamehub-hero.gamehub-hero-layout-a {
	background: radial-gradient(circle at 82% 42%, rgba(236, 72, 153, 0.25) 0%, transparent 60%), linear-gradient(135deg, #ede9fe 0%, #f5f3ff 100%);
	border-color: rgba(139, 92, 246, 0.25);
	box-shadow: 0 15px 40px rgba(139, 92, 246, 0.15);
}
.gamehub-preset-colorpop .gamehub-hero-title { color: #1e1b4b; text-shadow: none; }
.gamehub-preset-colorpop .gamehub-hero-desc { color: #5b21b6; }
.gamehub-preset-colorpop .hero-stat-item { background: #ffffff; border-color: rgba(139, 92, 246, 0.2); color: #1e1b4b; }
.gamehub-preset-colorpop .hero-watermark { color: rgba(139, 92, 246, 0.08); }
.gamehub-preset-colorpop .gamehub-hero-badge { background: rgba(139, 92, 246, 0.12); border-color: rgba(139, 92, 246, 0.3); color: #7c3aed; }

/* Preset 6: Mint Frost (Minimal Clean Teal) */
.gamehub-preset-glass .gamehub-hero.gamehub-hero-layout-a {
	background: radial-gradient(circle at 82% 42%, rgba(20, 184, 166, 0.25) 0%, transparent 60%), linear-gradient(135deg, #ccfbf1 0%, #f8fafc 100%);
	border-color: rgba(20, 184, 166, 0.2);
	box-shadow: 0 15px 40px rgba(20, 184, 166, 0.1);
}
.gamehub-preset-glass .gamehub-hero-title { color: #0f172a; text-shadow: none; }
.gamehub-preset-glass .gamehub-hero-desc { color: #475569; }
.gamehub-preset-glass .hero-stat-item { background: #ffffff; border-color: rgba(20, 184, 166, 0.2); color: #0f172a; }
.gamehub-preset-glass .hero-watermark { color: rgba(20, 184, 166, 0.08); }
.gamehub-preset-glass .gamehub-hero-badge { background: rgba(20, 184, 166, 0.12); border-color: rgba(20, 184, 166, 0.3); color: #0d9488; }

/* --- 7. RESPONSIVE OPTIMIZATIONS --- */
@media (max-width: 1100px) {
	.gamehub-hero-layout-a .gamehub-hero-inner {
		grid-template-columns: 1fr 320px;
		gap: 30px;
	}
	.gamehub-hero-container {
		padding: 36px 32px;
	}
	.wgh-grid-cols-4 {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

@media (max-width: 768px) {
	.gamehub-hero-layout-a .gamehub-hero-inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.gamehub-hero-showcase {
		display: none;
	}
	.gamehub-hero-container {
		padding: 28px 20px;
	}
	.gamehub-hero-title {
		font-size: 2rem;
	}
	.gamehub-footer-layout-d .hud-footer-bar {
		flex-direction: column;
		text-align: center;
		gap: 16px;
	}
	.gamehub-footer-layout-d .hud-footer-nav-row {
		justify-content: center;
		gap: 16px;
	}
	.wgh-grid-cols-4 {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}

@media (max-width: 480px) {
	.wgh-grid-cols-4 {
		grid-template-columns: 1fr;
	}
}



