/* ==========================================================================
   CONTENT PROTECTION & ANTI-DOWNLOAD SHIELD
   Jonas Thiemann (jominer6028.de)
   ========================================================================== */

/* Universal media protection - disable dragging and text selection */
.protected-media-wrapper,
.protected-media-wrapper img,
.protected-media-wrapper video,
.lightbox-media-container img,
.lightbox-media-container video {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}

/* Wrapper container */
.protected-media-wrapper {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 100%;
  background: #08090f;
}

/* Transparent protection shield layer placed over images & videos */
.shield-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}

/* Minimal corner watermark badge */
.watermark-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: rgba(240, 244, 248, 0.65);
  background: rgba(6, 7, 10, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  pointer-events: none;
  transition: all 0.25s ease;
}

.protected-media-wrapper:hover .watermark-badge {
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 242, 254, 0.3);
}

/* Video specific shield behavior */
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Custom Play Button */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(6, 7, 10, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11;
  pointer-events: none;
  transition: all 0.25s ease;
}

.video-play-btn svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
  fill: #00f2fe;
}

.protected-media-wrapper:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.08);
  border-color: #00f2fe;
}

/* Minimalist Protection Toast Alert */
.protection-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(70px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(10, 12, 18, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  color: #f1f5f9;
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.protection-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.lightbox-shield {
  position: absolute;
  inset: 0;
  z-index: 100;
  background: transparent;
  cursor: default;
}
