/* ======= WP Game Box Stylish with Decimal Stars ======= */

.wp-game-box-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: linear-gradient(135deg, #f8faff, #ffffff);
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 18px;
  margin-bottom: 28px;
  transition: all 0.3s ease;
}
.wp-game-box-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.wp-game-box-image img {
  width: 180px;
  height: 200px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}
.wp-game-box-image img:hover {
  transform: scale(1.03);
}

.wp-game-box-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wp-game-box-meta {
  background: linear-gradient(145deg, #ffffff, #f3f6ff);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.7),
              0 4px 14px rgba(0, 0, 0, 0.05);
  border: 1px solid #e6e9ff;
}

.wp-game-box-line {
  margin: 6px 0;
  font-size: 15.5px;
  color: #222;
}
.wp-game-box-line strong {
  color: #0057ff;
  font-weight: 600;
}

/* Rating Stars */
.wp-game-box-rating {
  margin-top: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.wp-star {
  font-size: 20px;
  color: #ccc;
  margin-right: 3px;
  position: relative;
}
.wp-star-on {
  color: #ffb400;
}
.wp-star-half {
  color: #ffb400;
  position: relative;
}
.wp-star-half::after {
  content: "\2605";
  color: #ccc;
  position: absolute;
  left: 50%;
  width: 50%;
  overflow: hidden;
}
.wp-rating-text {
  font-size: 14px;
  margin-left: 6px;
  color: #333;
  font-weight: 500;
}

.wp-game-box-meta::after {
  content: "🎮 Play Now";
  display: inline-block;
  margin-top: 12px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 50px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 115, 255, 0.35);
  transition: all 0.3s ease;
  cursor: pointer;
}
.wp-game-box-meta::after:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 115, 255, 0.45);
}

@media (max-width: 720px) {
  .wp-game-box-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .wp-game-box-right {
    width: 100%;
  }
  .wp-game-box-meta::after {
    width: auto;
    display: block;
    margin: 12px auto 0;
  }
}