/* ====================================================================
   oasisVRX Experience Library Stylesheet
   Theme: Official oasisVRX Blue & Dark Futuristic Cyber Arcade
   ==================================================================== */

:root {
  --bg-primary: #080B14;
  --bg-secondary: #111827;
  --bg-card: #151D30;
  --bg-card-hover: #1A243D;
  --surface-border: #1F293D;
  
  /* oasisVRX Signature Electric Blue */
  --electric-blue: #00BFFF;
  --electric-blue-glow: rgba(0, 191, 255, 0.45);
  --electric-blue-light: #52D2FF;
  --electric-blue-subtle: rgba(0, 191, 255, 0.15);
  --electric-blue-border: rgba(0, 191, 255, 0.35);
  
  --purple: #8B5CF6;
  --purple-glow: rgba(139, 92, 246, 0.35);
  --purple-dark: #6D28D9;
  
  --text-white: #F9FAFB;
  --text-gray-100: #E5E7EB;
  --text-gray-400: #9CA3AF;
  --text-gray-500: #6B7280;

  --badge-family: #10B981;
  --badge-horror: #EF4444;
  --badge-pvp: #00BFFF;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  --card-shadow-hover: 0 12px 30px -5px rgba(0, 191, 255, 0.3), 0 0 15px rgba(0, 191, 255, 0.15);
}

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

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-white);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Subtle futuristic background ambient gradient */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 550px;
  background: radial-gradient(circle at 50% -80px, rgba(0, 191, 255, 0.22), rgba(0, 140, 255, 0.12) 45%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ====================================================================
   TOP NAVIGATION BAR
   ==================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 11, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 191, 255, 0.2);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}

/* Brand Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

.brand-logo-img {
  height: 46px;
  width: 46px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.45));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.brand:hover .brand-logo-img {
  transform: scale(1.06);
  filter: drop-shadow(0 0 16px rgba(0, 191, 255, 0.8));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-white);
  line-height: 1.1;
}

.brand-title .brand-accent {
  color: var(--electric-blue);
  text-shadow: 0 0 12px var(--electric-blue-glow);
}

.brand-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--electric-blue);
  text-transform: uppercase;
}

/* Main Navigation Tabs */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(17, 24, 39, 0.7);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--surface-border);
}

.nav-btn {
  background: transparent;
  border: none;
  color: var(--text-gray-400);
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
  outline: none;
}

.nav-btn:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

.nav-btn.active {
  color: var(--bg-primary);
  background: var(--electric-blue);
  box-shadow: 0 0 15px var(--electric-blue-glow);
  font-weight: 700;
}

.nav-btn .count-pill {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
}

/* Nav Actions (Search & Arcade status) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-search-input {
  background: #111827;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-full);
  padding: 9px 16px 9px 38px;
  font-size: 14px;
  color: var(--text-white);
  width: 220px;
  transition: all var(--transition-fast);
  outline: none;
}

.nav-search-input:focus {
  width: 280px;
  border-color: var(--electric-blue);
  box-shadow: 0 0 10px var(--electric-blue-glow);
}

.nav-search-icon {
  position: absolute;
  left: 14px;
  width: 15px;
  height: 15px;
  fill: var(--text-gray-400);
  pointer-events: none;
}

.clear-search-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-gray-400);
  cursor: pointer;
  font-size: 14px;
  display: none;
  padding: 2px;
}

.clear-search-btn:hover {
  color: var(--text-white);
}

/* Status Indicator */
.arcade-status-badge,
.library-status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 191, 255, 0.12);
  border: 1px solid rgba(0, 191, 255, 0.35);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: #38BDF8;
  user-select: none;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00BFFF;
  box-shadow: 0 0 10px #00BFFF;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ====================================================================
   HERO BANNER & HEADER SECTION
   ==================================================================== */
.hero-section {
  padding: 40px 0 36px 0;
  text-align: center;
  position: relative;
}

.hero-brand-emblem-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
}

.hero-brand-emblem {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(0, 191, 255, 0.65)) drop-shadow(0 0 45px rgba(0, 140, 255, 0.35));
  animation: heroLogoGlow 4s infinite ease-in-out;
  transition: transform 0.3s ease;
}

.hero-brand-emblem:hover {
  transform: scale(1.08);
}

