/* ============================================================
   POKIVERSE - Main Stylesheet
   Mobile-first, responsive, SEO-friendly, AdSense-friendly
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --bg-primary: #f4f1e1;
  --bg-secondary: #eae6d5;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFF600;
  --bg-sidebar: #FFFFFF;
  --bg-nav: rgba(255, 255, 255, 0.98);
  --accent: #00BFFF;
  --accent-dark: #111111;
  --accent-glow: rgba(0, 191, 255, 0.25);
  --accent2: #FF0055;
  --text-primary: #111111;
  --text-secondary: #2B2B2B;
  --text-muted: #555555;
  --border: #111111;
  --border-accent: #00BFFF;
  --shadow: 4px 4px 0px #111111;
  --shadow-card: 4px 4px 0px #111111;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --sidebar-width: 220px;
  --header-h: 64px;
  --transition: all 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  --spark-transition: 0.25s;
  --spark: 1.8s;

  /* Explicit User Light Theme Palette */
  --c-yellow: #FFF600;
  --c-pink: #FF0055;
  --c-cyan: #00BFFF;
  --c-black: #111111;
  --c-white: #FFFFFF;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Nunito', 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ════════════════════════════════════════
   LAYOUT
   ════════════════════════════════════════ */

.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ── */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  padding-bottom: 20px;
}
.sidebar::-webkit-scrollbar { width: 3px; }

.sidebar-logo {
  padding: 0 20px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  text-decoration: none;
}
.sidebar-logo .logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.logo-p { color: var(--accent); }
.logo-oki { color: var(--text-primary); }
.logo-verse { color: var(--text-secondary); font-weight: 600; }

.sidebar-section {
  padding: 16px 12px 4px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
}

