/* ==========================================================================
   HOMELAND MODS - STYLESHEET (CYBERPUNK / HIGH-OCTANE GAMING AESTHETICS)
   ========================================================================== */

:root {
  /* Vibrant Accents */
  --neon-green: #10b981;
  --neon-cyan: #0284c7;
  --neon-blue: #2563eb;
  --neon-magenta: #e11d48;
  --neon-purple: #7c3aed;
  --neon-yellow: #d97706;
  
  /* Clean White & Crisp Light Theme Surfaces */
  --bg-dark-base: #f8fafc;
  --bg-dark-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --glass-border: #e2e8f0;
  --glass-border-glow: rgba(2, 132, 199, 0.35);
  
  /* Typography Colors */
  --text-pure: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  /* Fonts */
  --font-cyber: 'Orbitron', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Modern Clean Shadows */
  --glow-green: 0 4px 15px rgba(16, 185, 129, 0.25);
  --glow-cyan: 0 4px 15px rgba(2, 132, 199, 0.25);
  --glow-magenta: 0 4px 15px rgba(225, 29, 72, 0.25);
  --glow-card: 0 4px 20px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);

  /* Transitions */
  --tr-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   RESET & GLOBAL BASICS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  background-color: var(--bg-dark-base);
  color: var(--text-pure);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Custom Gaming Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan);
}

/* Background Animated Cyber Ambient Lights */
.cyber-glow-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 15% 15%, rgba(2, 132, 199, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(16, 185, 129, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(2, 132, 199, 0.04) 0%, transparent 50%);
  filter: blur(40px);
}

.cyber-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Sound Control Widget */
.sound-control-wrapper {
  position: fixed;
  bottom: 78px;
  right: 24px;
  z-index: 100;
}
.sound-btn {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #cbd5e1;
  color: #0f172a;
  padding: 8px 14px;
  border-radius: 30px;
  font-family: var(--font-cyber);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: var(--tr-normal);
}
.sound-btn:hover {
  background: var(--neon-cyan);
  color: #ffffff;
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}
.sound-btn.muted {
  border-color: #e2e8f0;
  color: #94a3b8;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: var(--tr-normal);
}
.main-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom-color: #cbd5e1;
}

.header-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--tr-fast);
  user-select: none;
}
.brand-logo:hover {
  transform: translateY(-1px);
}

.brand-emblem {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.25s ease;
}
.emblem-svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
}
.brand-logo:hover .brand-emblem {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(2, 132, 199, 0.35));
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
}

.brand-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.1;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #0f172a;
  text-transform: uppercase;
  display: inline-block;
  transition: color var(--tr-fast);
}
.brand-logo:hover .brand-title {
  color: var(--neon-cyan);
}

.brand-badge {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--neon-cyan);
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(2, 132, 199, 0.35);
  padding: 2px 8px;
  border-radius: 4px;
  clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
  display: inline-flex;
  align-items: center;
  box-shadow: 0 1px 4px rgba(2, 132, 199, 0.12);
  transition: all var(--tr-fast);
}

.brand-logo:hover .brand-badge {
  background: var(--neon-cyan);
  color: #ffffff;
  border-color: var(--neon-cyan);
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.35);
}

.brand-tagline {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 2.2px;
  color: #64748b;
  text-transform: uppercase;
  display: block;
  margin-top: 1px;
  transition: color var(--tr-fast);
}
.brand-logo:hover .brand-tagline {
  color: var(--neon-cyan);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: var(--tr-fast);
  position: relative;
  padding: 6px 2px;
}
.nav-link:hover, .nav-link.active {
  color: var(--neon-green);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  transition: var(--tr-fast);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.btn-glow-primary {
  background: linear-gradient(135deg, var(--neon-green), #00c968);
  color: #05070a;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 18px rgba(0, 255, 135, 0.4);
  transition: var(--tr-normal);
}
.btn-glow-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(0, 255, 135, 0.7);
  background: linear-gradient(135deg, #2fff9f, var(--neon-green));
}
.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-pure);
  font-size: 1.3rem;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 60px 24px 80px;
  max-width: 1360px;
  margin: 0 auto;
}
.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(0, 255, 135, 0.12);
  border: 1px solid rgba(0, 255, 135, 0.35);
  color: var(--neon-green);
  font-family: var(--font-cyber);
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 255, 135, 0.2); }
  50% { box-shadow: 0 0 20px rgba(0, 255, 135, 0.6); }
}
.pulse-anim {
  animation: pulseGlow 2.5s infinite;
}

.hero-title {
  font-family: var(--font-cyber);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.neon-text {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-green), var(--neon-magenta));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s linear infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 30px;
}
.hero-description strong {
  color: var(--neon-cyan);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 35px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 18px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--neon-cyan);
}
.stat-num {
  display: block;
  font-family: var(--font-cyber);
  font-size: 1.65rem;
  font-weight: 900;
  color: #fff;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-cyber-large {
  background: linear-gradient(135deg, var(--neon-cyan), #0077ff);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-cyber);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.35);
  transition: var(--tr-normal);
}
.btn-cyber-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.6);
}
.btn-cyber-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--tr-normal);
}
.btn-cyber-outline:hover {
  border-color: var(--neon-magenta);
  color: var(--neon-magenta);
  background: rgba(255, 0, 127, 0.08);
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.25);
}

