/* Games Gallery - Advent Calendar Style (28 slots) */

.games-gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-5);
  width: 100%;
  margin: var(--spacing-8) 0;
}
@media (max-width: 576px) {
  .games-gallery-grid {
    gap: var(--spacing-3);
  }
}

/* Base game item styling */
.game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease;
  width: 200px;
}
@media (max-width: 768px) {
  .game-item {
    width: 150px;
  }
}
@media (max-width: 576px) {
  .game-item {
    width: 120px;
  }
}

/* Revealed games - interactive */
.game-item.revealed {
  cursor: pointer;
}
.game-item.revealed:hover {
  transform: translateY(-5px);
}

/* Mystery boxes - non-interactive */
.game-item.mystery {
  cursor: default;
}

/* Game thumbnails (revealed games) */
.game-item .game-thumbnail {
  min-width: 16px;
  min-height: 16px;
  border-radius: 1em;
  box-shadow: -1px -2px 4px #00000077, 1px 2px 4px #FFFFFF77;
  width: 200px;
  height: 200px;
  object-fit: cover;
  margin-bottom: var(--spacing-2);
}
@media (max-width: 768px) {
  .game-item .game-thumbnail {
    width: 150px;
    height: 150px;
  }
}
@media (max-width: 576px) {
  .game-item .game-thumbnail {
    width: 120px;
    height: 120px;
  }
}

/* Mystery box styling */
.mystery-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-grey-l2) 0%, var(--color-grey-l1) 100%);
  border: 2px dashed white;
}

.mystery-icon {
  font-size: 64px;
  font-weight: bold;
  color: white;
  user-select: none;
}
@media (max-width: 768px) {
  .mystery-icon {
    font-size: 48px;
  }
}
@media (max-width: 576px) {
  .mystery-icon {
    font-size: 36px;
  }
}
.game-title {
  display: block;
  font: var(--font-bold);
  color: var(--color-dark);
  width: 100%;
  margin-top: var(--spacing-2);
  font-size: var(--font-size-sm);
  line-height: 1.3;
}
@media (max-width: 576px) {
  .game-title {
    font-size: var(--font-size-xs);
  }
}
.game-creator {
  display: block;
  font: var(--font-body);
  color: var(--color-grey-d1);
  font-style: italic;
  opacity: 0.8;
  width: 100%;
  margin-top: var(--spacing-1);
  font-size: var(--font-size-xs);
}
@media (max-width: 576px) {
  .game-creator {
    font-size: 10px;
  }
}
.games-gallery-grid .loading {
  width: 100%;
  text-align: center;
  padding: var(--spacing-10) 0;
  font: var(--font-lead);
  color: var(--color-grey-d1);
}
