

/* custom css */


:root {
  /* Font Settings */
  --ndt-show-crd-font-family: "Noto Sans Devanagari", sans-serif;
  --ndt-show-crd-base-font-size: 20px;
  --ndt-show-crd-line-height: 1.3;

  /* Colors */
  --ndt-show-crd-text-primary: #ffffff;
  --ndt-show-crd-text-secondary: rgba(255, 255, 255, 0.6);
  --ndt-show-crd-bg-action: rgb(72, 2, 1);
  --ndt-show-crd-bg-action-hover: rgb(53, 5, 4);

  /* Layout & Spacing */
  --ndt-show-crd-radius: 12px;
  --ndt-show-crd-padding-x: 15px;
  --ndt-show-crd-padding-y: 15px;
  --ndt-show-crd-action-size: 36px;
  --ndt-show-crd-footer-padding: 24px var(--ndt-show-crd-padding-x) calc(var(--ndt-show-crd-padding-y) + 10px);

  /* Effect & Overlay */
  --ndt-show-crd-overlay-gradient: linear-gradient(180deg, rgba(27, 1, 1, 0) 76.62%, #290000 100%);


  /* Animation */
  --ndt-show-crd-transition-duration: 0.2s;
}



.ndt-stack-slider *,.ndt-stack-slider {
  font-family: var(--ndt-show-crd-font-family);
  font-weight: 400;
  box-sizing: border-box;
}
.ndt-stack-slide{
  width: 100%;
  max-width: 320px;
}

.ndt-show-crd {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--ndt-show-crd-radius);
  aspect-ratio: 9/15;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--ndt-show-crd-font-family);
  font-size: var(--ndt-show-crd-base-font-size);
  color: var(--ndt-show-crd-text-primary);
  box-sizing: border-box;
}


.ndt-show-crd-img-link{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: block;
  cursor: pointer;
  background: linear-gradient(360deg, #D70302 0%, #6E0000 100%);
}

.ndt-show-crd-img-link::before{
   position: absolute;
    inset: 0;
    content: "";
    z-index: 0;
  background-image: radial-gradient(circle at 50% 50%, #d70302 2px, transparent 2px),
                    radial-gradient(circle at 50% 50%, #d70302 2px, transparent 2px);
  background-size: 10px 10px, 10px 10px;
  background-position: 0 0, 5px 5px;
  opacity: 0.51;
}

.ndt-show-crd-img-link:after{
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: var(--ndt-show-crd-overlay-gradient);
    z-index: 2;
  }
.ndt-show-crd a {
  cursor: pointer;
}

.ndt-show-crd-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--ndt-show-crd-overlay-gradient);
  z-index: 2;
  pointer-events: none;
}

/* Background Image */
.ndt-show-crd-img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  object-fit: contain;
  object-position: center bottom;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Top Action Buttons (Audio & Share) */
.ndt-show-crd-actions {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  gap: 10px;
  display: flex;
  flex-direction: column;
}

.ndt-show-crd-action-btn {
  width: var(--ndt-show-crd-action-size);
  height: var(--ndt-show-crd-action-size);
  border-radius: 50%;
  background: var(--ndt-show-crd-bg-action);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--ndt-show-crd-transition-duration) ease, background-color var(--ndt-show-crd-transition-duration) ease;
  padding: 0;
  outline: none;
  font-size: 15px;
  appearance: none;
  border: none;
  pointer-events: auto;
}

.ndt-show-crd-action-btn:hover {
  background: var(--ndt-show-crd-bg-action-hover);
  transform: scale(1.05);
}

.ndt-show-crd-action-btn:active {
  transform: scale(0.95);
}

.ndt-acw-icn{
  width: 1em;
  height: 1em;
  pointer-events: none;
}

/* Bottom Content Container */
.ndt-show-crd-content {
  position: relative;
  z-index: 3;
  /* margin-top: auto; */
  height: 100%;
  padding: var(--ndt-show-crd-footer-padding);
  display: flex;
  flex-direction: column;
  text-align: center;
  pointer-events: none;
}

.ndt-show-crd-content a,
.ndt-show-crd-content button {
  pointer-events: auto;
}

/* Title */
.ndt-show-crd-title {
  margin: 0 0 24px;
  font-size: 30px;
  font-weight: 900;
  line-height: var(--ndt-show-crd-line-height);
  color: var(--ndt-show-crd-text-primary);
  letter-spacing: -0.2px;
  line-height: 1.2;
  text-shadow: 0px 4px 4px rgba(40, 1, 1, 0.5);
}