/* Hero Featured Card */
.hero-showcase {
  perspective: 1000px;
}
.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border-glow);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 255, 135, 0.15);
  position: relative;
  transition: var(--tr-smooth);
}
.showcase-card:hover {
  border-color: var(--neon-green);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 255, 135, 0.3);
  transform: translateY(-4px);
}
.showcase-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--neon-yellow);
  color: var(--neon-yellow);
  font-family: var(--font-cyber);
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 6px;
}

.showcase-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.showcase-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 6s ease;
  transform: scale(1);
}
.showcase-img.active {
  opacity: 1;
  transform: scale(1.06);
}

.showcase-info {
  padding: 22px;
}
.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.game-tag {
  color: var(--neon-cyan);
  font-family: var(--font-cyber);
  font-size: 0.7rem;
  letter-spacing: 1px;
}
.showcase-header h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: #fff;
  font-weight: 700;
  margin-top: 2px;
}
.rating-badge {
  background: rgba(255, 230, 0, 0.15);
  border: 1px solid var(--neon-yellow);
  color: var(--neon-yellow);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-cyber);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.showcase-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.showcase-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}
.showcase-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-showcase-download {
  width: 100%;
  background: linear-gradient(135deg, var(--neon-green), #00ba58);
  color: #030508;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 20px rgba(0, 255, 135, 0.3);
  transition: var(--tr-fast);
}
.btn-showcase-download:hover {
  background: #39ff9a;
  box-shadow: 0 0 30px rgba(0, 255, 135, 0.6);
}

/* --------------------------------------------------------------------------
   GAMES CATALOG & SLIDING CARDS SECTION
   -------------------------------------------------------------------------- */
.games-section {
  position: relative;
  z-index: 1;
  max-width: 1360px;
  margin: 0 auto;
  padding: 18px 20px 100px;
}

/* --------------------------------------------------------------------------
   LATEST POSTS SLIDER BOX (COMPACT & SLIM DESIGN - ILIYOPUNGUZWA UREFU)
   -------------------------------------------------------------------------- */
.latest-posts-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 22px;
  position: relative;
  transition: border-color var(--tr-normal), box-shadow var(--tr-normal);
}
.latest-posts-box:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Floating Controls moja kwa moja juu ya Picha ya Latest Post */
.latest-floating-controls {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 8px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.latest-arrow-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  transition: var(--tr-fast);
}
.latest-arrow-btn:hover {
  background: var(--neon-cyan);
  color: #fff;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.5);
}
.latest-counter {
  font-family: var(--font-cyber);
  font-size: 0.75rem;
  color: #fff;
  min-width: 34px;
  text-align: center;
}

/* Viewport and Track (Picha Ipo Full Ndani ya Box) */
.latest-slider-viewport {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
}
.latest-slides-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.latest-slide-card {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  background: radial-gradient(circle at center, #151d2e 0%, #080b12 100%);
}
.latest-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.latest-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(8, 10, 16, 0.95) 0%, rgba(8, 10, 16, 0.55) 50%, rgba(8, 10, 16, 0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px 18px;
  z-index: 2;
}

.latest-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--neon-cyan);
  font-family: var(--font-cyber);
  font-size: 0.65rem;
  letter-spacing: 0.8px;
  font-weight: 700;
  margin-bottom: 2px;
}
.latest-slide-title {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.2;
}
.latest-slide-desc {
  display: none; /* Imefichwa ili kupunguza urefu na kufanya box liwe slim na nadhifu */
}
.latest-slide-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.latest-slide-actions .btn-glow-primary {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: 6px;
}
.latest-meta {
  color: var(--text-muted);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Dots */
.latest-dots-wrapper {
  position: absolute;
  bottom: 10px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
}
.latest-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--tr-fast);
}
.latest-dot.active {
  width: 18px;
  height: 6px;
  border-radius: 6px;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.5);
}

@media (max-width: 768px) {
  .games-section {
    padding: 12px 14px 60px;
  }
  .latest-slider-viewport {
    height: 155px;
  }
  .latest-slide-overlay {
    padding: 10px 14px;
  }
  .latest-slide-title {
    font-size: 0.98rem;
    margin-bottom: 5px;
  }
  .latest-slide-actions .btn-glow-primary {
    padding: 5px 11px;
    font-size: 0.78rem;
  }
  .latest-meta {
    font-size: 0.74rem;
  }
  .latest-dots-wrapper {
    display: none;
  }
}

/* Filter & Search Toolbar (SUPER COMPACT & SLIM DESIGN) */
.filter-toolbar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* 1. Category Filter Buttons (SINGLE ROW HORIZONTAL SLIDER WITH NAV BUTTONS) */
.category-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding-bottom: 6px;
  border-bottom: 1px solid #f1f5f9;
}

.cat-nav-btn {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  z-index: 5;
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.cat-nav-btn:hover {
  background: var(--neon-cyan);
  color: #ffffff;
  border-color: var(--neon-cyan);
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.35);
  transform: scale(1.08);
}

