/* ==========================================================================
   BUCKETS & BOMBS - GAMES HUB STYLESHEET
   Arcade Entrance, Game Cards, Filter Tabs, Score Badges, and Neon Lighting
   ========================================================================== */

/* Header / Hub Hero */
.hub-hero-section {
  position: relative;
  padding: 4.5rem 1rem 3rem;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, #17243B 0%, #080B10 75%);
  border-bottom: 2px solid rgba(255, 215, 0, 0.25);
  overflow: hidden;
}

.hub-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hub-arcade-marquee {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid var(--gold-accent);
  padding: 0.4rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-accent);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.25);
}

.hub-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  letter-spacing: 2px;
  line-height: 1;
  color: #FFF;
  margin-bottom: 1rem;
  text-shadow: 0 0 40px rgba(255, 107, 0, 0.35);
}

.hub-hero-title span {
  background: linear-gradient(135deg, var(--hoop-orange) 0%, var(--gold-accent) 50%, var(--turf-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hub-hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Arcade Marquee Ticker Strip */
.arcade-ticker-strip {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold-accent);
  display: flex;
}

.ticker-content {
  display: inline-flex;
  animation: tickerSlide 25s linear infinite;
  gap: 3rem;
  padding-left: 100%;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ==========================================================================
   CATEGORY FILTER TABS
   ========================================================================== */
.hub-filter-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 2rem 1rem 1rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hub-filter-tab {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 1px;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.hub-filter-tab:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFF;
  transform: translateY(-2px);
}

.hub-filter-tab.active {
  background: var(--gold-accent);
  color: #000;
  font-weight: 700;
  border-color: var(--gold-accent);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* ==========================================================================
   GAMES GRID & CARDS
   ========================================================================== */
.hub-games-grid-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 5rem;
}

.hub-category-block {
  margin-bottom: 3.5rem;
}

.hub-category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.75rem;
}

.hub-cat-icon {
  font-size: 1.8rem;
}

.hub-cat-title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 1.5px;
  color: #FFF;
}

.hub-cat-desc {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: auto;
}

.hub-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .hub-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

/* Individual Game Card */
.game-card-unit {
  background: #0D131E;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  color: inherit;
}

.game-card-unit:hover {
  transform: translateY(-8px);
  border-color: var(--gold-accent);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 215, 0, 0.25);
}

.game-card-unit.card-highlight-gold {
  border-color: rgba(255, 215, 0, 0.4);
}

.game-card-unit.card-highlight-orange {
  border-color: rgba(255, 107, 0, 0.4);
}

.game-card-unit.card-highlight-green {
  border-color: rgba(0, 242, 96, 0.4);
}

.game-card-unit.card-highlight-blue {
  border-color: rgba(0, 229, 255, 0.4);
}

/* Top Badge Row */
.card-header-banner {
  padding: 1.5rem 1.5rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.card-sport-symbol {
  font-size: 2.8rem;
  line-height: 1;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.game-card-unit:hover .card-sport-symbol {
  transform: scale(1.15) rotate(-6deg);
}

.card-badges-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.badge-new-glow {
  background: linear-gradient(135deg, #FF3E00, #FF6B00);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 1px;
  box-shadow: 0 0 12px rgba(255, 62, 0, 0.6);
  animation: pulseNew 1.8s infinite;
}

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

.badge-diff-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* Card Body */
.card-info-content {
  padding: 0.75rem 1.5rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-game-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: 1.2px;
  color: #FFF;
  margin-bottom: 0.4rem;
  line-height: 1.15;
}

.card-game-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* Card Footer */
.card-bottom-bar {
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.card-highscore-display {
  display: flex;
  flex-direction: column;
}

.highscore-lbl {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.highscore-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-accent);
}

.btn-play-action {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 1.2px;
  background: var(--turf-green);
  color: #000;
  padding: 0.45rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 900;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: none;
}

.game-card-unit:hover .btn-play-action {
  background: #FFF;
  box-shadow: 0 4px 15px rgba(0, 242, 96, 0.4);
  transform: scale(1.04);
}
