/* ==========================================================================
   GAME GRID, HERO BANNER, & GAME CARDS - SCHOOLBROS CLONE
   ========================================================================== */

/* ==========================================================================
   FEATURED HERO BANNER
   ========================================================================== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(124, 58, 237, 0.2);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.hero-banner:hover .hero-background {
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(10, 11, 16, 0.95) 0%,
    rgba(10, 11, 16, 0.75) 45%,
    rgba(10, 11, 16, 0.3) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
  width: fit-content;
  box-shadow: 0 0 12px var(--accent-purple-glow);
}

.hero-title {
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 10px;
  max-width: 650px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.hero-description {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.5;
  max-width: 600px;
  margin-bottom: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
}
.hero-meta-item b {
  color: #fff;
}
.star-rating {
  color: #d6d6da;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-hero-play {
  background: linear-gradient(135deg, #c7c7cc, #8e8e93);
  color: #fff;
  border: none;
  padding: 14px 34px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--accent-purple-glow);
  transition: all var(--transition-fast);
}
.btn-hero-play:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.15);
  box-shadow: 0 6px 25px rgba(168, 85, 247, 0.6);
}
.btn-hero-play:active {
  transform: translateY(0);
}

.btn-hero-fav {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}
.btn-hero-fav:hover {
  background: rgba(244, 63, 94, 0.25);
  border-color: var(--accent-rose);
  color: var(--accent-rose);
}
.btn-hero-fav.active {
  background: var(--accent-rose);
  border-color: var(--accent-rose);
  color: #fff;
}

/* Hero Carousel Thumbnails */
.hero-thumbnails {
  position: absolute;
  right: 32px;
  bottom: 32px;
  display: flex;
  gap: 12px;
  z-index: 5;
}
.hero-thumb-item {
  width: 90px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.25);
  opacity: 0.7;
  transition: all var(--transition-fast);
  background-size: cover;
  background-position: center;
}
.hero-thumb-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.hero-thumb-item.active {
  opacity: 1;
  border-color: var(--accent-cyan-light);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.6);
  transform: scale(1.06);
}

/* ==========================================================================
   FILTER CHIPS & SECTION HEADINGS
   ========================================================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  margin-top: 10px;
}
.section-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title-icon {
  color: var(--accent-purple-light);
}

.filter-chips-container {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
}
.filter-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}
.filter-chip:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
  border-color: var(--accent-purple);
}
.filter-chip.active {
  background: var(--accent-purple);
  color: #fff;
  border-color: var(--accent-purple);
  box-shadow: 0 0 12px var(--accent-purple-glow);
}

/* ==========================================================================
   RESPONSIVE GAME GRID
   ========================================================================== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

/* ==========================================================================
   GAME CARD
   ========================================================================== */
.game-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--accent-purple);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 16px var(--accent-purple-glow);
  z-index: 10;
}

/* Thumbnail */
.card-thumbnail-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #11121c;
}
.card-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.game-card:hover .card-thumbnail {
  transform: scale(1.08);
}

/* Badges */
.card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.card-badge.badge-hot {
  background: linear-gradient(135deg, #8e8e93, #a1a1a6);
  color: #fff;
}
.card-badge.badge-new {
  background: linear-gradient(135deg, #c7c7cc, #c7c7cc);
  color: #fff;
}
.card-badge.badge-3d {
  background: linear-gradient(135deg, #3b82f6, #8e8e93);
  color: #fff;
}
.card-badge.badge-multiplayer, .card-badge.badge-2-player {
  background: linear-gradient(135deg, #aeaeb2, #c7c7cc);
  color: #fff;
}
.card-badge.badge-default {
  background: rgba(30, 32, 50, 0.9);
  color: #e2e8f0;
  border: 1px solid #434969;
}

/* Card Favorite Button */
.card-fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(18, 20, 31, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transition: all var(--transition-fast);
}
.game-card:hover .card-fav-btn,
.card-fav-btn.active {
  opacity: 1;
}
.card-fav-btn:hover {
  background: rgba(244, 63, 94, 0.8);
  border-color: var(--accent-rose);
  transform: scale(1.1);
}
.card-fav-btn.active {
  color: var(--accent-rose);
  background: rgba(244, 63, 94, 0.2);
  border-color: var(--accent-rose);
}

/* Hover Preview Overlay */
.card-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 11, 16, 0.6);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 2;
}
.game-card:hover .card-hover-overlay {
  opacity: 1;
}
.card-play-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 16px var(--accent-purple-glow);
  transform: scale(0.85);
  transition: transform var(--transition-fast);
}
.game-card:hover .card-play-icon {
  transform: scale(1);
}

/* Card Info */
.card-info {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}
.card-category {
  font-weight: 600;
  color: var(--text-muted);
}
.card-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #d6d6da;
  font-weight: 700;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-subtle);
  grid-column: 1 / -1;
}
.empty-state-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.empty-state-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.empty-state-text {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 400px;
  margin: 0 auto 20px auto;
}