.cat-nav-btn:active {
  transform: scale(0.92);
  background: #0369a1;
  color: #ffffff;
}

.platform-filter {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.platform-filter::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  flex-shrink: 0;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--tr-fast);
  user-select: none;
  letter-spacing: 0.2px;
}

.filter-btn:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: translateY(-1px);
}

.filter-btn.active {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.35);
}

/* 2. Bottom Row: Search Box (NDOGO SANA) */
.toolbar-bottom-row {
  display: flex;
  align-items: center;
  width: 100%;
}

.search-box {
  position: relative;
  flex: 1;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.82rem;
  pointer-events: none;
}

#gameSearchInput {
  width: 100%;
  height: 34px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-family: var(--font-body);
  font-size: 0.82rem;
  padding: 4px 30px 4px 32px;
  border-radius: 8px;
  outline: none;
  transition: var(--tr-fast);
}

#gameSearchInput:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.clear-search-btn {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0;
  display: none;
}
.clear-search-btn:hover {
  color: #0f172a;
}

/* --------------------------------------------------------------------------
   GAMES GRID & THE SLIDING CARDS (KEY USER REQUIREMENT)
   -------------------------------------------------------------------------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

/* GAME CARD WITH SLIDER */
.game-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  outline: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
  transition: transform var(--tr-normal), border-color var(--tr-normal), box-shadow var(--tr-normal);
}
.game-card:hover,
.game-card:focus-visible {
  transform: translateY(-6px);
  border-color: #0284c7;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.09), 0 0 16px rgba(2, 132, 199, 0.18);
}

/* Card Header Media & Slider */
.card-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0f172a;
  overflow: hidden;
  user-select: none;
}

/* Slides Strip */
.card-slides-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.card-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}
.card-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slide Overlay Gradient */
.card-slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 40%, rgba(15, 23, 42, 0.75) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Floating Badges on Slide */
.card-top-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
  pointer-events: none;
}
.badge-mod-ver {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 229, 255, 0.6);
  color: #00e5ff;
  font-family: var(--font-cyber);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}
.badge-platform {
  background: rgba(2, 132, 199, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Slide Controls (Arrows) */
.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--tr-fast), background var(--tr-fast), transform var(--tr-fast);
}
.slider-arrow-btn.prev {
  left: 10px;
}
.slider-arrow-btn.next {
  right: 10px;
}
.game-card:hover .slider-arrow-btn {
  opacity: 1;
}
.slider-arrow-btn:hover {
  background: var(--neon-cyan);
  color: #ffffff;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.5);
  transform: translateY(-50%) scale(1.1);
}

/* Slide Indicator Dots */
.slider-dots-container {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--tr-fast);
}
.slider-dot.active {
  width: 22px;
  border-radius: 10px;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.5);
}

/* Hover Auto-slide Progress Bar Indicator */
.card-slide-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-cyan), #0ea5e9);
  width: 0%;
  z-index: 5;
  transition: width 0.1s linear;
}

/* Slide Counter (e.g. 1/4) */
.slide-counter {
  position: absolute;
  bottom: 10px;
  right: 12px;
  z-index: 4;
  background: rgba(15, 23, 42, 0.7);
  font-family: var(--font-cyber);
  font-size: 0.68rem;
  color: #cbd5e1;
  padding: 2px 7px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
}

/* Card Content Area */
.game-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #ffffff;
}

.game-category-tag {
  color: var(--neon-cyan);
  font-family: var(--font-cyber);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.game-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.25;
}

.mod-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.mod-pill {
  background: rgba(225, 29, 72, 0.08);
  border: 1px solid rgba(225, 29, 72, 0.25);
  color: #e11d48;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}
.mod-pill.unlimited {
  background: rgba(217, 119, 6, 0.08);
  border-color: rgba(217, 119, 6, 0.25);
  color: #d97706;
}
.mod-pill.graphics {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
  color: #0284c7;
}

.game-card-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta specs info */
.game-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 12px 0;
  border-top: 1px solid #f1f5f9;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.game-meta-row span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.card-rating {
  color: var(--neon-yellow);
  font-weight: 700;
}

/* Card Action Buttons */
.card-actions-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 10px;
}
.btn-card-download {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
  transition: var(--tr-fast);
}
.btn-card-download:hover {
  background: linear-gradient(135deg, #0369a1, #0284c7);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
}
.btn-card-details {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--tr-fast);
}
.btn-card-details:hover {
  border-color: #0284c7;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--glass-border);
  border-radius: 16px;
}
.empty-icon {
  font-size: 3.5rem;
  color: var(--neon-cyan);
  margin-bottom: 16px;
  opacity: 0.6;
}
.empty-state h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.empty-state p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   FEATURES SECTION
   -------------------------------------------------------------------------- */
.features-section {
  position: relative;
  z-index: 1;
  max-width: 1360px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 28px 24px;
  backdrop-filter: blur(10px);
  transition: var(--tr-normal);
}
.feature-card:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 229, 255, 0.15);
}
.feature-icon {
  width: 54px;
  height: 54px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   FAQ SECTION
   -------------------------------------------------------------------------- */
.faq-section {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 24px 80px;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--tr-fast);
}
.faq-item.open {
  border-color: var(--neon-green);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}