.sidebar-nav { padding: 4px 0; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  margin: 2px 8px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.sidebar-link:hover {
  background: rgba(76, 206, 133, 0.08);
  color: var(--text-primary);
}
.sidebar-link.active {
  background: linear-gradient(135deg, rgba(76, 206, 133, 0.15), rgba(124, 58, 237, 0.1));
  color: var(--accent);
  border-left: 3px solid var(--accent);
}
.sidebar-link .cat-emoji { font-size: 1.1rem; width: 24px; text-align: center; }
.sidebar-link .link-label { flex: 1; }
.sidebar-link .game-count {
  font-size: 0.65rem;
  background: var(--border);
  padding: 1px 6px;
  border-radius: 20px;
  color: var(--text-muted);
}
.sidebar-link.active .game-count {
  background: var(--accent-glow);
  color: var(--accent);
}

/* ── Main Content ── */
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ── Header ── */
.header {
  height: var(--header-h);
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
}

.menu-toggle {
  display: none;
  color: var(--text-primary);
  font-size: 1.3rem;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.search-bar {
  display: flex;
  align-items: center;
  background: #110e20;
  border: 1.5px solid var(--accent);
  height: 42px;
  border-radius: 30px;
  padding: 0 4px 0 18px;
  width: 100%;
  max-width: 420px;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 0 10px rgba(76, 206, 133, 0.1);
}
.search-bar:focus-within {
  box-shadow: 0 0 14px rgba(76, 206, 133, 0.25);
  background: #151229;
}
.search-bar input[type="search"] {
  order: 1;
  border: none;
  background: transparent;
  outline: none;
  padding: 0;
  color: var(--text-primary);
  font-size: 0.9rem;
  width: 100%;
  height: 100%;
  font-family: inherit;
}
.search-bar input[type="search"]::placeholder {
  color: var(--text-muted);
  font-weight: 500;
}
.search-bar .search-icon {
  order: 2;
  font-size: 1.05rem;
  background: var(--accent);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: var(--transition);
}
.search-bar .search-icon:hover {
  background: var(--accent-dark);
  transform: scale(1.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.btn-header {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-header:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-header-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}
.btn-header-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #000;
}

/* Load Games Button */
.btn-load-games {
  background: linear-gradient(135deg, #4cce85, #00b894);
  border-color: #4cce85;
  color: #0f0e17 !important;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-load-games:hover {
  background: linear-gradient(135deg, #3eb372, #00a37d);
  border-color: #3eb372;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(76,206,133,0.35);
  color: #0f0e17 !important;
}
.btn-load-games:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Refresh Button */
.btn-refresh {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-refresh:hover {
  border-color: var(--accent2);
  color: var(--accent2);
  transform: translateY(-1px);
}
.btn-refresh:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Search Results Dropdown */
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #18152c;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75);
  max-height: 400px;
  overflow-y: auto;
  z-index: 99999;
  display: none;
}
.search-results.show { display: block !important; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid var(--border);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--bg-card-hover); }
.search-result-thumb {
  width: 48px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.search-result-info { flex: 1; }
.search-result-title { font-size: 0.875rem; font-weight: 700; }
.search-result-cat { font-size: 0.7rem; color: var(--text-muted); text-transform: capitalize; }

/* ════════════════════════════════════════
   AD SLOTS
   ════════════════════════════════════════ */
.ad-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.7rem;
  text-align: center;
  overflow: hidden;
  min-height: 60px;
}
.ad-slot-728 { width: 100%; max-width: 728px; height: 90px; margin: 0 auto; }
.ad-slot-300 { width: 300px; min-height: 250px; }
.ad-slot-320 { width: 100%; height: 50px; }
.ad-slot-responsive { width: 100%; min-height: 90px; }
.ad-label { font-size: 0.6rem; color: var(--text-muted); margin-bottom: 4px; display: block; }

/* ════════════════════════════════════════
   PAGE CONTENT
   ════════════════════════════════════════ */
.page-wrapper {
  flex: 1;
  padding: 24px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* ── Hero Section ── */
.hero-section {
  background: linear-gradient(135deg, #160e35, #0f0e17, #0b1a13, #160e35);
  background-size: 300% 300%;
  animation: gradientBG 15s ease infinite;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 6s ease-in-out infinite;
}
.hero-glow-1 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: -100px;
  right: -80px;
  opacity: 0.15;
  animation-delay: 0s;
}
.hero-glow-2 {
  width: 200px;
  height: 200px;
  background: var(--accent2);
  bottom: -60px;
  right: 200px;
  opacity: 0.2;
  animation-delay: 2s;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

/* Floating Particles in Hero Background */
.hero-particle {
  position: absolute;
  pointer-events: none;
  opacity: 0.15;
  animation: floatParticle 15s linear infinite;
  color: var(--accent);
  font-family: sans-serif;
  font-weight: 800;
  user-select: none;
}
.hero-particle-1 { font-size: 1.4rem; top: 15%; left: 25%; animation-duration: 16s; animation-delay: -2s; color: var(--accent); }
.hero-particle-2 { font-size: 2.2rem; bottom: 20%; left: 45%; animation-duration: 22s; animation-delay: -5s; color: var(--accent2); }
.hero-particle-3 { font-size: 1.2rem; top: 60%; left: 10%; animation-duration: 18s; animation-delay: -10s; color: var(--accent); }
.hero-particle-4 { font-size: 1.8rem; top: 25%; left: 55%; animation-duration: 14s; animation-delay: -1s; color: var(--accent2); }
.hero-particle-5 { font-size: 1rem; bottom: 10%; left: 70%; animation-duration: 25s; animation-delay: -8s; color: var(--accent); }

@keyframes floatParticle {
  0% { transform: translateY(0) rotate(0deg) scale(0.8); opacity: 0; }
  20% { opacity: 0.15; }
  50% { transform: translateY(-40px) rotate(180deg) scale(1.1); opacity: 0.15; }
  80% { opacity: 0.15; }
  100% { transform: translateY(-80px) rotate(360deg) scale(0.8); opacity: 0; }
}

.hero-content { position: relative; z-index: 1; flex: 1; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 40px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  box-shadow: 0 0 10px var(--accent-glow);
}
.hero-title {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 12px;
}
.hero-title span { color: var(--accent); text-shadow: 0 0 15px var(--accent-glow); }
.hero-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 420px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary, .game-placeholder-btn, .btn-launch-direct {
	--cut: 0.1em;
	--active: 0;
	--bg:
		radial-gradient(
			40% 50% at center 100%,
			hsl(270 calc(var(--active) * 97%) 72% / var(--active)),
			transparent
		),
		radial-gradient(
			80% 100% at center 120%,
			hsl(260 calc(var(--active) * 97%) 70% / var(--active)),
			transparent
		),
		hsl(260 calc(var(--active) * 97%) calc((var(--active) * 44%) + 12%));
	background: var(--bg);
	font-weight: 800;
	border: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.25em;
	white-space: nowrap;
	border-radius: 100px;
	position: relative;
	box-shadow:
		0 0 calc(var(--active) * 6em) calc(var(--active) * 3em) hsl(260 97% 61% / 0.75),
		0 0.05em 0 0 hsl(260 calc(var(--active) * 97%) calc((var(--active) * 50%) + 30%)) inset,
		0 -0.05em 0 0 hsl(260 calc(var(--active) * 97%) calc(var(--active) * 60%)) inset;
	transition: box-shadow var(--spark-transition), scale var(--spark-transition), background var(--spark-transition);
	scale: calc(1 + (var(--active) * 0.1));
	font-family: inherit;
	overflow: visible !important;
}

.btn-primary {
	padding: 12px 24px;
	font-size: 0.875rem;
}

.game-placeholder-btn {
	padding: 12px 28px;
	font-size: 0.875rem;
}

.btn-launch-direct {
	padding: 8px 16px;
	font-size: 0.75rem;
	width: fit-content;
}

.btn-primary:active, .game-placeholder-btn:active, .btn-launch-direct:active {
  scale: 1;
}

/* Spark & Sparkle Effects */
.btn-primary:is(:hover, :focus-visible),
.game-placeholder-btn:is(:hover, :focus-visible),
.btn-launch-direct:is(:hover, :focus-visible) {
	--active: 1;
	--play-state: running;
}

.btn-primary::before, .game-placeholder-btn::before, .btn-launch-direct::before {
	content: "";
	position: absolute;
	inset: -0.25em;
	z-index: -1;
	border: 0.25em solid hsl(260 97% 50% / 0.5);
	border-radius: 100px;
	opacity: var(--active, 0);
	transition: opacity var(--spark-transition);
}

.spark {
	position: absolute;
	inset: 0;
	border-radius: 100px;
	rotate: 0deg;
	overflow: hidden;
	mask: linear-gradient(white, transparent 50%);
	-webkit-mask: linear-gradient(white, transparent 50%);
	animation: flip calc(var(--spark) * 2) infinite steps(2, end);
}

@keyframes flip {
	to {
		rotate: 360deg;
	}
}

.spark:before {
	content: "";
	position: absolute;
	width: 200%;
	aspect-ratio: 1;
	top: 0%;
	left: 50%;
	z-index: -1;
	translate: -50% -15%;
	rotate: 0;
	transform: rotate(-90deg);
	opacity: calc((var(--active)) + 0.4);
	background: conic-gradient(
		from 0deg,
		transparent 0 340deg,
		white 360deg
	);
	transition: opacity var(--spark-transition);
	animation: rotate var(--spark) linear infinite both;
}

.spark:after {
	content: "";
	position: absolute;
	inset: var(--cut);
	border-radius: 100px;
}

.backdrop {
	position: absolute;
	inset: var(--cut);
	background: var(--bg);
	border-radius: 100px;
	transition: background var(--spark-transition);
}

@keyframes rotate {
	to {
		transform: rotate(90deg);
	}
}

/* Sparkle Path Animations */
svg {
	overflow: visible !important;
}

.sparkle path {
	color: hsl(0 0% calc((var(--active, 0) * 70%) + var(--base)));
	transform-box: fill-box;
	transform-origin: center;
	fill: currentColor;
	stroke: currentColor;
	animation-delay: calc((var(--spark-transition) * 1.5) + (var(--delay) * 1s));
	animation-duration: 0.6s;
	transition: color var(--spark-transition);
}

.btn-primary:is(:hover, :focus-visible) path,
.game-placeholder-btn:is(:hover, :focus-visible) path,
.btn-launch-direct:is(:hover, :focus-visible) path {
	animation-name: bounce;
}

@keyframes bounce {
	35%, 65% {
		scale: var(--scale);
	}
}

.sparkle path:nth-of-type(1) {
	--scale: 0.5;
	--delay: 0.1;
	--base: 40%;
}

.sparkle path:nth-of-type(2) {
	--scale: 1.5;
	--delay: 0.2;
	--base: 20%;
}

.sparkle path:nth-of-type(3) {
	--scale: 2.5;
	--delay: 0.35;
	--base: 30%;
}

/* Particle Effects */
.particle-pen {
	position: absolute;
	width: 200%;
	aspect-ratio: 1;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	mask: radial-gradient(white, transparent 65%);
	-webkit-mask: radial-gradient(white, transparent 65%);
	z-index: -1;
	opacity: var(--active, 0);
	transition: opacity var(--spark-transition);
}

.particle {
	fill: white;
	width: calc(var(--size, 0.25) * 1rem);
	aspect-ratio: 1;
	position: absolute;
	top: calc(var(--y) * 1%);
	left: calc(var(--x) * 1%);
	opacity: var(--alpha, 1);
	animation: float-out calc(var(--duration, 1) * 1s) calc(var(--delay) * -1s) infinite linear;
	transform-origin: var(--origin-x, 1000%) var(--origin-y, 1000%);
	z-index: -1;
	animation-play-state: var(--play-state, paused);
}

.particle path {
	fill: hsl(0 0% 90%);
	stroke: none;
}

.particle:nth-of-type(even) {
	animation-direction: reverse;
}

@keyframes float-out {
	to {
		rotate: 360deg;
	}
}

.text {
	translate: 2% -6%;
	letter-spacing: 0.01ch;
	background: linear-gradient(90deg, hsl(0 0% calc((var(--active) * 100%) + 65%)), hsl(0 0% calc((var(--active) * 100%) + 26%)));
	-webkit-background-clip: text;
	color: transparent;
	transition: background var(--spark-transition);
	z-index: 1;
	position: relative;
}

.btn-primary svg.sparkle,
.game-placeholder-btn svg.sparkle,
.btn-launch-direct svg.sparkle {
	inline-size: 1.25em;
	translate: -25% -5%;
	z-index: 1;
	position: relative;
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 40px;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.hero-stats { display: flex; gap: 24px; margin-top: 20px; }
.hero-stat { text-align: left; }
.hero-stat-num {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 0 10px var(--accent-glow);
  animation: pulseStat 3s infinite ease-in-out;
}
.hero-stat:nth-child(2) .hero-stat-num { animation-delay: 1s; }
.hero-stat:nth-child(3) .hero-stat-num { animation-delay: 2s; }
@keyframes pulseStat {
  0%, 100% { opacity: 1; text-shadow: 0 0 8px var(--accent-glow); }
  50% { opacity: 0.8; text-shadow: 0 0 18px var(--accent-glow); }
}
.hero-stat-label { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; margin-top: 2px; }
.hero-visual { position: relative; z-index: 1; flex-shrink: 0; }
.hero-game-cards {
  display: grid;
  grid-template-columns: repeat(2, 100px);
  grid-template-rows: repeat(2, 75px);
  gap: 8px;
  transform: rotate(-5deg);
}
.hero-mini-card {
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.hero-mini-card:nth-child(1) { animation: cardFloat1 5.5s ease-in-out infinite; }
.hero-mini-card:nth-child(2) { animation: cardFloat2 4.8s ease-in-out infinite; }
.hero-mini-card:nth-child(3) { animation: cardFloat3 6s ease-in-out infinite; }
.hero-mini-card:nth-child(4) { animation: cardFloat4 5.2s ease-in-out infinite; }

@keyframes cardFloat1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes cardFloat2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes cardFloat3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes cardFloat4 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-mini-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.hero-mini-card:hover {
  transform: scale(1.15) rotate(2deg) translateY(-5px) !important;
  box-shadow: 0 12px 28px var(--accent-glow);
  z-index: 10;
  border-color: var(--accent);
}

/* ── Section Headers ── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 16px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
}
.section-title .section-emoji { font-size: 1.3rem; }
.section-badge {
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid var(--border-accent);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.see-all-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.see-all-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Category Pills ── */
.category-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 24px;
  scrollbar-width: none;
}
.category-pills::-webkit-scrollbar { display: none; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.pill:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}
.pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

/* ════════════════════════════════════════
   GAME CARDS
   ════════════════════════════════════════ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.games-grid-wide {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  background: var(--bg-card);
  border: 1px solid var(--border);
  will-change: transform;
  transform: translateZ(0);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.game-card:hover {
  transform: translateY(-4px) scale(1.02) translateZ(0);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(76, 206, 133, 0.2);
  z-index: 2;
}
.game-card:active {
  transform: translateY(-1px) scale(0.98) translateZ(0);
  transition: transform 0.08s ease;
}


.game-thumb {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  border-radius: var(--radius) !important;
}
.game-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.game-card:hover .game-thumb-img { transform: scale(1.08); }
.game-thumb-gradient {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: transform 0.3s ease;
}
.game-card:hover .game-thumb-gradient { transform: scale(1.1); }
.game-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-card:hover .game-thumb-overlay { opacity: 1; }
.play-btn-overlay {
  background: var(--accent);
  color: #000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transform: scale(0.8);
  transition: transform 0.25s;
  box-shadow: 0 0 20px var(--accent-glow);
}
.game-card:hover .play-btn-overlay { transform: scale(1); }

/* Badges */
.game-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-new { background: #00b894; color: #fff; }
.badge-hot { background: #ff4757; color: #fff; }
.badge-trending { background: #ff6348; color: #fff; }
.badge-featured { background: var(--accent2); color: #fff; }
.game-badge-image {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 24px;
  height: 24px;
  object-fit: contain;
  z-index: 2;
}

.game-info { display: none !important; }
.game-title {
  font-size: 0.825rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.game-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  color: var(--text-muted);
}
.game-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #ffd700;
  font-weight: 700;
}
.game-plays { color: var(--text-muted); }
.mobile-badge {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--accent);
  margin-left: auto;
  font-size: 0.65rem;
}

/* Featured Card (large) */
.game-card-featured {
  grid-column: span 1;
  grid-row: span 1;
}
.game-card-featured .game-thumb { padding-top: 100%; }
.game-card-featured .game-thumb-gradient { font-size: 2.5rem; }

/* ── Category Cards ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}
.category-card {
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background: inherit;
  transition: opacity 0.25s;
}
.category-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.2); }
.category-card:hover::before { opacity: 0.15; }
.category-card .cat-emoji { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.category-card .cat-name {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-primary);
  display: block;
}
.category-card .cat-count { font-size: 0.65rem; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* ── Horizontal Scroll ── */
.games-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.games-scroll::-webkit-scrollbar { display: none; }
.games-scroll .game-card { min-width: 160px; flex-shrink: 0; }

/* ── Ad Containers ── */
.ad-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0;
  width: 100%;
}
.ad-container-leaderboard {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin: 16px 0 24px;
}

/* ════════════════════════════════════════
   RECENTLY PLAYED
   ════════════════════════════════════════ */
.recently-played-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 28px;
}

/* ════════════════════════════════════════
   GAME PAGE
   ════════════════════════════════════════ */
.game-player-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
}
.game-player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.game-player-title {
  font-size: 1.4rem;
  font-weight: 900;
}
.game-player-actions { display: flex; gap: 8px; }
.action-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}
.action-btn:hover { border-color: var(--accent); color: var(--accent); }
.action-btn.liked { color: #ff4757; border-color: #ff4757; background: rgba(255,71,87,0.1); }
.btn-fullscreen-main {
  background: var(--accent) !important;
  color: #0f0e17 !important;
  border-color: var(--accent) !important;
  font-weight: 800;
  font-size: 1.15rem !important;
}
.btn-fullscreen-main:hover {
  background: #3eb372 !important;
  border-color: #3eb372 !important;
  color: #0f0e17 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 206, 133, 0.3);
}

.game-layout { display: flex; gap: 20px; align-items: flex-start; }
.game-main { flex: 1; min-width: 0; }
.game-sidebar-right { width: 300px; flex-shrink: 0; }

.game-frame-wrapper {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid var(--border);
  min-height: 400px;
}
.game-frame-wrapper iframe,
.game-frame-wrapper #rufflePlayerContainer,
.game-frame-wrapper .game-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.game-controls-container {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10000;
  align-items: center;
}

/* Base style for all game control buttons */
.fullscreen-btn,
.mute-btn-game,
.rotate-btn-game,
.trigger-btn {
  background: rgba(15, 14, 23, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin: 0;
  padding: 0;
  z-index: 10;
}

.fullscreen-btn:hover,
.mute-btn-game:hover,
.rotate-btn-game:hover,
.trigger-btn:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(76, 206, 133, 0.4);
  border-color: var(--accent);
}

/* Hide trigger button by default on desktop */
.trigger-btn {
  display: none !important;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .game-controls-container {
    top: 12px;
    right: 12px;
    flex-direction: column;
  }

  .trigger-btn {
    display: flex !important;
    background: rgba(15, 14, 23, 0.85);
    border-color: var(--accent);
    color: var(--accent);
    z-index: 10002;
  }
  
  .trigger-btn.active {
    background: var(--accent);
    color: #000;
    transform: rotate(90deg);
  }

  /* Expand/Collapse action buttons on mobile */
  .game-controls-container .rotate-btn-game,
  .game-controls-container .mute-btn-game,
  .game-controls-container .fullscreen-btn {
    opacity: 0;
    transform: scale(0.5) translateY(-20px);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
  }

  /* When expanded, reveal action buttons */
  .game-controls-container.expanded .rotate-btn-game {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
    transition-delay: 0.05s;
  }
  .game-controls-container.expanded .mute-btn-game {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
    transition-delay: 0.1s;
  }
  .game-controls-container.expanded .fullscreen-btn {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
    transition-delay: 0.15s;
  }
}

/* Rotated layout for mobile view simulation */
.game-frame-wrapper.rotated-mode {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vh !important;
  height: 100vw !important;
  z-index: 999999 !important;
  transform: rotate(90deg) translateY(-100%) !important;
  transform-origin: top left !important;
  border-radius: 0 !important;
  border: none !important;
}

.game-frame-wrapper.rotated-mode .game-controls-container {
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  flex-direction: column !important;
  transform: rotate(-90deg) !important;
  transform-origin: top left !important;
  z-index: 1000001 !important;
}



.game-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(135deg, #1a1828, #0f0e17);
}
.game-placeholder-emoji { font-size: 4rem; animation: float 3s ease-in-out infinite; }
.game-placeholder-text { font-size: 1.1rem; font-weight: 700; color: var(--text-secondary); }


.game-details-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 16px;
}
.game-details-title { font-size: 0.875rem; font-weight: 800; margin-bottom: 12px; color: var(--accent); }
.game-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.detail-item { font-size: 0.75rem; }
.detail-label { color: var(--text-muted); display: block; margin-bottom: 2px; }
.detail-value { color: var(--text-primary); font-weight: 700; }

.game-description-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 12px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.rating-widget { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.stars { color: #ffd700; font-size: 1.1rem; }
.rating-number { font-size: 1.5rem; font-weight: 900; color: var(--text-primary); }
.rating-count { font-size: 0.75rem; color: var(--text-muted); }

.tags-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag-chip {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}
.tag-chip:hover { border-color: var(--accent); color: var(--accent); }

/* ════════════════════════════════════════
   CATEGORY PAGE
   ════════════════════════════════════════ */
.category-page-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.category-page-emoji { font-size: 3rem; }
.category-page-title { font-size: 1.6rem; font-weight: 900; }
.category-page-count { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

.sort-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.sort-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; white-space: nowrap; }
.sort-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.sort-btn.active, .sort-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

/* ── Pagination ── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 32px 0 16px;
  flex-wrap: wrap;
}
.page-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-btn.active { background: var(--accent); border-color: var(--accent); color: #000; }
.page-btn:hover:not(.active) { border-color: var(--accent); color: var(--accent); }
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.footer {
  background: var(--bg-sidebar);
  border-top: 1px solid var(--border);
  padding: 40px 24px 24px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  margin-bottom: 32px;
}
.footer-brand .logo-text { font-size: 1.5rem; font-weight: 900; margin-bottom: 12px; display: block; }
.footer-desc { font-size: 0.825rem; color: var(--text-secondary); line-height: 1.7; max-width: 280px; }
.footer-col-title { font-size: 0.8rem; font-weight: 800; color: var(--text-primary); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 0.825rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1400px;
  margin: 0 auto;
}
.footer-copyright { font-size: 0.8rem; color: var(--text-muted); }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 20px;
  font-weight: 600;
}

/* ── Sidebar Overlay ── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 95;
  backdrop-filter: blur(2px);
}

/* ── Toast Notifications ── */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: slideInRight 0.3s ease;
  max-width: 280px;
}
.toast-success { border-color: var(--accent); }
.toast-icon { font-size: 1rem; }
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ── Loading Spinner ── */
.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Empty State ── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state-emoji { font-size: 3rem; margin-bottom: 16px; }
.empty-state-title { font-size: 1.1rem; font-weight: 800; color: var(--text-secondary); margin-bottom: 8px; }
.empty-state-text { font-size: 0.875rem; line-height: 1.6; }

/* ════════════════════════════════════════
   RESPONSIVE - TABLET
   ════════════════════════════════════════ */
@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .menu-toggle { display: flex; }
  .sidebar-overlay.show { display: block; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }
  .game-sidebar-right { width: 260px; }
}

/* ════════════════════════════════════════
   RESPONSIVE - MOBILE
   ════════════════════════════════════════ */
@media (max-width: 768px) {
  .page-wrapper { padding: 16px; }
  .hero-section { padding: 24px 20px; min-height: 180px; }
  .hero-title { font-size: 1.4rem; }
  .hero-stats { gap: 16px; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
  .category-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
  .games-scroll .game-card { min-width: 140px; }
  .game-card-featured { grid-column: span 1; grid-row: span 1; }
  .game-layout { flex-direction: column; }
  .game-sidebar-right { width: 100%; }
  .game-frame-wrapper { aspect-ratio: 4/3; min-height: 280px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .header { padding: 0 12px; gap: 10px; }
  .btn-header span { display: none; }
  .search-bar { max-width: none; }
  .ad-slot-728 { height: 50px; }
  /* Keep Load Game button visible & compact on mobile */
  .header-actions { gap: 6px; margin-left: 8px; flex-shrink: 0; }
  .btn-load-games { padding: 7px 12px !important; font-size: 0.75rem !important; white-space: nowrap; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .game-player-container { padding: 12px 16px; }
  .game-player-header { flex-direction: column; align-items: flex-start; }
}

/* ── Utility classes ── */
.mb-32 { margin-bottom: 32px; }
.mb-24 { margin-bottom: 24px; }
.mb-16 { margin-bottom: 16px; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 800; }
.section-divider { height: 1px; background: var(--border); margin: 32px 0; }

/* ── Scroll to top ── */
.scroll-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 16px var(--accent-glow);
  font-size: 1rem;
  border: none;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); }

/* ── Warning & Protocol Banners ── */
.security-banner {
  background: linear-gradient(135deg, #e84393, #ff7675);
  color: #fff;
  padding: 10px 20px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.25);
}
.security-banner a {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
}
.security-banner a:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}

.localhost-warning {
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-top: 12px;
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.localhost-warning-title {
  font-weight: 800;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Mobile logo header */
.logo-header-mobile {
  display: none;
}
@media (max-width: 1024px) {
  .logo-header-mobile {
    display: flex;
    align-items: center;
    margin-left: 5px;
  }
}

/* ── GAMEPLAY TIMER CLOCK WIDGET (Admin Panel Configured Interval) ── */
.gameplay-timer-widget {
  position: absolute;
  top: 14px;
  right: 60px;
  width: 54px;
  height: 54px;
  z-index: 9999;
  background: rgba(15, 14, 23, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  border: 1.5px solid rgba(251, 178, 22, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 12px rgba(251, 178, 22, 0.25);
  user-select: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.gameplay-timer-widget:hover {
  transform: scale(1.06);
}
.gameplay-timer-widget.timer-ready {
  cursor: pointer;
  border-color: #4cce85;
  box-shadow: 0 0 20px rgba(76, 206, 133, 0.6);
  animation: webTimerPulse 1.2s infinite alternate;
}
@keyframes webTimerPulse {
  from { transform: scale(1); box-shadow: 0 0 10px rgba(76, 206, 133, 0.4); }
  to { transform: scale(1.1); box-shadow: 0 0 25px rgba(76, 206, 133, 0.85); }
}
.timer-ring-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timer-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 3.2;
}
.circle-progress {
  fill: none;
  stroke: #fbb216;
  stroke-width: 3.2;
  stroke-linecap: round;
  transition: stroke-dasharray 0.3s ease;
}
.gameplay-timer-widget.timer-ready .circle-progress {
  stroke: #4cce85;
}
.timer-clock-text {
  font-size: 0.68rem;
  font-weight: 800;
  color: #ffffff;
  z-index: 2;
  letter-spacing: 0.2px;
  font-family: inherit;
}

/* ════════════════════════════════════════
   APP PROMO BANNER WIDGETS (Right Sidebar & Floating)
   ════════════════════════════════════════ */
.app-sidebar-promo {
  margin: 16px 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, #161427, #221f3a);
  border: 1px solid rgba(76, 206, 133, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 15px rgba(76, 206, 133, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.app-sidebar-promo:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 22px rgba(76, 206, 133, 0.3);
  border-color: var(--accent);
}
.app-promo-banner-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.app-promo-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: #0d0b18;
  overflow: hidden;
}
.app-promo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.app-sidebar-promo:hover .app-promo-img {
  transform: scale(1.03);
}
.app-promo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(13, 11, 24, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(76, 206, 133, 0.5);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.app-promo-overlay-btn {
  padding: 10px 14px;
  background: linear-gradient(135deg, #4cce85, #2ecc71);
  color: #0d0f18;
  font-weight: 900;
  font-size: 0.82rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.3px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  transition: filter 0.2s ease;
}
.app-sidebar-promo:hover .app-promo-overlay-btn {
  filter: brightness(1.1);
}

/* ── Global Floating Right-Side App Widget ── */
.floating-right-app-promo {
  position: fixed;
  right: 18px;
  bottom: 82px;
  z-index: 995;
  width: 250px;
  background: linear-gradient(145deg, #18152b, #262242);
  border: 1px solid rgba(76, 206, 133, 0.4);
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 20px rgba(76, 206, 133, 0.2);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  animation: appPromoSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes appPromoSlideIn {
  from { transform: translateX(110%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.floating-right-app-promo.minimized {
  width: auto;
  background: transparent;
  border: none;
  box-shadow: none;
}
.floating-right-app-promo.minimized .floating-promo-full {
  display: none;
}
.floating-right-app-promo.minimized .floating-promo-pill {
  display: flex;
}
.floating-promo-pill {
  display: none;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1e1b34, #2a264a);
  border: 1.5px solid var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5), 0 0 14px rgba(76,206,133,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-promo-pill:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(76,206,133,0.4);
}
.floating-promo-full {
  display: block;
  position: relative;
}
.floating-promo-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, transform 0.15s ease;
}
.floating-promo-close:hover {
  background: rgba(255, 71, 87, 0.9);
  transform: scale(1.1);
}
.floating-promo-thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.floating-promo-content {
  padding: 10px 12px;
}
.floating-promo-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}
.floating-promo-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 2px;
  margin-bottom: 8px;
}
.floating-promo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #4cce85, #2ecc71);
  color: #0d0f18;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 7px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: filter 0.2s ease;
}
.floating-promo-btn:hover {
  filter: brightness(1.1);
}

/* ── Mobile Responsive Optimizations ── */
@media (max-width: 768px) {
  .floating-right-app-promo {
    right: 12px;
    bottom: 74px;
    width: 220px;
  }
  .floating-promo-thumb {
    height: 115px;
  }
}
@media (max-width: 480px) {
  .floating-right-app-promo {
    right: 10px;
    bottom: 70px;
    width: auto;
  }
  .floating-right-app-promo:not(.minimized) {
    max-width: 210px;
  }
}

/* ── POST-SPLASH PLAYSTORE PROMO SCREEN / DIALOG ── */
.game-promo-overlay {
  position: absolute;
  inset: 0;
  z-index: 10005;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: radial-gradient(circle at 50% 25%, #181230 0%, #0d091a 65%, #05030a 100%);
  padding: 12px 16px 14px;
  box-sizing: border-box;
  border-radius: inherit;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  user-select: none;
}
.game-promo-overlay.active {
  opacity: 1;
  visibility: visible;
}
.game-promo-overlay.closing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.promo-top-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 2;
  flex-shrink: 0;
}
.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f1f5f9;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.promo-badge-pulse {
  width: 8px;
  height: 8px;
  background: #4cce85;
  border-radius: 50%;
  box-shadow: 0 0 10px #4cce85;
  animation: promoPulse 1.5s infinite ease-in-out;
}
@keyframes promoPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #4cce85; }
}
.promo-skip-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(26, 20, 48, 0.85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  font-family: inherit;
}
.promo-skip-btn:hover {
  background: rgba(76, 206, 133, 0.2);
  border-color: #4cce85;
  color: #4cce85;
  transform: translateY(-1px);
}
.promo-skip-btn .countdown-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 5px;
  background: rgba(76, 206, 133, 0.25);
  border: 1px solid rgba(76, 206, 133, 0.45);
  color: #4cce85;
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 900;
}
.promo-skip-icon {
  font-size: 0.85rem;
  opacity: 0.8;
}
.promo-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 3;
}
.promo-progress-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #4cce85, #3b82f6, #ec4899);
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(76,206,133,0.8);
}
.promo-main-link {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  margin: 6px 0;
  min-height: 0;
}
.promo-banner-container {
  position: relative;
  max-height: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo-banner-img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 24px rgba(99, 102, 241, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.promo-main-link:hover .promo-banner-img {
  transform: scale(1.02);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.85), 0 0 35px rgba(76, 206, 133, 0.45);
  border-color: rgba(76, 206, 133, 0.5);
}
.promo-bottom-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 2;
  flex-shrink: 0;
}
.promo-info-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.promo-info-text strong {
  color: #fff;
}
.promo-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(135deg, #00C853 0%, #009624 100%);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 4px 15px rgba(0, 200, 83, 0.4);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.promo-download-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 22px rgba(0, 200, 83, 0.6);
  color: #fff !important;
}
@media (max-width: 640px) {
  .game-promo-overlay {
    padding: 8px 10px 10px;
  }
  .promo-info-text {
    display: none;
  }
  .promo-bottom-bar {
    justify-content: center;
  }
  .promo-download-btn {
    width: 100%;
    justify-content: center;
    padding: 8px 16px;
    font-size: 0.8rem;
  }
  .promo-badge {
    font-size: 0.72rem;
    padding: 4px 10px;
  }
  .promo-skip-btn {
    font-size: 0.76rem;
    padding: 5px 12px;
  }
}

/* ── SOCIAL FOLLOW BUTTONS & COMMUNITY CARD ── */
.social-action-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.social-action-btn.fb {
  color: #1877F2 !important;
}
.social-action-btn.fb:hover {
  background: rgba(24, 119, 242, 0.2) !important;
  border-color: #1877F2 !important;
  transform: translateY(-2px);
}
.social-action-btn.ig {
  color: #e1306c !important;
}
.social-action-btn.ig:hover {
  background: rgba(225, 48, 108, 0.2) !important;
  border-color: #e1306c !important;
  transform: translateY(-2px);
}
.community-follow-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.community-follow-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.community-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4cce85;
  box-shadow: 0 0 8px #4cce85;
}
.community-buttons-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.social-btn-follow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none;
  transition: all 0.2s ease;
}
.social-btn-follow.fb-follow {
  background: linear-gradient(135deg, #1877F2, #145dbf);
  box-shadow: 0 3px 10px rgba(24, 119, 242, 0.3);
}
.social-btn-follow.fb-follow:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(24, 119, 242, 0.5);
}
.social-btn-follow.ig-follow {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 3px 10px rgba(220, 39, 67, 0.35);
}
.social-btn-follow.ig-follow:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(220, 39, 67, 0.55);
}
.footer-social-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.footer-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  text-decoration: none;
  transition: transform 0.2s;
}
.footer-social-icon.fb {
  background: #1877F2;
}
.footer-social-icon.ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.footer-social-icon:hover {
  transform: scale(1.1);
}





    /* ── STYLISH COMMUNITY SOCIAL CARDS ── */
    .social-community-widget {
      background: linear-gradient(160deg, #181528 0%, #120f20 100%);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 14px;
      padding: 14px;
      margin: 16px 0;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
      position: relative;
      overflow: hidden;
    }
    .social-community-widget::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -50%;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
      pointer-events: none;
    }
    .social-widget-title {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.88rem;
      font-weight: 800;
      color: #fff;
      letter-spacing: 0.3px;
    }
    .social-live-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #4cce85;
      box-shadow: 0 0 10px #4cce85;
      animation: promoPulse 1.8s infinite ease-in-out;
    }
    .social-widget-sub {
      font-size: 0.73rem;
      color: rgba(255, 255, 255, 0.55);
      margin: 4px 0 12px;
      line-height: 1.4;
    }
    .social-card-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 12px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.07);
      text-decoration: none;
      color: #fff !important;
      margin-bottom: 8px;
      transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
    }
    .social-card-item:last-child {
      margin-bottom: 0;
    }
    .social-card-item:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    }
    .social-card-item.facebook-card:hover {
      background: rgba(24, 119, 242, 0.14) !important;
      border-color: rgba(24, 119, 242, 0.5) !important;
    }
    .social-card-item.instagram-card:hover {
      background: rgba(225, 48, 108, 0.14) !important;
      border-color: rgba(225, 48, 108, 0.5) !important;
    }
    .social-card-icon {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: transform 0.25s ease;
    }
    .social-card-item:hover .social-card-icon {
      transform: scale(1.08);
    }
    .fb-icon-box {
      background: linear-gradient(135deg, #1877F2, #0d5ec4);
      box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35);
    }
    .ig-icon-box {
      background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
      box-shadow: 0 4px 14px rgba(220, 39, 67, 0.35);
    }
    .social-card-info {
      flex: 1;
      min-width: 0;
    }
    .social-card-name {
      font-size: 0.86rem;
      font-weight: 800;
      color: #fff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .social-card-desc {
      font-size: 0.7rem;
      color: rgba(255, 255, 255, 0.5);
      margin-top: 1px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .social-card-action {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 5px 12px;
      border-radius: 999px;
      font-size: 0.72rem;
      font-weight: 800;
      flex-shrink: 0;
      transition: all 0.2s ease;
    }
    .fb-badge {
      background: rgba(24, 119, 242, 0.18);
      border: 1px solid rgba(24, 119, 242, 0.35);
      color: #70b4ff;
    }
    .social-card-item.facebook-card:hover .fb-badge {
      background: #1877F2 !important;
      color: #fff !important;
      border-color: #1877F2 !important;
    }
    .ig-badge {
      background: rgba(225, 48, 108, 0.18);
      border: 1px solid rgba(225, 48, 108, 0.35);
      color: #ff85a8;
    }
    .social-card-item.instagram-card:hover .ig-badge {
      background: linear-gradient(45deg, #f09433, #dc2743, #bc1888) !important;
      color: #fff !important;
      border-color: transparent !important;
    }
    .social-arrow {
      font-size: 0.8rem;
      transition: transform 0.2s ease;
    }
    .social-card-item:hover .social-arrow {
      transform: translateX(2px);
    }




/* ============================================================
   NEO-BRUTALISM & GAMIFIED ARCADE DESIGN SYSTEM (LIGHT THEME)
   Palette: Yellow #FFF600, Pink #FF0055, Cyan #00BFFF, Black #111111, White #FFFFFF
   ============================================================ */

/* ── Global Neo-Brutalist Dot Grid Pattern Foundation ── */
body, .app-layout, .main-content, .page-wrapper {
  background-color: #f4f1e1 !important;
  background-image: radial-gradient(#111111 1.2px, transparent 1.2px) !important;
  background-size: 14px 14px !important;
  color: #111111 !important;
}

/* ── Custom Vector Icon (.ui-icon) ── */
.ui-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: currentColor;
  line-height: 1;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}
button:hover .ui-icon,
.action-btn:hover .ui-icon,
.game-card:hover .ui-icon,
.sidebar-link:hover .ui-icon {
  transform: scale(1.12);
}

/* ── Neo-Brutalist Sidebar ── */
.sidebar {
  background: #FFFFFF !important;
  border-right: 2.5px solid #111111 !important;
  color: #111111 !important;
}
.sidebar-section {
  color: #111111 !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.72rem !important;
  padding: 12px 16px 4px !important;
}
.sidebar-link {
  color: #111111 !important;
  background: transparent !important;
  border: 2px solid transparent !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 9px 14px !important;
  transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease !important;
}
.sidebar-link:hover {
  background: #FFF600 !important;
  color: #111111 !important;
  border-color: #111111 !important;
  box-shadow: 3px 3px 0px #111111 !important;
  transform: translate(-2px, 0) !important;
}
.sidebar-link.active {
  background: #00BFFF !important;
  color: #111111 !important;
  border: 2px solid #111111 !important;
  box-shadow: 3px 3px 0px #111111 !important;
  font-weight: 900 !important;
}
.sidebar-link .game-count {
  background: #111111 !important;
  color: #FFF600 !important;
  font-weight: 900 !important;
  border-radius: 6px !important;
  padding: 1px 6px !important;
}
.sidebar-link.active .game-count {
  background: #111111 !important;
  color: #FFFFFF !important;
}

/* ── Neo-Brutalist Header & Search Bar ── */
.header {
  background: #FFFFFF !important;
  border-bottom: 2.5px solid #111111 !important;
}
.search-bar {
  background: #FFFFFF !important;
  border: 2.5px solid #111111 !important;
  box-shadow: 4px 4px 0px #00BFFF !important;
  border-radius: 12px !important;
  height: 44px !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease !important;
}
.search-bar:focus-within {
  transform: translate(-1px, -1px);
  border-color: #111111 !important;
  box-shadow: 6px 6px 0px #FFF600 !important;
}
.search-bar input {
  color: #111111 !important;
  font-weight: 700 !important;
}
.search-bar input::placeholder {
  color: #666666 !important;
}
.search-bar .search-icon {
  color: #111111 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arcade-header-search .search-results {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #FFFFFF !important;
  border: 2.5px solid #111111 !important;
  box-shadow: 5px 5px 0px #111111 !important;
  border-radius: 12px !important;
  color: #111111 !important;
  max-height: 420px;
  overflow-y: auto;
  z-index: 999999;
  display: none;
}
.arcade-header-search .search-results.show {
  display: block !important;
}
.search-result-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 12px !important;
  color: #111111 !important;
  border-bottom: 1.5px solid #F0F0F0 !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.1s ease, border-left 0.1s ease;
}
.search-result-item:hover,
.search-result-item.active {
  background: #FFF600 !important;
  border-left: 5px solid #FF0055 !important;
}
.search-result-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid #111111;
  flex-shrink: 0;
  background: #18181B;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.search-result-info {
  flex: 1;
  min-width: 0;
}
.search-result-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #111111 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.search-result-cat {
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.search-cat-badge {
  background: #111111;
  color: #FFF600;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  text-transform: uppercase;
}
.search-rating-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #D97706;
}
.search-highlight {
  background: #FFF600;
  color: #FF0055;
  font-weight: 900;
  padding: 0 1px;
}
.search-result-item:hover .search-highlight,
.search-result-item.active .search-highlight {
  background: #FF0055;
  color: #FFFFFF;
}
.search-play-arrow {
  color: #111111;
  font-size: 0.75rem;
  margin-left: auto;
  transition: transform 0.1s;
}
.search-result-item:hover .search-play-arrow,
.search-result-item.active .search-play-arrow {
  transform: translateX(3px);
  color: #FF0055;
}
.search-empty-state {
  padding: 16px 14px;
  text-align: center;
  color: #111111;
}
.search-empty-msg {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.search-empty-cta {
  display: inline-block;
  background: #FF0055;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  border: 1.5px solid #111111;
  box-shadow: 2px 2px 0px #111111;
}
.search-dropdown-footer {
  padding: 8px 12px;
  background: #FAFAFA;
  border-top: 1.5px solid #111111;
  text-align: center;
  border-radius: 0 0 10px 10px;
}
.search-see-all-link {
  font-size: 0.8rem;
  font-weight: 800;
  color: #111111;
  text-decoration: none;
}
.search-see-all-link:hover {
  color: #FF0055;
  text-decoration: underline;
}

/* ── Header Buttons ── */
.btn-header {
  background: #FFFFFF !important;
  border: 2px solid #111111 !important;
  box-shadow: 3px 3px 0px #111111 !important;
  border-radius: 10px !important;
  font-weight: 800 !important;
  color: #111111 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease !important;
}
.btn-header:hover {
  background: #FFF600 !important;
  color: #111111 !important;
  transform: translate(-2px, -2px) !important;
  box-shadow: 5px 5px 0px #111111 !important;
}
.btn-header:active {
  transform: translate(2px, 2px) !important;
  box-shadow: 1px 1px 0px #111111 !important;
}

.btn-load-games {
  background: #00BFFF !important;
  color: #111111 !important;
}
.btn-load-games:hover {
  background: #FF0055 !important;
  color: #FFFFFF !important;
}

.menu-toggle {
  background: #FFFFFF !important;
  border: 2px solid #111111 !important;
  box-shadow: 3px 3px 0px #111111 !important;
  border-radius: 10px !important;
  color: #111111 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease !important;
}
.menu-toggle:hover {
  background: #FFF600 !important;
  color: #111111 !important;
  transform: translate(-2px, -2px) !important;
  box-shadow: 5px 5px 0px #111111 !important;
}
.menu-toggle:active {
  transform: translate(2px, 2px) !important;
  box-shadow: 1px 1px 0px #111111 !important;
}

/* ── Hero Section (Light Neo-Brutalism) ── */
.hero-section {
  background: linear-gradient(135deg, rgba(255, 246, 0, 0.15) 0%, rgba(0, 191, 255, 0.12) 50%, rgba(255, 0, 85, 0.08) 100%), #FFFFFF !important;
  border: 2.5px solid #111111 !important;
  box-shadow: 6px 6px 0px #111111 !important;
  border-radius: 16px !important;
}
.hero-tag {
  background: #FFF600 !important;
  color: #111111 !important;
  border: 2px solid #111111 !important;
  box-shadow: 3px 3px 0px #111111 !important;
  border-radius: 8px !important;
  font-weight: 900 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-title {
  color: #111111 !important;
  font-weight: 900 !important;
}
.hero-title span {
  color: #FF0055 !important;
  background: #FFF600;
  padding: 0 6px;
  border: 2px solid #111111;
  box-shadow: 2px 2px 0px #111111;
  border-radius: 6px;
}
.hero-desc {
  color: #2B2B2B !important;
  font-weight: 600 !important;
}
.hero-actions .btn-primary {
  background: #FF0055 !important;
  color: #FFFFFF !important;
  border: 2.5px solid #111111 !important;
  box-shadow: 4px 4px 0px #111111 !important;
  border-radius: 12px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease !important;
}
.hero-actions .btn-primary:hover {
  background: #FFF600 !important;
  color: #111111 !important;
  transform: translate(-3px, -3px) !important;
  box-shadow: 7px 7px 0px #111111 !important;
}
.hero-actions .btn-primary:active {
  transform: translate(2px, 2px) !important;
  box-shadow: 1px 1px 0px #111111 !important;
}

.hero-actions .btn-secondary {
  background: #00BFFF !important;
  color: #111111 !important;
  border: 2.5px solid #111111 !important;
  box-shadow: 4px 4px 0px #111111 !important;
  border-radius: 12px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease !important;
}
.hero-actions .btn-secondary:hover {
  background: #FFF600 !important;
  color: #111111 !important;
  transform: translate(-3px, -3px) !important;
  box-shadow: 7px 7px 0px #111111 !important;
}
.hero-actions .btn-secondary:active {
  transform: translate(2px, 2px) !important;
  box-shadow: 1px 1px 0px #111111 !important;
}

.hero-stat {
  background: #FFFFFF !important;
  border: 2px solid #111111 !important;
  box-shadow: 3px 3px 0px #111111 !important;
  border-radius: 10px !important;
}
.hero-stat-num {
  color: #FF0055 !important;
  font-weight: 900 !important;
}
.hero-stat-label {
  color: #111111 !important;
  font-weight: 700 !important;
}

.hero-mini-card {
  border: 2.5px solid #111111 !important;
  box-shadow: 4px 4px 0px #111111 !important;
  border-radius: 14px !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.hero-mini-card:hover {
  transform: translate(-3px, -3px) rotate(2deg) !important;
  box-shadow: 6px 6px 0px #FF0055 !important;
}

/* ── Neo-Brutalist Game Cards (White + Bold Inks) ── */
.game-card {
  position: relative;
  border-radius: 12px !important;
  overflow: hidden;
  cursor: pointer;
  background: #FFFFFF !important;
  border: 2.5px solid #111111 !important;
  box-shadow: 4px 4px 0px #111111 !important;
  transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.15s ease !important;
}
.game-card:hover {
  transform: translate(-3px, -3px) !important;
  border-color: #111111 !important;
  box-shadow: 7px 7px 0px #00BFFF !important;
}
.game-card:active {
  transform: translate(2px, 2px) !important;
  box-shadow: 1px 1px 0px #111111 !important;
}

.game-card .game-thumb {
  border-bottom: 2px solid #111111 !important;
  background: #F6F7FA;
  overflow: hidden;
}

.game-title {
  color: #111111 !important;
  font-weight: 800 !important;
}
.game-plays {
  color: #555555 !important;
  font-weight: 600 !important;
}

.game-card .play-btn-overlay {
  width: 52px;
  height: 52px;
  background: #FFF600 !important;
  color: #111111 !important;
  border: 2.5px solid #111111 !important;
  box-shadow: 4px 4px 0px #111111 !important;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.85);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}
.game-card:hover .play-btn-overlay {
  transform: scale(1.1) rotate(5deg) !important;
  background: #FF0055 !important;
  color: #FFFFFF !important;
}

/* ── Gamified Badges ── */
.game-badge {
  text-transform: uppercase;
  font-weight: 900 !important;
  letter-spacing: 0.6px;
  border-radius: 6px !important;
  padding: 3px 8px !important;
  font-size: 0.68rem !important;
  border: 1.5px solid #111111 !important;
  box-shadow: 2px 2px 0px #111111 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}
.badge-hot {
  background: #FF0055 !important;
  color: #FFFFFF !important;
}
.badge-new {
  background: #00BFFF !important;
  color: #111111 !important;
}
.badge-featured {
  background: #FFF600 !important;
  color: #111111 !important;
}
.mobile-badge {
  background: #FFF600 !important;
  color: #111111 !important;
  border: 1.5px solid #111111 !important;
  box-shadow: 1.5px 1.5px 0px #111111 !important;
  border-radius: 6px !important;
  padding: 2px 5px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.game-rating {
  background: #FFF600 !important;
  color: #111111 !important;
  font-weight: 900 !important;
  border: 1.5px solid #111111 !important;
  box-shadow: 1.5px 1.5px 0px #111111 !important;
  border-radius: 6px !important;
  padding: 2px 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

/* ── Category Cards & Pills ── */
.category-card {
  border-radius: 12px !important;
  border: 2.5px solid #111111 !important;
  box-shadow: 4px 4px 0px #111111 !important;
  background: #FFFFFF !important;
  color: #111111 !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease !important;
}
.category-card:hover {
  transform: translate(-2px, -2px) !important;
  background: #FFF600 !important;
  box-shadow: 6px 6px 0px #111111 !important;
}
.category-card:active {
  transform: translate(2px, 2px) !important;
  box-shadow: 1px 1px 0px #111111 !important;
}
.category-card .cat-name {
  color: #111111 !important;
  font-weight: 800 !important;
}
.category-card .cat-count {
  color: #444444 !important;
  font-weight: 600 !important;
}
.category-card .cat-emoji {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 8px;
  color: #111111 !important;
}

/* ── Section Titles & Badges ── */
.section-title {
  color: #111111 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.section-badge {
  background: #FF0055 !important;
  color: #FFFFFF !important;
  border: 1.5px solid #111111 !important;
  box-shadow: 2px 2px 0px #111111 !important;
  border-radius: 6px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  font-size: 0.65rem !important;
  padding: 2px 8px !important;
}

.see-all-btn {
  background: #FFFFFF !important;
  border: 2px solid #111111 !important;
  box-shadow: 3px 3px 0px #111111 !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  color: #111111 !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease !important;
}
.see-all-btn:hover {
  background: #00BFFF !important;
  color: #111111 !important;
  transform: translate(-2px, -2px) !important;
  box-shadow: 5px 5px 0px #111111 !important;
}
.see-all-btn:active {
  transform: translate(2px, 2px) !important;
  box-shadow: 1px 1px 0px #111111 !important;
}

/* ── Sort & Filter Controls ── */
.sort-btn {
  background: #FFFFFF !important;
  border: 2px solid #111111 !important;
  box-shadow: 3px 3px 0px #111111 !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  color: #111111 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease !important;
}
.sort-btn:hover {
  background: #00BFFF !important;
  color: #111111 !important;
  transform: translate(-2px, -2px) !important;
  box-shadow: 5px 5px 0px #111111 !important;
}
.sort-btn.active {
  background: #FFF600 !important;
  color: #111111 !important;
  border-color: #111111 !important;
  box-shadow: 3px 3px 0px #111111 !important;
}
.sort-btn:active {
  transform: translate(2px, 2px) !important;
  box-shadow: 1px 1px 0px #111111 !important;
}

.category-page-header {
  border: 2.5px solid #111111 !important;
  box-shadow: 5px 5px 0px #111111 !important;
  border-radius: 14px !important;
  color: #111111 !important;
}
.category-page-title {
  color: #111111 !important;
  font-weight: 900 !important;
}
.category-page-count {
  color: #444444 !important;
  font-weight: 600 !important;
}

/* ── Player Page Neo-Brutalism (Light Theme) ── */
.game-player-container {
  background: transparent !important;
  color: #111111 !important;
}
.game-player-title {
  color: #111111 !important;
  font-weight: 900 !important;
}
.game-frame-wrapper {
  background: #FFFFFF !important;
  border: 2.5px solid #111111 !important;
  box-shadow: 6px 6px 0px #111111 !important;
  border-radius: 14px !important;
}
.action-btn {
  background: #FFFFFF !important;
  border: 2px solid #111111 !important;
  box-shadow: 3px 3px 0px #111111 !important;
  border-radius: 10px !important;
  color: #111111 !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease !important;
}
.action-btn:hover {
  background: #00BFFF !important;
  color: #111111 !important;
  transform: translate(-2px, -2px) !important;
  box-shadow: 5px 5px 0px #111111 !important;
}
.action-btn:active {
  transform: translate(2px, 2px) !important;
  box-shadow: 1px 1px 0px #111111 !important;
}

/* ── Game Info Tabs ── */
.game-info-tabs {
  background: #FFFFFF !important;
  border: 2.5px solid #111111 !important;
  border-bottom: none !important;
  border-radius: 12px 12px 0 0 !important;
  padding: 6px 12px !important;
}
.tab-btn {
  background: transparent !important;
  border: 2px solid transparent !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  color: #333333 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: transform 0.12s ease, background 0.12s ease !important;
}
.tab-btn:hover {
  color: #111111 !important;
  background: #F6F7FA !important;
}
.tab-btn.active {
  background: #FFF600 !important;
  color: #111111 !important;
  border: 2px solid #111111 !important;
  box-shadow: 3px 3px 0px #111111 !important;
}

.game-tab-panel-box {
  background: #FFFFFF !important;
  border: 2.5px solid #111111 !important;
  box-shadow: 4px 4px 0px #111111 !important;
  border-radius: 0 0 12px 12px !important;
  color: #111111 !important;
}

/* ── Vote & Share Buttons ── */
.vote-btn {
  background: #FFFFFF !important;
  border: 2px solid #111111 !important;
  box-shadow: 3px 3px 0px #111111 !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  color: #111111 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease !important;
}
.vote-btn:hover {
  background: #00BFFF !important;
  color: #111111 !important;
  transform: translate(-2px, -2px) !important;
  box-shadow: 5px 5px 0px #111111 !important;
}
.vote-btn:active {
  transform: translate(2px, 2px) !important;
  box-shadow: 1px 1px 0px #111111 !important;
}

.share-btn {
  background: #FFFFFF !important;
  border: 2px solid #111111 !important;
  box-shadow: 3px 3px 0px #111111 !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  color: #111111 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease !important;
}
.share-btn:hover {
  background: #FFF600 !important;
  color: #111111 !important;
  transform: translate(-2px, -2px) !important;
  box-shadow: 5px 5px 0px #111111 !important;
}
.share-btn:active {
  transform: translate(2px, 2px) !important;
  box-shadow: 1px 1px 0px #111111 !important;
}

/* ── Scroll to Top Button ── */
.scroll-top {
  background: #FFF600 !important;
  color: #111111 !important;
  border: 2.5px solid #111111 !important;
  box-shadow: 4px 4px 0px #111111 !important;
  border-radius: 50% !important;
  width: 48px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease !important;
}
.scroll-top:hover {
  background: #00BFFF !important;
  color: #111111 !important;
  transform: translate(-3px, -3px) !important;
  box-shadow: 6px 6px 0px #111111 !important;
}
.scroll-top:active {
  transform: translate(2px, 2px) !important;
  box-shadow: 1px 1px 0px #111111 !important;
}

/* ── Footer ── */
.footer {
  background: #FFFFFF !important;
  border-top: 2.5px solid #111111 !important;
  color: #111111 !important;
}
.footer-col-title {
  color: #111111 !important;
  font-weight: 900 !important;
}
.footer-links a {
  color: #333333 !important;
  font-weight: 600 !important;
}
.footer-links a:hover {
  color: #FF0055 !important;
}
.footer-copyright {
  color: #555555 !important;
}
.footer-badge {
  background: #FFFFFF !important;
  border: 1.5px solid #111111 !important;
  box-shadow: 2px 2px 0px #111111 !important;
  border-radius: 6px !important;
  color: #111111 !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 4px 10px !important;
}

/* ── Article Cards ── */
.article-card {
  background: #FFFFFF !important;
  border: 2.5px solid #111111 !important;
  box-shadow: 4px 4px 0px #111111 !important;
  border-radius: 12px !important;
  color: #111111 !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease !important;
}
.article-card:hover {
  background: #FFF600 !important;
  box-shadow: 6px 6px 0px #111111 !important;
  transform: translate(-3px, -3px) !important;
}

/* ── Toast Notifications ── */
.toast {
  background: #FFFFFF !important;
  color: #111111 !important;
  border: 2px solid #111111 !important;
  box-shadow: 4px 4px 0px #111111 !important;
  font-weight: 800 !important;
  border-radius: 10px !important;
}
.toast-icon {
  color: #FF0055 !important;
}

/* ── Promo Dialog & Overlay ── */
.game-promo-overlay {
  background: rgba(255, 255, 255, 0.96) !important;
}
.promo-top-bar {
  background: #FFFFFF !important;
  border-bottom: 2px solid #111111 !important;
}
.promo-badge {
  background: #FFF600 !important;
  color: #111111 !important;
  border: 1.5px solid #111111 !important;
  box-shadow: 2px 2px 0px #111111 !important;
  font-weight: 900 !important;
}
.promo-skip-btn {
  background: #00BFFF !important;
  color: #111111 !important;
  border: 2px solid #111111 !important;
  box-shadow: 3px 3px 0px #111111 !important;
  font-weight: 800 !important;
}
.promo-skip-btn:hover {
  background: #FFF600 !important;
}
.promo-bottom-bar {
  background: #FFFFFF !important;
  border-top: 2px solid #111111 !important;
  color: #111111 !important;
}
.promo-download-btn {
  background: #FF0055 !important;
  color: #FFFFFF !important;
  border: 2.5px solid #111111 !important;
  box-shadow: 4px 4px 0px #111111 !important;
  font-weight: 900 !important;
}
.promo-download-btn:hover {
  background: #FFF600 !important;
  color: #111111 !important;
}



/* ============================================================
   EXACT GTA6PCMODS ARCADE HOME UI
   Reference: media_1793534570887_0ac0da34.jpg
   Header: Yellow #FFF600, Black #111111, Pink #FF0055, Cyan #00BFFF
   ============================================================ */

/* ── Top Arcade Header Bar ── */
.arcade-header-bar {
  background: #FFF600 !important;
  border-bottom: 3px solid #111111 !important;
  padding: 8px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 0px rgba(17, 17, 17, 0.15);
}

.arcade-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.arcade-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.arcade-logo-mascot {
  height: 48px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(2px 2px 0px #111111);
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
  flex-shrink: 0;
}
.arcade-logo-link:hover .arcade-logo-mascot {
  transform: scale(1.05);
}
.arcade-logo-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}
.arcade-gamepad-icon {
  width: 44px;
  height: 38px;
  background: transparent;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}
.arcade-gamepad-icon img {
  height: 100%;
  width: auto;
  object-fit: contain;
}
.arcade-logo-text-wrap {
  display: none !important;
  flex-direction: column;
}
.arcade-logo-brand {
  font-size: 1.45rem;
  font-weight: 900;
  color: #111111;
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 1px 1px 0px #FFFFFF;
}
.arcade-logo-brand span {
  color: #FF0055;
}
.arcade-logo-tagline {
  font-size: 0.65rem;
  font-weight: 900;
  color: #111111;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── Center Navigation Items ── */
.arcade-header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.arcade-nav-item {
  color: #111111;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.1s ease, background 0.1s ease;
  white-space: nowrap;
}
.arcade-nav-item:hover {
  background: rgba(17, 17, 17, 0.08);
  transform: translate(-1px, -1px);
}
.arcade-nav-item.nav-home-pink {
  background: #FF0055 !important;
  color: #FFFFFF !important;
  border: 2px solid #111111 !important;
  box-shadow: 2px 2px 0px #111111 !important;
}
.arcade-nav-item.nav-home-pink:hover {
  background: #E0004C !important;
}
.arcade-nav-item.nav-app-download {
  background: #111111 !important;
  color: #FFF600 !important;
  border: 2px solid #111111 !important;
  box-shadow: 2px 2px 0px #111111 !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px;
}
.arcade-nav-item.nav-app-download svg {
  color: #00E5FF;
}
.arcade-nav-item.nav-app-download:hover {
  background: #222222 !important;
  color: #FFFFFF !important;
  transform: translate(-1.5px, -1.5px);
  box-shadow: 3.5px 3.5px 0px #111111 !important;
}

/* ── Neo-Brutalist Interactive Games Dropdown Menu ── */
.arcade-nav-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.arcade-nav-dropdown-btn {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  color: #111111;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.1s ease, background 0.1s ease, box-shadow 0.1s ease;
}
.arcade-nav-dropdown-btn:hover {
  background: rgba(17, 17, 17, 0.08);
  transform: translate(-1px, -1px);
}
.arcade-nav-dropdown-wrap.open .arcade-nav-dropdown-btn,
.arcade-nav-dropdown-btn:focus-visible {
  background: #FFF600;
  color: #111111;
  border: 2px solid #111111;
  box-shadow: 2px 2px 0px #111111;
  transform: translate(-1px, -1px);
}
.arcade-nav-dropdown-btn.nav-home-pink {
  background: #FF0055 !important;
  color: #FFFFFF !important;
  border: 2px solid #111111 !important;
  box-shadow: 2px 2px 0px #111111 !important;
}
.arcade-dropdown-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  margin-left: 2px;
}
.arcade-nav-dropdown-wrap.open .arcade-dropdown-arrow {
  transform: rotate(180deg);
}

@media (min-width: 993px) {
  .arcade-nav-dropdown-wrap:hover .arcade-categories-dropdown,
  .arcade-nav-dropdown-wrap.open .arcade-categories-dropdown {
    display: block !important;
    animation: arcadeCatDropAnim 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .arcade-nav-dropdown-wrap:hover .arcade-dropdown-arrow,
  .arcade-nav-dropdown-wrap.open .arcade-dropdown-arrow {
    transform: rotate(180deg);
  }
  .arcade-nav-dropdown-wrap:hover .arcade-nav-dropdown-btn {
    background: #FFF600;
    color: #111111;
    border: 2px solid #111111;
    box-shadow: 2px 2px 0px #111111;
  }
  .arcade-nav-dropdown-wrap::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 14px;
    z-index: 99998;
  }
}

/* Floating Dropdown on Desktop */
.arcade-categories-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 440px;
  max-width: 92vw;
  background: #FFF600;
  border: 3px solid #111111;
  border-radius: 12px;
  box-shadow: 5px 5px 0px #111111;
  padding: 12px;
  z-index: 99999;
}
.arcade-nav-dropdown-wrap.open .arcade-categories-dropdown {
  display: block;
  animation: arcadeCatDropAnim 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes arcadeCatDropAnim {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Category Grid inside dropdown */
.arcade-cat-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 2px;
}
.arcade-cat-dropdown-grid::-webkit-scrollbar {
  width: 6px;
}
.arcade-cat-dropdown-grid::-webkit-scrollbar-thumb {
  background: #111111;
  border-radius: 4px;
}

.cat-drop-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #FFFFFF;
  color: #111111;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.82rem;
  border: 2px solid #111111;
  border-radius: 8px;
  box-shadow: 2px 2px 0px #111111;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease, color 0.1s ease;
}
.cat-drop-item:hover,
.cat-drop-item:focus {
  background: #FF0055;
  color: #FFFFFF;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px #111111;
}
.cat-drop-item .cat-drop-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #FFF600;
  color: #111111;
  border: 1.5px solid #111111;
  flex-shrink: 0;
}
.cat-drop-item:hover .cat-drop-icon {
  background: #FFFFFF;
  color: #FF0055;
}
.cat-drop-item.highlight-all {
  grid-column: span 2;
  background: #111111;
  color: #FFF600;
  font-size: 0.88rem;
  padding: 10px 12px;
}
.cat-drop-item.highlight-all .cat-drop-icon {
  background: #FFF600;
  color: #111111;
}
.cat-drop-item.highlight-all:hover {
  background: #FF0055;
  color: #FFFFFF;
}
.cat-drop-item.highlight-trending {
  background: #FFF0F4;
  border-color: #111111;
}
.cat-drop-item.highlight-trending .cat-drop-icon {
  background: #FF0055;
  color: #FFFFFF;
}
.cat-drop-item.highlight-new {
  background: #E8F9FF;
  border-color: #111111;
}
.cat-drop-item.highlight-new .cat-drop-icon {
  background: #00BFFF;
  color: #111111;
}

/* ── 3-Line Mobile Menu Toggle Button (Hidden on Desktop by default) ── */
.arcade-mobile-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  background: #111111;
  color: #FFF600;
  border: 2px solid #111111;
  border-radius: 8px;
  box-shadow: 2px 2px 0px #111111;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: transform 0.1s ease, background 0.1s ease, box-shadow 0.1s ease;
}
.arcade-mobile-menu-btn:hover,
.arcade-mobile-menu-btn:active,
.arcade-mobile-menu-btn.active {
  background: #FF0055;
  color: #FFFFFF;
  border-color: #111111;
  box-shadow: 3px 3px 0px #111111;
  transform: translate(-1px, -1px);
}
.arcade-mobile-menu-btn svg {
  display: block;
}

/* ── Header Right: Search & Auth ── */
.arcade-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.arcade-header-search {
  position: relative;
  width: 280px;
  transition: width 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.arcade-header-search:focus-within {
  width: 330px;
}
.arcade-header-search input {
  width: 100%;
  height: 36px;
  background: #FFFFFF !important;
  border: 2px solid #111111 !important;
  border-radius: 20px !important;
  padding: 0 32px 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #111111 !important;
  box-shadow: 2px 2px 0px #111111 !important;
  outline: none;
}
.arcade-header-search input:focus {
  border-color: #FF0055 !important;
  box-shadow: 3px 3px 0px #FF0055 !important;
}
.arcade-header-search .search-ico-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #111111;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.btn-arcade-login {
  background: #111111 !important;
  color: #FFFFFF !important;
  border: 2px solid #111111 !important;
  box-shadow: 2px 2px 0px #111111 !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  font-size: 0.8rem !important;
  padding: 6px 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease !important;
}
.btn-arcade-login:hover {
  background: #2A2A2A !important;
  transform: translate(-1px, -1px);
}

.btn-arcade-signup {
  background: #FF0055 !important;
  color: #FFFFFF !important;
  border: 2px solid #111111 !important;
  box-shadow: 2px 2px 0px #111111 !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  font-size: 0.8rem !important;
  padding: 6px 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease !important;
}
.btn-arcade-signup:hover {
  background: #E0004C !important;
  transform: translate(-1px, -1px);
}

/* ── Neo-Brutalist Profile Avatar Button (Round Corner Square) ── */
.arcade-user-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  background: #FFF600 !important;
  border: 2px solid #111111 !important;
  border-radius: 8px !important;
  box-shadow: 2px 2px 0px #111111 !important;
  overflow: hidden !important;
  padding: 0 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  position: relative !important;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease !important;
}
.arcade-user-badge:hover,
.arcade-user-badge:focus-visible {
  transform: translate(-1px, -1px) !important;
  box-shadow: 3px 3px 0px #111111 !important;
  border-color: #111111 !important;
}
.arcade-user-badge:active {
  transform: translate(1px, 1px) !important;
  box-shadow: 1px 1px 0px #111111 !important;
}
.arcade-user-badge img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* ── Container for Full-Width Layout (Matches Screenshot) ── */
.arcade-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 16px 20px;
}

/* ── Hero Action Banner (Responsive Neo-Brutalist Card) ── */
.arcade-hero-banner {
  position: relative;
  border: 3px solid #111111 !important;
  box-shadow: 6px 6px 0px #111111 !important;
  border-radius: 14px !important;
  overflow: hidden;
  margin-bottom: 18px;
  background: #111111;
  aspect-ratio: 1024 / 198;
  width: 100%;
  display: block !important;
  text-decoration: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: rgba(255, 246, 0, 0.4);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.arcade-hero-banner:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0px #111111 !important;
}
.arcade-hero-banner:active {
  transform: translate(1px, 1px);
  box-shadow: 3px 3px 0px #111111 !important;
}
.arcade-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none !important;
  user-select: none !important;
}

/* ── Four Feature Action Cards ── */
.arcade-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.arcade-feature-card {
  border: 2.5px solid #111111 !important;
  box-shadow: 4px 4px 0px #111111 !important;
  border-radius: 12px !important;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease !important;
}
.arcade-feature-card:hover {
  transform: translate(-2px, -2px) !important;
  box-shadow: 6px 6px 0px #111111 !important;
}
.arcade-feature-card:active {
  transform: translate(2px, 2px) !important;
  box-shadow: 1px 1px 0px #111111 !important;
}
.card-purple {
  background: #7000FF !important;
  color: #FFFFFF !important;
}
.card-cyan {
  background: #00BFFF !important;
  color: #111111 !important;
}
.card-pink {
  background: #FF0055 !important;
  color: #FFFFFF !important;
}
.card-green {
  background: #00E676 !important;
  color: #111111 !important;
}

.feature-icon-badge {
  width: 44px;
  height: 44px;
  background: #FFFFFF !important;
  border: 2px solid #111111 !important;
  box-shadow: 2px 2px 0px #111111 !important;
  border-radius: 8px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111 !important;
  flex-shrink: 0;
}
.feature-info {
  display: flex;
  flex-direction: column;
}
.feature-title {
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.2;
}
.feature-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.9;
  margin-top: 2px;
}