@keyframes heroLogoGlow {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.55)) drop-shadow(0 0 38px rgba(0, 140, 255, 0.3));
    transform: translateY(0);
  }
  50% {
    filter: drop-shadow(0 0 32px rgba(0, 191, 255, 0.85)) drop-shadow(0 0 55px rgba(0, 140, 255, 0.45));
    transform: translateY(-4px);
  }
}

.hero-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 191, 255, 0.12);
  border: 1px solid rgba(0, 191, 255, 0.38);
  color: #38BDF8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  box-shadow: 0 0 16px rgba(0, 191, 255, 0.2);
}

.hero-tagline-badge svg {
  width: 14px;
  height: 14px;
  fill: #00BFFF;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #FFFFFF 20%, #52D2FF 65%, #00BFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-gray-400);
  max-width: 680px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

/* ====================================================================
   CATEGORY HERO SHOWCASE CARDS (4 SECTIONS)
   ==================================================================== */
.category-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.cat-card {
  position: relative;
  background: linear-gradient(145deg, #111827 0%, #151D30 100%);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition-normal);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

.cat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition-normal);
}

.cat-card.arena-cat::before {
  background: linear-gradient(90deg, var(--electric-blue), transparent);
}

.cat-card.escape-cat::before {
  background: linear-gradient(90deg, var(--purple), transparent);
}

.cat-card.stations-cat::before {
  background: linear-gradient(90deg, #06B6D4, transparent);
}

.cat-card.seats-cat::before {
  background: linear-gradient(90deg, #F59E0B, transparent);
}

.cat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.cat-card.arena-cat:hover {
  box-shadow: 0 16px 36px -10px rgba(0, 191, 255, 0.3);
  border-color: rgba(0, 191, 255, 0.4);
}

.cat-card.escape-cat:hover {
  box-shadow: 0 16px 36px -10px rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.4);
}

.cat-card.stations-cat:hover {
  box-shadow: 0 16px 36px -10px rgba(6, 182, 212, 0.3);
  border-color: rgba(6, 182, 212, 0.4);
}

.cat-card.seats-cat:hover {
  box-shadow: 0 16px 36px -10px rgba(245, 158, 11, 0.3);
  border-color: rgba(245, 158, 11, 0.4);
}

.cat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.arena-cat .cat-pill {
  background: rgba(0, 191, 255, 0.15);
  color: var(--electric-blue);
  border: 1px solid rgba(0, 191, 255, 0.3);
}

.escape-cat .cat-pill {
  background: rgba(139, 92, 246, 0.15);
  color: #C4B5FD;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.stations-cat .cat-pill {
  background: rgba(6, 182, 212, 0.15);
  color: #22D3EE;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.seats-cat .cat-pill {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.cat-count-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-gray-400);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.cat-card-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  color: var(--text-white);
}

.cat-card-desc {
  font-size: 13px;
  color: var(--text-gray-400);
  line-height: 1.5;
  margin-bottom: 18px;
}

.cat-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  transition: transform var(--transition-fast);
}

.arena-cat .cat-card-action {
  color: var(--electric-blue);
}

.escape-cat .cat-card-action {
  color: #C4B5FD;
}

.stations-cat .cat-card-action {
  color: #22D3EE;
}

.seats-cat .cat-card-action {
  color: #FBBF24;
}

.cat-card:hover .cat-card-action {
  transform: translateX(4px);
}

/* ====================================================================
   SECTION WRAPPERS ON HOMEPAGE
   ==================================================================== */
.category-section {
  scroll-margin-top: 100px;
  padding: 24px 0 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.category-section:last-of-type {
  border-bottom: none;
}

.category-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 12px;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-count-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-gray-100);
}


/* ====================================================================
   CONTROL BAR (Filters, Search info, View info)
   ==================================================================== */
.gallery-controls {
  margin-bottom: 32px;
  background: #111827;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 18px 24px;
}

.controls-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.category-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tab {
  background: transparent;
  border: 1px solid var(--surface-border);
  color: var(--text-gray-400);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-tab.active {
  background: rgba(0, 191, 255, 0.12);
  border-color: var(--electric-blue);
  color: var(--electric-blue);
  font-weight: 700;
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.2);
}

.gallery-stats {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-gray-400);
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-stats .highlight {
  color: var(--text-white);
  font-weight: 700;
}

/* Secondary Arena Genre Tags Row */
.genre-filter-row {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.genre-filter-row.visible {
  display: flex;
}

.genre-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 6px;
}

.genre-pill {
  background: #151D30;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-gray-400);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.genre-pill:hover {
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.2);
}

