* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

/* =========================
   MAIN SECTION BACKGROUND
========================= */
.product-section {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  background: linear-gradient(270deg, #0f2a3f, #18365a, #1a3f52, #0f2a3f);
  background-size: 800% 800%;
  animation: gradientMove 18s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =========================
   PATTERN + GLOW
========================= */
.product-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.4;
  z-index: 0;
}

.product-section::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(38,198,218,0.25), transparent 70%);
  z-index: 9999;
  display: none;
}

/* =========================
   PARALLAX LAYER
========================= */
.parallax-layer {
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: radial-gradient(circle at center, rgba(38,198,218,0.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* =========================
   CAROUSEL WRAPPER (CENTERED)
========================= */
/*.carousel-wrapper {
  width: 95%;
  max-width: 1150px;
  overflow: hidden;
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
}*/

.carousel-wrapper {
  width: min(95vw, 1200px);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 0px);

  overflow: hidden;
  position: relative;

  display: flex;
  align-items: center;

  border-radius: 20px;

  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
}

/* =========================
   TRACK
========================= */
.carousel-track {
  display: flex;
  gap: 30px;
  transition: transform 0.7s ease;
  will-change: transform;
}

/* =========================
   BASE CARD (CENTER STYLE)
========================= */
.card {
  flex: 0 0 auto;
  width: 320px;
  height: 420px;

  position: relative;
  border-radius: 18px;
  overflow: hidden;

  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  cursor: pointer;

  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* BIG FEATURED CARD */
.card.featured {
  width: 420px;
  height: 480px;
}

/* SMALL CARD */
.card.small {
  width: 280px;
  height: 380px;
  opacity: 0.85;
}

/* =========================
   IMAGE
========================= */
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* DARK OVERLAY */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  z-index: 1;
}
.featured .more-btn{
  z-index: 9999999999 !important;
}

/* =========================
   GLASS LABEL
========================= */
.glass-label {
  position: absolute;
  bottom: 80px;
  left: 20px;

  padding: 10px 14px;
  border-radius: 12px;

  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);

  color: #fff;
  font-size: 18px;

  z-index: 2;
}

/* =========================
   BUTTON
========================= */
.more-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;

  padding: 10px 22px;
  border-radius: 25px;
  border: none;

  background: #26c6da;
  color: #fff;

  cursor: pointer;
  z-index: 9999;

  transition: 0.4s;
}

.more-btn:hover {
  background: #00e0ff;
  transform: translateX(6px);
}

/* =========================
   HOVER EFFECTS
========================= */
.card:hover img {
  transform: scale(1.12);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 40px rgba(38,198,218,0.4);
}

/* =========================
   ARROWS (ALWAYS VISIBLE)
========================= */

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .carousel-wrapper {
    width: 95%;
  }

  .card.featured {
    width: 320px;
    height: 420px;
  }

  .card.small {
    width: 240px;
    height: 340px;
  }

  .glass-label {
    font-size: 15px;
  }
}

/*.product-section {
  position: relative;
}

.product-section::before {
  content: "";
  position: absolute;
  top: 0;

  left: 43px; 

  width: 3px;
  height: 100%;

  background: repeating-linear-gradient(
  to bottom,
  rgba(38,198,218,1) 0px,
  rgba(38,198,218,1) 3px,
  transparent 3px,
  transparent 10px
);

animation: linePulse 2s infinite linear;

  box-shadow: 0 0 10px rgba(38, 198, 218, 0.5);

  opacity: 0.7;

  z-index: 1;
}*/

/*
.product-section::before {
  width: 2px;
  background: #26c6da;
  box-shadow: 0 0 12px rgba(38,198,218,0.8);
  opacity: 0.4;
}*/

.controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  transform: translateY(-50%);
  z-index: 999;

  opacity: 0;
  visibility: hidden;

  transition: all 0.35s ease;
  pointer-events: none;
}

/* SHOW ON HOVER */
.carousel-wrapper:hover .controls {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ARROWS */
.arrow {
  width: 55px;
  height: 55px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;
  color: #fff;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;

  cursor: pointer;

  margin: 0 20px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.3);

  transform: scale(0.9);
  transition: all 0.3s ease;
}

/* HOVER EFFECT */
.arrow:hover {
  transform: scale(1.15);
  background: rgba(38,198,218,0.25);
  box-shadow: 0 0 20px rgba(38,198,218,0.5);
}
@keyframes linePulse {
  0% { opacity: 0.4; }
  50% { opacity: 0.8; }
  100% { opacity: 0.4; }
}