/* Last updated: 2026-09-04 */
/* ===== Index Page: Hero & FAQ ===== */

/* Dynamic home-card columns: 3 per row when the grid area is wide enough,
   2 per row otherwise, 1 on phones. Driven by container queries so it
   responds to the actual grid width next to the genre sidebar. */
.home-grid-wrap {
  container-type: inline-size;
}

#gamesGrid > .game-col {
  flex: 0 0 auto;
  width: 100%;
}

@media (min-width: 576px) {
  #gamesGrid > .game-col {
    width: 50%;
  }

  @container (min-width: 760px) {
    #gamesGrid > .game-col {
      width: 33.333333%;
    }
  }

  /* Most-played page: 4 cards per row when the layout is wide enough */
  @container (min-width: 920px) {
    .most-played-grid #gamesGrid > .game-col {
      width: 25%;
    }
  }
}

/* Genre sidebar banner rotator (300x250) */
.genre-banner-rotator {
  margin: 1rem 0;
}

/* Sticky offset: clear the fixed navbar (68px).
   (Was 126px while the sticky genre chip bar was enabled.) */
.genre-sidebar-inner {
  top: 68px;
}

/* Align the sidebar's top edge with the home card grid
   (the cards column starts below its "Latest Games" title row) */
.home-layout > .genre-sidebar {
  padding-top: 36px;
}

.genre-banner-link {
  display: block;
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 300 / 250;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 auto;
}

.genre-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.genre-banner-img.active {
  opacity: 1;
}

/* Infinite scroll sentinel */
.infinite-scroll-sentinel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 90px;
  padding: 2rem 1rem;
}

.hero-section {
  background: transparent;
}
.hero-section::after {
  display: none;
}

.home-page {
  background:
    radial-gradient(circle at 16% -4%, rgba(255, 51, 102, 0.16), transparent 32%),
    radial-gradient(circle at 88% 10%, rgba(124, 58, 237, 0.16), transparent 36%),
    linear-gradient(180deg, #0b0b14 0%, #090910 48%, #0e0e17 100%);
  background-attachment: fixed;
}

.home-page .navbar {
  background: rgba(14, 4, 22, 0.75);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom-color: rgba(108, 117, 125, 0.25);
  box-shadow: 0 1px 25px rgba(255, 30, 40, 0.1), 0 4px 20px rgba(0, 0, 0, 0.35);
}

@media (max-width: 991.98px) {
  .home-page {
    padding-top: 100px;
  }
}

@media (min-width: 992px) {
  .home-page {
    padding-top: 76px;
  }
}

[data-bs-theme="light"] .home-page .navbar {
  background: rgba(255, 255, 255, 0.7);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(30, 20, 50, 0.08);
}

.home-page .game-card,
.home-page .continue-item,
.home-page .top-pick-item,
.home-page .genre-chip {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.home-page .game-card:hover,
.home-page .continue-item:hover,
.home-page .top-pick-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.home-page .game-card:hover,
.home-page .game-card:focus-within {
  border-color: rgba(13, 202, 240, 0.35);
  box-shadow: 0 12px 30px rgba(5, 2, 16, 0.28), 0 0 0 1px rgba(13, 202, 240, 0.12);
}

.home-page .game-card:active {
  box-shadow: 0 6px 18px rgba(5, 2, 16, 0.24), 0 0 0 1px rgba(13, 202, 240, 0.16);
}

[data-bs-theme="light"] .home-page .game-card,
[data-bs-theme="light"] .home-page .continue-item,
[data-bs-theme="light"] .home-page .top-pick-item,
[data-bs-theme="light"] .home-page .genre-chip {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.08);
}

/* Card media + body share the card's background (dark theme)
   Horny Villa hero gradient, with transparency so the page shows through */
.home-page .game-card {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(118, 71, 163, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 100, 150, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, rgba(18, 10, 21, 0.55) 0%, rgba(11, 11, 15, 0.7) 100%);
  border-color: rgba(255, 35, 50, 0.35);
}

.home-page .game-card:hover {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(118, 71, 163, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 100, 150, 0.16) 0%, transparent 50%),
    linear-gradient(180deg, rgba(18, 10, 21, 0.7) 0%, rgba(11, 11, 15, 0.82) 100%);
}