/* ==========================================================================
   SCHOOLBROS AUTHENTIC UI COMPONENTS
   - Mood Bento Carousel
   - Play Offline App Banner
   - Asymmetric Bento Grid
   - Horizontal Shelves (Featured & New Games)
   ========================================================================== */

/* 1. Mood Bento Bar */
.mood-carousel-container {
  margin-bottom: 20px;
  position: relative;
}

.mood-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mood-carousel::-webkit-scrollbar {
  display: none;
}

.mood-card {
  flex: 0 0 calc(25% - 9px);
  min-width: 215px;
  height: 104px;
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  user-select: none;
}
.mood-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
.mood-card.active {
  border-color: #ffffff;
  box-shadow: 0 0 14px rgba(203, 245, 92, 0.4);
}

.mood-icon-wrapper {
  align-self: flex-end;
  font-size: 34px;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45));
}
.mood-label {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.2px;
}

/* Specific Mood Gradients */
.mood-brain {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}
.mood-adrenaline {
  background: linear-gradient(135deg, #4c0519 0%, #831843 100%);
}
.mood-friends {
  background: linear-gradient(135deg, #042f2e 0%, #115e59 100%);
}
.mood-5min {
  background: linear-gradient(135deg, #451a03 0%, #78350f 100%);
}
.mood-bloxy {
  background: linear-gradient(135deg, #052e16 0%, #166534 100%);
}
.mood-classics {
  background: linear-gradient(135deg, #2e1065 0%, #2c2c2e 100%);
}
.mood-relax {
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
}
.mood-progress {
  background: linear-gradient(135deg, #172554 0%, #1e3a8a 100%);
}

/* 2. Play Offline Banner */
.offline-banner {
  background: linear-gradient(90deg, #3a3a3c 0%, #8e8e93 100%);
  border-radius: var(--radius-lg);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.offline-banner-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.offline-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.5px;
}
.offline-cat-avatar {
  width: 36px;
  height: 36px;
  background: #2c2c2e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.offline-subtext {
  color: #ede9fe;
  font-size: 14px;
  font-weight: 500;
}
.btn-get-app {
  background: #ffffff;
  color: #000;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 22px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.btn-get-app:hover {
  background: #f2f2f4;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(203, 245, 92, 0.5);
}

/* 3. Bento Grid ("Top games in 🌐 today") */
.bento-section-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 110px;
  gap: 12px;
  margin-bottom: 32px;
}

@media (min-width: 1300px) {
  .bento-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

.bento-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}
.bento-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #c7c7cc;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(168, 85, 247, 0.35);
  z-index: 10;
}

.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.bento-card:hover img {
  transform: scale(1.05);
}

.bento-tile-large {
  grid-column: span 2;
  grid-row: span 2;
}
.bento-tile-wide {
  grid-column: span 2;
  grid-row: span 2;
}
.bento-tile-normal {
  grid-column: span 1;
  grid-row: span 1;
}

/* Live Video/Stream Purple Badge */
.badge-video {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #8e8e93;
  color: #fff;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* 4. Horizontal Shelf Carousel */
.shelf-section {
  margin-bottom: 32px;
}
.shelf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.shelf-title {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.shelf-title:hover {
  color: #d1d1d6;
}
.shelf-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.shelf-nav-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.shelf-nav-btn:hover {
  background: #23273c;
  color: #fff;
  border-color: #64748b;
}

.shelf-scroll-wrapper {
  position: relative;
}
.shelf-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.shelf-carousel::-webkit-scrollbar {
  display: none;
}

.shelf-card {
  flex: 0 0 170px;
  aspect-ratio: 16 / 10;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 1px solid var(--border-subtle);
  scroll-snap-align: start;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}
.shelf-card:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: #c7c7cc;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 12px rgba(168, 85, 247, 0.3);
  z-index: 10;
}
.shelf-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 100px;
  }
  .bento-tile-large, .bento-tile-wide {
    grid-column: span 2;
    grid-row: span 2;
  }
  .mood-card {
    min-width: 110px;
    height: 72px;
  }
}

@media (max-width: 640px) {
  .hero-banner {
    height: 320px;
    margin-bottom: 20px;
  }
  .hero-overlay {
    padding: 20px;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-thumbnails {
    display: none;
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 95px;
  }
  .bento-tile-large, .bento-tile-wide {
    grid-column: span 2;
    grid-row: span 2;
  }
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .offline-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Inline-playable indicator on cards */
.card-playable-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(10, 11, 16, 0.82);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 3px 8px;
  border-radius: 9999px;
  border: 1px solid rgba(203, 245, 92, 0.5);
  backdrop-filter: blur(4px);
  z-index: 3;
  pointer-events: none;
}

/* --- YouTube-style hover video preview --- */
.card-preview-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;               /* above thumbnail img, below badges/overlay */
  opacity: 0;
  transition: opacity 0.28s ease;
  background: #11121c;
  pointer-events: none;
}
.card-preview-video.visible { opacity: 1; }

/* Small "has video preview" indicator dot (bottom-right of thumb) */
.card-preview-dot {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.35);
  z-index: 2;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}
.game-card.has-preview:hover .card-preview-dot { opacity: 0; }

/* Keep the hover play-icon overlay above the playing video */
.card-hover-overlay { z-index: 3; }

/* --- SchoolBros-style shelf stack (mood rows, category rows) --- */
.shelf-card { flex: 0 0 258px; }
@media (max-width: 900px){ .shelf-card { flex: 0 0 220px; } }
@media (max-width: 640px){ .shelf-card { flex: 0 0 176px; } }

.shelf-icon { font-size: 20px; line-height: 1; }
.shelf-title-text { white-space: nowrap; }
.shelf-subtitle {
  flex: 1 1 100%;
  order: 3;
  width: 100%;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 500;
  color: #9aa3b2;
}
.shelf-header { flex-wrap: wrap; row-gap: 2px; }
.shelf-header .shelf-controls { order: 2; }

/* Tinted mood sections */
.shelf-mood {
  border-radius: 16px;
  padding: 16px 16px 10px;
  margin-bottom: 26px;
}
.shelf-mood .shelf-subtitle { color: rgba(255,255,255,0.72); }
.shelf-mood.mood-adrenaline { background: linear-gradient(180deg, rgba(131,24,67,0.55) 0%, rgba(76,5,25,0.12) 70%, transparent 100%); }
.shelf-mood.mood-friends    { background: linear-gradient(180deg, rgba(17,94,89,0.55) 0%, rgba(4,47,46,0.12) 70%, transparent 100%); }
.shelf-mood.mood-5min       { background: linear-gradient(180deg, rgba(120,53,15,0.55) 0%, rgba(69,26,3,0.12) 70%, transparent 100%); }
.shelf-mood.mood-bloxy      { background: linear-gradient(180deg, rgba(22,101,52,0.55) 0%, rgba(5,46,22,0.12) 70%, transparent 100%); }
.shelf-mood.mood-classics   { background: linear-gradient(180deg, rgba(76,29,149,0.55) 0%, rgba(46,16,101,0.12) 70%, transparent 100%); }
.shelf-mood.mood-relax      { background: linear-gradient(180deg, rgba(4,120,87,0.55) 0%, rgba(6,78,59,0.12) 70%, transparent 100%); }
.shelf-mood.mood-progress   { background: linear-gradient(180deg, rgba(30,58,138,0.55) 0%, rgba(23,37,84,0.12) 70%, transparent 100%); }

/* Shelf-card hover play overlay + preview */
.shelf-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(0deg, rgba(0,0,0,0.35), rgba(0,0,0,0.05));
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 3;
  pointer-events: none;
}
.shelf-card:hover .shelf-card-overlay { opacity: 1; }
.shelf-card .card-play-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(203,245,92,0.95);
  color: #111114;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0.8);
  transition: transform 0.2s ease;
}
.shelf-card:hover .card-play-icon { transform: scale(1); }

/* Continue playing — compact row (smaller tiles (compact tiles)) */
.shelf-compact .shelf-card { flex: 0 0 170px; }
@media (max-width: 640px){ .shelf-compact .shelf-card { flex: 0 0 140px; } }

/* Remove underline from shelf/category heading links */
.shelf-title, .shelf-title:hover,
.card-category, .related-cat, .breadcrumb-link, .game-tag {
  text-decoration: none !important;
}

/* Remove the green "has preview" dots from tiles */
.card-preview-dot { display: none !important; }

/* --- Hero banner (replaces Top picks bento) --- */
.hero-banner {
  width: 100%;
  height: clamp(150px, 23vw, 400px) !important; /* responsive, fills on every device */
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 28px;
  line-height: 0;
  background: #0a0e26;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.hero-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 768px) {
  .hero-banner { height: clamp(140px, 42vw, 240px) !important; }
}
