/* Title overlay styles */

.pp-title-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    transparent 100%
  );
  color: white;
  padding: 16px 20px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  z-index: 5;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Responsive title overlay */
@media (max-width: 700px) {
  .pp-title-overlay {
    font-size: 16px;
    padding: 12px 16px;
  }
}

/* Fullscreen title overlay adjustments */
:fullscreen .pp-title-overlay {
  font-size: 20px;
  padding: 15px 20px;
  z-index: 1002 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
}

/* Share button styles (YouTube style) */
.pp-share-button {
  background: transparent !important;
  border: none !important;
  color: white !important;
  padding: 8px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  min-width: auto !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.pp-share-button:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: scale(1.02) !important;
}

.pp-share-button:active {
  transform: scale(0.98) !important;
}

/* Responsive share button */
@media (max-width: 700px) {
  .pp-share-button {
    padding: 6px 10px !important;
    font-size: 13px !important;
  }

  .pp-share-button svg {
    width: 18px !important;
    height: 18px !important;
  }
}

/* Fullscreen share button adjustments */
:fullscreen .pp-share-button {
  padding: 10px 16px !important;
  font-size: 16px !important;
}

:fullscreen .pp-share-button svg {
  width: 24px !important;
  height: 24px !important;
} 