/* ── Three-Column Main Section ── */
.arcade-three-col-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: start;
}

/* Left: Categories Panel */
.col-categories {
  position: sticky;
  top: 75px;
}
.cat-panel-header {
  background: #FFF600 !important;
  color: #111111 !important;
  font-weight: 900 !important;
  font-size: 0.9rem !important;
  padding: 12px 14px !important;
  border: 2.5px solid #111111 !important;
  border-bottom: none !important;
  border-radius: 12px 12px 0 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-panel-list {
  background: #111111 !important;
  border: 2.5px solid #111111 !important;
  box-shadow: 4px 4px 0px #111111 !important;
  border-radius: 0 0 12px 12px !important;
  overflow: hidden;
}
.cat-panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.12s ease, color 0.12s ease;
}
.cat-panel-row:last-child {
  border-bottom: none;
}
.cat-panel-row:hover {
  background: #FFF600 !important;
  color: #111111 !important;
  font-weight: 800;
}
.cat-row-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-row-arrow {
  font-weight: 900;
  font-size: 0.9rem;
}

/* Center: Game Cards Column */
.col-main-games {
  min-width: 0;
}
.arcade-ribbon-header {
  background: #FF0055 !important;
  color: #FFFFFF !important;
  border: 2.5px solid #111111 !important;
  box-shadow: 3px 3px 0px #111111 !important;
  border-radius: 10px !important;
  padding: 10px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 14px;
}
.arcade-ribbon-title {
  font-weight: 900 !important;
  font-size: 1rem !important;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}
