/* Game Detail Page Styles */
.custom-game-header {
  position: relative;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 1rem;
  margin-bottom: 2rem;
  overflow: hidden;
}

.custom-game-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  z-index: 1;
  opacity: 0.8;
}

.custom-game-header-content {
  position: relative;
  z-index: 2;
}

.custom-game-image {
  width: 180px;
  height: 180px;
  border-radius: 1rem;
  object-fit: cover;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.custom-game-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #fff;
}

.custom-game-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.custom-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #ffd700;
}

.custom-rating-star {
  color: #ffd700;
}

.custom-rating-star img {
  width: 16px;
  height: 16px;
}

.custom-developer {
  font-size: 0.875rem;
  color: #ccc;
}

.custom-category {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  color: #fff;
}

.custom-tags {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.custom-tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  color: #fff;
  transition: background 0.2s ease;
}

.custom-tag:hover {
  background: rgba(255, 255, 255, 0.2);
}

.custom-tag a {
  color: #fff;
  text-decoration: none;
}

.custom-play-button {
  background: #ff1493;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
  margin: 1rem 0;
  display: inline-block;
}

.custom-play-button:hover {
  background: #e00077;
}

.custom-play-button a {
  color: #fff;
  text-decoration: none;
}

.custom-game-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  color: #ccc;
  font-size: 1rem;
}

/* Responsive Design */
@media (min-width: 768px) {
  .custom-search-container {
    display: flex;
  }

  .custom-game-header {
    padding: 4rem 2rem;
  }

  .custom-game-image {
    width: 200px;
    height: 200px;
  }

  .custom-game-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  .custom-game-header {
    padding: 2rem 1rem;
  }

  .custom-game-image {
    width: 150px;
    height: 150px;
  }

  .custom-game-title {
    font-size: 1.5rem;
  }
  
  .custom-game-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}