/* ============================================================
   ESPORTS HERO BANNER & SPOTLIGHT (Game Background Art)
   ============================================================ */
.esports-hero-banner {
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.08) 0%, rgba(15, 21, 35, 0.98) 100%), var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  margin-bottom: 24px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

/* Horizontal Auto-Sliding Background Track */
.hero-slider-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-slide-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.65s ease;
  pointer-events: none;
}

.hero-slide-item.active {
  opacity: 0.75; /* 70-80% visible Game artwork as requested */
  transform: translateX(0);
}

.hero-slide-item.slide-out {
  opacity: 0;
  transform: translateX(-100%);
}

.hero-slider-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(6, 9, 14, 0.55) 0%, rgba(6, 9, 14, 0.82) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-top-row,
.hero-content-flex,
.hero-stats-row {
  position: relative;
  z-index: 2;
}

.hero-top-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hero-chip-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.hero-content-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 6px;
}

.hero-live-match {
  width: 100%;
  min-height: 116px;
  padding: 14px 18px;
  margin: 0 0 14px;
  border: 1px solid rgba(255, 193, 7, .55);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(39, 23, 5, .96), rgba(8, 18, 30, .98));
  color: #fff;
  text-align: center;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "label" "title" "stats" "time";
  align-items: center;
  justify-items: center;
  row-gap: 5px;
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .2);
}
.hero-live-match > strong { grid-area: title; font-size: clamp(16px, 1.7vw, 21px); max-width: 90%; overflow-wrap: anywhere; }
.hero-live-match > span:not(.hero-live-label) { grid-area: stats; display: flex; justify-content: center; gap: 10px; color: #ffd54f; font-size: 13px; }
.hero-live-match > span:not(.hero-live-label) b { padding: 9px 12px; border-radius: 9px; background: rgba(255, 193, 7, .1); border: 1px solid rgba(255, 193, 7, .22); }
.hero-live-match small { grid-area: time; color: var(--text-muted); font-size: 12px; }
.hero-live-label { grid-area: label; color: #ffb300; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.coin-amount { display: inline-flex; align-items: center; justify-content: center; gap: .32em; white-space: nowrap; vertical-align: middle; }
.coin-amount img, .coin-rate-note img { width: 1.05em; height: 1.05em; flex: 0 0 auto; object-fit: contain; }
.coin-rate-note { display: inline-flex; align-items: center; gap: 6px; margin-top: 5px; padding: 5px 9px; border: 1px solid rgba(255, 193, 7, .3); border-radius: 999px; color: #ffd54f; font-size: 11px; font-weight: 700; }
.responsible-play-note { margin: 10px 0 18px; padding: 11px 13px; border: 1px solid var(--border); border-radius: 10px; color: var(--text-muted); font-size: 11px; line-height: 1.5; }
.responsible-play-note { text-align: center; }
.pwa-install-steps { display: grid; gap: 9px; text-align: left; padding: 14px; margin-bottom: 16px; border: 1px solid rgba(255, 193, 7, .35); border-radius: 10px; background: rgba(255, 193, 7, .07); font-size: 14px; line-height: 1.45; }
.pwa-install-steps > strong { color: #ffd54f; font-size: 17px; }
.pwa-install-steps b { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 7px; border-radius: 50%; background: #ffc107; color: #171000; }
@media (max-width: 680px) {
  .hero-content-flex { align-items: stretch; }
  .hero-live-match { min-height: 126px; padding: 18px; gap: 8px; }
  .hero-live-match > span:not(.hero-live-label) { flex-wrap: wrap; }
}

.hero-esports-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.3));
}

@media (max-width: 600px) {
  .hero-esports-logo {
    width: 38px;
    height: 38px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4.2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.hero-title span {
  color: var(--primary);
  text-shadow: 0 2px 14px rgba(245, 158, 11, 0.4), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.hero-subtitle {
  font-size: 14px;
  color: #e2e8f0;
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto 20px auto;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.hero-slide-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 12px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 85, 0, 0.92);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.35s ease, background-color 0.35s ease;
}

.hero-slide-action:hover { background: var(--primary-hover); transform: translateY(-1px); }
.hero-slide-action[hidden] { display: none; }

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 620px;
  gap: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-sizing: border-box;
  text-align: center;
  margin: 0 auto;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 0;
  text-align: center;
}

.hero-stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(15px, 2.5vw, 18px);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.hero-stat .stat-lbl {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  margin-top: 3px;
}

.hero-stat-sep {
  display: none;
}

@media (min-width: 640px) {
  .hero-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    width: fit-content;
    padding: 12px 24px;
    text-align: center;
    margin: 0 auto;
  }

  .hero-stat {
    align-items: center;
    text-align: center;
  }

  .hero-stat-sep {
    display: block;
    width: 1px;
    height: 24px;
    background: var(--border);
  }
}

@media (min-width: 768px) {
  .esports-hero-banner {
    padding: 28px 32px;
    margin-bottom: 24px;
  }
}

/* ChallengerMode 3-Step Tournament Flow Strip */
.tournament-flow-strip {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.flow-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-1) var(--space-3);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.flow-title {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--primary);
  text-transform: uppercase;
}

.flow-sub {
  font-size: var(--fs-sm);
  color: var(--text-dim);
}

.flow-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .flow-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.flow-step-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: var(--transition);
}