.arcade-ribbon-see-all {
  color: #FFFFFF !important;
  font-weight: 800 !important;
  font-size: 0.8rem !important;
  text-decoration: none;
  transition: transform 0.1s ease;
}
.arcade-ribbon-see-all:hover {
  transform: translateX(3px);
  color: #FFF600 !important;
}

/* Game Card Grid (Matches Screenshot: 4 Columns) */
.arcade-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

/* The Exact Card Anatomy from Screenshot */
.arcade-game-card {
  background: #FFFFFF !important;
  border: 2.5px solid #111111 !important;
  box-shadow: 4px 4px 0px #111111 !important;
  border-radius: 12px !important;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.12s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.12s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
.arcade-game-card:hover {
  transform: translate(-3px, -3px) !important;
  box-shadow: 6px 6px 0px #00BFFF !important;
}
.arcade-game-card:active {
  transform: translate(2px, 2px) !important;
  box-shadow: 1px 1px 0px #111111 !important;
}
.arcade-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  background: #E5E7EB;
  border-bottom: 2px solid #111111 !important;
  overflow: hidden;
}
.arcade-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}
.arcade-game-card:hover .arcade-card-img {
  transform: scale(1.06);
}

.arcade-card-title-bar {
  background: #111111 !important;
  color: #FFFFFF !important;
  padding: 6px 8px;
  text-align: center;
  font-weight: 800;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 2px solid #111111;
}

.arcade-card-action-bar {
  background: #FFF600 !important;
  padding: 8px 10px;
  text-align: center;
  border: none;
}
.btn-arcade-play-now {
  background: #FFF600 !important;
  color: #111111 !important;
  font-weight: 900 !important;
  font-size: 0.85rem !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  width: 100% !important;
  cursor: pointer;
  text-transform: uppercase;
}
.arcade-game-card:hover .arcade-card-action-bar,
.arcade-game-card:hover .btn-arcade-play-now {
  background: #FF0055 !important;
  color: #FFFFFF !important;
}

/* Right: Sidebar Widgets */
.col-sidebar-widgets {
  position: sticky;
  top: 75px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Daily Rewards Widget */
.widget-daily-rewards {
  background: #111111 !important;
  border: 2.5px solid #111111 !important;
  box-shadow: 4px 4px 0px #111111 !important;
  border-radius: 12px !important;
  padding: 14px;
  color: #FFFFFF !important;
}
.widget-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.widget-title-lg {
  font-size: 0.95rem;
  font-weight: 900;
  color: #FFF600;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.widget-subtitle-sm {
  font-size: 0.72rem;
  color: #A1A1AA;
}

.daily-streak-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}
.streak-cell {
  background: #1F222E;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 6px 2px;
  text-align: center;
  transition: transform 0.12s ease;
}
.streak-cell.active-streak {
  background: #272B3B;
  border-color: #FFF600;
  box-shadow: 0 0 6px rgba(255, 246, 0, 0.4);
}
.streak-day-name {
  font-size: 0.62rem;
  font-weight: 800;
  color: #A1A1AA;
  margin-bottom: 4px;
}
.streak-cell.active-streak .streak-day-name {
  color: #FFF600;
}
.streak-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.btn-arcade-claim-reward {
  background: #FFF600 !important;
  color: #111111 !important;
  border: 2px solid #111111 !important;
  box-shadow: 2px 2px 0px #111111 !important;
  border-radius: 8px !important;
  font-weight: 900 !important;
  font-size: 0.85rem !important;
  width: 100% !important;
  padding: 8px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  cursor: pointer;
  text-transform: uppercase;
  transition: transform 0.12s ease, background 0.12s ease !important;
}
.btn-arcade-claim-reward:hover {
  background: #FF0055 !important;
  color: #FFFFFF !important;
  transform: translate(-1px, -1px);
}
.btn-arcade-claim-reward:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px #111111 !important;
}

/* Top Players Widget */
.widget-top-players {
  background: #111111 !important;
  border: 2.5px solid #111111 !important;
  box-shadow: 4px 4px 0px #111111 !important;
  border-radius: 12px !important;
  padding: 14px;
  color: #FFFFFF !important;
}
.top-players-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.top-player-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: #1F222E;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}
.player-rank-badge {
  font-weight: 900;
  width: 18px;
  text-align: center;
  font-size: 0.85rem;
}
.rank-gold { color: #FFF600; }
.rank-silver { color: #E4E4E7; }
.rank-bronze { color: #F59E0B; }
.player-avatar-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2E3245;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}
.player-uname {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #FFFFFF;
}
.player-score {
  font-weight: 800;
  color: #FFF600;
}

/* ── Mobile Responsive Optimizations ── */
/* ── Tablet Landscape, Laptop & Mobile "Desktop Site" Viewport (901px - 1280px) ── */
@media (min-width: 901px) and (max-width: 1280px) {
  .arcade-header-bar {
    padding: 8px 12px !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
  .arcade-header-left {
    gap: 8px !important;
    flex-shrink: 0 !important;
  }
  .arcade-logo-mascot {
    height: 38px !important;
    width: auto !important;
    max-width: 135px !important;
  }
  .arcade-logo-brand {
    font-size: 1.15rem !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }
  .arcade-logo-tagline {
    display: none !important;
  }
  .arcade-header-nav {
    gap: 4px !important;
    flex-wrap: nowrap !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }
  .arcade-nav-item {
    padding: 5px 8px !important;
    font-size: 0.76rem !important;
    gap: 4px !important;
  }
  .arcade-nav-dropdown-btn {
    font-size: 0.76rem !important;
    padding: 5px 8px !important;
    gap: 4px !important;
  }
  .arcade-header-right {
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  .arcade-header-search {
    width: auto !important;
    max-width: 160px !important;
    min-width: 90px !important;
    flex: 1 1 auto !important;
  }
  .arcade-header-search:focus-within {
    max-width: 200px !important;
  }
  .arcade-header-search input {
    height: 32px !important;
    font-size: 0.74rem !important;
    padding: 0 26px 0 8px !important;
  }
  .arcade-header-search .search-ico-btn {
    width: 24px !important;
    height: 24px !important;
    right: 2px !important;
  }
  .arcade-user-badge {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }
  .btn-arcade-login {
    font-size: 0.75rem !important;
    padding: 5px 10px !important;
  }
}

/* ── Responsive Layout for Tablets & Small Screens (max-width: 1150px) ── */
@media (min-width: 901px) and (max-width: 1150px) {
  .arcade-three-col-layout {
    grid-template-columns: 190px minmax(0, 1fr) !important;
    gap: 14px !important;
  }
  .arcade-games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .col-sidebar-widgets {
    grid-column: span 2 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
    position: static !important;
  }
}

@media (max-width: 1100px) {
  .arcade-three-col-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .col-sidebar-widgets {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: static;
  }
}

@media (max-width: 900px) {
  .arcade-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .arcade-games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .arcade-three-col-layout {
    grid-template-columns: 1fr;
  }
  /* Hide Sidebar Game Categories in mobile view (Only show in desktop view) */
  .col-categories {
    display: none !important;
  }
  .col-sidebar-widgets {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  /* 3-Line Mobile Menu Toggle Button (Visible ONLY on mobile) */
  .arcade-mobile-menu-btn {
    display: flex !important;
    position: relative !important;
    z-index: 10010 !important;
  }
  .arcade-mobile-menu-btn * {
    pointer-events: none !important;
  }
  .arcade-mobile-nav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9990 !important;
  }
  .arcade-mobile-nav-backdrop.show {
    display: block !important;
  }
  body.mobile-nav-locked {
    overflow: hidden !important;
    touch-action: none !important;
  }
  .arcade-header-nav {
    display: none !important;
    position: fixed !important;
    top: 48px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    max-height: calc(100vh - 48px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    background: #FFF600 !important;
    border-bottom: 3.5px solid #111111 !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45) !important;
    flex-direction: column !important;
    padding: 12px 14px 28px !important;
    gap: 8px !important;
    z-index: 10005 !important;
    box-sizing: border-box !important;
    animation: arcadeMobileMenuSlide 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .arcade-header-nav.mobile-active {
    display: flex !important;
  }
  .arcade-nav-item {
    width: 100% !important;
    justify-content: flex-start !important;
    padding: 10px 14px !important;
    font-size: 0.95rem !important;
    font-weight: 900 !important;
    background: #FFFFFF !important;
    border: 2px solid #111111 !important;
    border-radius: 8px !important;
    box-shadow: 2.5px 2.5px 0px #111111 !important;
    color: #111111 !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    box-sizing: border-box !important;
  }
  .arcade-nav-item:hover,
  .arcade-nav-item:active {
    background: #FF0055 !important;
    color: #FFFFFF !important;
    transform: translate(-1.5px, -1.5px) !important;
    box-shadow: 4px 4px 0px #111111 !important;
  }
  .arcade-nav-item.nav-home-pink {
    background: #FF0055 !important;
    color: #FFFFFF !important;
  }
  .arcade-nav-item.nav-app-download {
    background: #111111 !important;
    color: #FFF600 !important;
  }

  /* Mobile Accordion for Games Category Dropdown */
  .arcade-nav-dropdown-wrap {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .arcade-nav-dropdown-btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    font-size: 0.95rem !important;
    font-weight: 900 !important;
    background: #FFFFFF !important;
    border: 2px solid #111111 !important;
    border-radius: 8px !important;
    box-shadow: 2.5px 2.5px 0px #111111 !important;
    color: #111111 !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    box-sizing: border-box !important;
  }
  .arcade-nav-dropdown-wrap.open .arcade-nav-dropdown-btn {
    background: #FF0055 !important;
    color: #FFFFFF !important;
  }
  .arcade-nav-dropdown-wrap.open .arcade-dropdown-arrow {
    transform: rotate(180deg) !important;
    color: #FFFFFF !important;
  }
  .arcade-nav-dropdown-btn.nav-home-pink {
    background: #FF0055 !important;
    color: #FFFFFF !important;
  }
  .arcade-categories-dropdown {
    display: none !important;
    position: static !important;
    transform: none !important;
    animation: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 6px !important;
    box-shadow: 3px 3px 0px #111111 !important;
    padding: 8px !important;
    background: #FFF600 !important;
    border: 2.5px solid #111111 !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
  }
  .arcade-nav-dropdown-wrap.open .arcade-categories-dropdown {
    display: block !important;
    animation: none !important;
    transform: none !important;
  }
  .arcade-cat-dropdown-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    max-height: 280px !important;
    overflow-y: auto !important;
  }
  .cat-drop-item {
    font-size: 0.78rem !important;
    padding: 6px 8px !important;
    gap: 6px !important;
  }
  .cat-drop-item .cat-drop-icon {
    width: 22px !important;
    height: 22px !important;
  }
  .cat-drop-item.highlight-all {
    grid-column: span 2 !important;
  }
  .arcade-header-bar {
    gap: 6px !important;
    padding: 6px 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10000 !important;
  }
  .arcade-header-left {
    flex-shrink: 0 !important;
    min-width: 0 !important;
    gap: 6px !important;
  }
  .arcade-logo-link {
    gap: 6px !important;
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
  }
  .arcade-logo-mascot {
    width: auto !important;
    height: 32px !important;
    max-width: 110px !important;
    flex-shrink: 0 !important;
  }
  .arcade-logo-brand {
    font-size: 1.05rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
  .arcade-logo-tagline {
    display: none !important;
  }
  .arcade-header-right {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .arcade-header-search {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 140px !important;
  }
  .arcade-user-badge {
    flex-shrink: 0 !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .arcade-mobile-menu-btn {
    display: inline-flex !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    background: #FFFFFF !important;
    border: 2px solid #111111 !important;
    border-radius: 8px !important;
    box-shadow: 2px 2px 0px #111111 !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    z-index: 10001 !important;
    margin: 0 !important;
  }

  /* Mobile Hero Banner Optimizations */
  .arcade-hero-banner {
    aspect-ratio: 1024 / 198 !important;
    min-height: unset !important;
    height: auto !important;
    border: 2.5px solid #111111 !important;
    box-shadow: 4px 4px 0px #111111 !important;
    border-radius: 10px !important;
    margin-bottom: 14px !important;
  }
  .arcade-hero-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

@keyframes arcadeMobileMenuSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .arcade-header-bar {
    padding: 6px 8px !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
  .arcade-header-left {
    flex-shrink: 0 !important;
    min-width: 0 !important;
    gap: 6px !important;
  }
  .arcade-logo-link {
    gap: 6px !important;
  }
  .arcade-logo-brand {
    font-size: 1rem !important;
    letter-spacing: -0.5px !important;
    white-space: nowrap !important;
  }
  .arcade-logo-tagline {
    display: none !important;
  }
  .arcade-logo-mascot {
    width: auto !important;
    height: 32px !important;
    max-width: 110px !important;
    flex-shrink: 0 !important;
  }
  .arcade-gamepad-icon {
    width: 28px !important;
    height: 24px !important;
  }
  .arcade-header-right {
    gap: 6px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }
  .arcade-header-search {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 140px !important;
    transition: max-width 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .arcade-header-search:focus-within {
    max-width: 180px !important;
  }
  .arcade-header-search input {
    height: 32px !important;
    font-size: 0.74rem !important;
    padding: 0 24px 0 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .arcade-header-search .search-ico-btn {
    width: 24px !important;
    height: 24px !important;
    right: 2px !important;
  }
  .arcade-user-badge {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
  }
  .arcade-mobile-menu-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
  }
  .arcade-header-search .search-results {
    position: fixed !important;
    top: 50px !important;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    max-width: calc(100vw - 16px) !important;
    max-height: calc(85vh - 55px) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    border: 2.5px solid #111111 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 4px 4px 0px #111111 !important;
    border-radius: 12px !important;
    z-index: 999999 !important;
  }
  .arcade-user-badge img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 6px !important;
  }
  .arcade-hero-banner {
    border: 2px solid #111111 !important;
    box-shadow: 3px 3px 0px #111111 !important;
    border-radius: 8px !important;
    margin-bottom: 12px !important;
  }
  .arcade-games-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .arcade-card-thumb {
    height: 110px !important;
  }
  .arcade-card-title-bar {
    font-size: 0.76rem !important;
    padding: 6px 8px !important;
  }
  .btn-arcade-play-now {
    font-size: 0.72rem !important;
    padding: 6px 8px !important;
  }
  .catalog-categories-wrapper {
    gap: 6px;
    margin-bottom: 14px;
  }
  .cat-scroll-arrow {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 6px;
    box-shadow: 1.5px 1.5px 0px #111111;
  }
  .catalog-categories-bar {
    padding: 8px 10px !important;
    border-width: 2.5px !important;
    box-shadow: 3px 3px 0px #111111 !important;
    gap: 6px;
  }
  .catalog-cat-pill {
    padding: 6px 10px !important;
    font-size: 0.78rem !important;
    gap: 5px !important;
  }
}

@media (max-width: 380px) {
  .arcade-games-grid {
    grid-template-columns: 1fr !important;
  }
  .arcade-header-bar {
    padding: 5px 6px !important;
    gap: 4px !important;
  }
  .arcade-header-right {
    gap: 4px !important;
  }
  .arcade-logo-brand {
    font-size: 0.92rem !important;
  }
  .arcade-logo-mascot {
    width: auto !important;
    height: 28px !important;
    max-width: 95px !important;
  }
  .arcade-header-search {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 50px !important;
    max-width: 110px !important;
  }
  .arcade-header-search input {
    font-size: 0.68rem !important;
    padding: 0 20px 0 6px !important;
  }
  .arcade-user-badge {
    width: 28px !important;
    height: 28px !important;
  }
  .arcade-mobile-menu-btn {
    width: 30px !important;
    height: 30px !important;
  }
}

/* ── Speed & Render Performance Optimizations ── */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.arcade-game-card {
  content-visibility: auto;
  contain-intrinsic-size: 1px 220px;
  transform: translateZ(0);
}
.arcade-card-img {
  image-rendering: -webkit-optimize-contrast;
}
a, button, input, select {
  -webkit-tap-highlight-color: rgba(255, 246, 0, 0.3);
}


/* ════════════════════════════════════════════════════════════
   NEO-BRUTALIST FOOTER & TRUST SYSTEM
   ════════════════════════════════════════════════════════════ */
.footer {
  background: transparent !important;
  border-top: none !important;
  padding: 30px 0 20px !important;
  color: #111111 !important;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: 1.35fr 1fr 1.15fr 1fr !important;
  gap: 16px !important;
  max-width: 100% !important;
  margin-bottom: 20px !important;
}

/* Neo-Brutalist Card for each Footer Column */
.footer-col-card {
  background: #FFFFFF !important;
  border: 2.5px solid #111111 !important;
  box-shadow: 4px 4px 0px #111111 !important;
  border-radius: 12px !important;
  padding: 18px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.footer-col-card:hover {
  transform: translate(-2px, -2px) !important;
  box-shadow: 6px 6px 0px #111111 !important;
}

/* Category & Info Header Badges */
.footer-col-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border: 2px solid #111111 !important;
  box-shadow: 2px 2px 0px #111111 !important;
  border-radius: 6px !important;
  padding: 5px 12px !important;
  margin-bottom: 12px !important;
  width: fit-content !important;
}
.badge-yellow-tag {
  background: #FFF600 !important;
  color: #111111 !important;
}
.badge-pink-tag {
  background: #FF0055 !important;
  color: #FFFFFF !important;
}
.badge-cyan-tag {
  background: #00BFFF !important;
  color: #111111 !important;
}

/* Brand Card Styling */
.footer-brand-top {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 8px !important;
}
.footer-brand-top img {
  max-height: 48px !important;
  width: auto !important;
  max-width: 175px !important;
  object-fit: contain !important;
}
.footer-brand-desc {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #262626 !important;
  line-height: 1.55 !important;
  margin-bottom: 12px !important;
}
.footer-mini-stats {
  display: flex !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  margin-top: auto !important;
}
.mini-stat-pill {
  background: #FFF600 !important;
  border: 1.5px solid #111111 !important;
  box-shadow: 1.5px 1.5px 0px #111111 !important;
  border-radius: 5px !important;
  padding: 3px 8px !important;
  font-size: 0.7rem !important;
  font-weight: 900 !important;
  color: #111111 !important;
  text-transform: uppercase !important;
}

/* Interactive Neo Links */
.footer-links-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}
.neo-footer-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 6px 10px !important;
  border: 1.5px solid transparent !important;
  border-radius: 6px !important;
  color: #111111 !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transition: all 0.12s ease !important;
}
.neo-footer-link:hover {
  background: #FFF600 !important;
  border-color: #111111 !important;
  box-shadow: 2px 2px 0px #111111 !important;
  transform: translate(-1px, -1px) !important;
}
.neo-footer-link.pink-hover:hover {
  background: #FF0055 !important;
  color: #FFFFFF !important;
  border-color: #111111 !important;
  box-shadow: 2px 2px 0px #111111 !important;
}

/* Neo Trust Badges */
.trust-badges-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
}
.neo-trust-badge {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 12px !important;
  border: 2px solid #111111 !important;
  box-shadow: 3px 3px 0px #111111 !important;
  border-radius: 8px !important;
  font-size: 0.8rem !important;
  font-weight: 900 !important;
  cursor: default !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease !important;
}
.neo-trust-badge:hover {
  transform: translate(-2px, -2px) !important;
  box-shadow: 4px 4px 0px #111111 !important;
}
.trust-badge-green {
  background: #00E676 !important;
  color: #111111 !important;
}
.trust-badge-yellow {
  background: #FFF600 !important;
  color: #111111 !important;
}
.trust-badge-pink {
  background: #FF0055 !important;
  color: #FFFFFF !important;
}

/* Bottom Neo-Brutalist Bar */
.neo-footer-bottom {
  background: #111111 !important;
  color: #FFFFFF !important;
  border: 2.5px solid #111111 !important;
  box-shadow: 4px 4px 0px #FFF600 !important;
  border-radius: 12px !important;
  padding: 12px 18px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-top: 10px !important;
}
.neo-bottom-copyright {
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
}
.neo-bottom-tags {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}
.neo-bottom-pill {
  background: #27272A !important;
  color: #FFF600 !important;
  border: 1.5px solid rgba(255,255,255,0.2) !important;
  border-radius: 20px !important;
  padding: 3px 10px !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .neo-footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
  }
}

/* ════════════════════════════════════════════════════════════
   NEO-BRUTALIST ARCADE GAME DETAILS PAGE (Matches media_1793538923209_7beed266.jpg)
   ════════════════════════════════════════════════════════════ */

/* Breadcrumb Bar */
.arcade-game-breadcrumb-bar {
  background: #111111;
  border-bottom: 2.5px solid #27272A;
  padding: 10px 24px;
}
.arcade-game-breadcrumb-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #A1A1AA;
}
.arcade-game-breadcrumb-inner a {
  color: #FFFFFF;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}
.arcade-game-breadcrumb-inner a:hover {
  color: #FFF600;
}
.arcade-game-breadcrumb-sep {
  color: #71717A;
}
.arcade-game-breadcrumb-current {
  color: #FFF600;
  font-weight: 800;
}

/* Stage Wrapper */
.arcade-game-stage-wrapper {
  background: #111111;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid #111111;
  padding: 24px 20px 32px 20px;
}

/* Decorative speed streaks disabled to avoid background graphic overlaps */
.arcade-game-stage-wrapper::before,
.arcade-game-stage-wrapper::after {
  display: none !important;
  content: none !important;
}

.arcade-game-stage-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Left / Details Column (Legacy & Container support) */
.arcade-game-left-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
}
.arcade-game-cover-art {
  width: 140px;
  height: 140px;
  border: 3.5px solid #FFF600;
  border-radius: 14px;
  box-shadow: 0 0 0 2px #111111, 6px 6px 0px #111111;
  overflow: hidden;
  background: #000000;
  flex-shrink: 0;
}
.arcade-game-cover-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.arcade-game-title {
  font-size: 2.2rem;
  font-weight: 900;
  font-style: italic;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.arcade-game-tagline-pill {
  display: inline-flex;
  align-items: center;
  background: #FFF600;
  color: #111111;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 900;
  font-style: italic;
  border: 2px solid #111111;
  box-shadow: 2.5px 2.5px 0px #111111;
  width: fit-content;
}
.arcade-game-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFF600;
}
.arcade-game-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #FFF600;
}
.arcade-game-rating-text {
  color: #FFFFFF;
  font-weight: 800;
}
.arcade-game-meta-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  margin-top: 4px;
}
.arcade-game-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #E4E4E7;
}
.arcade-game-meta-item .meta-icon {
  color: #00BFFF;
  display: inline-flex;
  align-items: center;
}
.arcade-game-meta-item .meta-label {
  color: #A1A1AA;
  font-weight: 700;
}
.arcade-game-meta-item .meta-value {
  color: #FFFFFF;
  font-weight: 800;
}
.arcade-game-summary-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #D4D4D8;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.arcade-game-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.btn-arcade-play-hero {
  background: #FF0055;
  color: #FFFFFF;
  border: 3px solid #111111;
  box-shadow: 5px 5px 0px #111111;
  border-radius: 12px;
  padding: 12px 28px;
  font-size: 1.15rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn-arcade-play-hero:hover {
  background: #E6004C;
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0px #111111;
}
.btn-arcade-play-hero:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px #111111;
}
.btn-arcade-play-hero .bolt-icon {
  color: #FFF600;
}
.btn-arcade-fav-hero {
  background: #111111;
  color: #FFFFFF;
  border: 2.5px solid #FFFFFF;
  box-shadow: 3px 3px 0px #FFF600;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-arcade-fav-hero:hover {
  background: #27272A;
  box-shadow: 4px 4px 0px #FFF600;
}
.btn-arcade-fav-hero.liked {
  background: #FF0055;
  border-color: #FF0055;
  color: #FFFFFF;
  box-shadow: 3px 3px 0px #111111;
}

