.bio-credit-fullscreen-overlay {
  position: fixed;
  inset: 0;
  z-index: 40000;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.bio-credit-fullscreen-overlay.trailer-playing {
  background-image: var(--next-trailer-bg);
  background-size: auto 80%;
  background-position: left center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: rgba(0, 0, 0, 0.9);
}

.bio-credit-fullscreen-overlay.trailer-playing::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0.95) 100%);
  pointer-events: none;
  z-index: 1;
}

.bio-credit-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  overflow-y: auto;
}

.bio-credit-close {
  position: fixed;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  transition: opacity 0.2s;
}

.bio-credit-close:hover {
  opacity: 0.7;
}

.bio-credit-main {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
}

.bio-credit-poster-container {
  flex-shrink: 0;
}

.bio-credit-poster {
  width: 400px;
  height: 600px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.bio-credit-info {
  flex: 1;
  max-width: 500px;
  color: #fff;
}

.bio-credit-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: var(--primary-color);
}

.bio-credit-year {
  font-size: 1.5rem;
  margin: 0 0 20px 0;
  opacity: 0.8;
}

.bio-credit-trailer-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 12px;
  border: 2px solid var(--primary-color);
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.2s;
}

.bio-credit-trailer-btn:hover {
  background: #fff;
  box-shadow: 0 0 20px var(--lighter-primary-color);
  transform: scale(1.05);
}

.trailer-icon {
  font-size: 1.2rem;
}

.no-trailer {
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

.bio-credit-video-popup {
  position: fixed;
  top: 50%;
  left: calc(50% + 250px);
  transform: translate(-50%, -50%);
  z-index: 100;
  background: rgba(0, 0, 0, 0.95);
  border-radius: 12px;
  padding: 20px;
  max-width: 600px;
  width: 40%;
  display: none;
  border: 1px solid var(--primary-color);
}

.bio-credit-video-popup.active {
  display: block;
}

.bio-credit-video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.bio-credit-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bio-credit-next-preview {
  margin-top: 30px;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.next-preview-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.next-preview-label {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.next-preview-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 15px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s;
}

.next-preview-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

.next-preview-card img {
  width: 60px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
}

.next-preview-title {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.loading {
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  padding: 50px;
}

@media (max-width: 768px) {
  .bio-credit-main {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .bio-credit-poster {
    width: 280px;
    height: 420px;
  }

  .bio-credit-title {
    font-size: 1.8rem;
  }

  .bio-credit-info {
    max-width: 100%;
    text-align: center;
  }
}