.flow-step-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateY(-1px);
}

.flow-step-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 4px;
  padding: 2px 6px;
  line-height: 1.2;
  flex-shrink: 0;
}

.flow-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--primary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.flow-step-icon svg {
  width: 18px;
  height: 18px;
}

.flow-step-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.flow-step-body strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
  text-align: center;
}

.flow-step-body p {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
  text-align: center;
}

/* Feed Search and Filter Controls */
.feed-controls {
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

/* Landing Page Specific Sections */
.landing-cta-box {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.landing-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
}

@media (min-width: 640px) {
  .landing-features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.landing-feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: var(--transition);
}

.landing-feature-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.landing-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto;
}

.landing-feature-icon svg {
  width: 18px;
  height: 18px;
}

.landing-feature-card h3 {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin: 0;
}

.landing-feature-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.35;
  text-align: center;
  margin: 0;
}

@media (max-width: 640px) {
  .flow-step-card,
  .landing-feature-card {
    padding: 10px 12px;
    gap: 6px;
  }

  .flow-step-icon,
  .landing-feature-icon {
    width: 32px;
    height: 32px;
  }

  .flow-step-icon svg,
  .landing-feature-icon svg {
    width: 16px;
    height: 16px;
  }

  .flow-step-body strong,
  .landing-feature-card h3 {
    font-size: var(--fs-sm);
  }

  .flow-step-body p,
  .landing-feature-card p {
    font-size: var(--fs-xs);
    line-height: 1.3;
  }
}

.landing-banner-preview {
  margin-top: 28px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(15, 21, 35, 0.9) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.landing-banner-text h3 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

/* Landing Footer & Social Contact Chips */
.landing-footer {
  margin-top: 40px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px 20px 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1.2fr 1.8fr;
  }
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.footer-brand-title span {
  color: var(--primary);
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--success);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.footer-col-heading {
  font-size: 13.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.footer-social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 600px) {
  .footer-social-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.social-chip-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.social-chip-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.telegram-chip svg { color: #229ED9; }
.telegram-chip:hover { border-color: #229ED9; }

.youtube-chip svg { color: #FF0000; }
.youtube-chip:hover { border-color: #FF0000; }

.facebook-chip svg { color: #1877F2; }
.facebook-chip:hover { border-color: #1877F2; }

.gmail-chip svg { color: #EA4335; }
.gmail-chip:hover { border-color: #EA4335; }

.social-chip-btn div {
  text-align: center;
}

.social-chip-btn strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-align: center;
}

.social-chip-btn span {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-dim);
  margin-top: 2px;
  text-align: center;
}

.footer-bottom-bar {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-dim);
}

@media (min-width: 768px) {
  .feed-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .feed-controls .form-group {
    margin-bottom: 0;
    flex: 1;
    max-width: 580px; /* Widened search bar for high visibility */
  }

  .feed-controls .filter-tabs {
    margin-bottom: 0;
  }
}

/* Filter Chips */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow-x: visible;
  padding-bottom: 4px;
  margin-bottom: 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.filter-chip {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-chip:hover {
  background: var(--bg-elevated);
  color: var(--text-main);
  border-color: var(--border-light);
}

.filter-chip.active {
  background: var(--primary);
  color: #0a0d14;
  font-weight: 600;
  border-color: var(--primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

