.gpro-b3d-wrap {
  --gpro-accent-1: #12d6ff;
  --gpro-accent-2: #ff3fd7;
  --gpro-card-height: 420px;
  --gpro-perspective: 1400px;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(18,214,255,.18), transparent 24%),
    radial-gradient(circle at 80% 15%, rgba(255,63,215,.16), transparent 24%),
    linear-gradient(180deg, #0b1024 0%, #060915 100%);
}

.gpro-b3d-wrap::before,
.gpro-b3d-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gpro-b3d-wrap::before {
  background-image:
    linear-gradient(rgba(18,214,255,.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,63,215,.16) 1px, transparent 1px);
  background-size: 84px 84px, 84px 84px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.85), rgba(0,0,0,.35));
}

.gpro-b3d-wrap::after {
  background:
    radial-gradient(circle at center, transparent 45%, rgba(0,0,0,.25) 80%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,.18) 100%);
  z-index: -1;
}

.gpro-b3d-header {
  max-width: 860px;
  margin: 0 auto 28px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.gpro-b3d-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 0 0 1px rgba(255,255,255,.03) inset;
}

.gpro-b3d-title {
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-wrap: balance;
}

.gpro-b3d-description {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  text-wrap: pretty;
}

.gpro-b3d-stage {
  position: relative;
  min-height: calc(var(--gpro-card-height) + 140px);
  perspective: var(--gpro-perspective);
  perspective-origin: center center;
}

.gpro-b3d-carousel {
  position: relative;
  width: min(1200px, 100%);
  margin: 0 auto;
  min-height: calc(var(--gpro-card-height) + 80px);
  transform-style: preserve-3d;
}

.gpro-b3d-card {
  position: absolute;
  top: 24px;
  left: 50%;
  width: min(360px, calc(100% - 40px));
  height: var(--gpro-card-height);
  transform-style: preserve-3d;
  transition: transform .75s cubic-bezier(.22,.61,.36,1), opacity .55s ease, filter .55s ease;
  will-change: transform, opacity, filter;
}

.gpro-b3d-card-inner {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 14px 60px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.03) inset;
}

.gpro-b3d-card-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), transparent 28%),
    radial-gradient(circle at top right, color-mix(in srgb, var(--card-accent) 28%, transparent), transparent 35%);
  pointer-events: none;
}

.gpro-b3d-card.is-active .gpro-b3d-card-inner {
  box-shadow:
    0 24px 80px rgba(0,0,0,.45),
    0 0 35px color-mix(in srgb, var(--card-accent) 36%, transparent),
    0 0 0 1px rgba(255,255,255,.05) inset;
}

.gpro-b3d-card-image-wrap {
  position: relative;
  padding: 14px 14px 0;
}

.gpro-b3d-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.08);
}

.gpro-b3d-card-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: 18px 22px 22px;
}

.gpro-b3d-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gpro-b3d-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--card-accent) 70%, #fff 8%), color-mix(in srgb, var(--card-accent) 38%, #240b48 62%));
  box-shadow: 0 12px 34px color-mix(in srgb, var(--card-accent) 35%, transparent);
  font-size: 22px;
}

.gpro-b3d-card-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--card-accent) 72%, #ffffff 28%);
}

.gpro-b3d-card-title {
  margin: 0;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.gpro-b3d-card-text {
  font-size: 15px;
  line-height: 1.7;
}

.gpro-b3d-card-actions {
  margin-top: auto;
}

.gpro-b3d-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  background: linear-gradient(90deg, var(--gpro-accent-1), var(--gpro-accent-2));
  box-shadow: 0 12px 30px rgba(18,214,255,.2);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.gpro-b3d-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(18,214,255,.28);
  filter: brightness(1.05);
}

.gpro-b3d-footer {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}

.gpro-b3d-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gpro-b3d-nav button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  color: #fff;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.gpro-b3d-nav button:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.09);
}

.gpro-b3d-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.gpro-b3d-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: .28;
  transition: transform .25s ease, opacity .25s ease, box-shadow .25s ease;
  cursor: pointer;
}

.gpro-b3d-dot.is-active {
  opacity: 1;
  transform: scale(1.25);
  box-shadow: 0 0 18px rgba(18,214,255,.45);
}

@media (max-width: 1024px) {
  .gpro-b3d-stage {
    min-height: calc(var(--gpro-card-height) + 110px);
  }
  .gpro-b3d-card {
    width: min(330px, calc(100% - 24px));
  }
}

@media (max-width: 767px) {
  .gpro-b3d-wrap {
    border-radius: 22px;
  }
  .gpro-b3d-title {
    line-height: 1.04;
  }
  .gpro-b3d-description {
    font-size: 15px;
  }
  .gpro-b3d-stage {
    min-height: calc(var(--gpro-card-height) + 70px);
  }
  .gpro-b3d-card {
    width: min(92vw, 320px);
    top: 14px;
  }
  .gpro-b3d-card-content {
    padding: 16px 16px 18px;
  }
  .gpro-b3d-card-title {
    font-size: 22px;
  }
  .gpro-b3d-card-text {
    font-size: 14px;
    line-height: 1.6;
  }
}