/* Schedule Info */
.ndt-show-crd-schedule {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  color: #fff;
  font-weight: 400;
  text-align: center;
      justify-content: center;
}

.ndt-show-crd-schedule > span:not(:last-child)::after {
  content: "|";
  margin-left: 8px;
  opacity: 0.6;
}

/* Anchor Info */
.ndt-show-crd-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
}

.ndt-show-crd-name {
  font-size: 30px;
  font-weight: 700;
  text-shadow: 0px 4px 5px #000000;
  color: var(--ndt-show-crd-text-primary);
  line-height: var(--ndt-show-crd-line-height);
}

.ndt-show-crd-role {
  font-size: 18px;
  color: #fff;
  font-weight: 400;
}

/* Footer Links (वीडियो | स्टोरीज़) */
.ndt-show-crd-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 300;
  margin-top: 24px;
}

.ndt-show-crd-link {
  color: var(--ndt-show-crd-text-primary);
  opacity: .8;
  text-decoration: none;
  transition: opacity var(--ndt-show-crd-transition-duration) ease;
  cursor: pointer;
}

.ndt-show-crd-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.ndt-show-crd-footer > .ndt-show-crd-link:not(:last-child)::after {
  content: "|";
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  display: inline-block;
  pointer-events: none;
}


@media(max-width:767px){
  .ndt-show-crd{
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 3px 12px rgba(0, 0, 0, 0.1);
  }
  .ndt-stack-slide{
    max-width: 420px;
  }
}


/* slider css */

.ndt-stack-slider {
  position: relative;
  max-width: 420px;
  height: 540px;
  margin: 0 auto;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.ndt-stack-slider::-webkit-scrollbar {
  display: none;
}

.ndt-stack-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  touch-action: none;
  will-change: transform, opacity;
  cursor: grab;
  backface-visibility: hidden;
}

.ndt-stack-slide a,
.ndt-stack-slide button {
  cursor: pointer;
}

.ndt-stack-slide.ndt-dragging {
  transition: none !important;
  cursor: grabbing;
}

/* Desktop Horizontal Carousel Mode (Structural Only) */
@media (min-width: 769px) {
  .ndt-stack-slider.ndt-desktop-carousel-mode {
    width: 100%;
    max-width: 100%;
    height: auto;
    perspective: none;
    transform-style: flat;
    display: flex;
    flex-direction: row;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
  }

  .ndt-stack-slider.ndt-desktop-carousel-mode.ndt-carousel-dragging {
    cursor: grabbing !important;
  }

  .ndt-stack-slider.ndt-desktop-carousel-mode .ndt-stack-slide {
    position: relative;
    flex: 0 0 320px;
    width: 320px;
    top: auto;
    left: auto;
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;
    z-index: auto !important;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
  }

  .ndt-stack-slider.ndt-desktop-carousel-mode .ndt-stack-slide a,
  .ndt-stack-slider.ndt-desktop-carousel-mode .ndt-stack-slide button {
    cursor: pointer;
  }

  .ndt-stack-slider.ndt-desktop-carousel-mode.ndt-carousel-dragging .ndt-stack-slide,
  .ndt-stack-slider.ndt-desktop-carousel-mode.ndt-carousel-dragging * {
    cursor: grabbing !important;
    user-select: none !important;
    -webkit-user-select: none !important;
  }
}

/* Mobile Scroll Mode (Structural Only) */
@media (max-width: 768px) {
  .ndt-stack-slider{
    width: 100%;
    margin-right: 2.5rem;
  }

  .ndt-stack-slider.ndt-mobile-scroll-mode {
    width: 100%;
    height: auto;
    perspective: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .ndt-stack-slider.ndt-mobile-scroll-mode .ndt-stack-slide {
    position: sticky;
    top: 20px;
    width: 100%;
    transform: none !important;
    opacity: 1 !important;
    user-select: auto;
    touch-action: auto;
    cursor: default;
    will-change: auto;
  }

  .ndt-stack-slider.ndt-mobile-scroll-mode .ndt-stack-slide:nth-child(1) { top: 20px; }
  .ndt-stack-slider.ndt-mobile-scroll-mode .ndt-stack-slide:nth-child(2) { top: 35px; }
  .ndt-stack-slider.ndt-mobile-scroll-mode .ndt-stack-slide:nth-child(3) { top: 50px; }
  .ndt-stack-slider.ndt-mobile-scroll-mode .ndt-stack-slide:nth-child(4) { top: 65px; }
}





.ndt-show-crd-actions,
.ndt-show-crd-footer,
.ndt-show-crd-role{
  display: none;
}