.trending-page-container {
  padding: 2rem 1.5rem;
  margin: 0 auto;
  min-height: calc(100vh - 25rem);
}

.section-container {
  margin-bottom: 3rem;
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-icon {
  width: 2.1875rem;
  height: 2.1875rem;
  margin-right: 0.75rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--lightColor);
  margin: 0;
}

/* Grid adjustments */
.games-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(8, 1fr);
  width: 100%;
}

@media (max-width: 75rem) {
  .games-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 62rem) {
  .games-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 48rem) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 36rem) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-icon {
    width: 1.875rem;
    height: 1.875rem;
  }
}

/* Game Card Styles */
.game-card-wrapper {
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.game-card-wrapper:hover {
  transform: translateY(-0.3125rem);
}

.game-card-wrapper:hover .game-item-simple {
  box-shadow: var(--boxShadowHover) 0 0.5rem 1.5rem;
}

.game-item-simple {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: var(--greyBackgroundLight);
  box-shadow: var(--boxShadow) 0 0.25rem 1rem;
  display: flex;
  flex-direction: column;
}

.game-item-simple img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

.game-item-simple-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent 60%, rgba(0, 0, 0, 0.8));
  display: flex;
  align-items: flex-end;
  padding: 0.5rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.game-item-simple:hover .game-item-simple-overlay {
  opacity: 1;
}

.game-item-simple-name {
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.8);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

/* Game Card Stats Badge */
.game-card-stats {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.5rem;
  margin-top: 0.25rem;
  background-color: #2196f3;
  color: white;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  width: 100%;
}

.game-card-stats i {
  width: 0.875rem;
  height: 0.875rem;
}

/* Skeleton Loading Animation */
@keyframes skeleton-loading {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0 50%;
  }
}

.skeleton {
  background: linear-gradient(90deg, var(--greyBackgroundLight) 25%, var(--greyBackgroundLightest) 50%, var(--greyBackgroundLight) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite linear;
  border-radius: 0.5rem;
}

.skeleton-grid-item {
  aspect-ratio: 1/1;
  width: 100%;
}