.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.faq-question i {
  color: var(--neon-green);
  transition: transform var(--tr-fast);
}
.faq-item.open .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}
.faq-item.open .faq-answer {
  max-height: 250px;
  padding-bottom: 20px;
}
.faq-answer code {
  background: rgba(0, 229, 255, 0.15);
  color: var(--neon-cyan);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

/* --------------------------------------------------------------------------
   COMMUNITY BANNER
   -------------------------------------------------------------------------- */
.community-banner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 20px 24px 80px;
}
.community-card {
  background: linear-gradient(135deg, rgba(20, 26, 44, 0.9), rgba(12, 16, 26, 0.95));
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 229, 255, 0.15);
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}
.community-content h2 {
  font-family: var(--font-cyber);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  margin-bottom: 12px;
  color: #fff;
}
.community-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 24px;
  max-width: 600px;
}
.community-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-telegram {
  background: #0088cc;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--tr-fast);
}
.btn-telegram:hover {
  background: #0099e6;
  box-shadow: 0 0 20px rgba(0, 136, 204, 0.6);
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--tr-fast);
}
.btn-whatsapp:hover {
  background: #2ced76;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
}
.community-graphic {
  font-size: 5.5rem;
  color: var(--neon-cyan);
  opacity: 0.8;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.main-footer {
  background: #040508;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 24px 24px;
  position: relative;
  z-index: 1;
}
.footer-container {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.brand-col p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 14px 0 20px;
  max-width: 320px;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--tr-fast);
}
.social-links a:hover {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 0 0 15px var(--neon-cyan);
}
.footer-col h4 {
  font-family: var(--font-cyber);
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--tr-fast);
}
.footer-col ul a:hover {
  color: var(--neon-green);
  padding-left: 5px;
}
.disclaimer-text {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.footer-bottom {
  max-width: 1360px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.back-to-top {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--tr-fast);
}
.back-to-top:hover {
  background: var(--neon-green);
  color: #000;
}

/* --------------------------------------------------------------------------
   MODALS (MOD DETAILS, REQUEST, TRAILER)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease-out;
  will-change: opacity;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
  border-radius: 18px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.96);
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  color: #0f172a;
}
.modal-overlay.active .modal-container {
  transform: scale(1);
}
.modal-container.modal-small {
  max-width: 520px;
  padding: 30px;
}
.modal-container.modal-video {
  max-width: 800px;
  padding: 0;
  background: #000;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
  width: 36px;
  height: 36px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  color: #475569;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--tr-fast);
}
.modal-close-btn:hover {
  background: #e11d48;
  color: #ffffff;
  border-color: #e11d48;
  box-shadow: 0 0 12px rgba(225, 29, 72, 0.4);
}

/* Modal Body Content (Generated Dynamically) */
.modal-game-header {
  position: relative;
  aspect-ratio: 16/8;
  overflow: hidden;
}
.modal-game-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-game-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, #0d111d 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.modal-title {
  font-family: var(--font-cyber);
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 6px;
}

.modal-game-details {
  padding: 24px;
}

/* Screenshots Gallery Inside Modal */
.modal-gallery-title {
  font-family: var(--font-cyber);
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--neon-cyan);
  margin: 18px 0 12px;
}
.modal-gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.modal-gallery-strip img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: var(--tr-fast);
}
.modal-gallery-strip img:hover {
  border-color: var(--neon-green);
  transform: scale(1.04);
}

/* Download Action Box with Timer & Mirrors */
.modal-download-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  margin-top: 20px;
}
.download-countdown-msg {
  font-family: var(--font-cyber);
  font-size: 1.05rem;
  color: #0f172a;
  margin-bottom: 12px;
}
.countdown-num {
  color: #0284c7;
  font-size: 1.4rem;
  font-weight: 900;
}
.mirror-links-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.mirror-btn {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 14px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: all 0.22s ease;
  cursor: pointer;
  text-transform: uppercase;
}
.mirror-btn:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.55);
  border-color: #38bdf8;
  color: #ffffff;
}
.mirror-btn:active {
  transform: translateY(0);
}
.mirror-btn i {
  font-size: 1.25rem;
}

