/* ==========================================================================
   UMISPLAYHUB — High-Graphics Neon Cinematic Gaming Design System
   Palette: Deep Void (#06080F), Obsidian (#0D121F), Dark Navy (#131A2C)
   Neon Accents: Electric Cyan (#00D4FF), Cobalt (#4C8DFF), Neon Violet (#9D5CFF), Crimson (#FF2E54)
   Typography: Oxanium (Display) + Inter (Body)
   ========================================================================== */

:root {
  --bg: #06080f;
  --bg-deep: #04050a;
  --surface: rgba(13, 18, 31, 0.86);
  --surface-solid: #0d121f;
  --surface-elevated: #141c30;
  --border: rgba(76, 141, 255, 0.22);
  --border-strong: rgba(0, 212, 255, 0.44);

  --text: #f5f7fc;
  --text-secondary: #c0cbe0;
  --text-muted: #8a98b5;

  --cyan: #00d4ff;
  --blue: #4c8dff;
  --purple: #9d5cff;
  --red: #ff2e54;
  --red-hover: #ff4769;

  --glow-cyan: 0 0 24px rgba(0, 212, 255, 0.28);
  --glow-purple: 0 0 24px rgba(157, 92, 255, 0.28);
  --glow-red: 0 0 24px rgba(255, 46, 84, 0.3);

  --font-display: "Oxanium", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --container: 1240px;
  --shadow-card: 0 18px 42px rgba(0, 0, 0, 0.55);
  --transition: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(0, 212, 255, 0.08), transparent 36%),
    radial-gradient(circle at 85% 25%, rgba(157, 92, 255, 0.09), transparent 38%),
    radial-gradient(circle at 50% 80%, rgba(255, 46, 84, 0.06), transparent 42%),
    linear-gradient(rgba(76, 141, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 141, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 44px 44px, 44px 44px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
svg,
iframe,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

a:hover {
  color: #7ee8ff;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.85rem);
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.35rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
}

ul, ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: var(--text-secondary);
}

li + li {
  margin-top: 0.4rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(20, 28, 48, 0.9);
  border: 1px solid var(--border);
  padding: 0.12rem 0.42rem;
  border-radius: 5px;
  color: #8eeaff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--cyan);
  color: #050810;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

.section {
  position: relative;
  padding-block: 3.75rem;
}

@media (min-width: 768px) {
  .section {
    padding-block: 5rem;
  }
}

.section-alt {
  background: linear-gradient(180deg, rgba(13, 18, 31, 0.78) 0%, rgba(8, 11, 20, 0.92) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(0, 212, 255, 0.08);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.15rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.55rem;
  text-shadow: 0 0 14px rgba(0, 212, 255, 0.35);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.eyebrow-purple {
  color: #c299ff;
  text-shadow: 0 0 14px rgba(157, 92, 255, 0.4);
}

.eyebrow-red {
  color: #ff6b86;
  text-shadow: 0 0 14px rgba(255, 46, 84, 0.4);
}

.lead {
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: var(--text-secondary);
  max-width: 65ch;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 8, 15, 0.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.brand-mark:hover {
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(0, 212, 255, 0.45);
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.3);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  background: var(--surface-elevated);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(13, 18, 31, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-strong);
  padding: 1rem;
  box-shadow: var(--shadow-card);
}

.site-nav.is-open {
  display: block;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.nav-list li {
  margin: 0;
}

.nav-link {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
  background: rgba(0, 212, 255, 0.1);
}

.nav-link.is-active {
  color: var(--cyan);
  box-shadow: inset 3px 0 0 var(--cyan);
}

@media (min-width: 980px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    position: static;
    background: transparent;
    backdrop-filter: none;
    border: 0;
    padding: 0;
    box-shadow: none;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.2rem;
  }

  .nav-link {
    padding: 0.45rem 0.72rem;
    font-size: 0.88rem;
  }

  .nav-link.is-active {
    box-shadow: inset 0 -2px 0 var(--cyan);
    background: rgba(0, 212, 255, 0.08);
  }
}

/* Neon Buttons */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #00d4ff 0%, #4c8dff 100%);
  color: #050810;
  box-shadow: 0 6px 24px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3be0ff 0%, #6ba3ff 100%);
  color: #050810;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.48);
}

.btn-red {
  background: linear-gradient(135deg, #ff2e54 0%, #d92344 100%);
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(255, 46, 84, 0.34);
}

.btn-red:hover {
  background: linear-gradient(135deg, #ff4d6d 0%, #ef2e51 100%);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(255, 46, 84, 0.52);
}

.btn-secondary {
  background: rgba(20, 28, 48, 0.85);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.btn-sm {
  padding: 0.52rem 0.95rem;
  font-size: 0.8rem;
}

/* High-Graphics Neon Cinematic Hero */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding-block: 4.5rem 4rem;
  background-color: var(--bg-deep);
  overflow: hidden;
  border-bottom: 1px solid var(--border-strong);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
  filter: saturate(1.15) contrast(1.06);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 35%, rgba(0, 212, 255, 0.14), transparent 46%),
    radial-gradient(circle at 78% 60%, rgba(157, 92, 255, 0.16), transparent 50%),
    linear-gradient(95deg, rgba(6, 8, 15, 0.95) 0%, rgba(6, 8, 15, 0.78) 52%, rgba(6, 8, 15, 0.45) 100%),
    linear-gradient(180deg, rgba(6, 8, 15, 0.35) 0%, rgba(6, 8, 15, 0.96) 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.75;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-content {
  max-width: 44rem;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.38);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.35rem);
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin-bottom: 1rem;
  text-shadow: 0 0 36px rgba(0, 212, 255, 0.24);
}

.hero-title-accent {
  background: linear-gradient(90deg, #ffffff 0%, #8be8ff 50%, #c69eff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.06rem, 2.1vw, 1.32rem);
  color: var(--text);
  margin-bottom: 0.65rem;
  font-weight: 500;
}

.hero-byline {
  font-size: 0.98rem;
  color: var(--cyan);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.hero-supporting {
  font-size: 0.92rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.hero-hud {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 600px) {
  .hero-hud {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hud-stat {
  background: rgba(13, 18, 31, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(76, 141, 255, 0.28);
  border-top: 2px solid var(--cyan);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
}

.hud-stat-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.hud-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 0.2rem;
}

/* Interactive Hero Spotlight Panel */
.hero-spotlight {
  position: relative;
  background: rgba(13, 18, 31, 0.86);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 212, 255, 0.38);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.65), 0 0 36px rgba(0, 212, 255, 0.16);
}

.spotlight-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.spotlight-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(13, 18, 31, 0.96) 100%);
}

.spotlight-body {
  padding: 1.25rem;
}

.spotlight-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.spotlight-tab {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(20, 28, 48, 0.8);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.spotlight-tab.is-active,
.spotlight-tab:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.12);
}

/* Page Banner (Subpages) */
.page-hero {
  position: relative;
  padding-block: 3.5rem 3rem;
  background: linear-gradient(180deg, var(--surface-elevated) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border-strong);
}

.page-hero-bg {
  position: relative;
  overflow: hidden;
}

.page-hero-bg .page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg .page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.44;
  filter: saturate(1.15);
}

.page-hero-bg .page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 40%, rgba(0, 212, 255, 0.14), transparent 50%),
    linear-gradient(180deg, rgba(6, 8, 15, 0.45) 0%, rgba(6, 8, 15, 0.96) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.breadcrumbs a {
  color: var(--text-secondary);
}

.breadcrumbs a:hover {
  color: var(--cyan);
}

/* Grids & High-Graphics Neon Cards */
.grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(20, 28, 48, 0.82) 0%, rgba(11, 15, 27, 0.95) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
  opacity: 0.45;
  transition: opacity var(--transition);
  z-index: 2;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.65), 0 0 28px rgba(0, 212, 255, 0.22);
}

.card:hover::before {
  opacity: 1;
}

.card-accent-purple:hover {
  border-color: rgba(157, 92, 255, 0.65);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.65), var(--glow-purple);
}

