.media-slider-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  position: relative;
  padding: 0;
  overflow: visible;
  margin: 0;
}
.media-slider-container {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 40px 0;
  position: relative;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  width: 100%;
}

.general-tablet.general-mobile .media-slider-container {
  padding: 0 0 0 30px;
}

.general-tablet.div-80 .media-slider-container {
  padding: 0 0 0 50px;
}

.general-tablet.general-small .media-slider-container {
  padding: 0 0 0 80px;
}

.general-tablet.general-desktop .media-slider-container {
  padding: 0 135px 0 235px;
  display: flex;
  align-items: flex-start;
  gap: 30px;
  position: relative;
  align-self: stretch;
  width: 100%;
  max-width: 100vw;
  flex: 0 0 auto;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  box-sizing: border-box;
}

.media-slider-container::-webkit-scrollbar {
  display: none;
}
.media-slide {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  cursor: pointer;
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  border-radius: 0;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  flex: 0 0 auto;
  scroll-snap-align: center;
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.media-slide {
  width: 100%;
  min-width: 100%;
}

/* Mobile layout default: 1 item */
.general-tablet.general-mobile .media-slide {
  width: 100%;
  min-width: 100%;
}

/* Mobile layout > 500px: 2 items */
@media (min-width: 500px) {
  .general-tablet.general-mobile .media-slide {
    width: 50%;
    min-width: 50%;
  }
}

@media (min-width: 768px) {
  .media-slide {
    width: 50%;
    min-width: 50%;
  }
}
@media (min-width: 850px) {
  .media-slide {
    width: 33.333%;
    min-width: 33.333%;
  }
}
@media (min-width: 1024px) {
  .media-slide {
    width: 33.333%;
    min-width: 33.333%;
  }
}
@media (min-width: 1440px) {
  .media-slide {
    width: 25%;
    min-width: 25%;
  }
}
.media-slide.active {
  transform: scale(1);
  z-index: 10;
  opacity: 1;
  margin:0;
}
.media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3/5;
  overflow: hidden;
  background: #000000;
  border-radius: 0;
  cursor: pointer;
}
.media-image,
.video-preview-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), filter 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  filter: brightness(1) contrast(1);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.media-slide.active .media-image,
.media-slide.active .video-preview-poster {
  filter: brightness(1) contrast(1);
}
.media-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 70%,
    rgba(0, 0, 0, 0.4) 100%
  );
  opacity: 1;
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 1;
  pointer-events: none;
}

.media-slide:hover .media-wrapper::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 70%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

/* Expand Icon Overlay - Unified for all media types */
.media-wrapper::before {
  content: "expand";
  font-family: "Font Awesome 6 Sharp-Regular", Helvetica;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #CE4257;
  z-index: 4;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  display: none;
}

.media-slide:hover .media-wrapper::before {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
}

/* Unified scale effect on hover for all media types - Images and Video Posters */
.media-slide:hover .media-image,
.media-slide:hover .video-preview-poster {
  transform: scale(1);
  filter: brightness(1) contrast(1);
}
.play-icon-overlay {
  display: none;
}
.video-preview-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), filter 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s ease;
  filter: brightness(0.9) contrast(1.05);
}
.video-preview-poster.hidden {
  display: none;
}

.media-wrapper .story-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.media-slide:hover .media-wrapper .story-video {
  opacity: 1;
  z-index: 3;
}

.media-slide:hover .video-preview-poster {
  opacity: 0;
}

.media-slide.story-item .media-wrapper {
  cursor: pointer;
}

