/* =========================================================
   Testimonials — Amigurumis (tstx7k1-*)
   Dark neon glass: violet + pink
   - Center slide: crisp
   - Side slides: soft blur + scale down
   - Card: dark glass + neon edge glow
========================================================= */

/* ---- Section ---- */
.tstx7k1-sec{
  position: relative;
  padding-top: calc(var(--gap) * 5);
  padding-bottom: calc(var(--gap) * 5);
  overflow: hidden;
  color: rgba(255,255,255,.88);
}

/* subtle grain + soft haze (no harsh lines) */
.tstx7k1-sec::before{
  content:"";
  position:absolute;
  inset:-25%;
  pointer-events:none;
  opacity:.10;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='320' height='320' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  filter: blur(.2px);
}

/* glow orbs (violet/pink) */
.tstx7k1-sec::after{
  content:"";
  position:absolute;
  inset:-10%;
  pointer-events:none;
  opacity:.60;
 
  filter: blur(18px);
}

/* ---- Container ---- */
.tstx7k1-shell{
  width: min(var(--container), calc(100% - (var(--gap) * 2)));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.tstx7k1-head{
  text-align: center;
}

.tstx7k1-title{
  margin: 0;
  color: rgba(255,255,255,.92);
  letter-spacing: -0.01em;
}

/* ---- Stage ---- */
.tstx7k1-stage{
  position: relative;
}

/* Swiper */
.tstx7k1-sw{
  width: 100%;
  overflow: visible;
}

/* Slide behavior */
.tstx7k1-slide{
  display: flex;
  justify-content: center;
  padding: calc(var(--gap) * 2) 0 calc(var(--gap) * 1);

  opacity: 0.26;
  transform: scale(0.92);
  filter: blur(1.2px) saturate(.95);

  transition:
    opacity 360ms ease,
    transform 360ms cubic-bezier(.2,.9,.2,1),
    filter 360ms ease;
}

.tstx7k1-slide.swiper-slide-active{
  opacity: 1;
  transform: scale(1);
  filter: none;
}

.tstx7k1-slide.swiper-slide-active .tstx7k1-card{
  box-shadow:
    0 26px 74px rgba(0,0,0,.38),
    0 0 0 1px rgba(255,255,255,.10) inset,
    0 0 46px rgba(176,0,255,.18),
    0 0 32px rgba(255,63,212,.12);
}

/* ---- Card ---- */
.tstx7k1-card{
  width: min(760px, 92vw);
  text-align: center;

  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.12);

  background:
    radial-gradient(120% 90% at 12% 0%, rgba(176,0,255,.18), transparent 58%),
    radial-gradient(110% 80% at 88% 20%, rgba(255,63,212,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));

  padding: 30px 26px 28px;

  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);

  box-shadow:
    0 18px 52px rgba(0,0,0,.32),
    0 0 0 1px rgba(255,255,255,.06);

  position: relative;
  overflow: hidden;

  transition:
    transform 220ms cubic-bezier(.2,.9,.2,1),
    border-color 220ms ease,
    box-shadow 220ms ease;
}

/* hover glow (only on active slide) */
.tstx7k1-slide.swiper-slide-active .tstx7k1-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.18);
  box-shadow:
    0 30px 82px rgba(0,0,0,.44),
    0 0 0 1px rgba(255,255,255,.10) inset,
    0 0 60px rgba(176,0,255,.22),
    0 0 42px rgba(255,63,212,.16);
}

/* micro sweep (neon) */
.tstx7k1-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: inherit;
  pointer-events:none;
  opacity: 0;

  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255,255,255,.06) 18%,
    rgba(176,0,255,.42) 46%,
    rgba(255,63,212,.18) 62%,
    transparent 84%
  );

  transform: translateX(-55%);
  transition: opacity 220ms ease, transform 360ms cubic-bezier(.2,.9,.2,1);
  mix-blend-mode: screen;
}