/* Specific themes for custom buttons */
.mirror-btn.btn-apk {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.mirror-btn.btn-apk:hover {
  background: linear-gradient(135deg, #047857 0%, #10b981 100%);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.55);
  border-color: #34d399;
}

.mirror-btn.btn-obb {
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.mirror-btn.btn-obb:hover {
  background: linear-gradient(135deg, #b45309 0%, #f59e0b 100%);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.55);
  border-color: #fbbf24;
}

.mirror-btn.btn-game {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}
.mirror-btn.btn-game:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.55);
  border-color: #38bdf8;
}

.mirror-btn.btn-drive {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.mirror-btn.btn-drive:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.55);
  border-color: #60a5fa;
}

.mirror-btn.btn-mediafire {
  background: linear-gradient(135deg, #0284c7 0%, #0f172a 100%);
  border-color: rgba(56, 189, 248, 0.4);
}

/* Cyber Form Styles */
.modal-header {
  text-align: center;
  margin-bottom: 24px;
}
.modal-icon {
  font-size: 2.2rem;
  color: var(--neon-cyan);
  margin-bottom: 10px;
}
.modal-header h3 {
  font-family: var(--font-cyber);
  font-size: 1.4rem;
  color: #0f172a;
}
.modal-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.cyber-form .form-group {
  margin-bottom: 16px;
}
.cyber-form label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}
.cyber-form input, .cyber-form textarea, .cyber-form select {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: 8px;
  outline: none;
}
.cyber-form input:focus, .cyber-form textarea:focus, .cyber-form select:focus {
  background: #ffffff;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}
.full-width {
  width: 100%;
  justify-content: center;
}

/* Video Trailer Overlay */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}
.simulated-trailer {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.trailer-bg-anim {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: trailerZoom 8s alternate infinite;
}
@keyframes trailerZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}
.trailer-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
  padding: 30px;
  text-align: center;
}
.trailer-glow-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0,0,0,0.7);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-family: var(--font-cyber);
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 20px;
}
.trailer-pulse-play {
  width: 70px;
  height: 70px;
  background: var(--neon-magenta);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
  box-shadow: 0 0 30px var(--neon-magenta);
}
.trailer-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--neon-green);
  font-size: 0.8rem;
  margin-top: 10px;
}
.live-blink {
  animation: blink 1.2s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* Toast Notification */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.cyber-toast {
  background: rgba(14, 18, 30, 0.95);
  border-left: 4px solid var(--neon-green);
  border-radius: 6px;
  padding: 14px 20px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 255, 135, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(120%);
  animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.cyber-toast.info {
  border-left-color: var(--neon-cyan);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 229, 255, 0.3);
}
@keyframes toastSlideIn {
  to { transform: translateX(0); }
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (MOBILE, TABLET, DESKTOP)
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description {
    margin: 0 auto 30px;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-stats {
    max-width: 600px;
    margin: 0 auto 35px;
  }
  .community-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .community-actions {
    justify-content: center;
  }
  .community-graphic {
    display: none;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100vw;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-120%);
    transition: transform var(--tr-normal);
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .mobile-toggle-btn {
    display: block;
  }
  .header-container {
    padding: 10px 16px;
  }
  .brand-logo {
    gap: 10px;
  }
  .brand-emblem {
    width: 38px;
    height: 38px;
  }
  .brand-title {
    font-size: 1.32rem;
    letter-spacing: 1.8px;
  }
  .brand-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    letter-spacing: 1.2px;
  }
  .brand-tagline {
    font-size: 0.54rem;
    letter-spacing: 1.4px;
  }
  .games-grid {
    grid-template-columns: 1fr;
  }
  .filter-toolbar {
    padding: 8px 10px;
    border-radius: 10px;
  }
  .category-slider-wrapper {
    gap: 4px;
    padding-bottom: 5px;
  }
  .cat-nav-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    font-size: 0.85rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  }
  .filter-btn {
    padding: 5px 10px;
    font-size: 0.74rem;
  }
  .toolbar-bottom-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .sort-wrapper {
    align-self: flex-start;
    width: 100%;
    justify-content: space-between;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .sound-control-wrapper {
    bottom: 74px;
    right: 14px;
  }
  .sound-btn {
    padding: 6px 12px;
    font-size: 0.72rem;
  }
}

/* --------------------------------------------------------------------------
   FIXED BOTTOM NAVIGATION BAR (NYUMBANI, TUFWATE, AKAUNTI)
   -------------------------------------------------------------------------- */
.bottom-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 6px 16px max(6px, env(safe-area-inset-bottom));
}