/* TOP FULL-WIDTH VIEWPORT FRAME */
.arcade-game-viewport-card {
  background: #000000;
  border: 3.5px solid #FFF600;
  border-radius: 16px;
  box-shadow: 0 0 0 2px #111111, 8px 8px 0px #111111;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Floating Fullscreen Control inside Viewport */
.btn-viewport-float-fs {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 85;
  background: rgba(17, 17, 17, 0.88);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  border: 2px solid #FFF600;
  box-shadow: 3px 3px 0px #111111;
  border-radius: 10px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}
.btn-viewport-float-fs:hover {
  background: #FFF600;
  color: #111111;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px #111111;
}
.btn-viewport-float-fs:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px #111111;
}

.arcade-game-viewport-card,
#arcadeGameViewport {
  background: #000000;
  border: 3.5px solid #FFF600;
  border-radius: 16px;
  box-shadow: 0 0 0 2px #111111, 8px 8px 0px #111111;
  overflow: hidden !important;
  contain: paint !important;
  isolation: isolate !important;
  -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.arcade-game-viewport-card::-webkit-scrollbar,
#arcadeGameViewport::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.arcade-viewport-screen,
#viewportScreenContainer {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 680px;
  min-height: 480px;
  background: #000000;
  border-radius: 12px;
  overflow: hidden !important;
  contain: paint !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.arcade-viewport-screen::-webkit-scrollbar,
#viewportScreenContainer::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.arcade-viewport-screen iframe,
#gameIframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  overflow: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.arcade-viewport-screen iframe::-webkit-scrollbar,
#gameIframe::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* ════════════════════════════════════════════════════════════
   GAME START LAUNCHER COVER OVERLAY (Visible before play starts)
   ════════════════════════════════════════════════════════════ */
.game-start-launcher-overlay {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: inherit;
  background: #0c0d14;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.launcher-backdrop-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: blur(6px);
  transform: scale(1.02);
  pointer-events: none;
}
.launcher-backdrop-dim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(14, 15, 23, 0.6) 0%, rgba(10, 10, 16, 0.94) 85%);
  pointer-events: none;
}
.launcher-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px;
  max-width: 620px;
  width: 100%;
}
.launcher-cover-thumb {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  border: 3px solid #FFF600;
  box-shadow: 4px 4px 0px #111111;
  overflow: hidden;
  margin-bottom: 12px;
  background: #18181B;
  display: flex;
  align-items: center;
  justify-content: center;
}
.launcher-cover-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.launcher-fallback-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #FFF600;
}
.launcher-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.launcher-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  border: 1.5px solid #111111;
  box-shadow: 2px 2px 0px #111111;
  text-transform: uppercase;
}
.badge-tag-cat {
  background: #00BFFF;
  color: #111111;
}
.badge-tag-rating {
  background: #FFF600;
  color: #111111;
}
.badge-tag-free {
  background: #111111;
  color: #FFF600;
  border-color: #FFF600;
}
.launcher-game-title {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 6px 0;
  line-height: 1.2;
  text-shadow: 2px 2px 0px #111111;
}
.launcher-game-tagline {
  font-size: 0.95rem;
  color: #D4D4D8;
  margin-bottom: 20px;
  font-weight: 600;
}
.btn-launcher-play {
  background: #FF0055;
  color: #FFFFFF;
  border: 3.5px solid #FFF600;
  box-shadow: 6px 6px 0px #FFF600;
  border-radius: 16px;
  padding: 15px 44px;
  font-size: 1.35rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  animation: pulsePlayGlow 2.5s infinite;
}
@keyframes pulsePlayGlow {
  0%, 100% { box-shadow: 6px 6px 0px #FFF600; }
  50% { box-shadow: 8px 8px 0px #00BFFF; }
}
.btn-launcher-play:hover {
  background: #FF1A6B;
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0px #FFF600;
}
.btn-launcher-play:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px #FFF600;
}
.btn-launcher-play .play-icon-wrap {
  display: inline-flex;
  align-items: center;
  color: #FFF600;
}
.btn-launcher-play .play-bolt {
  color: #FFF600;
}
.launcher-hint-text {
  font-size: 0.8rem;
  color: #A1A1AA;
  margin-top: 14px;
  font-weight: 600;
}

/* ════════════════════════════════════════════════════════════
   GAME DETAILS BAR (Directly below player)
   ════════════════════════════════════════════════════════════ */
.arcade-game-details-bar {
  background: #18181B;
  border: 3px solid #111111;
  box-shadow: 6px 6px 0px #111111;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #FFFFFF;
}
.game-details-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.game-details-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 280px;
}
.game-details-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  border: 2.5px solid #FFF600;
  box-shadow: 3px 3px 0px #111111;
  overflow: hidden;
  flex-shrink: 0;
  background: #111111;
}
.game-details-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-details-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.game-details-info .arcade-game-title {
  font-size: 1.7rem;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
  text-transform: uppercase;
}
.game-details-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.game-details-cat-tag {
  background: #00BFFF;
  color: #111111;
  border: 2px solid #111111;
  box-shadow: 2px 2px 0px #111111;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.game-details-tagline {
  background: #27272A;
  color: #FFF600;
  border: 1.5px solid #3F3F46;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.8rem;
  font-weight: 700;
}
.game-details-stars {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #FFF600;
  font-size: 0.88rem;
  font-weight: 800;
}
.game-details-stars .plays-count {
  color: #A1A1AA;
  font-weight: 600;
  font-size: 0.82rem;
}
.game-details-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-arcade-share-hero,
.btn-arcade-fs-hero {
  background: #18181B;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  box-shadow: 3px 3px 0px #FFF600;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-arcade-share-hero:hover,
.btn-arcade-fs-hero:hover {
  background: #27272A;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0px #FFF600;
}
.game-quick-specs-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1.5px solid #27272A;
}
.quick-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  background: #27272A;
  border: 1.5px solid #3F3F46;
  padding: 4px 10px;
  border-radius: 6px;
}
.quick-spec-item .spec-label {
  color: #A1A1AA;
}
.quick-spec-item .spec-val {
  color: #FFFFFF;
  font-weight: 700;
}
.quick-spec-item .spec-free {
  color: #FFF600;
}
.game-details-summary {
  font-size: 0.92rem;
  color: #D4D4D8;
  line-height: 1.5;
  margin-top: 2px;
}

/* Bottom Balanced Grid (Description on Left, Controls + Similar Games Stacked on Right) */
.arcade-game-bottom-grid {
  max-width: 1360px;
  margin: 32px auto 48px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 24px;
  align-items: start;
}
.arcade-bottom-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.arcade-panel-card {
  background: #18181B;
  border: 3px solid #111111;
  box-shadow: 5px 5px 0px #111111;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Panel Header Tabs */
.arcade-panel-tab {
  padding: 11px 18px;
  border-bottom: 3px solid #111111;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.arcade-panel-tab.tab-yellow {
  background: #FFF600;
  color: #111111;
}
.arcade-panel-tab.tab-pink {
  background: #FF0055;
  color: #FFFFFF;
}
.arcade-tab-title {
  font-size: 0.95rem;
  font-weight: 900;
  font-style: italic;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.2px;
}
.arcade-tab-link {
  font-size: 0.8rem;
  font-weight: 900;
  color: #111111;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.12s ease;
}
.arcade-tab-link:hover {
  transform: translateX(2px);
}

/* Description Collapse Button & State */
.btn-desc-collapse {
  background: #111111;
  color: #FFF600;
  border: 1.5px solid #111111;
  box-shadow: 2px 2px 0px #111111;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease;
  user-select: none;
}
.btn-desc-collapse:hover {
  background: #FF0055;
  color: #FFFFFF;
  transform: translate(-1px, -1px);
}
.btn-desc-collapse:active {
  transform: translate(1px, 1px);
}
.btn-desc-collapse-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.arcade-panel-card.desc-collapsed .arcade-panel-body {
  display: none !important;
}
.arcade-panel-card.desc-collapsed .arcade-panel-tab {
  border-bottom: none !important;
}
.arcade-panel-card.desc-collapsed .btn-desc-collapse {
  background: #27272A;
  color: #FFFFFF;
}
.arcade-panel-card.desc-collapsed .btn-desc-collapse-icon {
  transform: rotate(180deg);
}

.arcade-panel-body {
  padding: 18px 20px;
  color: #E4E4E7;
  font-size: 0.88rem;
  line-height: 1.65;
}

/* Description Rich styling */
.arcade-desc-content {
  color: #D4D4D8;
  line-height: 1.7;
  font-size: 0.88rem;
}
.arcade-desc-content h1, 
.arcade-desc-content h2, 
.arcade-desc-content h3 {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 900;
  margin: 16px 0 8px 0;
}
.arcade-desc-content p {
  margin: 0 0 12px 0;
}
.arcade-desc-spec-box {
  background: #27272A;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  font-size: 0.8rem;
}
.arcade-desc-spec-item {
  display: flex;
  flex-direction: column;
}
.arcade-desc-spec-label {
  color: #A1A1AA;
  font-weight: 700;
}
.arcade-desc-spec-val {
  color: #FFF600;
  font-weight: 800;
  margin-top: 2px;
}

/* Controls */
.arcade-controls-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.arcade-control-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #222226;
  border: 1.5px solid #2e2e34;
  border-radius: 10px;
  padding: 8px 12px;
  transition: border-color 0.15s ease;
}
.arcade-control-item:hover {
  border-color: #FFF600;
}
.arcade-control-key-icon {
  width: 32px;
  height: 32px;
  background: #18181B;
  border: 2px solid #FFF600;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF600;
  flex-shrink: 0;
  box-shadow: 2px 2px 0px #111111;
}
.arcade-control-label {
  font-size: 0.86rem;
  font-weight: 800;
  color: #FFFFFF;
}

/* Similar Games Row Cards */
.arcade-similar-games-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.arcade-similar-row-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #222226;
  border: 1.5px solid #2e2e34;
  border-radius: 10px;
  padding: 8px 12px;
  text-decoration: none;
  box-shadow: 2px 2px 0px #111111;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.arcade-similar-row-card:hover {
  border-color: #FFF600;
  background: #27272D;
  transform: translateX(3px);
}
.arcade-similar-thumb-box {
  width: 60px;
  height: 46px;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
  border: 1.5px solid #111111;
  position: relative;
}
.arcade-similar-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.arcade-similar-info {
  flex: 1;
  min-width: 0;
}
.arcade-similar-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.arcade-similar-meta {
  font-size: 0.72rem;
  color: #A1A1AA;
  display: flex;
  align-items: center;
  gap: 6px;
}
.arcade-similar-meta .star-accent {
  color: #FFF600;
  display: inline-flex;
  align-items: center;
}
.arcade-similar-play-pill {
  background: #FFF600;
  color: #111111;
  border: 1.5px solid #111111;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  transition: transform 0.1s ease;
}
.arcade-similar-row-card:hover .arcade-similar-play-pill {
  background: #FF0055;
  color: #FFFFFF;
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .arcade-game-stage-inner {
    max-width: 100%;
    gap: 20px;
  }
  .arcade-game-bottom-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .arcade-header-search .search-results {
    position: fixed !important;
    top: 54px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: calc(100vw - 20px) !important;
    max-height: calc(85vh - 60px) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    border: 2.5px solid #111111 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 4px 4px 0px #111111 !important;
    border-radius: 12px !important;
    z-index: 999999 !important;
  }
  .arcade-game-stage-wrapper {
    padding: 16px 12px 24px 12px;
  }
  .arcade-game-stage-inner {
    gap: 16px;
  }
  .arcade-game-viewport-card,
  #arcadeGameViewport,
  .arcade-viewport-screen,
  #viewportScreenContainer {
    overflow: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .arcade-viewport-screen {
    min-height: 240px;
    max-height: 520px;
    overflow: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .arcade-viewport-screen iframe,
  #gameIframe {
    overflow: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .arcade-viewport-screen::-webkit-scrollbar,
  .arcade-viewport-screen iframe::-webkit-scrollbar,
  #gameIframe::-webkit-scrollbar,
  .arcade-game-viewport-card::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  .launcher-card-body {
    padding: 16px 10px;
  }
  .launcher-cover-thumb {
    width: 64px;
    height: 64px;
    margin-bottom: 8px;
    border-radius: 12px;
  }
  .launcher-game-title {
    font-size: 1.35rem;
  }
  .launcher-game-tagline {
    font-size: 0.82rem;
    margin-bottom: 14px;
  }
  .btn-launcher-play {
    padding: 12px 26px;
    font-size: 1.1rem;
    gap: 8px;
    border-radius: 12px;
  }
  .arcade-game-details-bar {
    padding: 16px 14px;
    gap: 14px;
  }
  .game-details-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .game-details-left {
    width: 100%;
    min-width: 0;
  }
  .game-details-thumb {
    width: 54px;
    height: 54px;
  }
  .game-details-info .arcade-game-title {
    font-size: 1.35rem;
  }
  .game-details-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .game-details-actions .btn-arcade-play-hero {
    flex: 1;
    justify-content: center;
    padding: 10px 18px;
    font-size: 1rem;
  }
}


/* ════════════════════════════════════════════════════════════
   FULLSCREEN MODE (Clean, 100% full viewport, borderless, no buttons)
   ════════════════════════════════════════════════════════════ */

/* Standard :fullscreen */
#arcadeGameViewport:fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  min-height: 100vh !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #000000 !important;
  outline: none !important;
  overflow: hidden !important;
}

#arcadeGameViewport:fullscreen .arcade-viewport-screen {
  width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  min-height: 100vh !important;
  aspect-ratio: auto !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

#arcadeGameViewport:fullscreen iframe {
  width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  min-height: 100vh !important;
  aspect-ratio: auto !important;
  border: none !important;
  display: block !important;
}

#arcadeGameViewport:fullscreen .arcade-viewport-hud-bar {
  display: none !important;
}
#arcadeGameViewport:fullscreen .player-controls-dock {
  display: inline-flex !important;
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 2147483647 !important;
}

/* WebKit :-webkit-full-screen */
#arcadeGameViewport:-webkit-full-screen {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  min-height: 100vh !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #000000 !important;
  outline: none !important;
  overflow: hidden !important;
}

#arcadeGameViewport:-webkit-full-screen .arcade-viewport-screen {
  width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  min-height: 100vh !important;
  aspect-ratio: auto !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

#arcadeGameViewport:-webkit-full-screen iframe {
  width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  min-height: 100vh !important;
  aspect-ratio: auto !important;
  border: none !important;
  display: block !important;
}

#arcadeGameViewport:-webkit-full-screen .arcade-viewport-hud-bar {
  display: none !important;
}
#arcadeGameViewport:-webkit-full-screen .player-controls-dock {
  display: inline-flex !important;
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 2147483647 !important;
}

/* Fallback JS class .is-fullscreen */
#arcadeGameViewport.is-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999999 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  min-height: 100vh !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #000000 !important;
  outline: none !important;
  overflow: hidden !important;
}

#arcadeGameViewport.is-fullscreen .arcade-viewport-screen {
  width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  min-height: 100vh !important;
  aspect-ratio: auto !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

#arcadeGameViewport.is-fullscreen iframe {
  width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  min-height: 100vh !important;
  aspect-ratio: auto !important;
  border: none !important;
  display: block !important;
}

#arcadeGameViewport.is-fullscreen .arcade-viewport-hud-bar {
  display: none !important;
}
#arcadeGameViewport.is-fullscreen .player-controls-dock {
  display: inline-flex !important;
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 2147483647 !important;
}

