/**
 * Gameosophy Unified Listing Hero Banner System
 * Consistent 400–450px promotional hero banner across all listing/product pages
 */

.gm-listing-hero-banner {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 85px 0 70px 0;
  box-sizing: border-box;
  background-color: #0b0f19;
}

@media (min-width: 992px) {
  .gm-listing-hero-banner {
    min-height: 440px;
    padding: 95px 0 80px 0;
  }
}

@media (max-width: 991px) {
  .gm-listing-hero-banner {
    min-height: 360px;
    padding: 65px 0 50px 0;
  }
}

@media (max-width: 767px) {
  .gm-listing-hero-banner {
    min-height: 300px;
    padding: 50px 0 35px 0;
  }
}

.gm-listing-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(11, 15, 25, 0.92) 0%, rgba(15, 23, 42, 0.84) 50%, rgba(30, 41, 59, 0.78) 100%);
  z-index: 1;
}

/* Subtle decorative glow */
.gm-listing-hero-overlay::after {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.28) 0%, rgba(59, 130, 246, 0.12) 50%, transparent 70%);
  pointer-events: none;
}

.gm-listing-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 0 15px;
}

.gm-listing-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(99, 102, 241, 0.16);
  border: 1px solid rgba(129, 140, 248, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #a5b4fc;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  line-height: 1.2;
}

.gm-listing-hero-badge i {
  color: #818cf8;
  font-size: 13px;
}

.gm-listing-hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.22;
  margin: 0 0 14px 0;
  letter-spacing: -0.02em;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
}

@media (max-width: 991px) {
  .gm-listing-hero-title {
    font-size: 2.15rem;
  }
}

@media (max-width: 767px) {
  .gm-listing-hero-title {
    font-size: 1.75rem;
    margin-bottom: 10px;
  }
}

.gm-listing-hero-subtitle {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 24px auto;
  line-height: 1.6;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
  .gm-listing-hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 18px;
    line-height: 1.5;
  }
}

/* Quick Navigation Pills */
.gm-listing-hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.gm-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  white-space: nowrap;
  line-height: 1.3;
}

.gm-hero-pill i {
  font-size: 12px;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.gm-hero-pill:hover {
  background: rgba(99, 102, 241, 0.35);
  border-color: rgba(129, 140, 248, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.gm-hero-pill:hover i {
  color: #a5b4fc;
}

.gm-hero-pill.active {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  border-color: #818cf8;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.gm-hero-pill.active i {
  color: #ffffff;
}

@media (max-width: 767px) {
  .gm-hero-pill {
    padding: 5px 12px;
    font-size: 11.5px;
    gap: 4px;
  }
}