.bottom-nav-container {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.bottom-nav-item {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #64748b;
  cursor: pointer;
  padding: 4px 20px;
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav-icon-box {
  width: 54px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.15rem;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  background: transparent;
  border: 1px solid transparent;
}

.bottom-nav-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.25s ease;
}

/* Active Tab */
.bottom-nav-item.active .bottom-nav-icon-box {
  background: rgba(2, 132, 199, 0.12);
  border-color: rgba(2, 132, 199, 0.35);
  color: #0284c7;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.2);
  transform: translateY(-2px);
}

.bottom-nav-item.active .bottom-nav-label {
  color: #0284c7;
  font-weight: 700;
  text-shadow: none;
}

/* Hover States */
.bottom-nav-item:hover {
  color: #0f172a;
}

.bottom-nav-item:hover .bottom-nav-icon-box {
  background: #f1f5f9;
  color: #0f172a;
}

/* Active Press feedback */
.bottom-nav-item:active {
  transform: scale(0.95);
}

/* --------------------------------------------------------------------------
   TUFWATE (FOLLOW) MODAL & AKAUNTI (ACCOUNT) MODAL STYLES
   -------------------------------------------------------------------------- */
.follow-modal-box,
.account-modal-box {
  max-width: 520px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  padding: 30px;
  border-radius: 18px;
}

.modal-header-custom {
  margin-bottom: 20px;
}

.modal-glow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-cyber);
  font-size: 0.74rem;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(2, 132, 199, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.modal-title-custom {
  font-family: var(--font-cyber);
  font-size: 1.4rem;
  color: #0f172a;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.modal-subtitle-custom {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.45;
}

.follow-links-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.follow-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.follow-card:hover {
  transform: translateX(4px);
  border-color: #0284c7;
  background: #f1f5f9;
}

.follow-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.follow-card.telegram .follow-icon { background: rgba(0, 136, 204, 0.15); color: #0088cc; }
.follow-card.whatsapp .follow-icon { background: rgba(37, 211, 102, 0.15); color: #25d366; }
.follow-card.youtube .follow-icon { background: rgba(255, 0, 0, 0.15); color: #ff3333; }
.follow-card.tiktok .follow-icon { background: rgba(0, 242, 234, 0.15); color: #0284c7; }
.follow-card.discord .follow-icon { background: rgba(88, 101, 242, 0.15); color: #5865f2; }

.follow-info {
  flex: 1;
}

.follow-info h4 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  color: #0f172a;
  margin-bottom: 2px;
}

.follow-info p {
  font-size: 0.8rem;
  color: #64748b;
}

.follow-badge-action {
  font-family: var(--font-cyber);
  font-size: 0.74rem;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(2, 132, 199, 0.3);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.follow-card:hover .follow-badge-action {
  background: #0284c7;
  color: #ffffff;
}

/* Account Modal Specifics */
.account-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 18px;
}

.account-avatar-wrapper {
  position: relative;
}

.account-avatar {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.15), rgba(16, 185, 129, 0.15));
  border: 2px solid #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #0284c7;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.2);
}

.account-online-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
}

.account-profile-info {
  flex: 1;
}

.account-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-cyber);
  font-size: 0.7rem;
  color: #d97706;
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.35);
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 4px;
}

.account-profile-info h3 {
  font-family: var(--font-cyber);
  font-size: 1.25rem;
  color: #0f172a;
}

.account-id {
  font-size: 0.8rem;
  color: #64748b;
}

.account-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.stat-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-cyber);
  font-size: 1.15rem;
  color: #0284c7;
  margin-bottom: 2px;
}

.stat-label {
  font-size: 0.72rem;
  color: #64748b;
}

.account-quick-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 12px 14px;
  border-radius: 10px;
}

.option-icon {
  width: 36px;
  height: 36px;
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.option-text {
  flex: 1;
}

.option-text h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 2px;
}

.option-text p {
  font-size: 0.76rem;
  color: #64748b;
}

/* Switch Toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2a3342;
  transition: .3s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--neon-cyan);
}

input:checked + .slider:before {
  transform: translateX(20px);
  background-color: #030508;
}

.account-request-btn {
  margin-top: 8px;
  width: 100%;
}

/* ==========================================================================
   HOMELAND MODS - DYNAMIC PRICING, CHECKOUT & ADMIN PANEL STYLES
   ========================================================================== */

/* Card Category & Price Badge Row */
.card-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.card-price-chip {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.4px;
}
.card-price-chip.is-paid {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
}
.card-price-chip.is-free {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

/* Paid & Free Download Button Styles */
.btn-card-download.btn-paid {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
}
.btn-card-download.btn-paid:hover {
  background: linear-gradient(135deg, #0369a1, #0284c7);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.42);
}
.btn-card-download.btn-free {
  background: linear-gradient(135deg, #059669, #10b981);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.28);
}
.btn-card-download.btn-free:hover {
  background: linear-gradient(135deg, #047857, #059669);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.42);
}

/* Modal Price Header Pill */
.modal-price-pill {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.modal-price-pill.is-paid {
  background: #0284c7;
  color: #ffffff;
}
.modal-price-pill.is-free {
  background: #059669;
  color: #ffffff;
}

/* Paid Mod Checkout Box */
.modal-download-box.paid-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 24px;
  margin-top: 24px;
}

.paid-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.paid-sub-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.paid-price-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.paid-price-title .price-highlight {
  color: #0284c7;
}

.paid-verified-badge {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.paid-explainer {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* Payment Numbers Grid */
.payment-numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.pay-num-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.pay-num-card.vodacom {
  border-left: 4px solid #e11d48;
}
.pay-num-card.tigo {
  border-left: 4px solid #0284c7;
}
.pay-num-card.airtel {
  border-left: 4px solid #dc2626;
}

.pay-provider {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pay-code {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.5px;
}

.pay-name {
  font-size: 0.75rem;
  color: #475569;
}

.paid-actions-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-demo-unlock {
  flex: 1;
  min-width: 240px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  padding: 12px 20px;
}

.btn-whatsapp-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
}
.btn-whatsapp-order:hover {
  background: #1ebc59;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

/* --------------------------------------------------------------------------
   SITE FOOTER & ADMIN ACCESS
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 32px 24px 110px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-family: var(--font-cyber);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.5px;
}

.footer-copy {
  font-size: 0.82rem;
  color: #64748b;
}

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

.footer-admin-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-admin-pill:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   USER QUICK REGISTRATION MODAL
   -------------------------------------------------------------------------- */
.auth-modal-container {
  max-width: 440px !important;
  background: #ffffff !important;
  border-radius: 18px !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  overflow: hidden;
}

.auth-modal-content {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.auth-header-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.15), rgba(14, 165, 233, 0.25));
  border: 2px solid rgba(2, 132, 199, 0.35);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.15);
}

.auth-modal-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.auth-modal-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 24px;
}

#userAuthForm {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.auth-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
}

.auth-input-control {
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}
.auth-input-control:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}
.auth-input-control::placeholder {
  color: #94a3b8;
}

.auth-hint {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
}

.auth-submit-btn {
  width: 100%;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   PRESSSO PAY PAYMENT MODAL (PUSH MALIPO NA KUFUNGUA MOD)
   -------------------------------------------------------------------------- */
.presso-modal-container {
  max-width: 490px !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.35) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  position: relative;
}

.presso-modal-state {
  padding: 20px 22px 24px;
}

.presso-header {
  text-align: center;
  margin-bottom: 12px;
}

.presso-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12), rgba(14, 165, 233, 0.2));
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.35);
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-cyber);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.presso-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.presso-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
}