.genre-pill.active {
  background: rgba(0, 191, 255, 0.2);
  border-color: var(--electric-blue);
  color: var(--electric-blue);
  font-weight: 700;
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.35);
}

/* ====================================================================
   SECTION HEADINGS
   ==================================================================== */
.section-header-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title .section-accent {
  width: 4px;
  height: 24px;
  background: var(--electric-blue);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--electric-blue-glow);
}

.section-desc {
  font-size: 13px;
  color: var(--text-gray-400);
}

/* ====================================================================
   GAME CARDS RESPONSIVE GRID
   Desktop: 4 per row
   Tablet:  2-3 per row
   Mobile:  1-2 per row
   ==================================================================== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

/* Card item */
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  will-change: transform;
}

.game-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: var(--electric-blue);
  box-shadow: var(--card-shadow-hover);
}

/* Card Media / Thumbnail */
.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #0d1322;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.game-card:hover .card-img {
  transform: scale(1.06);
}

/* Media Overlay Badges */
.card-badges-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.card-badge-cat {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  background: rgba(8, 11, 20, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-white);
}

.card-badge-cat.cat-arena {
  border-color: rgba(0, 191, 255, 0.4);
  color: var(--electric-blue);
}

.card-badge-cat.cat-escape {
  border-color: rgba(139, 92, 246, 0.4);
  color: #C4B5FD;
}

.card-badge-cat.cat-stations {
  border-color: rgba(6, 182, 212, 0.4);
  color: #22D3EE;
}

.card-badge-cat.cat-seats {
  border-color: rgba(245, 158, 11, 0.4);
  color: #FBBF24;
}


.card-badge-indicator {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  background: rgba(8, 11, 20, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-gray-100);
}

.card-badge-indicator.family {
  color: #34D399;
  border-color: rgba(52, 211, 153, 0.4);
}

.card-badge-indicator.horror {
  color: #F87171;
  border-color: rgba(248, 113, 113, 0.4);
}

.card-badge-indicator.pvp {
  color: var(--electric-blue);
  border-color: rgba(0, 191, 255, 0.4);
}

/* Quick Play Button Hover Overlay */
.card-media-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 11, 20, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  cursor: pointer;
  z-index: 1;
}

.play-circle-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--electric-blue);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--electric-blue);
  transform: scale(0.85);
  transition: transform var(--transition-fast);
}

.play-circle-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  margin-left: 2px;
}

.game-card:hover .card-media-play-overlay {
  opacity: 1;
}

.game-card:hover .play-circle-icon {
  transform: scale(1);
}

/* Card Body */
.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.card-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-gray-400);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-meta-top .genre-text {
  color: #38BDF8;
}

.card-meta-top .meta-dot {
  color: var(--text-gray-500);
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 10px;
}

.card-description {
  font-size: 13px;
  color: var(--text-gray-400);
  line-height: 1.5;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Card Meta Details (Players, Duration) */
.card-details-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--text-gray-400);
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.detail-item svg {
  width: 14px;
  height: 14px;
  fill: var(--text-gray-400);
}

/* Card Footer / Watch Trailer Button */
.card-footer {
  margin-top: auto;
}

.btn-watch-trailer {
  width: 100%;
  background: rgba(0, 191, 255, 0.08);
  border: 1px solid rgba(0, 191, 255, 0.3);
  color: var(--electric-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-watch-trailer svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.btn-watch-trailer:hover,
.game-card:hover .btn-watch-trailer {
  background: var(--electric-blue);
  color: var(--bg-primary);
  border-color: var(--electric-blue);
  box-shadow: 0 0 16px var(--electric-blue-glow);
}

.btn-watch-trailer:hover svg {
  transform: scale(1.15);
}

/* ====================================================================
   EMPTY & NO-RESULTS STATE
   ==================================================================== */
.no-results-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 20px;
  background: #111827;
  border: 1px dashed var(--surface-border);
  border-radius: var(--radius-lg);
  margin: 20px 0;
}

.no-results-icon {
  width: 48px;
  height: 48px;
  fill: var(--text-gray-500);
  margin: 0 auto 16px auto;
}

.no-results-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.no-results-desc {
  font-size: 14px;
  color: var(--text-gray-400);
  margin-bottom: 20px;
}

.btn-reset-search {
  background: var(--electric-blue);
  color: var(--bg-primary);
  border: none;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
}

/* ====================================================================
   VIDEO TRAILER MODAL
   ==================================================================== */
.trailer-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 20, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.trailer-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.trailer-modal {
  background: #111827;
  border: 1px solid rgba(0, 191, 255, 0.35);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 191, 255, 0.2);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 960px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.trailer-modal-backdrop.open .trailer-modal {
  transform: scale(1);
}

/* Modal Header */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--surface-border);
  background: #0d1322;
}

