/* ===== Play Page Styles ===== */

.play-page-body {
  background: linear-gradient(180deg, #0d0418 0%, #0a0310 100%);
  padding-top: 76px;
}

/* ---- Hero Video Section ---- */
.play-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(220,53,69,0.15), 0 20px 60px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}
.play-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  cursor: pointer;
  transition: background 0.3s;
}
.play-hero-overlay:hover {
  background: rgba(0,0,0,0.45);
}
.play-hero-play-btn {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(220,53,69,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(220,53,69,0.5), 0 0 80px rgba(220,53,69,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.play-hero-overlay:hover .play-hero-play-btn {
  transform: scale(1.1);
  box-shadow: 0 0 60px rgba(220,53,69,0.7), 0 0 120px rgba(220,53,69,0.35);
}
.play-hero-play-btn .bi {
  font-size: 2.8rem;
  color: #fff;
  margin-left: 5px;
}

/* ---- CTA Buttons Row ---- */
.play-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.play-btn-primary {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 50rem;
  border: none;
  border-bottom: 4px solid #a71d2a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  box-shadow: 0 6px 25px rgba(220,53,69,0.35);
}
.play-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(220,53,69,0.5);
  color: #fff;
}
.play-btn-secondary {
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 50rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-bottom: 3px solid rgba(255,255,255,0.08);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}
.play-btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  transform: scale(1.03);
  color: #fff;
}
.play-btn-fav {
  background: rgba(220,53,69,0.15);
  border-color: rgba(220,53,69,0.3);
}
.play-btn-fav:hover {
  background: rgba(220,53,69,0.25);
}
.play-btn-fav.active {
  background: rgba(220,53,69,0.35);
  border-color: rgba(220,53,69,0.5);
}

/* ---- Star Rating ---- */
.star-rating {
  display: flex;
  gap: 0.25rem;
}
.star-rating-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: rgba(255,255,255,0.2);
  transition: color 0.15s, transform 0.15s;
}
.star-rating-btn:hover,
.star-rating-btn.active {
  color: #f4b942;
  transform: scale(1.15);
}
.star-rating-btn .bi {
  font-size: 1.6rem;
}

/* ---- Info Card ---- */
.play-info-card {
  background: rgba(20,10,30,0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(220,53,69,0.15);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
}
.play-info-card h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #dc3545;
  margin-bottom: 1.5rem;
}
.play-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.play-info-row .bi {
  color: #dc3545;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.play-info-label {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
}
.play-info-value {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}
.play-info-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(220,53,69,0.15);
  justify-content: center;
}
.play-info-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(220,53,69,0.12);
  border: 1px solid rgba(220,53,69,0.25);
  color: #dc3545;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
}
.play-info-social-btn:hover {
  background: rgba(220,53,69,0.25);
  color: #fff;
}

/* ---- Tags ---- */
.play-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}
.play-tag {
  padding: 0.4rem 1rem;
  border-radius: 50rem;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(220,53,69,0.08);
  border: 1px solid rgba(220,53,69,0.2);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.2s;
}
.play-tag:hover {
  background: rgba(220,53,69,0.2);
  border-color: rgba(220,53,69,0.4);
  color: #fff;
}

/* ---- Similar Games ---- */
.play-similar-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  display: block;
  transition: transform 0.3s, box-shadow 0.3s;
}
.play-similar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.5);
}
.play-similar-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.3s;
}
.play-similar-card:hover img {
  transform: scale(1.08);
}
.play-similar-card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6), transparent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}
.play-similar-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity 0.3s;
}
.play-similar-card:hover .play-similar-card-play {
  opacity: 1;
}
.play-similar-card-play-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-similar-card-play-circle .bi {
  font-size: 1.3rem;
  color: #dc3545;
  margin-left: 2px;
}

/* ---- Responsive ---- */

/* ---- Favorites Fly Animation ---- */
.fly-heart {
  font-size: 1.8rem;
  color: #dc3545;
  opacity: 1;
  transform: scale(1);
  filter: drop-shadow(0 0 8px rgba(220,53,69,0.6));
}

/* Navbar favorites link pulse on arrival */
.nav-link.fav-pulse {
  animation: favPulse 0.5s ease;
}
.nav-link.fav-pulse .bi-heart-fill,
.nav-link.fav-pulse .bi-heart {
  animation: favPulseIcon 0.5s ease;
}
@keyframes favPulse {
  0% { transform: scale(1); }
  30% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
@keyframes favPulseIcon {
  0% { color: #dc3545; }
  50% { color: #ff6b81; }
  100% { color: #dc3545; }
}

/* Fav count badge in nav */
.fav-badge {
  display: inline-block;
  background: #dc3545;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 50%;
  text-align: center;
  margin-left: 2px;
  vertical-align: top;
}

/* Mobile: hide fav text, show icon only */
@media (max-width: 991.98px) {
  .nav-link .fav-label { display: none; }
}
@media (max-width: 767.98px) {
  .play-hero {
    border-radius: 12px;
  }
  .play-btn-primary,
  .play-btn-secondary {
    flex: 1;
    justify-content: center;
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
  }
}