/* ── In-Player Landscape Rotate Mode ── */
#arcadeGameViewport.is-rotated {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vh !important;
  height: 100vw !important;
  max-width: 100vh !important;
  max-height: 100vw !important;
  transform: rotate(90deg) translateY(-100%) !important;
  transform-origin: top left !important;
  z-index: 9999999 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: #000000 !important;
  overflow: hidden !important;
}

#arcadeGameViewport.is-rotated .arcade-viewport-screen,
#arcadeGameViewport.is-rotated .arcade-viewport-screen-wrap,
#arcadeGameViewport.is-rotated iframe {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border-radius: 0 !important;
}

#arcadeGameViewport.is-rotated .player-controls-dock {
  display: inline-flex !important;
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 2147483647 !important;
}

body.game-rotated-active {
  overflow: hidden !important;
}

/* Also handle direct iframe fullscreen */
iframe:fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  border: none !important;
}

iframe:-webkit-full-screen {
  width: 100vw !important;
  height: 100vh !important;
  border: none !important;
}


/* ════════════════════════════════════════════════════════════
   NEO-BRUTALIST PROFILE PAGE (Matches media_1793541036355_d8f9dfc7.jpg)
   ════════════════════════════════════════════════════════════ */

.arcade-profile-wrapper {
  background: #111111;
  position: relative;
  overflow: hidden;
  padding: 24px 20px 48px 20px;
}
.arcade-profile-wrapper::before {
  content: '';
  position: absolute;
  top: -15px;
  right: 18%;
  width: 280px;
  height: 18px;
  background: #00BFFF;
  transform: rotate(-7deg);
  opacity: 0.85;
  filter: blur(1px);
  pointer-events: none;
}
.arcade-profile-wrapper::after {
  content: '';
  position: absolute;
  top: 15px;
  right: 10%;
  width: 200px;
  height: 14px;
  background: #FF0055;
  transform: rotate(-7deg);
  opacity: 0.85;
  filter: blur(1px);
  pointer-events: none;
}

.arcade-profile-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 24px;
  align-items: start;
}

/* Profile Left Sidebar */
.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.profile-nav-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.profile-nav-link {
  background: transparent;
  color: #FFFFFF;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 2px solid transparent;
}
.profile-nav-link:hover {
  background: #27272A;
  color: #FFF600;
}
.profile-nav-link.active {
  background: #FF0055;
  color: #FFFFFF;
  box-shadow: 3px 3px 0px #111111;
  border: 2px solid #111111;
}
.profile-sidebar-badge {
  margin-top: 12px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 2.5px solid #27272A;
  box-shadow: 3px 3px 0px #111111;
}
.profile-sidebar-badge img {
  width: 100%;
  height: auto;
  display: block;
}

/* Profile Main Content */
.profile-main-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

/* Hero Profile Card */
.profile-hero-card {
  background: #18181B;
  border: 3.5px solid #FFF600;
  border-radius: 16px;
  box-shadow: 6px 6px 0px #111111;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.profile-hero-left {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
}
.profile-avatar-box {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3.5px solid #FFF600;
  box-shadow: 0 0 0 2px #111111, 4px 4px 0px #111111;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}
.profile-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-hero-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.profile-user-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-username {
  font-size: 1.85rem;
  font-weight: 900;
  font-style: italic;
  color: #FFFFFF;
  line-height: 1.1;
  margin: 0;
}
.profile-crown-icon {
  color: #FFF600;
  display: inline-flex;
}
.profile-level-badge {
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFF600;
  margin-top: 2px;
}
.profile-xp-track-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0 2px 0;
  max-width: 480px;
}
.profile-xp-track {
  flex: 1;
  height: 12px;
  background: #27272A;
  border-radius: 999px;
  border: 1.5px solid #111111;
  overflow: hidden;
}
.profile-xp-fill {
  background: #FFF600;
  height: 100%;
  width: 50%;
  border-radius: 999px;
}
.profile-xp-text {
  font-size: 0.75rem;
  font-weight: 800;
  color: #A1A1AA;
  white-space: nowrap;
}
.profile-motto {
  font-size: 0.88rem;
  font-weight: 900;
  font-style: italic;
  color: #FFFFFF;
  margin-top: 4px;
}

.profile-hero-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.profile-btn-edit-round {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #111111;
  border: 2px solid #FFF600;
  color: #FFF600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease;
}
.profile-btn-edit-round:hover {
  transform: scale(1.08);
}
.profile-banner-graphic {
  max-height: 120px;
  width: auto;
  display: block;
}

/* Middle Stats Bar */
.profile-stats-card {
  background: #18181B;
  border: 3px solid #FFF600;
  border-radius: 14px;
  box-shadow: 5px 5px 0px #111111;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.profile-stat-item {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 2px solid #27272A;
}
.profile-stat-item:last-child {
  border-right: none;
}
.profile-stat-icon {
  color: #FFF600;
  display: inline-flex;
  margin-bottom: 4px;
}
.profile-stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #A1A1AA;
}
.profile-stat-value {
  font-size: 1.45rem;
  font-weight: 900;
  font-style: italic;
  color: #FFFFFF;
  margin-top: 2px;
}

/* Lower 2-Column Section */
.profile-lower-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 20px;
  align-items: start;
}

/* Left Sub-Column: Tabs & Content */
.profile-tabs-wrapper {
  display: flex;
  flex-direction: column;
}
.profile-tabs-bar {
  display: flex;
  gap: 6px;
  margin-bottom: -3px;
  z-index: 2;
}
.profile-tab-btn {
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 900;
  font-style: italic;
  border-radius: 10px 10px 0 0;
  background: #27272A;
  color: #A1A1AA;
  border: 2.5px solid #111111;
  border-bottom: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.profile-tab-btn:hover {
  color: #FFFFFF;
  background: #333338;
}
.profile-tab-btn.active {
  background: #FF0055;
  color: #FFFFFF;
}

.profile-tab-card {
  background: #18181B;
  border: 3px solid #111111;
  border-radius: 0 14px 14px 14px;
  box-shadow: 5px 5px 0px #111111;
  padding: 22px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
}
.profile-info-col h3,
.profile-fav-col h3 {
  font-size: 0.95rem;
  font-weight: 900;
  font-style: italic;
  color: #FFFFFF;
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-fav-col h3 {
  color: #FF0055;
}
.profile-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
}
.profile-info-row {
  display: flex;
  gap: 10px;
}
.profile-info-label {
  width: 95px;
  color: #A1A1AA;
  font-weight: 700;
  flex-shrink: 0;
}
.profile-info-val {
  color: #FFFFFF;
  font-weight: 800;
  word-break: break-all;
}
.btn-edit-profile-pill {
  margin-top: 16px;
  background: #111111;
  color: #FFF600;
  border: 2px solid #FFF600;
  box-shadow: 2.5px 2.5px 0px #111111;
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.12s ease;
  width: fit-content;
}
.btn-edit-profile-pill:hover {
  transform: translate(-1px, -1px);
}

.profile-fav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.profile-fav-card {
  background: #111111;
  border: 2px solid #27272A;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.profile-fav-card:hover {
  border-color: #FFF600;
  transform: translateY(-2px);
}
.profile-fav-thumb {
  width: 100%;
  aspect-ratio: 16 / 11;
  background: #000;
  position: relative;
  overflow: hidden;
}
.profile-fav-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-fav-title {
  background: #111111;
  color: #FFFFFF;
  padding: 5px 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-top: 1.5px solid #27272A;
}
.profile-fav-card:hover .profile-fav-title {
  color: #FFF600;
}

/* Right Sub-Column: Rank & Achievements Stack */
.profile-right-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Rank Card */
.profile-rank-card {
  background: #18181B;
  border: 3px solid #FFF600;
  border-radius: 14px;
  box-shadow: 5px 5px 0px #111111;
  overflow: hidden;
}
.profile-rank-header {
  background: #FFF600;
  color: #111111;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 900;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-rank-body {
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.profile-rank-wreath-box {
  width: 110px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed #FFF600;
  border-radius: 12px;
  background: #111111;
  padding: 8px;
  text-align: center;
  flex-shrink: 0;
}
.rank-num-big {
  font-size: 1.3rem;
  font-weight: 900;
  font-style: italic;
  color: #FFF600;
  line-height: 1.1;
}
.rank-sub-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: #A1A1AA;
}
.profile-rank-compare {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  font-size: 0.8rem;
}
.profile-compare-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #222226;
  border-radius: 8px;
  padding: 6px 10px;
}
.compare-player {
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
}
.compare-score {
  font-weight: 900;
  color: #FFF600;
}

/* Recent Achievements Card */
.profile-achieve-card {
  background: #18181B;
  border: 3px solid #FFF600;
  border-radius: 14px;
  box-shadow: 5px 5px 0px #111111;
  overflow: hidden;
}
.profile-achieve-header {
  background: #FFF600;
  color: #111111;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 900;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.profile-achieve-link {
  font-size: 0.78rem;
  font-weight: 900;
  color: #111111;
  text-decoration: none;
}
.profile-achieve-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profile-achieve-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #222226;
  border: 1px solid #2e2e34;
  border-radius: 8px;
  padding: 8px 10px;
}
.achieve-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid #111111;
}
.achieve-icon-circle.yellow { background: #FFF600; color: #111111; }
.achieve-icon-circle.pink { background: #FF0055; color: #FFFFFF; }
.achieve-icon-circle.cyan { background: #00BFFF; color: #111111; }
.achieve-icon-circle.gold { background: #FFA500; color: #111111; }

.achieve-info {
  flex: 1;
  min-width: 0;
}
.achieve-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #FFFFFF;
}
.achieve-desc {
  font-size: 0.7rem;
  color: #A1A1AA;
}
.achieve-date {
  font-size: 0.7rem;
  font-weight: 700;
  color: #71717A;
  white-space: nowrap;
}

/* Callout Missions Banner */
.profile-missions-banner {
  background: #FFF600;
  border: 3px solid #111111;
  box-shadow: 5px 5px 0px #111111;
  border-radius: 14px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.missions-banner-text {
  font-size: 1.05rem;
  font-weight: 900;
  font-style: italic;
  color: #111111;
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-missions-action {
  background: #FF0055;
  color: #FFFFFF;
  border: 2.5px solid #111111;
  box-shadow: 2.5px 2.5px 0px #111111;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 900;
  font-style: italic;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.12s ease;
}
.btn-missions-action:hover {
  transform: translate(-1px, -1px);
}

/* Bottom Strip */
.profile-bottom-strip {
  background: #111111;
  border-top: 3.5px solid #FFF600;
  padding: 14px 24px;
}
.profile-bottom-strip-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.strip-brand-col {
  display: flex;
  flex-direction: column;
}
.strip-brand-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #FFFFFF;
}
.strip-brand-title span {
  color: #FF0055;
}
.strip-brand-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: #A1A1AA;
}
.strip-badges-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.strip-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #FFFFFF;
}
.strip-badge-item .ico {
  color: #FFF600;
}
.strip-follow-pill {
  background: #FF0055;
  color: #FFFFFF;
  border: 2px solid #111111;
  border-radius: 8px;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 900;
  font-style: italic;
}
.strip-social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.strip-social-icons a {
  color: #FFFFFF;
  display: inline-flex;
  transition: transform 0.1s ease;
}
.strip-social-icons a:hover {
  transform: scale(1.15);
  color: #FFF600;
}

/* Responsive */
@media (max-width: 1150px) {
  .arcade-profile-container {
    grid-template-columns: 1fr;
  }
  .profile-sidebar {
    display: none;
  }
  .profile-lower-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .profile-hero-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .profile-stats-card {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-stat-item:nth-child(2) {
    border-right: none;
  }
  .profile-tab-card {
    grid-template-columns: 1fr;
  }
  .profile-bottom-strip-inner {
    flex-direction: column;
    text-align: center;
  }
}


/* ════════════════════════════════════════════════════════════
   NEO-BRUTALIST LEADERBOARD PAGE (Matches media_1793543244641_79a0d1af.jpg)
   ════════════════════════════════════════════════════════════ */

.arcade-leaderboard-wrapper {
  background: #111111;
  position: relative;
  overflow: hidden;
  padding: 16px 20px 48px 20px;
}
.arcade-leaderboard-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Hero Leaderboard Graphic Banner */
.leaderboard-hero-banner {
  width: 100%;
  border: 3.5px solid #FFF600;
  border-radius: 16px;
  box-shadow: 6px 6px 0px #111111;
  overflow: hidden;
  margin-bottom: 24px;
  background: #18181B;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.leaderboard-hero-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 140px;
  object-fit: cover;
}

/* 2-Column Main Section */
.leaderboard-main-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: start;
}

/* Left Sidebar Navigation */
.leaderboard-sidebar-card {
  background: #18181B;
  border: 3px solid #FFF600;
  border-radius: 14px;
  box-shadow: 5px 5px 0px #111111;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.leaderboard-nav-item {
  background: transparent;
  color: #FFFFFF;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 2px solid transparent;
}
.leaderboard-nav-item:hover {
  background: #27272A;
  color: #FFF600;
}
.leaderboard-nav-item.active {
  background: #FF0055;
  color: #FFFFFF;
  border: 2px solid #111111;
  box-shadow: 3px 3px 0px #111111;
}

/* Right Content Area */
.leaderboard-content-area {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

/* Time Filter Tabs */
.leaderboard-filter-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.btn-filter-tab {
  background: #27272A;
  color: #FFFFFF;
  border: 2px solid #111111;
  border-radius: 8px;
  padding: 7px 18px;
  font-size: 0.85rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-filter-tab:hover {
  background: #3F3F46;
}
.btn-filter-tab.active {
  background: #FF0055;
  color: #FFFFFF;
  box-shadow: 2.5px 2.5px 0px #111111;
}

/* Top 3 Podium Stage */
.leaderboard-podium-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 16px;
  align-items: end;
}
.podium-card {
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 5px 5px 0px #111111;
  border: 3px solid #111111;
}

/* 2nd Place Podium */
.podium-2nd {
  background: linear-gradient(180deg, #2A3644 0%, #181F26 100%);
  border-color: #00BFFF;
  height: 220px;
  justify-content: flex-end;
}
/* 1st Place Podium */
.podium-1st {
  background: linear-gradient(180deg, #D97706 0%, #92400E 100%);
  border: 3.5px solid #FFF600;
  box-shadow: 7px 7px 0px #111111;
  height: 250px;
  justify-content: flex-end;
}
/* 3rd Place Podium */
.podium-3rd {
  background: linear-gradient(180deg, #3D261E 0%, #20130E 100%);
  border-color: #CD7F32;
  height: 200px;
  justify-content: flex-end;
}

.podium-badge-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 1.1rem;
  font-weight: 900;
  color: #FFFFFF;
}
.podium-avatar-wrap {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px solid #00BFFF;
  box-shadow: 0 0 0 2px #111111;
  overflow: hidden;
  margin-bottom: 8px;
  background: #000;
}
.podium-1st .podium-avatar-wrap {
  width: 88px;
  height: 88px;
  border-color: #FFF600;
  box-shadow: 0 0 12px rgba(255,246,0,0.5);
}
.podium-3rd .podium-avatar-wrap {
  width: 70px;
  height: 70px;
  border-color: #CD7F32;
}
.podium-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.podium-player-name {
  font-size: 1.1rem;
  font-weight: 900;
  font-style: italic;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
}
.podium-player-lvl {
  font-size: 0.75rem;
  font-weight: 800;
  color: #FFF600;
  margin-bottom: 8px;
}
.podium-score-pill {
  background: #111111;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: 4px 14px;
  font-size: 1rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}
.podium-1st .podium-score-pill {
  border-color: #FFF600;
  color: #FFF600;
  font-size: 1.15rem;
}

/* Lower Section (Table & Sidebar Stack) */
.leaderboard-lower-row {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
  align-items: start;
}

/* Rankings Table Card */
.leaderboard-table-card {
  background: #18181B;
  border: 3.5px solid #FFF600;
  border-radius: 14px;
  box-shadow: 6px 6px 0px #111111;
  overflow: hidden;
}
.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
}
.leaderboard-table thead tr {
  background: #FFF600;
  color: #111111;
}
.leaderboard-table th {
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 900;
  font-style: italic;
  text-align: left;
}
.leaderboard-table th:last-child {
  text-align: right;
}
.leaderboard-table tbody tr {
  border-bottom: 1.5px solid #27272A;
  transition: background 0.12s ease;
}
.leaderboard-table tbody tr:hover {
  background: #27272D;
}
.leaderboard-table td {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: #FFFFFF;
  vertical-align: middle;
}
.leaderboard-table td:last-child {
  text-align: right;
}
.rank-num-cell {
  font-weight: 900;
  font-size: 1rem;
  color: #A1A1AA;
  width: 40px;
}
.player-info-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.table-avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #FFF600;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}
.table-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.player-name-text {
  font-weight: 800;
  color: #FFFFFF;
}
.player-lvl-tag {
  font-weight: 800;
  color: #FFF600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.player-score-text {
  font-weight: 900;
  font-size: 1rem;
  color: #FFFFFF;
}

/* Right Stack (Rewards & Your Rank) */
.leaderboard-right-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Rewards Card */
.leaderboard-rewards-card {
  background: #18181B;
  border: 3px solid #111111;
  box-shadow: 5px 5px 0px #111111;
  border-radius: 14px;
  overflow: hidden;
}
.rewards-header {
  background: #FFF600;
  color: #111111;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 900;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rewards-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reward-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #222226;
  border: 1px solid #2e2e34;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.84rem;
}
.reward-place {
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #FFFFFF;
}
.reward-prize {
  font-weight: 800;
  color: #00BFFF;
  font-size: 0.8rem;
}

/* Your Rank Card */
.leaderboard-your-rank-card {
  background: #18181B;
  border: 3px solid #111111;
  box-shadow: 5px 5px 0px #111111;
  border-radius: 14px;
  overflow: hidden;
}
.your-rank-header {
  background: #FF0055;
  color: #FFFFFF;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 900;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 8px;
}
.your-rank-body {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.your-rank-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.your-rank-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #FFF600;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}
.your-rank-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.your-rank-info {
  display: flex;
  flex-direction: column;
}
.your-rank-pill {
  font-size: 0.7rem;
  font-weight: 900;
  color: #00BFFF;
}
.your-rank-username {
  font-size: 0.95rem;
  font-weight: 900;
  color: #FFFFFF;
}
.your-rank-lvl {
  font-size: 0.72rem;
  font-weight: 800;
  color: #FFF600;
  display: flex;
  align-items: center;
  gap: 3px;
}
.your-rank-score-box {
  background: #FFF600;
  color: #111111;
  border: 2px solid #111111;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 1.1rem;
  font-weight: 900;
  font-style: italic;
  box-shadow: 2.5px 2.5px 0px #111111;
}

/* Responsive adjustments */
@media (max-width: 1080px) {
  .leaderboard-main-grid {
    grid-template-columns: 1fr;
  }
  .leaderboard-sidebar-card {
    display: none;
  }
  .leaderboard-lower-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .leaderboard-podium-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .podium-card {
    height: auto !important;
    padding: 16px;
  }
  .podium-1st {
    order: -1;
  }
}

/* ============================================================
   NEO-BRUTALIST NEWS & UPDATES PAGE
   Strict 5-Color: #FFF600, #FF0055, #00BFFF, #111111, #FFFFFF
   Matches reference: media_1793543660649_c9d97b5a.jpg
   ============================================================ */

.arcade-news-wrapper {
  background: #0c0d14;
  background-image: radial-gradient(rgba(255, 246, 0, 0.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  min-height: calc(100vh - 64px);
  padding: 18px 24px 40px;
  color: #FFFFFF;
}

.arcade-news-container {
  max-width: 1360px;
  margin: 0 auto;
}

/* Breadcrumbs */
.news-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: #FFFFFF;
}
.news-breadcrumb a {
  color: #FFFFFF;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.news-breadcrumb a:hover {
  color: #FFF600;
}
.news-breadcrumb span.sep {
  color: #888888;
}

/* Hero News Banner */
.news-hero-banner-wrap {
  width: 100%;
  border-radius: 12px;
  border: 3px solid #111111;
  box-shadow: 4px 4px 0px #111111;
  overflow: hidden;
  margin-bottom: 20px;
  background: #111111;
  position: relative;
}
.news-hero-banner-img {
  width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: cover;
  display: block;
}

/* 3-Column Grid */
.news-3col-grid {
  display: grid;
  grid-template-columns: 240px 1fr 290px;
  gap: 18px;
  align-items: start;
}

/* Neo-Brutalist Frame Cards */
.news-sidebar-card,
.news-feed-card,
.news-widget-card {
  background: #151620;
  border: 3.5px solid #FFF600;
  border-radius: 14px;
  box-shadow: 4px 4px 0px #000000;
  overflow: hidden;
  position: relative;
}

/* Tab Headers */
.news-tab-pink {
  background: #FF0055;
  color: #FFFFFF;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 3px solid #111111;
}
.news-tab-yellow {
  background: #FFF600;
  color: #111111;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 3px solid #111111;
}

/* Left Sidebar Categories */
.news-cat-list {
  list-style: none;
  padding: 8px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.news-cat-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  background: #1d1f2c;
  color: #FFFFFF;
  border: 2px solid transparent;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}
.news-cat-btn-content {
  display: flex;
  align-items: center;
  gap: 8px;
}
.news-cat-btn:hover {
  background: #252839;
  border-color: #FFF600;
  transform: translateX(2px);
}
.news-cat-btn.active {
  background: #FFF600;
  color: #111111;
  border-color: #111111;
  box-shadow: 2px 2px 0px #111111;
  font-weight: 900;
}
.news-cat-btn.active .news-cat-chevron {
  color: #111111;
}
.news-cat-chevron {
  color: #888888;
  font-size: 0.95rem;
  font-weight: 900;
}

/* Center Feed Header */
.news-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 3px solid #111111;
  background: #181924;
}
.news-feed-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFF600;
  font-size: 1.05rem;
  font-weight: 900;
}
.news-feed-sort-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #bbbbbb;
}
.news-feed-sort-select {
  background: #111111;
  color: #FFF600;
  border: 1.5px solid #FFF600;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  outline: none;
}

/* News Feed Cards List */
.news-cards-list {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-card-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  background: #111219;
  border: 2px solid #282a3a;
  border-radius: 10px;
  padding: 10px;
  transition: all 0.2s ease;
  align-items: center;
}
.news-card-row:hover {
  border-color: #FFF600;
  box-shadow: 3px 3px 0px #FFF600;
  transform: translateY(-1.5px);
}
.news-card-thumb-wrap {
  width: 100%;
  height: 84px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #111111;
  background: #000;
  flex-shrink: 0;
}
.news-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-card-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.news-card-meta-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.news-card-tag-new {
  background: #FF0055;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  border: 1px solid #111111;
}
.news-card-date {
  color: #aaaaaa;
  font-size: 0.76rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.news-card-title {
  font-size: 0.98rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.25;
}
.news-card-desc {
  font-size: 0.78rem;
  color: #cccccc;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}
.btn-news-readmore {
  background: #FFF600;
  color: #111111;
  border: 2px solid #111111;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 900;
  box-shadow: 2px 2px 0px #111111;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}
.btn-news-readmore:hover {
  transform: translateY(-1px);
  box-shadow: 3px 3px 0px #111111;
}

/* Right Column Widgets */
.news-widget-featured {
  margin-bottom: 18px;
}
.featured-news-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.featured-news-thumb {
  width: 100%;
  height: 110px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #111111;
  background: #000;
}
.featured-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.featured-news-title {
  font-size: 0.96rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.3;
}
.btn-featured-readmore {
  background: #FF0055;
  color: #FFFFFF;
  border: 2px solid #111111;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 2px 2px 0px #111111;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.15s ease;
}
.btn-featured-readmore:hover {
  transform: translateY(-1px);
  box-shadow: 3px 3px 0px #111111;
}

/* Upcoming Events Widget */
.upcoming-events-list {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.event-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111219;
  border: 1.5px solid #282a3a;
  border-radius: 8px;
  padding: 9px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.event-item-row:hover {
  border-color: #00BFFF;
  background: #181924;
  transform: translateX(2px);
}
.event-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.event-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid #111111;
}
.event-icon-badge.gold {
  background: #FFF600;
  color: #111111;
}
.event-icon-badge.cyan {
  background: #00BFFF;
  color: #111111;
}
.event-icon-badge.pink {
  background: #FF0055;
  color: #FFFFFF;
}
.event-info {
  display: flex;
  flex-direction: column;
}
.event-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: #FFFFFF;
}
.event-date {
  font-size: 0.72rem;
  color: #999999;
  font-weight: 700;
}
.event-chevron {
  color: #666666;
  font-size: 0.9rem;
  font-weight: 900;
}

/* Interactive Article Modal */
.news-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.news-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.news-modal-box {
  background: #151620;
  border: 4px solid #FFF600;
  border-radius: 14px;
  box-shadow: 6px 6px 0px #000000;
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  color: #FFFFFF;
  position: relative;
}
.news-modal-header {
  background: #FF0055;
  color: #FFFFFF;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid #111111;
}
.news-modal-close-btn {
  background: #111111;
  color: #FFFFFF;
  border: 2px solid #FFF600;
  border-radius: 6px;
  width: 30px;
  height: 30px;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-modal-body {
  padding: 20px;
}
.news-modal-img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #111111;
  margin-bottom: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .news-3col-grid {
    grid-template-columns: 200px 1fr;
  }
  .news-col-right {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .news-3col-grid {
    grid-template-columns: 1fr;
  }
  .news-col-right {
    grid-template-columns: 1fr;
  }
  .news-card-row {
    grid-template-columns: 100px 1fr;
  }
}

/* ============================================================
   ALL GAMES & CATEGORIES CATALOG PAGE (DEFAULT HOME PAGE LIGHT THEME)
   Strict Palette: Cream #f4f1e1, Yellow #FFF600, Pink #FF0055, Cyan #00BFFF, Black #111111, White #FFFFFF
   Matches the Home Page pattern exactly.
   ============================================================ */

.arcade-catalog-wrapper {
  background: var(--bg-primary, #f4f1e1);
  min-height: calc(100vh - 64px);
  padding: 18px 20px 48px;
  color: #111111;
}

.arcade-catalog-container {
  max-width: 1360px;
  margin: 0 auto;
}

/* Breadcrumb */
.catalog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #111111;
}
.catalog-breadcrumb a {
  color: #111111;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.catalog-breadcrumb a:hover {
  color: #FF0055;
}
.catalog-breadcrumb span.sep {
  color: #888888;
}

/* Catalog Hero Banner (Matches Home Action Cards) */
.catalog-hero-card {
  background: #FFFFFF !important;
  border: 3px solid #111111 !important;
  border-radius: 14px !important;
  box-shadow: 5px 5px 0px #111111 !important;
  padding: 22px 26px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  overflow: hidden;
  color: #111111 !important;
}
.catalog-hero-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.catalog-hero-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #FFF600;
  color: #111111;
  border: 2.5px solid #111111;
  box-shadow: 3.5px 3.5px 0px #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.catalog-hero-info h1 {
  font-size: 1.7rem;
  font-weight: 900;
  color: #111111 !important;
  line-height: 1.2;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.catalog-hero-info p {
  color: #444444 !important;
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0;
}
.catalog-hero-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.catalog-badge-pill {
  background: #FFFFFF;
  color: #111111;
  border: 2px solid #111111;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 2.5px 2.5px 0px #111111;
}

/* Category Filter Wrapper with Neo-Brutalist Nav Arrows & Swipe */
.catalog-categories-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  width: 100%;
}

.catalog-categories-bar {
  background: #FFFFFF !important;
  border: 3px solid #111111 !important;
  box-shadow: 4px 4px 0px #111111 !important;
  border-radius: 12px !important;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  flex: 1;
  min-width: 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* Momentum swipe on touch devices */
  scrollbar-width: none !important; /* Hide scrollbar Firefox */
  -ms-overflow-style: none !important; /* Hide scrollbar IE/Edge */
  cursor: grab;
  user-select: none;
}
.catalog-categories-bar.grabbing {
  cursor: grabbing !important;
}
.catalog-categories-bar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Arrow Navigation Buttons */
.cat-scroll-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: #FFF600;
  color: #111111;
  border: 2px solid #111111;
  border-radius: 8px;
  box-shadow: 2.5px 2.5px 0px #111111;
  cursor: pointer;
  z-index: 5;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease, opacity 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}
.cat-scroll-arrow:hover {
  background: #FF0055;
  color: #FFFFFF;
  transform: translate(-1px, -1px);
  box-shadow: 3.5px 3.5px 0px #111111;
}
.cat-scroll-arrow:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px #111111;
}
.cat-scroll-arrow:disabled,
.cat-scroll-arrow.is-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
  box-shadow: 1px 1px 0px #111111 !important;
}
.catalog-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #FFFFFF;
  color: #111111;
  border: 2px solid #111111;
  box-shadow: 2.5px 2.5px 0px #111111;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease;
}
.catalog-cat-pill:hover {
  background: #FFF600;
  color: #111111;
  transform: translateY(-1.5px);
}
.catalog-cat-pill.active {
  background: #FF0055 !important;
  color: #FFFFFF !important;
  border: 2px solid #111111 !important;
  box-shadow: 3px 3px 0px #111111 !important;
  font-weight: 900;
}
.catalog-cat-pill.active:hover {
  color: #FFFFFF !important;
}
.catalog-cat-pill .cat-pill-count {
  background: #111111;
  color: #FFF600;
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: 999px;
  font-weight: 900;
}
.catalog-cat-pill.active .cat-pill-count {
  background: #FFFFFF;
  color: #FF0055;
}

/* Catalog Toolbar Controls */
.catalog-toolbar {
  background: #FFFFFF !important;
  border: 3px solid #111111 !important;
  border-radius: 12px !important;
  box-shadow: 4px 4px 0px #111111 !important;
  padding: 12px 16px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.catalog-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 260px;
}
.catalog-live-search {
  position: relative;
  width: 100%;
  max-width: 380px;
}
.catalog-live-search input {
  width: 100%;
  background: #FFFFFF !important;
  color: #111111 !important;
  border: 2px solid #111111 !important;
  box-shadow: 2px 2px 0px #111111 !important;
  border-radius: 8px;
  padding: 8px 12px 8px 36px;
  font-size: 0.88rem;
  font-weight: 700;
  outline: none;
  transition: border-color 0.15s ease;
}
.catalog-live-search input:focus {
  border-color: #FF0055 !important;
}
.catalog-live-search .search-ico {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #111111;
  pointer-events: none;
}
.catalog-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.catalog-sort-group {
  display: flex;
  align-items: center;
  gap: 6px;
}
.catalog-sort-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #555555;
}
.catalog-sort-btn {
  background: #FFFFFF;
  color: #111111;
  border: 2px solid #111111;
  box-shadow: 2px 2px 0px #111111;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: transform 0.1s ease, background 0.1s ease;
}
.catalog-sort-btn:hover {
  background: #FFF600;
  transform: translateY(-1px);
}
.catalog-sort-btn.active {
  background: #FFF600 !important;
  color: #111111 !important;
  border: 2px solid #111111 !important;
  box-shadow: 2.5px 2.5px 0px #111111 !important;
  font-weight: 900;
}
.catalog-counter-badge {
  background: #00BFFF;
  color: #111111;
  border: 2px solid #111111;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 900;
  box-shadow: 2px 2px 0px #111111;
}