.card-accent-red:hover {
  border-color: rgba(255, 46, 84, 0.65);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.65), var(--glow-red);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface-elevated);
  overflow: hidden;
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 15, 0) 45%, rgba(11, 15, 27, 0.92) 100%);
  pointer-events: none;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12);
  transition: transform 360ms ease, filter 360ms ease;
}

.card:hover .card-media img {
  transform: scale(1.06);
  filter: saturate(1.24);
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

.card-title {
  font-size: 1.18rem;
  margin: 0;
  color: var(--text);
}

.card-title a {
  color: var(--text);
}

.card-title a:hover {
  color: var(--cyan);
}

.card-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 0;
}

.card-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-top: 1px solid rgba(76, 141, 255, 0.18);
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Badges & Neon Pills */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(20, 28, 48, 0.9);
  border: 1px solid rgba(76, 141, 255, 0.28);
  color: var(--text-secondary);
}

.badge-blue {
  background: rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.45);
  color: #8eeaff;
}

.badge-purple {
  background: rgba(157, 92, 255, 0.14);
  border-color: rgba(157, 92, 255, 0.48);
  color: #d6baff;
}

.badge-red {
  background: rgba(255, 46, 84, 0.14);
  border-color: rgba(255, 46, 84, 0.48);
  color: #ff99ab;
}

.badge-status-played {
  background: rgba(0, 212, 255, 0.14);
  border-color: rgba(0, 212, 255, 0.48);
  color: #93ebff;
}

.badge-status-completed {
  background: rgba(45, 212, 147, 0.16);
  border-color: rgba(45, 212, 147, 0.5);
  color: #8cf2c8;
}

.badge-status-playing {
  background: rgba(157, 92, 255, 0.16);
  border-color: rgba(157, 92, 255, 0.5);
  color: #dcc5ff;
}

