.dupes-hero {
  padding: 2.5rem 0 1.5rem;
  margin-top: 0;
  background: var(--gradient-hero);
  position: relative;
}

.dupes-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 204, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 70% 80%, rgba(0, 102, 255, 0.08) 1px, transparent 1px);
  background-size: 60px 60px, 100px 100px;
  z-index: -1;
}

.dupes-hero .hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.dupes-section {
  padding-top: 0.5rem;
  padding-bottom: 3rem;
}

.dupes-section > .container {
  max-width: 1200px;
}

.dupes-stack {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.dupe-card {
  background: #12121f;
  border: 1px solid #2a2a3e;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.dupe-card-body {
  padding: 18px 22px 22px;
}

.dupe-card-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 8px;
}

.dupe-card-title {
  margin: 0;
  font-size: 1.45rem;
  color: #e8e8f0;
}

.dupe-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}

.dupe-status-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.dupe-status.is-active {
  background: rgba(90, 205, 126, 0.14);
  color: #5acd7e;
  border: 1px solid rgba(90, 205, 126, 0.35);
}

.dupe-status.is-inactive {
  background: rgba(224, 90, 90, 0.14);
  color: #e05a5a;
  border: 1px solid rgba(224, 90, 90, 0.35);
}

.dupe-card-desc {
  margin: 0;
  color: #999;
  font-size: 1rem;
  line-height: 1.5;
}

.dupe-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 9px;
  background: #1a2230;
  border: 1px solid #2e3a4d;
  color: #e8e8f0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

.dupe-watch-btn:hover {
  background: #c62828;
  border-color: #c62828;
  color: #fff;
  transform: translateY(-1px);
}

.dupe-watch-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.dupe-watch-btn:hover .dupe-watch-icon {
  filter: brightness(0) invert(1);
}

.dupe-player {
  position: relative;
  background: #000;
  width: 100%;
  height: min(78vh, 820px);
  min-height: 360px;
}

.dupe-player video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.dupe-player:fullscreen,
.dupe-player:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  max-height: none;
  min-height: 0;
  border-radius: 0;
}

.dupe-poster {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: none;
  padding: 0;
  cursor: pointer;
  background: #0a0a12 center / cover no-repeat;
}

.dupe-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.15s;
}

.dupe-poster:hover::after {
  background: rgba(0, 0, 0, 0.45);
}

.dupe-poster-play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(20, 24, 36, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}

.dupe-poster:hover .dupe-poster-play {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(91, 141, 217, 0.45);
  border-color: rgba(255, 255, 255, 0.85);
}

.dupe-poster-play svg {
  width: 34px;
  height: 34px;
  margin-left: 3px;
  fill: #fff;
}

.dupe-player.is-active .dupe-poster {
  display: none;
}

.dupe-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}

.dupe-player.is-active .dupe-controls,
.dupe-player.is-active:hover .dupe-controls,
.dupe-player.controls-visible .dupe-controls {
  opacity: 1;
  pointer-events: auto;
}

.dupe-controls-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.dupe-ctrl-btn {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dupe-ctrl-btn:hover {
  background: rgba(91, 141, 217, 0.45);
}

.dupe-ctrl-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.dupe-seek {
  flex: 1;
  min-width: 0;
  height: 7px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

.dupe-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #5b8dd9;
  border: none;
  cursor: pointer;
}

.dupe-seek::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #5b8dd9;
  border: none;
  cursor: pointer;
}

.dupe-volume {
  width: 88px;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  flex-shrink: 0;
}

.dupe-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
}

.dupe-volume::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
}

.dupe-time {
  font-size: 0.8rem;
  color: #ddd;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  min-width: 92px;
  text-align: right;
}

.dupe-spacer {
  flex: 1;
}

.dupes-empty {
  text-align: center;
  color: #888;
  padding: 48px 16px;
}

@media (max-width: 700px) {
  .dupe-player {
    height: min(62vh, 520px);
    min-height: 240px;
  }

  .dupe-volume {
    width: 64px;
  }

  .dupe-card-title {
    font-size: 1.2rem;
  }

  .dupe-controls {
    padding: 12px 10px 10px;
  }
}