/* Mod Preview Summary */
.presso-mod-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 14px;
}

.presso-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.presso-mod-meta {
  flex: 1;
  min-width: 0;
}

.presso-mod-ver {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.presso-mod-title {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.presso-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.presso-price-label {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

.presso-price-val {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.12);
  padding: 2px 10px;
  border-radius: 8px;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

/* Phone input field with country prefix */
.phone-input-wrapper {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.phone-input-wrapper:focus-within {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.country-prefix {
  padding: 12px 14px;
  background: #f1f5f9;
  border-right: 1.5px solid #cbd5e1;
  font-weight: 700;
  font-size: 0.92rem;
  color: #334155;
  user-select: none;
}

.phone-input-field {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 14px;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  outline: none;
}

.supported-networks-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 16px;
  flex-wrap: wrap;
}

.network-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  width: 68px;
  padding: 3px 6px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.network-tag:hover {
  transform: translateY(-2px);
  border-color: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
}

.network-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.presso-pay-btn {
  width: 100%;
  height: 50px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284c7, #0ea5e9) !important;
  color: #ffffff !important;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4) !important;
  transition: all 0.25s ease;
  margin-top: 4px;
}

.presso-pay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45);
  background: linear-gradient(135deg, #0369a1, #0284c7);
}

.presso-pay-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* STATE 2: LIVE USSD WAITING ANIMATION & STATUS */
.waiting-phone-animation {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 10px auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(2, 132, 199, 0.6);
  animation: pulseRadar 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.phone-pulse-ring.ring-2 {
  animation-delay: 0.7s;
}
.phone-pulse-ring.ring-3 {
  animation-delay: 1.4s;
}

@keyframes pulseRadar {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

.phone-pulse-center {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #ffffff;
  box-shadow: 0 0 25px rgba(2, 132, 199, 0.5);
  z-index: 2;
}

.waiting-content {
  text-align: center;
}

.waiting-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  padding: 4px 12px;
  border-radius: 14px;
  font-family: var(--font-cyber);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.waiting-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.waiting-instruction {
  font-size: 0.92rem;
  color: #475569;
  margin-bottom: 16px;
  line-height: 1.5;
}

.pin-alert-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: 12px;
  padding: 12px 16px;
  text-align: left;
  margin-bottom: 18px;
}

.pin-alert-card i {
  font-size: 1.4rem;
  color: #0284c7;
  margin-top: 2px;
  flex-shrink: 0;
}

.pin-alert-card strong {
  display: block;
  font-size: 0.88rem;
  color: #1e3a8a;
  margin-bottom: 2px;
}

.pin-alert-card p {
  font-size: 0.8rem;
  color: #3b82f6;
  line-height: 1.45;
  margin: 0;
}

.waiting-status-tracker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 18px;
}

.tracker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.waiting-fallback-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}



.btn-cancel-pay {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s ease;
}

.btn-cancel-pay:hover {
  color: #0f172a;
  text-decoration: underline;
}

/* STATE 3: PAYMENT COMPLETED CELEBRATION */
.success-celebration-anim {
  width: 84px;
  height: 84px;
  margin: 20px auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon-circle {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #ffffff;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.45);
  animation: successScale 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes successScale {
  0% { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #065f46;
  margin-bottom: 6px;
}

.success-subtitle {
  text-align: center;
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 20px;
}

.success-unlock-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  padding: 14px 18px;
  border-radius: 12px;
  color: #047857;
  font-weight: 700;
  font-size: 0.92rem;
}

.success-unlock-box i {
  font-size: 1.4rem;
  color: #10b981;
}

/* ==========================================================================
   EDNA GAMING HUB - PWA & NOTIFICATIONS STYLES
   ========================================================================== */

/* Brand Logo Image in Header */
.brand-emblem-img-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #00e5ff;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.4);
  background: #070a10;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-logo:hover .brand-emblem-img-wrap {
  transform: scale(1.05) rotate(3deg);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.75);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Header Actions Controls */
.header-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Header Install App Button */
.header-install-btn {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.18), rgba(16, 185, 129, 0.18));
  border: 1.5px solid #00e5ff;
  color: #00e5ff;
  padding: 8px 16px;
  border-radius: 24px;
  font-family: var(--font-cyber);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.25);
}