.badge-status-wishlist {
  background: rgba(255, 46, 84, 0.15);
  border-color: rgba(255, 46, 84, 0.48);
  color: #ffa3b4;
}

/* Editorial Split & Glowing Panels */
.editorial-split {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 840px) {
  .editorial-split {
    grid-template-columns: 1.12fr 0.88fr;
  }
}

.panel {
  position: relative;
  background: rgba(13, 18, 31, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.panel-highlight {
  background: linear-gradient(145deg, rgba(20, 28, 48, 0.92) 0%, rgba(12, 16, 30, 0.96) 100%);
  border-color: rgba(0, 212, 255, 0.36);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), 0 0 26px rgba(0, 212, 255, 0.12);
}

.panel-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  aspect-ratio: 16 / 9;
}

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

.quote-panel {
  border-left: 3px solid var(--purple);
  background: linear-gradient(135deg, rgba(157, 92, 255, 0.1) 0%, rgba(13, 18, 31, 0.9) 100%);
  border-top: 1px solid rgba(157, 92, 255, 0.28);
  border-right: 1px solid rgba(157, 92, 255, 0.2);
  border-bottom: 1px solid rgba(157, 92, 255, 0.2);
  padding: 1.4rem 1.6rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

/* Filter & Search Controls */
.controls-bar {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
  background: rgba(13, 18, 31, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

@media (min-width: 720px) {
  .controls-bar {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    align-items: end;
  }
}

.controls-bar-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .controls-bar-3 {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.input,
.select {
  width: 100%;
  min-height: 2.7rem;
  padding: 0.5rem 0.8rem;
  background: var(--bg-deep);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.94rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.input:focus,
.select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.16);
  outline: none;
}

.input::placeholder {
  color: var(--text-muted);
}

.results-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Genre Pill Grid */
.genre-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.genre-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.05rem;
  background: rgba(13, 18, 31, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
}

.genre-pill:hover {
  border-color: var(--cyan);
  background: rgba(0, 212, 255, 0.1);
  color: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.genre-count {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Game & Article Detail Layouts */
.meta-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  background: rgba(13, 18, 31, 0.88);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.meta-item dt {
  font-family: var(--font-display);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 0.2rem;
}

.meta-item dd {
  margin: 0;
  font-weight: 500;
  color: var(--text);
}

.prose {
  max-width: 72ch;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.55rem;
}

.prose h3 {
  margin-top: 1.5rem;
  font-size: 1.22rem;
}

.prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: rgba(157, 92, 255, 0.1);
  border-left: 3px solid var(--purple);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-secondary);
}

/* Video Embed Facade (Click-to-load, no autoplay) */
.video-facade {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--surface-elevated);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(6, 8, 15, 0.5);
  color: #ffffff;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  transition: background-color var(--transition);
}

.video-play-btn:hover {
  background: rgba(6, 8, 15, 0.28);
}

.video-play-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff2e54 0%, #d92344 100%);
  color: #ffffff;
  box-shadow: 0 0 28px rgba(255, 46, 84, 0.6);
}

.video-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* YouTube CTA Banner */
.cta-banner {
  position: relative;
  padding: 2.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 85% 25%, rgba(255, 46, 84, 0.22), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(0, 212, 255, 0.14), transparent 45%),
    linear-gradient(135deg, rgba(20, 28, 48, 0.95) 0%, rgba(12, 15, 28, 0.98) 100%);
  border: 1px solid rgba(255, 46, 84, 0.42);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.58), 0 0 36px rgba(255, 46, 84, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cta-banner {
    padding: 3rem;
  }
}

/* Empty State */
.empty-state {
  padding: 2.25rem;
  text-align: center;
  background: rgba(13, 18, 31, 0.84);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
}

.is-hidden {
  display: none !important;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #04050a;
  border-top: 1px solid var(--border);
  padding-block: 3.25rem 2.25rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.25rem;
}

@media (min-width: 680px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.48rem;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(76, 141, 255, 0.18);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Utility classes (keeps CSP strict without inline style attributes) */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 0.75rem; }
.mt-3 { margin-top: 1.25rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }
.mt-6 { margin-top: 3.5rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 0.75rem; }
.mb-3 { margin-bottom: 1.25rem; }
.mb-4 { margin-bottom: 1.75rem; }
.mb-5 { margin-bottom: 2.25rem; }
.mx-auto { margin-inline: auto; }
.text-sm { font-size: 0.85rem; }
.text-md { font-size: 0.95rem; }
.h-lg { font-size: 1.3rem; }
.h-md { font-size: 1.1rem; }
.max-w-sm { max-width: 42rem; }
.max-w-md { max-width: 44ch; }
.max-w-lg { max-width: 60ch; }
.max-w-video { max-width: 720px; }
.text-center { text-align: center; }
.justify-center { justify-content: center; }
.flex-between {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.flex-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.divider-top {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(76, 141, 255, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