.tstx7k1-slide.swiper-slide-active .tstx7k1-card:hover::before{
  opacity: .85;
  transform: translateX(0%);
}

/* ---- Quote mark ---- */
.tstx7k1-quoteMark{
  display: inline-flex;
  margin-bottom: 14px;
  color: rgba(255,255,255,.92);
  opacity: .95;
  filter: drop-shadow(0 0 18px rgba(176,0,255,.18));
}

.tstx7k1-quoteMark svg{
  width: 54px;
  height: auto;
}

/* ---- Text ---- */
.tstx7k1-text{
  margin: 0 auto;
  width: min(680px, 92%);
  font-size: 16px;
  line-height: 30px;
  color: rgba(255,255,255,.72);
  font-style: normal;
}

/* ---- Author ---- */
.tstx7k1-author{
  margin-top: calc(var(--gap) * 1.2);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}

.tstx7k1-author::before{
  content:"";
  display:block;
  width: 92px;
  height: 2px;
  margin: 18px auto 14px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(176,0,255,.55),
    rgba(255,63,212,.85),
    rgba(176,0,255,.45),
    transparent
  );
  opacity: .85;
}

/* ---- Nav buttons (dark glass) ---- */
.tstx7k1-nav{
  position: absolute;
  top: 52%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);

  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  user-select: none;

  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);

  box-shadow:
    0 18px 44px rgba(0,0,0,.30),
    0 0 24px rgba(176,0,255,.10);

  transition:
    transform 180ms cubic-bezier(.2,.9,.2,1),
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    opacity 180ms ease;
}

.tstx7k1-nav span{
  font-size: 22px;
  line-height: 1;
  transform: translateY(-1px);
}

.tstx7k1-prev{ left: clamp(10px, 6vw, 150px); }
.tstx7k1-next{ right: clamp(10px, 6vw, 150px); }

.tstx7k1-nav:hover{
  transform: translateY(-50%) scale(1.06);
  border-color: rgba(255,255,255,.20);
  background: rgba(255,255,255,.08);
  box-shadow:
    0 22px 54px rgba(0,0,0,.36),
    0 0 36px rgba(176,0,255,.16),
    0 0 26px rgba(255,63,212,.12);
}

.tstx7k1-nav:active{
  transform: translateY(-50%) scale(.98);
}

.tstx7k1-nav:focus-visible{
  outline: 3px solid rgba(176,0,255,.26);
  outline-offset: 4px;
}

.tstx7k1-nav.swiper-button-disabled{
  opacity: 0.35;
  pointer-events: none;
}

/* ---- Pagination dots (neon purple) ---- */
.tstx7k1-pagi{
  margin-top: calc(var(--gap) * 1.2);
  display: flex;
  justify-content: center;
  gap: 10px;
}

.tstx7k1-pagi .swiper-pagination-bullet{
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  opacity: 1;
  margin: 0 !important;
  transition: background 220ms ease, transform 220ms ease;
}

.tstx7k1-pagi .swiper-pagination-bullet-active{
  background: linear-gradient(90deg, rgba(176,0,255,.95), rgba(255,63,212,.92));
  transform: scaleX(1.10);
}

/* ---- Responsive ---- */
@media (max-width: 900px){
  .tstx7k1-sec{
    padding-top: calc(var(--gap) * 4);
    padding-bottom: calc(var(--gap) * 4);
  }
  .tstx7k1-text{
    font-size: 15px;
    line-height: 28px;
  }
  .tstx7k1-card{
    padding: 26px 18px 24px;
    border-radius: 22px;
  }
  .tstx7k1-prev{ left: 12px; }
  .tstx7k1-next{ right: 12px; }
}

@media (max-width: 520px){
  .tstx7k1-nav{ display: none; }
  .tstx7k1-slide{ padding-top: 22px; }
  .tstx7k1-quoteMark svg{ width: 46px; }
  .tstx7k1-pagi{ margin-top: 18px; }
}