/* All Games Grid (Matches Home Page: 4 Columns) */
.catalog-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

/* Pagination */
.catalog-pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 30px 0 40px;
  flex-wrap: wrap;
}
.btn-catalog-page {
  background: #FFFFFF;
  color: #111111;
  border: 2px solid #111111;
  box-shadow: 2.5px 2.5px 0px #111111;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  min-width: 40px;
  text-align: center;
  text-decoration: none;
  transition: all 0.15s ease;
}
.btn-catalog-page:hover {
  background: #FFF600;
  transform: translateY(-1.5px);
}
.btn-catalog-page.active {
  background: #FF0055 !important;
  color: #FFFFFF !important;
  border: 2px solid #111111 !important;
  box-shadow: 3px 3px 0px #111111 !important;
  font-weight: 900;
}
.btn-catalog-page.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Editorial & Guides Section (Light Background Matching Home) */
.catalog-seo-section {
  background: #FFFFFF !important;
  border: 3px solid #111111 !important;
  border-radius: 14px !important;
  box-shadow: 5px 5px 0px #111111 !important;
  padding: 28px;
  margin-bottom: 30px;
  color: #111111 !important;
}
.catalog-seo-section h2 {
  font-size: 1.4rem;
  font-weight: 900;
  color: #111111 !important;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.catalog-seo-section p {
  color: #333333 !important;
  font-size: 0.94rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.catalog-pro-tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.catalog-tip-card {
  background: #fdfcee;
  border: 2px solid #111111;
  box-shadow: 2.5px 2.5px 0px #111111;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #111111;
}
.catalog-tip-icon {
  color: #FF0055;
  flex-shrink: 0;
  margin-top: 2px;
}
.catalog-tip-text {
  font-size: 0.86rem;
  color: #222222;
  line-height: 1.5;
  font-weight: 700;
}

/* FAQ Accordion */
.catalog-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.catalog-faq-details {
  background: #FFF600 !important;
  border: 2.5px solid #111111 !important;
  box-shadow: 3.5px 3.5px 0px #111111 !important;
  border-radius: 10px !important;
  padding: 14px 18px;
  cursor: pointer;
  color: #111111 !important;
  transition: transform 0.12s ease;
}
.catalog-faq-details:hover {
  transform: translateX(2px);
}
.catalog-faq-details[open] {
  background: #FFF600 !important;
}
.catalog-faq-summary {
  font-size: 0.95rem;
  font-weight: 900;
  color: #111111 !important;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.catalog-faq-answer {
  font-size: 0.88rem;
  color: #222222 !important;
  line-height: 1.6;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1.5px solid #111111;
  font-weight: 600;
}

/* Responsive Grid */
@media (max-width: 1120px) {
  .catalog-games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .catalog-hero-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .catalog-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .catalog-toolbar-left,
  .catalog-toolbar-right {
    width: 100%;
  }
  .catalog-live-search {
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .catalog-games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}

/* ============================================================
   INDIVIDUAL CATEGORY PAGE ENHANCEMENTS
   High-Impact Spotlight, Genre Accents & Related Categories
   ============================================================ */

/* Individual Category Hero Accent Bar */
.category-hero-accent-strip {
  height: 6px;
  width: 100%;
  border-radius: 999px;
  margin-bottom: 14px;
  border: 1.5px solid #111111;
}

/* Category Quick Stats in Hero */
.category-stats-pill-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.category-stat-box {
  background: #FFFFFF;
  color: #111111;
  border: 2px solid #111111;
  box-shadow: 2.5px 2.5px 0px #111111;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.category-stat-box .stat-highlight {
  color: #FF0055;
  font-weight: 900;
}

/* Category Spotlight Card (Top Game in Category) */
.category-spotlight-card {
  background: #FFFFFF;
  border: 3px solid #111111;
  border-radius: 14px;
  box-shadow: 5px 5px 0px #111111;
  padding: 16px 20px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 20px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.spotlight-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #111111;
  box-shadow: 2.5px 2.5px 0px #111111;
  background: #000;
}
.spotlight-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}
.category-spotlight-card:hover .spotlight-thumb-wrap img {
  transform: scale(1.05);
}
.spotlight-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #FFF600;
  color: #111111;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1.5px solid #111111;
  box-shadow: 1.5px 1.5px 0px #111111;
  text-transform: uppercase;
}
.spotlight-info h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: #111111;
  margin-bottom: 6px;
  line-height: 1.2;
}
.spotlight-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #555555;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.spotlight-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.spotlight-desc {
  font-size: 0.86rem;
  color: #444444;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.btn-spotlight-play {
  background: #FFF600;
  color: #111111;
  border: 2.5px solid #111111;
  box-shadow: 3.5px 3.5px 0px #111111;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease;
  white-space: nowrap;
}
.btn-spotlight-play:hover {
  background: #FF0055;
  color: #FFFFFF;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #111111;
}

/* Related Categories Section */
.related-categories-wrap {
  margin-top: 30px;
  margin-bottom: 24px;
}
.related-categories-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #111111;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.related-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.related-cat-card {
  background: #FFFFFF;
  border: 2.5px solid #111111;
  box-shadow: 3.5px 3.5px 0px #111111;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #111111;
  transition: transform 0.12s ease, background 0.12s ease;
}
.related-cat-card:hover {
  background: #FFF600;
  transform: translateY(-2px);
  box-shadow: 5px 5px 0px #111111;
}
.related-cat-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.related-cat-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #111111;
  color: #FFF600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.related-cat-name {
  font-weight: 800;
  font-size: 0.9rem;
}
.related-cat-count {
  font-size: 0.76rem;
  color: #666666;
  font-weight: 700;
}
.related-cat-arrow {
  font-weight: 900;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .category-spotlight-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .spotlight-thumb-wrap {
    max-width: 320px;
  }
  .btn-spotlight-play {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   NEO-BRUTALIST GRAPHIC GAME PLAYER SPLASH SCREEN
   Full-Bleed Graphic Artwork + Responsive Sizing for Any Screen
   Strict 5-Color: #FFF600, #FF0055, #00BFFF, #111111, #FFFFFF
   ============================================================ */

.game-splash-overlay {
  position: absolute;
  inset: 0;
  z-index: 100;
  background: #090a10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(6px, 1.5vw, 16px);
  overflow: hidden !important;
  contain: paint !important;
  isolation: isolate !important;
  border-radius: inherit;
  transition: opacity 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.3s ease;
}
.game-splash-overlay.splash-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Background Graphic Artwork Backdrop */
.splash-bg-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: blur(8px);
  transform: scale(1.02);
  pointer-events: none;
}
.splash-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(255, 246, 0, 0.12) 0%, rgba(9, 10, 16, 0.92) 80%);
  pointer-events: none;
}

/* Splash Modal Card - Responsive in ANY screen size */
.splash-modal-card {
  background: #141522;
  border: none;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7);
  max-width: 460px;
  width: 100%;
  max-height: 96%;
  display: flex;
  flex-direction: column;
  color: #FFFFFF;
  position: relative;
  z-index: 2;
  overflow: hidden;
  box-sizing: border-box;
}

/* Card Top Hero Graphic Banner */
.splash-card-hero-banner {
  position: relative;
  height: clamp(60px, 13vw, 95px);
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(8px, 1.8vw, 12px) clamp(10px, 2.2vw, 16px);
  border-bottom: none;
  flex-shrink: 0;
}
.splash-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.splash-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 15, 26, 0.45) 0%, rgba(14, 15, 26, 0.92) 100%);
}
.splash-brand-badge {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  background: #FF0055;
  color: #FFFFFF;
  border: 1.5px solid #111111;
  box-shadow: 2px 2px 0px #111111;
  border-radius: 5px;
  padding: 2px 8px;
  font-size: clamp(0.65rem, 1.6vw, 0.74rem);
  font-weight: 900;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.splash-hero-title-wrap {
  position: relative;
  z-index: 2;
}
.splash-hero-title-wrap .splash-game-title {
  font-size: clamp(0.88rem, 2.2vw, 1.15rem);
  font-weight: 900;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 2px 2px 0px #111111;
  line-height: 1.2;
}
.splash-hero-title-wrap .splash-game-status {
  font-size: clamp(0.68rem, 1.6vw, 0.76rem);
  font-weight: 800;
  color: #00BFFF;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Card Body Content */
.splash-card-body {
  padding: clamp(8px, 2vw, 16px);
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.4vw, 10px);
  overflow-y: auto;
}

/* Loading Bar */
.splash-loading-bar-wrap {
  width: 100%;
  height: clamp(14px, 3vw, 20px);
  background: #090a10;
  border: 2px solid #111111;
  border-radius: 6px;
  box-shadow: 2px 2px 0px #000000;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.splash-loading-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FFF600 0%, #00BFFF 50%, #FF0055 100%);
  border-right: 2px solid #111111;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(255, 246, 0, 0.6);
}

/* Timer and Progress Row */
.splash-timer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: clamp(0.7rem, 1.7vw, 0.78rem);
  font-weight: 800;
  color: #A1A1AA;
}
.splash-status-msg {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #CCCCCC;
}
.splash-timer-countdown {
  color: #FFF600;
  font-weight: 900;
}

/* Download App Promo Button */
.splash-app-download-btn {
  background: #FFF600;
  color: #111111;
  border: 2px solid #111111;
  box-shadow: 3px 3px 0px #111111;
  border-radius: 8px;
  padding: clamp(5px, 1.5vw, 9px) clamp(8px, 2vw, 12px);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
  flex-shrink: 0;
}
.splash-app-download-btn:hover {
  background: #00BFFF;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px #111111;
}
.splash-app-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.splash-app-icon-wrap {
  width: clamp(24px, 4.5vw, 30px);
  height: clamp(24px, 4.5vw, 30px);
  border-radius: 6px;
  background: #111111;
  color: #FFF600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #111111;
}
.splash-app-text-block {
  min-width: 0;
  text-align: left;
}
.splash-app-title {
  font-size: clamp(0.75rem, 1.8vw, 0.85rem);
  font-weight: 900;
  color: #111111;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.splash-app-sub {
  font-size: clamp(0.62rem, 1.5vw, 0.7rem);
  font-weight: 700;
  color: #27272A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.splash-app-badge {
  background: #111111;
  color: #FFFFFF;
  border-radius: 5px;
  padding: 3px 8px;
  font-size: clamp(0.65rem, 1.5vw, 0.72rem);
  font-weight: 900;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Skip Action Button & Countdown */
#splashSkipWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: clamp(24px, 4.5vw, 32px);
  flex-shrink: 0;
}
.splash-skip-countdown {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #0f101a;
  color: #999999;
  border: 1.5px solid #282a3a;
  border-radius: 6px;
  padding: clamp(3px, 1vw, 5px) clamp(8px, 2vw, 12px);
  font-size: clamp(0.7rem, 1.6vw, 0.78rem);
  font-weight: 800;
}
.splash-skip-countdown strong {
  color: #FFF600;
  font-weight: 900;
}
.splash-skip-btn {
  background: #FF0055;
  color: #FFFFFF;
  border: 2px solid #111111;
  box-shadow: 2.5px 2.5px 0px #111111;
  border-radius: 8px;
  padding: clamp(5px, 1.4vw, 8px) clamp(12px, 2.5vw, 18px);
  font-size: clamp(0.74rem, 1.8vw, 0.82rem);
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.1s ease, background 0.1s ease;
}
.splash-skip-btn:hover {
  background: #FF1A6B;
  transform: translate(-1px, -1px);
}
.splash-pop-in {
  animation: splashPopIn 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes splashPopIn {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════
   FLOATING IN-PLAYER CONTROLS DOCK (Sound Mute, Report, Fullscreen)
   ══════════════════════════════════════════════════════════════ */
.player-controls-dock {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 85;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(18, 18, 24, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid #111111;
  box-shadow: 2.5px 2.5px 0px #111111;
  border-radius: 999px;
  padding: 4px 6px;
  pointer-events: auto;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-player-dock {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #27272A;
  color: #FFFFFF;
  border: 1.5px solid #111111;
  box-shadow: 1.5px 1.5px 0px #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.btn-player-dock:hover {
  background: #FFF600;
  color: #111111;
  transform: scale(1.08);
}

.btn-player-dock:active {
  transform: scale(0.96);
}

#btnPlayerMute:hover {
  background: #FFF600;
  color: #111111;
}

#btnPlayerMute.muted {
  background: #FF0055 !important;
  color: #FFFFFF !important;
}

#btnPlayerRotate:hover {
  background: #00FF88 !important;
  color: #111111 !important;
}

#btnPlayerRotate.active {
  background: #00FF88 !important;
  color: #111111 !important;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.6) !important;
}

#btnPlayerReport:hover {
  background: #FF0055;
  color: #FFFFFF;
}

#btnPlayerFullscreen:hover {
  background: #00BFFF;
  color: #111111;
}