.modal-header-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-brand-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.55));
  flex-shrink: 0;
}

.modal-game-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 0.5px;
}

.modal-game-pill {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 191, 255, 0.15);
  color: var(--electric-blue);
  border: 1px solid rgba(0, 191, 255, 0.3);
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #EF4444;
  border-color: #EF4444;
  color: #FFFFFF;
}

/* Video Stage */
.modal-video-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.modal-video-iframe,
.modal-video-player {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Trailer Coming Soon Fallback View */
.trailer-empty-view {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  background: linear-gradient(135deg, #0d1322 0%, #111827 100%);
}

.trailer-empty-icon {
  width: 60px;
  height: 60px;
  fill: var(--electric-blue);
  margin-bottom: 16px;
  opacity: 0.8;
}

.trailer-empty-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
}

.trailer-empty-desc {
  font-size: 14px;
  color: var(--text-gray-400);
  max-width: 480px;
  line-height: 1.6;
}

/* Modal Footer */
.modal-footer {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  background: #0d1322;
  border-top: 1px solid var(--surface-border);
}

.modal-description-text {
  font-size: 13.5px;
  color: var(--text-gray-300);
  line-height: 1.5;
  margin: 0;
}

/* ====================================================================
   STAFF MANAGEMENT HELPER MODAL
   ==================================================================== */
.staff-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 20, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.staff-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.staff-modal {
  background: #111827;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.staff-modal h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-white);
}

.staff-modal p {
  font-size: 14px;
  color: var(--text-gray-400);
  line-height: 1.6;
  margin-bottom: 16px;
}

.staff-code-block {
  background: #080B14;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 13px;
  color: #38BDF8;
  margin-bottom: 20px;
  overflow-x: auto;
}

/* ====================================================================
   FOOTER
   ==================================================================== */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--surface-border);
  background: #080B14;
  padding: 40px 0 28px 0;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.45));
  flex-shrink: 0;
}

.footer-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-white);
}

.footer-sub {
  font-size: 12px;
  color: var(--text-gray-400);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-btn {
  background: none;
  border: none;
  color: var(--text-gray-400);
  font-size: 13px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.footer-btn:hover {
  color: var(--electric-blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-gray-500);
  flex-wrap: wrap;
  gap: 12px;
}

/* ====================================================================
   RESPONSIVE BREAKPOINTS
   Desktop: 4 cards / row (default)
   Tablet:  2-3 cards / row (<= 1180px, <= 880px)
   Mobile:  1-2 cards / row (<= 640px)
   ==================================================================== */
@media (max-width: 1180px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1200px) {
  .category-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .category-showcase-grid {
    grid-template-columns: 1fr;
  }

  
  .hero-title {
    font-size: 36px;
  }
  
  .nav-wrap {
    height: auto;
    padding: 16px 0;
    flex-wrap: wrap;
  }
  
  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .nav-search-input {
    width: 100%;
  }
  
  .nav-search-input:focus {
    width: 100%;
  }
}

@media (max-width: 580px) {
  .hero-brand-emblem {
    width: 80px;
    height: 80px;
  }

  .brand-logo-img {
    height: 38px;
    width: 38px;
  }

  .brand-title {
    font-size: 20px;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 15px;
  }
  
  .nav-links {
    width: 100%;
    justify-content: space-between;
  }
  
  .nav-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .modal-header {
    padding: 12px 16px;
  }

  .modal-brand-badge {
    width: 28px;
    height: 28px;
  }
  
  .modal-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ====================================================================
   DEDICATED CATEGORY ROUTE STYLES (/personals/, /motion-seats/, etc.)
   ==================================================================== */
.category-page-header {
  padding: 36px 0 24px 0;
  text-align: center;
  position: relative;
}

.category-top-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.category-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 191, 255, 0.08);
  border: 1px solid rgba(0, 191, 255, 0.3);
  color: var(--electric-blue);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.category-back-btn:hover {
  background: var(--electric-blue);
  color: var(--bg-primary);
  box-shadow: 0 0 16px var(--electric-blue-glow);
  transform: translateX(-3px);
}

.category-share-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--surface-border);
  color: var(--text-gray-400);
  font-size: 12px;
  font-family: Consolas, Monaco, monospace;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.category-page-title {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #FFFFFF 20%, #52D2FF 65%, #00BFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.category-page-desc {
  font-size: 17px;
  color: var(--text-gray-300);
  max-width: 720px;
  margin: 0 auto 10px auto;
  line-height: 1.6;
}

.category-page-sub {
  font-size: 14px;
  color: var(--text-gray-400);
  max-width: 680px;
  margin: 0 auto 24px auto;
  line-height: 1.5;
}

.category-stat-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.category-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 191, 255, 0.12);
  border: 1px solid rgba(0, 191, 255, 0.35);
  color: #38BDF8;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.section-direct-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--electric-blue);
  text-decoration: none;
  background: rgba(0, 191, 255, 0.08);
  border: 1px solid rgba(0, 191, 255, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.section-direct-link:hover {
  background: var(--electric-blue);
  color: var(--bg-primary);
  box-shadow: 0 0 10px var(--electric-blue-glow);
}

/* Ensure <a> styled as nav-btn works identically */
a.nav-btn {
  text-decoration: none;
}

/* ====================================================================
   DEDICATED EMBED COMPONENT STYLES (/embed/personals/, etc.)
   ==================================================================== */
body.embed-mode {
  min-height: 100vh;
  background-color: var(--bg-primary);
  color: var(--text-white);
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 191, 255, 0.4) rgba(8, 11, 20, 0.8);
}

