

.game-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 0 60px;
  color: #fff;
}

.game-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 109, 174, 0.2), rgba(90, 33, 182, 0.5));
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 35px;
}

.game-hero::before,
.game-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  opacity: 0.8;
}

.game-hero::before {
  background: radial-gradient(circle at 20% 20%, rgb(28 31 49), transparent 55%), radial-gradient(circle at 80% 0%, rgba(116, 242, 242, 0.25), transparent 50%);
}

.game-hero::after {
  background: linear-gradient(120deg, rgb(91 58 76 / 25%), rgba(116, 242, 242, 0.2));
  mix-blend-mode: screen;
  animation: heroGlow 6s ease-in-out infinite alternate;
}

.game-hero > * {
  position: relative;
  z-index: 1;
}

.hero-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
}

.hero-header h1 {
  font-size: 42px;
  margin-top: 8px;
}

.game-tag {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
}

.rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.stars span {
  color: #ffd166;
  font-size: 18px;
}

.play-btn {
  background: linear-gradient(120deg, #ffe75e, #ff7dc2);
  border: none;
  padding: 16px 34px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  color: #1b082b;
  cursor: pointer;
  box-shadow: 0 18px 30px rgba(255, 125, 194, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.play-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 24px 40px rgba(255, 125, 194, 0.55);
}

.hero-media {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  border: 10px solid #0b0415;
  background: #000;
}

.hero-media img {
  width: 100%;
  display: block;
  border-radius: 20px;
  filter: brightness(0.92);
}

.media-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: #5b21b6;
  font-size: 32px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.media-play:hover {
  transform: translate(-50%, -50%) scale(1.07);
}

.media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 26px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
  font-weight: 600;
  text-align: center;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.more-games {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(13, 10, 35, 0.85), rgba(60, 15, 82, 0.9));
  border-radius: 24px;
  padding: 28px 32px 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.more-games::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 120%, rgba(255, 125, 194, 0.3), transparent 55%),
    radial-gradient(circle at 90% -20%, rgba(116, 242, 242, 0.2), transparent 45%);
  animation: pulseBackdrop 8s ease-in-out infinite;
}

.more-games > * {
  position: relative;
  z-index: 1;
}

@keyframes heroGlow {
  from {
    transform: translate3d(-5%, -3%, 0);
    opacity: 0.6;
  }
  to {
    transform: translate3d(5%, 3%, 0);
    opacity: 1;
  }
}

@keyframes pulseBackdrop {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
}

.more-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.more-header h2 {
  font-size: 22px;
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: #fff;
  padding: 8px 20px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.mini-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  text-align: center;
  padding: 16px 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 25px rgba(0, 0, 0, 0.35);
}

.mini-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 12px;
}

.mini-title {
  font-weight: 600;
  margin-bottom: 4px;
  color: #fff;
}

.mini-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 768px) {
  .hero-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .play-btn {
    width: 100%;
    text-align: center;
  }

  .game-hero {
    padding: 28px;
  }

  .more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .more-games{
    padding: 15px;
  }
  .hero-header h1{
    font-size: 32px;
  }
}

.game-hero a{
  color: inherit;
  text-decoration: none;
}