.header-install-btn:hover {
  background: linear-gradient(135deg, #0284c7, #00e5ff);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.55);
}

.install-pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGreen 1.6s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #10b981; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* Header Notification Bell */
.header-notif-wrapper {
  position: relative;
}

.header-notif-btn {
  width: 42px;
  height: 42px;
  background: rgba(2, 132, 199, 0.1);
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  color: #0284c7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.header-notif-btn:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 0 16px rgba(2, 132, 199, 0.45);
}

.header-notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.5);
  animation: badgeBounce 0.4s ease;
}

@keyframes badgeBounce {
  0% { transform: scale(0); }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Notification Dropdown Panel */
.notif-dropdown-panel {
  position: absolute;
  top: 52px;
  right: 0;
  width: 340px;
  max-width: 90vw;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
  z-index: 9999;
  overflow: hidden;
  animation: dropSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.notif-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.notif-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  color: #0f172a;
  font-size: 0.95rem;
}

.notif-clear-all-btn {
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.3);
  color: #0284c7;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.notif-clear-all-btn:hover {
  background: #0284c7;
  color: #ffffff;
}

.notif-close-btn {
  background: none;
  border: none;
  color: #64748b;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.notif-close-btn:hover {
  color: #0f172a;
}

.notif-items-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 8px;
}

.notif-item-card {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notif-item-dismiss-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.15s ease;
}

.notif-item-dismiss-btn:hover {
  opacity: 1;
  color: #ef4444;
  background: #fee2e2;
}

.notif-item-card:hover {
  background: #f0fdf4;
  border-color: #86efac;
  transform: translateX(3px);
}

.notif-item-card.unread {
  background: #f0f9ff;
  border-color: #bae6fd;
}

.notif-item-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #cbd5e1;
}

.notif-item-body {
  flex: 1;
}

.notif-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
}

.notif-item-desc {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.3;
  margin-bottom: 4px;
}

.notif-item-time {
  font-size: 0.7rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.notif-empty-state {
  text-align: center;
  padding: 30px 20px;
  color: #64748b;
}

.notif-empty-state i {
  font-size: 2rem;
  color: #10b981;
  margin-bottom: 8px;
  display: block;
}

.notif-empty-state p {
  font-size: 0.85rem;
  line-height: 1.4;
}

/* ==========================================================================
   FLOATING PWA INSTALL PROMPT BANNER (COMPACT MINI-BAR)
   ========================================================================== */
.pwa-install-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  width: 92%;
  max-width: 420px;
  animation: pwaSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pwaSlideUp {
  0% { transform: translate(-50%, 40px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 1; }
}

.pwa-banner-card.compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(7, 10, 16, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid #00e5ff;
  border-radius: 18px;
  padding: 8px 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0, 229, 255, 0.28);
  color: #ffffff;
}

.pwa-compact-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.pwa-banner-logo-wrap.compact {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid #00e5ff;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
  flex-shrink: 0;
  background: #070a10;
}

.pwa-pulse-dot.mini {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 9px;
  height: 9px;
  background: #10b981;
  border-radius: 50%;
  border: 1.5px solid #070a10;
  box-shadow: 0 0 6px #10b981;
}

.pwa-compact-info {
  flex: 1;
  min-width: 0;
}

.pwa-compact-title {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pwa-title-text {
  font-family: var(--font-cyber);
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pwa-mini-tag {
  font-size: 0.6rem;
  font-weight: 900;
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.15);
  padding: 1px 6px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.pwa-compact-desc {
  font-size: 0.73rem;
  color: #94a3b8;
  margin: 1px 0 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.pwa-compact-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-pwa-install-compact {
  background: linear-gradient(135deg, #0284c7 0%, #00e5ff 100%);
  color: #070a10;
  border: none;
  border-radius: 12px;
  padding: 8px 14px;
  font-family: var(--font-cyber);
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(0, 229, 255, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-pwa-install-compact:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.6);
}

.btn-pwa-install-compact:active {
  transform: translateY(0);
}

.pwa-compact-close {
  background: none;
  border: none;
  color: #64748b;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: color 0.15s ease;
}

.pwa-compact-close:hover {
  color: #ffffff;
}

@media (max-width: 640px) {
  .pwa-install-banner {
    bottom: 74px; /* Sits cleanly above the bottom navigation bar */
    width: 92%;
    max-width: 380px;
  }
  .pwa-compact-desc {
    display: none;
  }
  .btn-pwa-install-compact {
    padding: 7px 12px;
    font-size: 0.74rem;
  }
}

/* iOS Safari Modal Steps */
.pwa-ios-modal {
  max-width: 420px;
  padding: 24px;
}

.ios-install-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin: 16px 0;
}

.ios-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.86rem;
  color: #334155;
}

.ios-step .step-num {
  width: 24px;
  height: 24px;
  background: #0284c7;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .header-actions-row .install-btn-text {
    display: none;
  }
  .header-install-btn {
    padding: 8px 12px;
  }
  .pwa-install-banner {
    bottom: 14px;
    width: 96%;
  }
}





