/* Equal card layout */
.game-card-equal {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Fixed image height */
.game-card-img {
  height: 180px;
  width: 100%;
  object-fit: cover;
}

/* Clamp game description (top text) */
.game-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(20px, 1.667vw, 64px);
  border-radius: clamp(10px, 1.042vw, 32px);
  background: linear-gradient(180deg, #07080d 0%, #1d1f2c 100%);
  border: 1px solid #45474f;
}

/* Fixed visual height across 100%, 125%, 150% */
.game-card-desc {
  min-height: clamp(170px, 12vw, 220px);
  max-height: clamp(170px, 12vw, 220px);

  overflow: hidden;

  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;

  line-height: 1.5;
}

/* How card */
.game-card-how {
  min-height: clamp(150px, 10vw, 190px);
  max-height: clamp(150px, 10vw, 190px);

  overflow: hidden;

  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;

  line-height: 1.5;
}

/* Button always same position */
.view-more-btn {
  margin-top: auto;
  flex-shrink: 0;
   cursor: pointer;
  transition: transform 0.2s ease;
}


/* Tablet */
@media (max-width: 768px) {
  .game-card-how {
    -webkit-line-clamp: 6;
    min-height: calc(1.5em * 6);
  }
}

/* Mobile */
@media (max-width: 490px) {
  .game-card-how {
    -webkit-line-clamp: 8;
     min-height: calc(1.5em * 6);

    font-size: 14px;
    line-height: 1.4;

    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
  }
}

/* Push button to bottom */
.game-card-btn {
  margin-top: auto;
}



.view-more-btn:hover {
  transform: scale(1.05);
}