/* ===== Coverflow Wrapper ===== */
.necf{
  width: 100%;
  padding: 10px 0;
}

.necf__viewport{
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  height: var(--necf-height, 560px);
  overflow: hidden;
  border-radius: var(--necf-radius, 26px);
}

.necf__track{
  position: relative;
  width: 100%;
  height: 100%;
}

/* ===== Cards (3 visible: left, center, right) ===== */
.necf__card{
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(860px, 78vw);
  height: 100%;
  transform: translate(-50%, -50%);
  border-radius: var(--necf-radius, 26px);
  overflow: hidden;

  background-image: var(--bg);
  background-size: cover;
  background-position: center;

  opacity: 0;
  pointer-events: none;
  filter: saturate(0.95);
  transition: transform 600ms ease, opacity 500ms ease, filter 600ms ease;
}

.necf__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.28) 48%, rgba(0,0,0,0.10) 100%);
}

.necf__content{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px clamp(18px, 4vw, 60px);
  color: #fff;
  max-width: 700px;
}

.necf__kicker{ font-size: 16px; opacity: .9; margin-bottom: 6px; }
.necf__subkicker{ font-size: 18px; font-weight: 600; opacity: .95; margin-bottom: 18px; }
.necf__headline{ font-size: clamp(22px, 2.3vw, 34px); line-height: 1.18; font-weight: 500; margin: 0 0 22px; color: white; }

/* Active (popped) + side cards */
.necf__card.is-active{
  opacity: 1;
  pointer-events: auto;
  filter: saturate(1);
  transform: translate(-50%, -50%) scale(1.06);
  z-index: 3;
}
.necf__card.is-left{
  opacity: 1;
  transform: translate(-140%, -50%) scale(0.88);
  z-index: 2;
}
.necf__card.is-right{
  opacity: 1;
  transform: translate(40%, -50%) scale(0.88);
  z-index: 2;
}
.necf__card.is-hidden{
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  z-index: 1;
}

/* ===== Arrows (crisp chevrons, no distortion) ===== */
.necf__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  width: 60px;
  height: 60px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.55);
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;

  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  padding: 0;
  appearance: none;
}

.necf__nav--prev{ left: 14px; }
.necf__nav--next{ right: 14px; }

.necf__nav:hover{ background: rgba(0,0,0,0.35); }

/* Hide old text arrow */
.necf__nav span{
  font-size: 0;
  width: 0;
  height: 0;
}

/* Draw chevron with borders */
.necf__nav::before{
  content: "";
  width: 14px;
  height: 14px;
  border-right: 3px solid rgba(255,255,255,0.95);
  border-bottom: 3px solid rgba(255,255,255,0.95);
  transform: rotate(135deg); /* default = left */
  margin-left: 2px;
  margin-top: 14px;
}

.necf__nav--next::before{
  transform: rotate(-45deg); /* right */
  margin-left: 0;
  margin-right: 2px;
}

@media (max-width: 768px){
  .necf__nav{ width: 54px; height: 54px; }
  .necf__nav::before{ width: 12px; height: 12px; border-width: 3px; }
}

/* ===== Dots ===== */
.necf__dots{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
.necf__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.25);
  background: rgba(0,0,0,0.15);
  cursor: pointer;
}
.necf__dot.is-active{ background: #EDC33F; }

/* ===== Mobile tweaks ===== */
@media (max-width: 768px){
  .necf__viewport{
    border-radius: 18px;
    height: 420px;
  }
  .necf__card{
    width: 92vw;
    border-radius: 18px;
  }
  .necf__card.is-left{ transform: translate(-130%, -50%) scale(0.86); }
  .necf__card.is-right{ transform: translate(30%, -50%) scale(0.86); }
}

/* =========================================================
   YOUR Glow Beam Button CSS (moved from inline to plugin CSS)
   ========================================================= */
.glow-beam-btn{
  position: relative;
  display: inline-flex;
  border-radius: 50px;
  text-decoration: none;
  isolation: isolate;
}

.glow-beam-btn__inner{
  background: rgba(255, 255, 255, 0.15);
  background-position: center;
  background-size: cover;

  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);

  background-color: rgba(255, 255, 255, 0.2);

  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 50px;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  position: relative;
  z-index: 1;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 30px;
  color: #fff;
  font-weight: 600;

  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.glow-beam-btn__svg{
  position: absolute;
  inset: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  pointer-events: none;
  z-index: 2;
}

.glow-beam-btn__runner{
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 220 780;
  stroke-dashoffset: 0;
  animation: glowBeamRotate 4.8s linear infinite;
}

.glow-beam-btn:hover .glow-beam-btn__inner{
  transform: translateY(-1px);
  border-color: #EDC33F;

  box-shadow:
    0 0 0 1px rgba(237,195,63,0.85),
    0 0 28px rgba(237,195,63,0.45),
    0 12px 34px rgba(237,195,63,0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@keyframes glowBeamRotate{
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -1000; }
}

@media (prefers-reduced-motion: reduce){
  .glow-beam-btn__runner{ animation: none; }
}