@media (max-width: 600px) {
  .player-controls-dock {
    top: 8px;
    right: 8px;
    gap: 4px;
    padding: 3px 5px;
  }
  .btn-player-dock {
    width: 28px;
    height: 28px;
  }
  .btn-player-dock svg {
    width: 14px !important;
    height: 14px !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   NEO-BRUTALIST REPORT GAME ISSUE MODAL
   ══════════════════════════════════════════════════════════════ */
.report-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  animation: reportModalPop 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes reportModalPop {
  0% { transform: scale(0.9) translateY(12px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

body.report-modal-open {
  overflow: hidden;
}

.report-modal-card {
  background: #FFFFFF;
  border: 3px solid #111111;
  box-shadow: 6px 6px 0px #111111;
  border-radius: 14px;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  color: #111111;
  box-sizing: border-box;
}

.report-modal-header {
  background: #FFF600;
  padding: 12px 18px;
  border-bottom: 3px solid #111111;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.report-header-title {
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #111111;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.report-modal-close {
  width: 32px;
  height: 32px;
  border: 2px solid #111111;
  background: #FF0055;
  color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 2px 2px 0px #111111;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.1s ease, background 0.1s ease;
}

.report-modal-close:hover {
  background: #FF1A6B;
  transform: translate(-1px, -1px);
}

.report-modal-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #FAFAFA;
}

.report-intro-text {
  font-size: 0.88rem;
  color: #3F3F46;
  line-height: 1.45;
  margin: 0;
}
.report-intro-text strong {
  color: #111111;
  font-weight: 800;
}

.report-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.report-option-label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 2px solid #E4E4E7;
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
  transition: all 0.12s ease;
  user-select: none;
}
.report-option-label:hover {
  background: #FEF9C3;
  border-color: #111111;
}

.report-option-label input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #111111;
  border-radius: 50%;
  outline: none;
  background: #FFFFFF;
  cursor: pointer;
  margin: 0;
  position: relative;
  flex-shrink: 0;
}
.report-option-label input[type="radio"]:checked {
  background: #FF0055;
  box-shadow: inset 0 0 0 3px #FFFFFF;
}

.report-option-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: #18181B;
}

.report-details-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.report-notes-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #27272A;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.report-notes-input {
  width: 100%;
  border: 2px solid #111111;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.85rem;
  color: #111111;
  background: #FFFFFF;
  box-shadow: inset 2px 2px 0px rgba(0, 0, 0, 0.04);
  resize: vertical;
  box-sizing: border-box;
}
.report-notes-input:focus {
  outline: none;
  border-color: #00BFFF;
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.2);
}

.report-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.btn-report-cancel {
  background: #E4E4E7;
  color: #18181B;
  border: 2px solid #111111;
  box-shadow: 2.5px 2.5px 0px #111111;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.84rem;
  padding: 8px 16px;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.1s ease;
}
.btn-report-cancel:hover {
  background: #D4D4D8;
  transform: translate(-1px, -1px);
}

.btn-report-submit {
  background: #FF0055;
  color: #FFFFFF;
  border: 2px solid #111111;
  box-shadow: 2.5px 2.5px 0px #111111;
  border-radius: 8px;
  font-weight: 900;
  font-size: 0.86rem;
  padding: 8px 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  transition: transform 0.1s ease, background 0.1s ease;
}
.btn-report-submit:hover {
  background: #FF1A6B;
  transform: translate(-1px, -1px);
}

/* ══════════════════════════════════════════════════════════════
   NEO-BRUTALIST ARCADE FIREBASE AUTH MODAL (LOGIN & SIGNUP)
   ══════════════════════════════════════════════════════════════ */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(10, 10, 14, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

body.auth-modal-open {
  overflow: hidden;
}

.auth-modal-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: auto;
  animation: authModalPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes authModalPop {
  0% { transform: scale(0.9) translateY(12px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* Close Button (Top-Right Circular) */
.auth-modal-close-btn {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 20;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111111;
  color: #FFFFFF;
  border: 2.5px solid #FFF600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 2.5px 2.5px 0px #000000;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.auth-modal-close-btn:hover {
  background: #FF0055;
  border-color: #FFFFFF;
  transform: scale(1.1) rotate(90deg);
}

/* Modal Outer Card */
.auth-modal-card {
  background: #0D0E12;
  border: 3.5px solid #FFF600;
  border-radius: 18px;
  box-shadow: 7px 7px 0px #111111, 0 0 35px rgba(255, 246, 0, 0.14);
  padding: 22px 20px 20px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

/* Corner comic accents */
.auth-modal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #FF0055 0%, #FFF600 50%, #00E5FF 100%);
}

/* Modal Brand Header */
.auth-modal-brand-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 4px;
}
.auth-brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.auth-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #FFF600;
  color: #111111;
  border: 2px solid #111111;
  box-shadow: 2px 2px 0px #111111;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-brand-text {
  display: flex;
  flex-direction: column;
}
.auth-brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  line-height: 1.1;
}
.auth-brand-name span {
  color: #FF0055;
}
.auth-brand-tagline {
  font-size: 0.68rem;
  font-weight: 800;
  color: #FFF600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Pink Banner Pill */
.auth-modal-banner-pill {
  background: linear-gradient(135deg, #FF0055 0%, #D80045 100%);
  border: 2.5px solid #111111;
  border-radius: 9px;
  padding: 8px 14px;
  margin: 12px 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 3px 3px 0px #111111;
}
.auth-banner-icon {
  color: #FFFFFF;
  display: flex;
  align-items: center;
}
.auth-banner-text {
  font-size: 1.1rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0.3px;
}

/* Body Layout: Mascot + Form */
.auth-modal-body-layout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* Left Mascot Column */
.auth-mascot-col {
  width: 130px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}
.auth-mascot-img-wrap {
  width: 100%;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.8));
}
.auth-mascot-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Right Form Column */
.auth-form-col {
  flex: 1;
  min-width: 0;
}

/* Input Group Styles */
.auth-input-wrap {
  position: relative;
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  background: #18191E;
  border: 2px solid #2B2C33;
  border-radius: 8px;
  padding: 0 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.auth-input-wrap:focus-within {
  border-color: #FFF600;
  box-shadow: 0 0 0 2px rgba(255, 246, 0, 0.25);
  background: #1C1E25;
}
.auth-input-icon {
  color: #8C90A0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.auth-input-wrap:focus-within .auth-input-icon {
  color: #FFF600;
}
.auth-input-field {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 8px;
}
.auth-input-field::placeholder {
  color: #8A8E9E;
  font-weight: 500;
}
.auth-toggle-pwd-btn {
  background: none;
  border: none;
  color: #8C90A0;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}
.auth-toggle-pwd-btn:hover {
  color: #FFFFFF;
}

/* Options Row (Remember & Forgot) */
.auth-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 700;
}
.auth-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}
.auth-checkbox-real {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.auth-checkbox-custom {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #FFF600;
  border: 1.5px solid #111111;
  box-shadow: 1.5px 1.5px 0px #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
}
.auth-checkbox-real:not(:checked) + .auth-checkbox-custom {
  background: #252830;
  color: transparent;
}
.auth-checkbox-text {
  color: #E0E0E0;
}
.auth-forgot-link {
  color: #FFF600;
  text-decoration: none;
  font-style: italic;
  font-weight: 800;
  transition: color 0.15s ease;
}
.auth-forgot-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* Primary Yellow Action Button */
.auth-primary-submit-btn {
  width: 100%;
  background: #FFF600;
  color: #111111;
  border: 2.5px solid #111111;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 1.1rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 3.5px 3.5px 0px #111111;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}
.auth-primary-submit-btn:hover {
  background: #FFE600;
  transform: translate(-1.5px, -1.5px);
  box-shadow: 5px 5px 0px #111111;
}
.auth-primary-submit-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1.5px 1.5px 0px #111111;
}
.auth-btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #111111;
  border-top-color: transparent;
  border-radius: 50%;
  animation: authSpin 0.6s linear infinite;
}
@keyframes authSpin {
  to { transform: rotate(360deg); }
}

/* Alert Notification Banner */
.auth-alert-banner {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  margin: 10px 0;
  border: 2px solid #111111;
  box-shadow: 2px 2px 0px #111111;
  text-align: center;
}
.auth-alert-error {
  background: #FF0055;
  color: #FFFFFF;
}
.auth-alert-success {
  background: #00E676;
  color: #111111;
}
.auth-alert-info {
  background: #00E5FF;
  color: #111111;
}

/* Divider */
.auth-divider-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}
.auth-divider-line {
  flex: 1;
  height: 1px;
  background: #2B2C33;
}
.auth-divider-text {
  font-size: 0.78rem;
  color: #8C90A0;
  font-weight: 700;
  font-style: italic;
  white-space: nowrap;
}

/* Social & Quick Login Row (Google & Guest) */
.auth-social-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.auth-social-pill {
  height: 42px;
  border: 2px solid #111111;
  border-radius: 8px;
  box-shadow: 2.5px 2.5px 0px #111111;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.auth-social-pill:hover {
  transform: translate(-1.5px, -1.5px);
  box-shadow: 4px 4px 0px #111111;
}
.auth-social-google {
  background: #FFFFFF;
  color: #111111;
}
.auth-social-guest {
  background: #1C1E26;
  color: #FFF600;
}
.auth-social-btn-text {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

/* Switch Mode Footer */
.auth-switch-mode-wrap {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #CCCCCC;
}
.auth-switch-link {
  background: none;
  border: none;
  color: #FFF600;
  font-weight: 900;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  margin-left: 3px;
  padding: 0;
  transition: color 0.15s ease;
}
.auth-switch-link:hover {
  color: #FFFFFF;
}

/* Neo User Quick Menu (Header dropdown when logged in) */
.neo-user-quick-menu {
  position: absolute;
  z-index: 99999;
  background: #111111;
  border: 2.5px solid #FFF600;
  border-radius: 12px;
  box-shadow: 4px 4px 0px #111111, 0 10px 25px rgba(0,0,0,0.5);
  padding: 8px;
  min-width: 190px;
  color: #FFFFFF;
  animation: authMenuDrop 0.15s ease-out;
}
@keyframes authMenuDrop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.user-menu-header {
  padding: 6px 10px;
}
.user-menu-name {
  font-size: 0.88rem;
  font-weight: 900;
  color: #FFF600;
}
.user-menu-status {
  font-size: 0.72rem;
  font-weight: 600;
  color: #AAAAAA;
  word-break: break-all;
}
.user-menu-divider {
  height: 1px;
  background: #252830;
  margin: 6px 0;
}
.user-menu-item {
  display: block;
  width: 100%;
  padding: 7px 10px;
  border-radius: 6px;
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.user-menu-item:hover {
  background: #20222B;
  color: #FFF600;
}
.user-menu-logout {
  color: #FF0055;
}
.user-menu-logout:hover {
  background: rgba(255, 0, 85, 0.15);
  color: #FF0055;
}

/* Responsive adjustments for mobile */
@media (max-width: 480px) {
  .auth-modal-card {
    padding: 18px 14px 16px;
  }
  .auth-modal-body-layout {
    flex-direction: column;
    align-items: center;
  }
  .auth-mascot-col {
    width: 80px;
    padding-top: 0;
  }
  .auth-form-col {
    width: 100%;
  }
}

/* ══════════════════════════════════════════════════════════════
   NEO-BRUTALIST FAVORITES PAGE STYLES
   ══════════════════════════════════════════════════════════════ */
.fav-hero-card {
  background: #18181B;
  border: 3.5px solid #FFF600;
  border-radius: 16px;
  box-shadow: 0 0 0 2px #111111, 8px 8px 0px #111111;
  padding: clamp(16px, 3.5vw, 28px);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.fav-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.fav-hero-badge {
  background: #FF0055;
  color: #FFFFFF;
  border: 2px solid #111111;
  box-shadow: 2px 2px 0px #111111;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fav-hero-count {
  background: #FFF600;
  color: #111111;
  border: 2px solid #111111;
  box-shadow: 2.5px 2.5px 0px #111111;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fav-hero-title {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: #FFFFFF;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fav-hero-title svg {
  color: #FF0055;
  flex-shrink: 0;
}
.fav-hero-sub {
  color: #A1A1AA;
  font-size: 0.92rem;
  font-weight: 600;
  max-width: 680px;
  line-height: 1.5;
  margin: 0 0 18px 0;
}
.fav-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-fav-action-browse {
  background: #FFF600;
  color: #111111;
  border: 2px solid #111111;
  box-shadow: 3px 3px 0px #111111;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn-fav-action-browse:hover {
  background: #00BFFF;
  transform: translate(-1px, -1px);
}
.btn-fav-action-clear {
  background: #27272A;
  color: #E4E4E7;
  border: 2px solid #111111;
  box-shadow: 3px 3px 0px #111111;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.12s ease;
}
.btn-fav-action-clear:hover {
  background: #FF0055;
  color: #FFFFFF;
  transform: translate(-1px, -1px);
}

/* Empty State Card */
.fav-empty-card {
  background: #18181B;
  border: 3px dashed #3F3F46;
  border-radius: 16px;
  padding: clamp(32px, 6vw, 56px) 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 16px 0 36px 0;
  grid-column: 1 / -1;
  box-sizing: border-box;
}
.fav-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 0, 85, 0.15);
  color: #FF0055;
  border: 2px solid #FF0055;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.fav-empty-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0 0 8px 0;
  text-transform: uppercase;
}
.fav-empty-desc {
  color: #A1A1AA;
  font-size: 0.9rem;
  max-width: 440px;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

/* Remove button on favorite game cards */
.arcade-card-fav-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(18, 18, 24, 0.88);
  color: #FF0055;
  border: 1.5px solid #FF0055;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 2px 2px 0px #111111;
  transition: all 0.12s ease;
}
.arcade-card-fav-remove:hover {
  background: #FF0055;
  color: #FFFFFF;
  transform: scale(1.12);
}








/* ============================================================
   PERFECT MOBILE ADAPTIVE & RESPONSIVE ENGINE (ALL PAGES)
   Eliminates all horizontal scrolling, card overflow, text overflow,
   and ensures 100% pixel-perfect fluid UI across all device screens (320px - 1440px+)
   ============================================================ */

/* ── 1. Global Viewport & Container Reset ── */
html, body {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  -webkit-overflow-scrolling: touch;
}

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

/* Ensure no media or containers can blow out viewport width */
img, video, canvas, svg, iframe, table {
  max-width: 100% !important;
}

/* ── 2. Top Header Bar Mobile Fluidity ── */
@media (max-width: 768px) {
  .arcade-header-bar {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 6px 10px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    gap: 6px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10000 !important;
  }
  .arcade-header-left {
    flex-shrink: 0 !important;
    min-width: 0 !important;
  }
  .arcade-logo-link {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .arcade-logo-mascot {
    width: auto !important;
    height: 32px !important;
    max-width: 110px !important;
    flex-shrink: 0 !important;
  }
  .arcade-logo-brand {
    font-size: 1.05rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
  .arcade-logo-tagline {
    display: none !important;
  }
  .arcade-header-right {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .arcade-header-search {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 45px !important;
    max-width: 130px !important;
  }
  .arcade-header-search:focus-within {
    max-width: 170px !important;
  }
  .arcade-user-badge {
    width: 30px !important;
    height: 30px !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
  }
  .arcade-mobile-menu-btn {
    display: inline-flex !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    background: #FFFFFF !important;
    border: 2px solid #111111 !important;
    border-radius: 8px !important;
    box-shadow: 2px 2px 0px #111111 !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    z-index: 10001 !important;
  }
  
  /* Mobile Drawer Menu */
  .arcade-header-nav {
    display: none !important;
    position: fixed !important;
    top: 48px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    max-height: calc(100vh - 48px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    background: #FFF600 !important;
    border-bottom: 3.5px solid #111111 !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45) !important;
    flex-direction: column !important;
    padding: 12px 14px 28px !important;
    gap: 8px !important;
    z-index: 999999 !important;
    box-sizing: border-box !important;
  }
  .arcade-header-nav.mobile-active {
    display: flex !important;
  }
}

@media (max-width: 380px) {
  .arcade-header-bar {
    padding: 5px 6px !important;
    gap: 4px !important;
  }
  .arcade-header-right {
    gap: 4px !important;
  }
  .arcade-header-search {
    max-width: 95px !important;
    min-width: 40px !important;
  }
  .arcade-logo-brand {
    font-size: 0.95rem !important;
  }
  .arcade-mobile-menu-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }
  .arcade-user-badge {
    width: 28px !important;
    height: 28px !important;
  }
}

/* ── 3. Containers Across All Pages (Home, Game, Category, Favorites, Leaderboard, News, Profile, Page) ── */
@media (max-width: 768px) {
  .arcade-container,
  .arcade-catalog-wrapper,
  .arcade-catalog-container,
  .arcade-game-stage-wrapper,
  .arcade-game-stage-inner,
  .arcade-game-bottom-grid,
  .arcade-leaderboard-wrapper,
  .arcade-leaderboard-container,
  .arcade-news-wrapper,
  .arcade-news-container,
  .arcade-profile-wrapper,
  .arcade-profile-container,
  .arcade-article-wrapper,
  .arcade-article-container,
  .page-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .arcade-container {
    padding: 12px 10px !important;
  }
  .arcade-catalog-wrapper {
    padding: 12px 10px 36px !important;
  }
  .arcade-leaderboard-wrapper {
    padding: 12px 10px 36px !important;
  }
  .arcade-news-wrapper {
    padding: 12px 10px 36px !important;
  }
  .arcade-profile-wrapper {
    padding: 12px 10px 36px !important;
  }
  .arcade-article-wrapper {
    padding: 12px 10px 36px !important;
  }
  .arcade-game-bottom-grid {
    padding: 0 10px !important;
    margin: 18px auto 32px auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  .arcade-game-stage-wrapper {
    padding: 10px 8px 18px 8px !important;
  }
}

/* ── 4. Breadcrumb Bar Text-Overflow & Truncation (Game Page & Category Page) ── */
@media (max-width: 768px) {
  .arcade-game-breadcrumb-bar,
  .catalog-breadcrumb {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 8px 10px !important;
    overflow: hidden !important;
  }
  .arcade-game-breadcrumb-inner,
  .catalog-breadcrumb {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    font-size: 0.78rem !important;
    gap: 6px !important;
  }
  .arcade-game-breadcrumb-current,
  .catalog-breadcrumb span:last-child {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
}

/* ── 5. Category Filters & Swipe Bar (Fixes 1500px Flex Child Blowout!) ── */
@media (max-width: 768px) {
  .cat-scroll-arrow {
    display: none !important;
  }
  .catalog-categories-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
  }
  .catalog-categories-bar {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 10px !important;
    border: 2.5px solid #111111 !important;
    box-shadow: 3px 3px 0px #111111 !important;
    border-radius: 12px !important;
  }
  .catalog-categories-bar::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  .catalog-cat-pill {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 6px 10px !important;
    font-size: 0.76rem !important;
  }

  /* Catalog Interactive Toolbar */
  .catalog-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 10px 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .catalog-toolbar-left,
  .catalog-toolbar-right {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .catalog-live-search {
    width: 100% !important;
    max-width: 100% !important;
  }
  .catalog-live-search input {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.8rem !important;
  }
  .catalog-sort-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 2px 0 !important;
  }
  .catalog-sort-group::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  .catalog-sort-label {
    font-size: 0.76rem !important;
    flex-shrink: 0 !important;
  }
  .catalog-sort-btn {
    flex-shrink: 0 !important;
    min-width: unset !important;
    padding: 5px 10px !important;
    font-size: 0.74rem !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
}

/* ── 6. Game Page Arena & Description Spec Box ── */
@media (max-width: 768px) {
  .arcade-game-viewport-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    box-shadow: 4px 4px 0px #111111 !important;
  }
  .arcade-viewport-screen {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .arcade-game-details-bar {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    box-shadow: 4px 4px 0px #111111 !important;
  }
  .arcade-panel-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    box-shadow: 4px 4px 0px #111111 !important;
  }
  .arcade-panel-body {
    padding: 14px 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .arcade-desc-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    font-size: 0.88rem !important;
  }
  .arcade-desc-content p,
  .arcade-desc-content li,
  .arcade-desc-content div {
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  .arcade-desc-spec-box {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 10px 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .arcade-desc-spec-item {
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .arcade-desc-spec-label {
    font-size: 0.72rem !important;
  }
  .arcade-desc-spec-val {
    font-size: 0.78rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Similar Games & Controls Lists */
  .arcade-bottom-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 14px !important;
  }
  .arcade-similar-games-list {
    width: 100% !important;
    max-width: 100% !important;
  }
  .arcade-similar-row-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 8px 10px !important;
    gap: 8px !important;
  }
  .arcade-similar-thumb-box {
    width: 50px !important;
    height: 40px !important;
    min-width: 50px !important;
  }
  .arcade-similar-name {
    font-size: 0.8rem !important;
  }
  .arcade-similar-play-pill {
    padding: 4px 8px !important;
    font-size: 0.72rem !important;
  }
  .arcade-controls-list {
    width: 100% !important;
    max-width: 100% !important;
  }
  .arcade-control-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ── 7. Homepage Feature Action Cards & Banners ── */
@media (max-width: 768px) {
  .arcade-hero-banner {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    box-shadow: 4px 4px 0px #111111 !important;
    margin-bottom: 12px !important;
  }
  .arcade-hero-img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .arcade-features-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 16px !important;
  }
  .arcade-feature-card {
    padding: 10px 8px !important;
    border-radius: 10px !important;
    box-shadow: 3px 3px 0px #111111 !important;
    gap: 8px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .arcade-feature-card .feature-icon-badge {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
  }
  .arcade-feature-card .feature-icon-badge svg {
    width: 18px !important;
    height: 18px !important;
  }
  .arcade-feature-card .feature-info {
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .arcade-feature-card .feature-title {
    font-size: 0.82rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .arcade-feature-card .feature-subtitle {
    font-size: 0.7rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Games Grid on Mobile */
  .arcade-games-grid,
  .catalog-games-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .arcade-game-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
    box-shadow: 3px 3px 0px #111111 !important;
  }
}

/* ── 8. Super-compact phones (<= 360px) ── */
@media (max-width: 360px) {
  .arcade-games-grid,
  .catalog-games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
  .arcade-game-card {
    border-radius: 8px !important;
    box-shadow: 2.5px 2.5px 0px #111111 !important;
  }
  .arcade-card-meta {
    padding: 6px 6px !important;
  }
  .arcade-card-title {
    font-size: 0.72rem !important;
  }
  .btn-arcade-play-now {
    padding: 5px 6px !important;
    font-size: 0.68rem !important;
  }
  .arcade-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
  .arcade-desc-spec-box {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
}

/* ── 9. Footer Connect Banner & Neo-Brutalist Cards ── */
@media (max-width: 768px) {
  .footer {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .footer .arcade-container {
    padding: 0 10px !important;
  }
  .footer-connect-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 12px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    border-radius: 12px !important;
    box-shadow: 3px 3px 0px #111111 !important;
    margin-bottom: 20px !important;
  }
  .footer-connect-card > div:last-child {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .footer-connect-card a {
    flex: 1 1 calc(50% - 4px) !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 8px 10px !important;
    font-size: 0.78rem !important;
    box-sizing: border-box !important;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .footer-col-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 3px 3px 0px #111111 !important;
    padding: 14px 12px !important;
  }
  .neo-footer-badges-strip {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .neo-footer-badge-pill {
    flex: 1 1 auto !important;
    padding: 6px 10px !important;
    font-size: 0.74rem !important;
    justify-content: center !important;
    text-align: center !important;
  }
}