/* Play buttons inside home cards */
/* Play buttons inside home cards.
   These four declarations used to be !important, purely to out-shout the base .btn
   rules. That blocked the token layer from recolouring them (only !important beats
   !important), so the values are unchanged but the !important is gone - xg-theme.css
   now wins on specificity for pages that opt in, and nothing changes for the rest. */
.home-page .game-card .card-btn-play,
.home-page .game-card .card-btn-play-overlay {
  background: linear-gradient(135deg, #ff465a, #e92652);
  color: #fff;
  border-color: rgba(255, 70, 90, 0.55);
  box-shadow: 0 10px 24px rgba(255, 51, 102, 0.24);
}

.home-page .game-card .card-btn-play:hover,
.home-page .game-card .card-btn-play-overlay:hover {
  background: linear-gradient(135deg, #ff5c70, #f02e5c);
  color: #fff;
  border-color: rgba(255, 90, 110, 0.7);
  box-shadow: 0 14px 32px rgba(255, 51, 102, 0.32);
}

/* Genre sidebar: matches the navbar search input background */
.genre-sidebar-inner {
  background: rgba(255, 255, 255, 0.06);
}

/* Genre banner rotator temporarily disabled (remove to re-enable) */
#genreBannerRotator {
  display: none;
}

/* Footer link chips */
.site-footer-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.site-footer-chip {
  padding: 0.4rem 1rem;
  border-radius: 50rem;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.2s;
}
.site-footer-chip:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(220, 53, 69, 0.4);
  color: #fff;
}
[data-bs-theme="light"] .site-footer-chip {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.65);
}
[data-bs-theme="light"] .site-footer-chip:hover {
  background: rgba(0, 0, 0, 0.09);
  border-color: rgba(220, 53, 69, 0.5);
  color: #000;
}

.home-page .game-card-media,
.home-page .game-card .card-body {
  background: transparent;
}

.home-page .game-card-media::before,
.home-page .sponsored-card .game-card-media::before {
  display: none;
}

[data-bs-theme="light"] .home-page .game-card-media,
[data-bs-theme="light"] .home-page .game-card .card-body,
[data-bs-theme="light"] .home-page .game-card:hover .game-card-media,
[data-bs-theme="light"] .home-page .game-card:hover .card-body {
  background: #ffffff;
}

/* Hero tagline: same card background as the genre sidebar */
#heroDesc {
  width: fit-content;
  max-width: 100%;
  font-family: 'Orbitron', system-ui, sans-serif;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0.75rem 1.5rem;
}

/* Morph heading nested in the hero description */
#heroDesc .hero-desc-title {
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-align: center;
}

#heroDesc .hero-desc-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(240, 238, 238, 0.92);
  letter-spacing: 0.01em;
  line-height: 1.6;
  text-align: center;
}

[data-bs-theme="light"] #heroDesc {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] #heroDesc .hero-desc-text {
  color: #1a1a2e;
}

/* Morph word displayed as its own badge (H1) */
.hero-morph-h1 {
  font-size: 1.5rem;
}

.hero-morph-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

[data-bs-theme="light"] .hero-morph-badge {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.12);
}

/* ===== Index Page: FAQ Accordion ===== */

#indexFaq .faq-wrapper {
  background: linear-gradient(180deg, rgba(44,11,14,0.6), rgba(28,12,14,0.6));
  border: 1px solid rgba(220,53,69,0.3);
}

#indexFaq .faq-btn {
  color: #eaeaea;
  background: transparent;
}

#indexFaq .faq-circle {
  width: 36px;
  height: 36px;
  color: #dc3545;
  border-color: rgba(220,53,69,0.4);
  font-size: 1.3rem;
  line-height: 1;
}

#indexFaq .faq-body {
  padding-left: 4.5rem;
}