body.embed-mode::-webkit-scrollbar {
  width: 7px;
}

body.embed-mode::-webkit-scrollbar-track {
  background: rgba(8, 11, 20, 0.85);
}

body.embed-mode::-webkit-scrollbar-thumb {
  background: rgba(0, 191, 255, 0.35);
  border-radius: 4px;
}

body.embed-mode::-webkit-scrollbar-thumb:hover {
  background: var(--electric-blue);
}

body.embed-mode::before {
  height: 260px;
  background: radial-gradient(circle at 50% -40px, rgba(0, 191, 255, 0.2), rgba(0, 140, 255, 0.08) 50%, transparent 80%);
}

.embed-toolbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(13, 19, 33, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 191, 255, 0.22);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.embed-brand-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.embed-brand-badge img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0, 191, 255, 0.4));
}

.embed-brand-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-white);
  line-height: 1.1;
}

.embed-brand-title span {
  color: var(--electric-blue);
}

.embed-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 191, 255, 0.12);
  border: 1px solid rgba(0, 191, 255, 0.3);
  color: #38BDF8;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.embed-search-wrap {
  display: flex;
  align-items: center;
  position: relative;
  min-width: 200px;
  max-width: 300px;
  flex-grow: 1;
}

.embed-search-input {
  width: 100%;
  background: rgba(21, 29, 48, 0.9);
  border: 1px solid rgba(0, 191, 255, 0.25);
  border-radius: var(--radius-full);
  color: var(--text-white);
  font-size: 12px;
  padding: 6px 30px 6px 32px;
  outline: none;
  transition: all var(--transition-fast);
}

.embed-search-input:focus {
  border-color: var(--electric-blue);
  box-shadow: 0 0 10px var(--electric-blue-glow);
  background: rgba(21, 29, 48, 1);
}

.embed-search-icon {
  position: absolute;
  left: 10px;
  width: 14px;
  height: 14px;
  fill: var(--text-gray-400);
  pointer-events: none;
}

.embed-clear-btn {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  color: var(--text-gray-400);
  font-size: 12px;
  cursor: pointer;
  padding: 2px 4px;
  display: none;
}

.embed-clear-btn:hover {
  color: var(--text-white);
}

.embed-filter-bar {
  background: rgba(8, 11, 20, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.embed-filter-bar .genre-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  margin-right: 4px;
}

.embed-filter-bar .genre-pill {
  padding: 4px 11px;
  font-size: 11px;
}

.embed-catalog-body {
  padding: 16px;
  position: relative;
}

.embed-catalog-body .games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

@media (max-width: 640px) {
  .embed-catalog-body {
    padding: 12px;
  }
  .embed-catalog-body .games-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .embed-toolbar {
    padding: 8px 12px;
  }
  .embed-search-wrap {
    min-width: 100%;
    order: 3;
  }
}