.media-caption {
  display: none;
}
.media-title {
  display: none;
}
.media-summary {
  display: none;
}
.media-actions-links {
  display: none;
}
.media-action-link {
  display: none;
}
.media-action-link-icon {
  display: none;
}
.media-arrows {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  z-index: 20;
}
.media-nav-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  padding: 0 30px;
  pointer-events: auto;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
}
@media (min-width: 768px) {
  .media-nav-buttons {
    padding: 0 30px;
  }
}
@media (min-width: 1024px) {
  .media-nav-buttons {
    padding: 0 30px;
  }
}
@media (min-width: 1440px) {
  .media-nav-buttons {
    padding: 0 30px;
  }
}
.media-nav-btn {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.6);
  font-family: "Font Awesome 6 Sharp-Regular", Helvetica;
  color: #FFF;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: auto;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 2px;
  white-space: nowrap;
  display: block;
  text-align: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(0px);
}
.media-nav-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #CE4257 0%, #FF7F51 100%);
  box-shadow: 0 8px 25px rgba(206, 66, 87, 0.6);
  border-color: #FFF;
  transform: scale(1);
}
.media-nav-btn:disabled {
  opacity: 0;
  cursor: not-allowed;
}
.media-indicators {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 30px 0 0;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}
.media-indicator {
  width: 10px;
  height: 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.media-indicator.active {
  background: linear-gradient(135deg, #CE4257 0%, #FF7F51 100%);
  width: 30px;
  border-radius: 5px;
}
.media-indicator:hover:not(.active) {
  background: rgba(0, 0, 0, 0.5);
  transform: scale(1.2);
}
.media-counter {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: 20px;
  font-family: "DM Sans", Helvetica;
  font-size: 11px;
  font-weight: 700;
  color: #1a1a1a;
  z-index: 3;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.media-slide.active .media-counter {
  background: #CE4257;
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.05);
}
.media-type-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 0;
  font-family: "Font Awesome 6 Sharp-Regular", Helvetica;
  font-size: 11px;
  color: #1a1a1a;
  z-index: 3;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.media-type-badge-text {
  font-family: "DM Sans", Helvetica;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.media-slide.active .media-type-badge {
  background: linear-gradient(135deg, #CE4257 0%, #FF7F51 100%);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(206, 66, 87, 0.4);
}
.media-remix-indicator {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(206, 66, 87, 0.95) 0%, rgba(255, 127, 81, 0.95) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Font Awesome 6 Sharp-Regular", Helvetica;
  color: #ffffff;
  font-size: 20px;
  z-index: 3;
  box-shadow: 0 4px 15px rgba(206, 66, 87, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: pulse 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(206, 66, 87, 0.6);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(206, 66, 87, 0.8);
  }
}
.media-slide.active .media-remix-indicator {
  animation: none;
}
.media-remix-actions {
  display: flex;
  gap: 10px;
  padding: 0 25px 25px;
  position: relative;
  z-index: 3;
  justify-content: space-between;
}
.media-remix-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: #f5f5f5;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  flex: 1;
}
.media-remix-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(206, 66, 87, 0.1), transparent);
  transition: left 0.5s ease;
}
.media-remix-btn:hover::before {
  left: 100%;
}
.media-remix-btn:hover {
  background: linear-gradient(135deg, #CE4257 0%, #FF7F51 100%);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(206, 66, 87, 0.4);
}
.media-remix-btn-icon {
  font-family: "Font Awesome 6 Sharp-Regular", Helvetica;
  color: #CE4257;
  font-size: 18px;
  line-height: 1;
  transition: all 0.3s ease;
  white-space: nowrap;
  width:20px;
}
.media-remix-btn:hover .media-remix-btn-icon {
  transform: scale(1.15) rotate(8deg);
  color: #ffffff;
}
.media-remix-btn-label {
  font-family: "Gotham-Bold", Helvetica;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.media-remix-btn:hover .media-remix-btn-label {
  color: #ffffff;
}
.media-remix-btn[data-action="remix"] {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
}
.media-remix-btn[data-action="remix"] .media-remix-btn-icon,
.media-remix-btn[data-action="remix"] .media-remix-btn-label {
  color: #ffffff;
}
.media-remix-btn[data-action="remix"]:hover {
  background: linear-gradient(135deg, #CE4257 0%, #FF7F51 100%);
}
.media-remix-btn[data-action="respond"] {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
}
.media-remix-btn[data-action="respond"] .media-remix-btn-icon,
.media-remix-btn[data-action="respond"] .media-remix-btn-label {
  color: #ffffff;
}
.media-remix-btn[data-action="respond"]:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
.media-remix-btn[data-action="respond"]:hover .media-remix-btn-icon {
  color: #ffffff;
}
.remix-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  padding: 20px;
}
.remix-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.remix-modal {
  background-color: #1a1a1a;
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  border-radius: 16px;
  border: 1px solid #333;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  overflow: hidden;
  transform: scale(0.85) translateY(40px);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* ── Two-column content row ─────────────────────────────── */
.remix-content-row {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.remix-left-panel {
  width: 42%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #2a2a2a;
  overflow-y: auto;
  background: #0d0d0d;
}
.remix-modal-overlay.active .remix-modal {
  transform: scale(1) translateY(0);
}
/* ── Remix modal header ─────────────────────────────────── */
.remix-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #CE4257 0%, #A02C60 100%);
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.remix-modal-title {
  font-family: "Gotham-Bold", Helvetica, sans-serif;
  font-size: 18px;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: center;
}
.remix-modal-close {
  all: unset;
  box-sizing: border-box;
  color: rgba(255,255,255,0.85);
  font-size: 20px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.remix-modal-close:hover {
  background: rgba(255,255,255,0.3);
  transform: rotate(90deg);
}
.remix-modal-btn-share {
  all: unset;
  box-sizing: border-box;
  padding: 8px 16px;
  background: #ffffff;
  color: #CE4257;
  border-radius: 20px;
  font-family: "Gotham-Bold", Helvetica, sans-serif;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.remix-modal-btn-share:hover { opacity: 0.85; }

/* ── Attribution strip ─────────────────────────────────── */
.remix-attribution {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #111;
  border-bottom: 1px solid #2a2a2a;
  font-family: "DM Sans", Helvetica, sans-serif;
  font-size: 13px;
  color: #888;
  flex-shrink: 0;
}
.remix-attribution-icon { color: #CE4257; font-size: 14px; }
.remix-attribution-title { color: #ffffff; font-weight: 700; }
.remix-media-type-badge {
  margin-left: auto;
  padding: 3px 10px;
  background: #2a2a2a;
  border-radius: 20px;
  font-size: 11px;
  color: #CE4257;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── Preview panels ─────────────────────────────────────── */
.remix-preview-container {
  display: flex;
  gap: 10px;
  padding: 16px;
  background: #0d0d0d;
  align-items: flex-start;
  position: relative;
  flex: 1;
}
.remix-preview-item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.remix-preview-label {
  font-size: 11px;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.remix-preview-media-wrap {
  width: 100%;
  aspect-ratio: 0.5625;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1a;
  border: 1.5px solid #2a2a2a;
  position: relative;
  transition: aspect-ratio 0.3s ease;
}
.remix-layout-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-size: 16px;
  padding-top: 30px;
  flex-shrink: 0;
}

/* Layout: Top-Bottom — stacked vertically */
.remix-preview-container[data-layout="top-bottom"] {
  flex-direction: column;
  align-items: stretch;
}
.remix-preview-container[data-layout="top-bottom"] .remix-layout-divider { display: none; }
.remix-preview-container[data-layout="top-bottom"] .remix-preview-item { flex: 1; }
.remix-preview-container[data-layout="top-bottom"] .remix-preview-media-wrap { aspect-ratio: 16/9; }

/* Layout: React — original becomes corner PiP */
.remix-preview-container[data-layout="react"] {
  flex-direction: column;
}
.remix-preview-container[data-layout="react"] .remix-layout-divider { display: none; }
.remix-preview-container[data-layout="react"] .remix-preview-yours { width: 100%; }
.remix-preview-container[data-layout="react"] .remix-preview-original {
  position: absolute;
  bottom: 28px;
  right: 20px;
  width: 28%;
  z-index: 10;
}
.remix-preview-container[data-layout="react"] .remix-preview-original .remix-preview-media-wrap {
  border: 2px solid #ffffff;
  border-radius: 6px;
}

/* Layout: Green Screen — original blurred behind yours */
.remix-preview-container[data-layout="green-screen"] {
  flex-direction: column;
}
.remix-preview-container[data-layout="green-screen"] .remix-layout-divider { display: none; }
.remix-preview-container[data-layout="green-screen"] .remix-preview-original {
  position: absolute;
  inset: 20px;
  width: auto;
  z-index: 0;
  opacity: 0.25;
  pointer-events: none;
}
.remix-preview-container[data-layout="green-screen"] .remix-preview-original .remix-preview-media-wrap {
  aspect-ratio: 0.5625;
  filter: blur(6px);
  border: none;
}
.remix-preview-container[data-layout="green-screen"] .remix-preview-yours {
  position: relative;
  z-index: 1;
}

/* ── Modal body / options ───────────────────────────────── */
.remix-modal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 20px;
  color: #e0e0e0;
  font-family: "DM Sans", Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.remix-option-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.remix-option-label {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.remix-option-label i { color: #CE4257; }
.remix-option-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.remix-option-btn {
  padding: 10px 18px;
  background-color: #2a2a2a;
  border: 2px solid #444;
  border-radius: 8px;
  color: #e0e0e0;
  font-family: "DM Sans", Helvetica;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.remix-option-btn:hover {
  background-color: #333;
  border-color: #CE4257;
  color: #ffffff;
  transform: translateY(-2px);
}
.remix-option-btn.active {
  background: linear-gradient(135deg, #CE4257 0%, #FF7F51 100%);
  border-color: #CE4257;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(206, 66, 87, 0.4);
}
/* ── Layout picker ─────────────────────────────────────── */
.remix-layout-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.remix-layout-btn {
  all: unset;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #2a2a2a;
  border: 2px solid #444;
  border-radius: 10px;
  color: #aaa;
  font-family: "DM Sans", Helvetica;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 80px;
  text-align: center;
}
.remix-layout-btn i { font-size: 18px; }
.remix-layout-btn:hover { border-color: #CE4257; color: #fff; background: #333; }
.remix-layout-btn.active {
  background: linear-gradient(135deg, #CE4257 0%, #FF7F51 100%);
  border-color: #CE4257;
  color: #fff;
  box-shadow: 0 4px 12px rgba(206,66,87,0.4);
}

/* ── Option buttons ─────────────────────────────────────── */
.remix-option-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.remix-option-btn {
  all: unset;
  box-sizing: border-box;
  padding: 9px 16px;
  background-color: #2a2a2a;
  border: 1.5px solid #444;
  border-radius: 20px;
  color: #ccc;
  font-family: "DM Sans", Helvetica;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}
.remix-option-btn:hover { border-color: #CE4257; color: #fff; }
.remix-option-btn.active {
  background: linear-gradient(135deg, #CE4257 0%, #FF7F51 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 3px 10px rgba(206,66,87,0.35);
}

/* ── Volume mixer ──────────────────────────────────────── */
.remix-volume-mixer {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.remix-volume-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.remix-volume-track-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: "DM Sans", Helvetica;
  font-size: 13px;
  color: #aaa;
  width: 96px;
  flex-shrink: 0;
}
.remix-volume-track-label i { color: #CE4257; font-size: 13px; }
.remix-volume-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #3a3a3a;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  accent-color: #CE4257;
}
.remix-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #CE4257, #FF7F51);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(206,66,87,0.4);
}
.remix-volume-value {
  font-family: "DM Sans", Helvetica;
  font-size: 12px;
  color: #666;
  width: 36px;
  text-align: right;
  flex-shrink: 0;
}
.remix-add-music-btn {
  all: unset;
  box-sizing: border-box;
  padding: 7px 14px;
  background: #2a2a2a;
  border: 1.5px dashed #555;
  border-radius: 20px;
  font-family: "DM Sans", Helvetica;
  font-size: 12px;
  color: #888;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}
.remix-add-music-btn:hover { border-color: #CE4257; color: #CE4257; }

/* ── Caption + counter ─────────────────────────────────── */
.remix-caption-wrap { position: relative; }
.remix-textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 90px;
  padding: 14px 14px 30px;
  background: #1e1e1e;
  border: 1.5px solid #3a3a3a;
  border-radius: 10px;
  color: #e0e0e0;
  font-family: "DM Sans", Helvetica;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.25s ease;
}
.remix-textarea:focus { outline: none; border-color: #CE4257; }
.remix-textarea::placeholder { color: #555; }
.remix-char-counter {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-family: "DM Sans", Helvetica;
  font-size: 11px;
  color: #555;
}
.remix-char-count { color: #888; }

/* ── Notify row + toggle ───────────────────────────────── */
.remix-notify-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid #2a2a2a;
}
.remix-notify-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "DM Sans", Helvetica;
  font-size: 14px;
  color: #ccc;
}
.remix-notify-text i { color: #CE4257; }
.remix-toggle { position: relative; display: inline-block; width: 48px; height: 26px; flex-shrink: 0; }
.remix-toggle-input { opacity: 0; width: 0; height: 0; position: absolute; }
.remix-toggle-slider {
  position: absolute;
  inset: 0;
  background: #444;
  border-radius: 26px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.remix-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 4px;
  top: 4px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}
.remix-toggle-input:checked + .remix-toggle-slider { background: linear-gradient(135deg, #CE4257, #FF7F51); }
.remix-toggle-input:checked + .remix-toggle-slider::before { transform: translateX(22px); }

/* ── Footer ────────────────────────────────────────────── */
.remix-modal-footer {
  padding: 16px 20px;
  border-top: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: #111;
  flex-shrink: 0;
}
.remix-modal-btn {
  all: unset;
  box-sizing: border-box;
  padding: 12px 22px;
  border-radius: 8px;
  font-family: "Gotham-Bold", Helvetica;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.remix-footer-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.remix-modal-btn-cancel {
  background: #2a2a2a;
  color: #aaa;
  border: 1.5px solid #3a3a3a;
}
.remix-modal-btn-cancel:hover { background: #333; color: #fff; }
.remix-modal-btn-draft {
  background: #2a2a2a;
  color: #ccc;
  border: 1.5px solid #CE4257;
}
.remix-modal-btn-draft:hover { background: #333; color: #fff; }
.remix-modal-btn-draft:disabled { opacity: 0.6; cursor: not-allowed; }
.remix-modal-btn-create {
  background: linear-gradient(135deg, #CE4257 0%, #FF7F51 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(206,66,87,0.4);
}
.remix-modal-btn-create:hover { box-shadow: 0 8px 24px rgba(206,66,87,0.6); transform: translateY(-2px); }
.remix-modal-btn-create:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ── Success toast ─────────────────────────────────────── */
.remix-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg, #CE4257 0%, #FF7F51 100%);
  color: #fff;
  padding: 14px 24px;
  border-radius: 30px;
  font-family: "Gotham-Bold", Helvetica;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 8px 30px rgba(206,66,87,0.5);
  pointer-events: none;
}
.remix-toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 768px) {
  .remix-preview-container {
    flex-direction: column;
  }
  .remix-modal { max-width: 95%; max-height: 92vh; }
  .remix-content-row { flex-direction: column; overflow-y: auto; }
  .remix-left-panel { width: 100%; border-right: none; border-bottom: 1px solid #2a2a2a; overflow-y: visible; }
  .remix-modal-body { overflow-y: visible; min-height: auto; }
  .remix-layout-options { gap: 8px; }
  .remix-layout-btn { min-width: 60px; padding: 10px 12px; }
}

/* Account Dropdown Styles */
.account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 200px;
  background-color: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 8px 0;
  display: none;
  flex-direction: column;
  z-index: 1000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.account-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background-color: #1a1a1a;
  border-top: 1px solid #333;
  border-left: 1px solid #333;
  transform: rotate(45deg);
}

.account-dropdown.show {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.account-dropdown a {
  padding: 12px 20px;
  color: #e0e0e0;
  font-family: "DM Sans", Helvetica;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
  border-left: 2px solid transparent;
}

.account-dropdown a:hover {
  background-color: #252525;
  color: #ce4257;
  border-left-color: #ce4257;
}

/* Ensure container is relative */
.account-container {
  position: relative;
}

/* Media Slider Caption for Mobile and Tablet (Always Visible) */
@media (max-width: 1023px) {
  .media-info-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
    padding-top: 50px;
    pointer-events: none;
  }

  .media-caption {
    display: block !important;
    padding: 0 20px 15px;
    opacity: 1;
    transform: none;
  }

  .media-title {
    display: block !important;
    font-family: "Gotham-Bold", Helvetica, sans-serif;
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  }

  .media-summary {
    display: block !important;
    font-family: "DM Sans", Helvetica, sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  }

  .media-remix-actions {
    pointer-events: auto;
    position: relative;
    z-index: 11;
    margin-top: 0;
    padding: 0 20px 20px;
  }
}

/* Media Slider Caption Hover Effect for Desktop */
@media (min-width: 1024px) {
  .media-info-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
    padding-top: 60px;
    pointer-events: none;
  }

  .media-caption {
    display: block !important;
    padding: 0 25px 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  }

  .media-slide:hover .media-caption {
    opacity: 1;
    transform: translateY(0);
  }

  .media-title {
    display: block !important;
    font-family: "Gotham-Bold", Helvetica, sans-serif;
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  }

  .media-summary {
    display: block !important;
    font-family: "DM Sans", Helvetica, sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  }

  .media-remix-actions {
    pointer-events: auto;
    position: relative;
    z-index: 11;
    /* Ensure actions are visible and positioned correctly */
    margin-top: 0; 
  }
}

/* Lightbox Styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image,
.lightbox-video {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-info {
  margin-top: 20px;
  text-align: center;
  color: #ffffff;
  max-width: 800px;
}

.lightbox-title {
  font-family: "Gotham-Bold", Helvetica, sans-serif;
  font-size: 24px;
  margin-bottom: 10px;
}

.lightbox-description {
  font-family: "DM Sans", Helvetica, sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 30px;
  cursor: pointer;
  z-index: 5001;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: #CE4257;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 18px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 5001;
}

.lightbox-nav:hover:not(:disabled) {
  background: #CE4257;
  border-color: #CE4257;
}

.lightbox-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.lightbox-nav-prev {
  left: 30px;
}

.lightbox-nav-next {
  right: 30px;
}

.lightbox-remix-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.lightbox-remix-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #CE4257;
  font-family: "Gotham-Bold", Helvetica;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.lightbox-remix-link:hover {
  color: #FF7F51;
}

.lightbox-remix-icon {
  display: flex;
  align-items: center;
}

/* ── Remix modal: track picker container ───────────────────── */
.remix-track-picker {
  margin-top: 12px;
  padding: 14px;
  background: #1a1a1a;
  border: 1.5px solid #3a3a3a;
  border-radius: 10px;
}

.remix-music-selected {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.remix-music-name {
  font-family: "DM Sans", Helvetica;
  font-size: 12px;
  color: #CE4257;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.remix-music-remove {
  all: unset;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3a3a3a;
  color: #888;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.remix-music-remove:hover {
  background: #CE4257;
  color: #fff;
}

/* ── Remix modal: Audio Track section ──────────────────────── */
.audio-source-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.audio-tab-btn {
  all: unset;
  box-sizing: border-box;
  padding: 6px 14px;
  border-radius: 20px;
  font-family: "DM Sans", Helvetica;
  font-size: 12px;
  font-weight: 600;
  color: #888;
  background: #2a2a2a;
  border: 1.5px solid #3a3a3a;
  cursor: pointer;
  transition: all 0.2s ease;
}

.audio-tab-btn:hover {
  border-color: #CE4257;
  color: #fff;
}

.audio-tab-btn.active {
  background: linear-gradient(135deg, #CE4257 0%, #FF7F51 100%);
  border-color: transparent;
  color: #fff;
}

.audio-tab-panel {
  display: none;
}

.audio-tab-panel.active {
  display: block;
}

/* Drop zone */
.audio-drop-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 22px 16px;
  background: #1a1a1a;
  border: 2px dashed #3a3a3a;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  text-align: center;
}

.audio-drop-zone:hover {
  border-color: #CE4257;
  background: #1e1414;
}

.audio-file-input {
  display: none;
}

.audio-drop-icon {
  font-family: "Font Awesome 6 Sharp-Regular", Helvetica;
  font-size: 24px;
  color: #CE4257;
}

.audio-drop-text {
  font-family: "DM Sans", Helvetica;
  font-size: 13px;
  font-weight: 600;
  color: #ccc;
}

.audio-drop-hint {
  font-family: "DM Sans", Helvetica;
  font-size: 11px;
  color: #555;
}

/* Audio player preview */
.audio-preview-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  background: #1a1a1a;
  border-radius: 10px;
  border: 1.5px solid #3a3a3a;
}

.remix-audio-player {
  flex: 1;
  height: 36px;
  accent-color: #CE4257;
  min-width: 0;
}

/* URL inputs (Spotify / Apple Music) */
.audio-url-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  background: #1e1e1e;
  border: 1.5px solid #3a3a3a;
  border-radius: 8px;
  color: #e0e0e0;
  font-family: "DM Sans", Helvetica;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease;
}

.audio-url-input:focus {
  border-color: #CE4257;
}

.audio-url-input::placeholder {
  color: #555;
}

/* Embed container */
.audio-embed-wrap {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Remove button */
.audio-remove-btn {
  all: unset;
  box-sizing: border-box;
  padding: 5px 12px;
  border-radius: 16px;
  font-family: "DM Sans", Helvetica;
  font-size: 11px;
  font-weight: 600;
  color: #888;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.2s ease;
}

.audio-remove-btn:hover {
  background: #CE4257;
  border-color: #CE4257;
  color: #fff;
}