#indexFaq .faq-hr {
  border-color: rgba(220,53,69,0.3);
  border-width: 1px;
  opacity: 1;
}

#faq .faq-container {
  max-width: 800px;
}

/* ===== Sticky CTA Bar (shared) ===== */

.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1020;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.sticky-cta-bar.visible {
  display: block;
  opacity: 1;
}
.sticky-cta-inner {
  pointer-events: auto;
}

.sticky-pill {
  background: rgba(20, 20, 20, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.sticky-dot {
  width: 8px;
  height: 8px;
  background: #39ff9e;
  box-shadow: 0 0 6px rgba(57,255,158,0.6);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.sticky-cta-btn {
  white-space: nowrap;
}

/* ===== Index Page: Hero Particles ===== */

.hero-particle:nth-child(1)  { --x:10%; --y:15%; --s:4px; --d:2s;   --dr:10s; --c:rgba(255,35,50,0.6); }
.hero-particle:nth-child(2)  { --x:85%; --y:20%; --s:6px; --d:4s;   --dr:12s; --c:rgba(13,202,240,0.55); }
.hero-particle:nth-child(3)  { --x:25%; --y:70%; --s:3px; --d:1s;   --dr:8s;  --c:rgba(255,50,70,0.55); }
.hero-particle:nth-child(4)  { --x:60%; --y:10%; --s:5px; --d:3s;   --dr:11s; --c:rgba(13,202,240,0.5); }
.hero-particle:nth-child(5)  { --x:45%; --y:85%; --s:7px; --d:5s;   --dr:14s; --c:rgba(255,35,50,0.5); }
.hero-particle:nth-child(6)  { --x:75%; --y:55%; --s:4px; --d:2.5s; --dr:9s;  --c:rgba(255,80,100,0.5); }
.hero-particle:nth-child(7)  { --x:15%; --y:45%; --s:5px; --d:3.5s; --dr:13s; --c:rgba(13,202,240,0.55); }
.hero-particle:nth-child(8)  { --x:90%; --y:75%; --s:3px; --d:1.5s; --dr:7s;  --c:rgba(255,35,50,0.6); }
.hero-particle:nth-child(9)  { --x:50%; --y:35%; --s:6px; --d:4.5s; --dr:15s; --c:rgba(255,45,60,0.5); }
.hero-particle:nth-child(10) { --x:35%; --y:90%; --s:4px; --d:2s;   --dr:10s; --c:rgba(13,202,240,0.5); }
.hero-particle:nth-child(11) { --x:70%; --y:40%; --s:5px; --d:3s;   --dr:12s; --c:rgba(255,90,110,0.55); }
.hero-particle:nth-child(12) { --x:5%;  --y:60%; --s:4px; --d:5s;   --dr:11s; --c:rgba(255,35,50,0.5); }

/* ===== Index Page: Hero Description ===== */

.hero-desc {
  max-width: 680px;
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-tagline {
  font-size: 1.1rem;
}

/* ===== Index Page: Hero Search ===== */

.hero-search-wrap {
  max-width: 560px;
}

.hero-search {
  position: relative;
}

.hero-search-input {
  width: 100%;
  border: 1px solid rgba(220, 53, 69, 0.35);
  background: rgba(18, 14, 24, 0.6);
  color: #eaeaea;
  font-size: 1rem;
  border-radius: 999px;
  padding: 0.85rem 3rem 0.85rem 1.5rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hero-search-input:focus {
  border-color: rgba(220, 53, 69, 0.75);
  background: rgba(220, 53, 69, 0.08);
  box-shadow: 0 0 24px rgba(220, 53, 69, 0.25);
}

.hero-search-input::placeholder {
  color: rgba(234, 234, 234, 0.45);
}

.hero-search-icon {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #dc3545;
  font-size: 1.1rem;
  pointer-events: none;
}

.hero-search .search-dropdown {
  text-align: left;
}

[data-bs-theme="light"] .hero-search-input {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(220, 53, 69, 0.4);
  color: #1a1a2e;
}

[data-bs-theme="light"] .hero-search-input:focus {
  background: #fff;
  border-color: #dc3545;
  box-shadow: 0 0 18px rgba(220, 53, 69, 0.18);
}

[data-bs-theme="light"] .hero-search-input::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

[data-bs-theme="light"] .hero-search-reassure {
  color: rgba(0, 0, 0, 0.5);
}

/* ===== Index Page: Continue Playing Row ===== */

.continue-row-title {
  display: flex;
  align-items: center;
  font-family: 'Orbitron', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(240, 235, 250, 0.9);
  margin-bottom: 0.75rem;
}

.continue-row-title .bi {
  color: #dc3545;
}

.continue-row {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.15rem 0.1rem 0.75rem;
  scroll-snap-type: x proximity;
}

@supports (scrollbar-width: thin) {
  .continue-row {
    scrollbar-width: thin;
    scrollbar-color: rgba(220, 53, 69, 0.55) rgba(255, 255, 255, 0.08);
  }
}

.continue-row::-webkit-scrollbar {
  height: 10px;
}

.continue-row::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.continue-row::-webkit-scrollbar-thumb {
  background: rgba(220, 53, 69, 0.55);
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.08);
}

.continue-row::-webkit-scrollbar-thumb:hover {
  background: rgba(220, 53, 69, 0.85);
}

.continue-item {
  flex: 0 0 150px;
  scroll-snap-align: start;
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.continue-item:hover {
  transform: translateY(-2px);
  border-color: rgba(220, 53, 69, 0.5);
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.18);
}

.continue-item img {
  width: 100%;
  height: 94px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.continue-item-title {
  display: block;
  padding: 0.45rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #eaeaea;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-bs-theme="light"] .continue-row-title {
  color: #1a1a2e;
}

[data-bs-theme="light"] .continue-item {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .continue-item-title {
  color: #1a1a2e;
}

/* ===== Index Page: Sticky Genre Chip Bar ===== */

/* Temporarily disabled */
.genre-chip-bar-wrap {
  display: none !important;
}

.genre-chip-bar-wrap {
  position: sticky;
  top: 68px;
  z-index: 1020;
  margin: 0 auto 1rem;
  padding: 0.55rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(5, 2, 16, 0.22);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.genre-chip-bar-wrap.genre-chip-hidden {
  transform: translateY(calc(-100% - 80px));
  opacity: 0;
  pointer-events: none;
}

/* Keep the retractable side nav above the sticky genre chip bar */
@media (min-width: 992px) {
  .home-page .side-nav {
    z-index: 1025;
    background: rgba(14, 4, 22, 0.75);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  [data-bs-theme="light"] .home-page .side-nav {
    background: rgba(255, 255, 255, 0.92);
    border-right-color: rgba(0, 0, 0, 0.08);
  }
}

.genre-chip-scroll-btn {
  display: none;
}

@media (min-width: 768px) {
  .genre-chip-bar-wrap {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .genre-chip-scroll-btn {
    display: flex;
    position: absolute;
    top: 50%;
    z-index: 1;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(23, 14, 34, 0.92);
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
    transition: opacity 0.2s ease, background 0.2s ease;
  }

  .genre-chip-bar-wrap:hover .genre-chip-scroll-btn:not(:disabled),
  .genre-chip-bar-wrap:focus-within .genre-chip-scroll-btn:not(:disabled) {
    opacity: 1;
    pointer-events: auto;
  }

  .genre-chip-scroll-btn:hover {
    background: rgba(220, 53, 69, 0.85);
  }

  .genre-chip-scroll-prev {
    left: 0.25rem;
  }

  .genre-chip-scroll-next {
    right: 0.25rem;
  }

  .genre-chip-scroll-btn:disabled {
    display: none;
  }
}

.genre-chip-bar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
}

@supports (scrollbar-width: none) {
  .genre-chip-bar {
    scrollbar-width: none;
  }
}

.genre-chip-bar.genre-chip-dragging {
  cursor: grabbing;
  -webkit-user-select: none;
  user-select: none;
}

.genre-chip-bar::-webkit-scrollbar {
  display: none;
}

.genre-chip {
  flex: 0 0 auto;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(234, 234, 234, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.genre-chip:hover {
  border-color: rgba(220, 53, 69, 0.5);
  color: #fff;
}

.genre-chip.category-active {
  background: linear-gradient(135deg, rgba(255, 35, 50, 0.5), rgba(220, 40, 50, 0.4));
  border-color: rgba(255, 35, 50, 0.8);
  color: #fff;
}

.genre-chip-count {
  opacity: 0.55;
  font-weight: 500;
}

[data-bs-theme="light"] .genre-chip-bar-wrap {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(30, 20, 50, 0.08);
}

[data-bs-theme="light"] .genre-chip {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.12);
  color: #1a1a2e;
}

[data-bs-theme="light"] .genre-chip.category-active {
  background: #dc3545;
  border-color: #dc3545;
  color: #fff;
}

/* ===== Index Page: Sidebar Top Picks ===== */

.top-picks-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.top-pick-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.top-pick-item:hover {
  border-color: rgba(220, 53, 69, 0.5);
  background: rgba(220, 53, 69, 0.08);
  transform: translateX(2px);
}

.top-pick-item img {
  width: 48px;
  height: 36px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.top-pick-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.top-pick-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #eaeaea;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-pick-play {
  font-size: 0.7rem;
  color: #ff7a88;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-shadow: 0 0 6px rgba(255, 70, 90, 0.35);
}

[data-bs-theme="light"] .top-pick-item {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] .top-pick-play {
  color: #dc3545;
  text-shadow: none;
}

[data-bs-theme="light"] .top-pick-title {
  color: #1a1a2e;
}

/* ===== Hero Stat Counter ===== */

.hero-stat-block {
  line-height: 1.1;
}

.hero-stat-number {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  font-family: 'Orbitron', system-ui, sans-serif;
  background: linear-gradient(135deg, #ff2d3d 0%, #ff4455 50%, #ffd266 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
  filter: drop-shadow(0 0 20px rgba(255, 35, 50, 0.5));
}

.hero-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 50, 60, 0.8);
  margin-top: -0.2rem;
}

/* Light theme: revert stat counter to solid red */
[data-bs-theme="light"] .hero-stat-number {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  color: #dc3545;
  filter: none;
}

[data-bs-theme="light"] .hero-stat-label {
  color: rgba(220, 53, 69, 0.7);
}

/* ===== Index Page: Load More Button ===== */

.load-more-btn {
  transition: all 0.2s ease;
  border-width: 2px;
}

.load-more-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(255, 35, 50, 0.4), 0 0 40px rgba(13, 202, 240, 0.15);
}

/* ===== Hero Top Badges (Trending + Game Count) ===== */

#heroTopBadges .hero-badge-trending {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
  background: rgba(255, 35, 50, 0.22);
  border: 1px solid rgba(255, 35, 50, 0.35);
  border-radius: 999px;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
}

#heroTopBadges .hero-badge-trending .bi {
  color: #ffd266;
  font-size: 0.75rem;
}

#heroTopBadges .hero-badge-count {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(235, 235, 245, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

#heroTopBadges .hero-badge-count .bi {
  color: #f4b942;
  font-size: 0.75rem;
}

/* Light theme overrides */
[data-bs-theme="light"] #heroTopBadges .hero-badge-trending {
  color: #dc3545;
  background: rgba(220, 53, 69, 0.12);
  border-color: rgba(220, 53, 69, 0.3);
  text-shadow: none;
}

[data-bs-theme="light"] #heroTopBadges .hero-badge-trending .bi {
  color: #dc3545;
}

[data-bs-theme="light"] #heroTopBadges .hero-badge-count {
  color: #333;
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.12);
}

[data-bs-theme="light"] #heroTopBadges .hero-badge-count .bi {
  color: #c6922c;
}
