.bs-ring {
  position: relative;
  overflow: hidden;
  background: #111;
  color: #fff;
  padding: 110px 20px 130px;
  font-family: "Inter", "Manrope", Arial, sans-serif;
}

.bs-ring::before {
  content: "";
  position: absolute;
  top: 120px;
  left: 50%;
  width: 720px;
  height: 720px;
  background: radial-gradient(
    circle,
    rgba(212, 169, 74, 0.12),
    transparent 64%
  );
  transform: translateX(-50%);
  pointer-events: none;
}

.bs-ring__inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
}

.bs-ring__head {
  max-width: 760px;
  margin: 0 auto 70px;
  text-align: center;
}

.bs-ring__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(212, 169, 74, 0.10);
  border: 1px solid rgba(212, 169, 74, 0.28);
  color: #e7c878;
  font-size: 13px;
  font-weight: 800;
}

.bs-ring__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 999px;
  background: #d4a94a;
}

.bs-ring__title {
  margin: 0;
  font-size: clamp(44px, 4vw, 68px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -3px;
}

.bs-ring__title span {
  display: inline-block;
  font-family: "Kalam", cursive;
  font-weight: 700;
  font-size: 0.9em;
  line-height: 1;
  color: #E7C878;
  letter-spacing: -1px;
  transform: rotate(-1deg) translateY(1px);
  text-shadow:
    0 0 8px rgba(212,169,74,.18),
    0 0 16px rgba(212,169,74,.08);
}

.bs-ring__text {
  max-width: 640px;
  margin: 24px auto 0;
  color: rgba(255,255,255,0.70);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 600;
}

.bs-ring__stage {
  position: relative;
  height: 620px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1400px;
}

.bs-ring__stage::before,
.bs-ring__stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 140px;
  z-index: 50;
  pointer-events: none;
}

.bs-ring__stage::before {
  top: 0;
  background: linear-gradient(
    to bottom,
    #111 0%,
    rgba(17,17,17,0.95) 25%,
    transparent 100%
  );
}

.bs-ring__stage::after {
  bottom: 0;
  background: linear-gradient(
    to top,
    #111 0%,
    rgba(17,17,17,0.95) 25%,
    transparent 100%
  );
}

.bs-ring__scene {
  position: relative;
  width: 720px;
  height: 460px;
  transform-style: preserve-3d;
  transform: rotateX(-7deg);
}

.bs-ring__carousel {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.bs-ring__card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 190px;
  height: 320px;
  margin-left: -95px;
  margin-top: -160px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 30px 70px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transform:
    rotateY(var(--angle))
    translateZ(430px);
  transform-style: preserve-3d;
  backface-visibility: visible;
  background: #111;
}

.bs-ring__thumb,
.bs-ring__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter:
    saturate(0.95)
    contrast(1.05)
    brightness(0.85);
}

.bs-ring__thumb {
  z-index: 1;
  opacity: 1;
  transition: opacity .35s ease;
}

.bs-ring__video {
  z-index: 2;
  opacity: 0;
  background: #111;
  transition: opacity .35s ease;
}

.bs-ring__card.is-video-ready .bs-ring__video {
  opacity: 1;
}

.bs-ring__card.is-video-ready .bs-ring__thumb {
  opacity: 0;
}

.bs-ring__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.05),
      rgba(0,0,0,0.25)
    );
  z-index: 3;
  pointer-events: none;
}

.bs-ring__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      transparent 55%,
      rgba(0,0,0,0.82)
    );
  z-index: 4;
  pointer-events: none;
}

.bs-ring__label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 10;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;
}

.bs-ring__sound-toggle {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  z-index: 20;
}

.bs-ring__sound-toggle.is-active,
.bs-ring__sound-toggle.is-loading {
  background: #E7C878;
  color: #111;
}

.bs-ring__card:has(.bs-ring__sound-toggle.is-active),
.bs-ring__card:has(.bs-ring__sound-toggle.is-loading) {
  border-color: rgba(231,200,120,.8);
  box-shadow:
    0 0 20px rgba(231,200,120,.18),
    0 30px 70px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.bs-ring__countdown {
  position: absolute;
  inset: 0;
  z-index: 18;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background:
    radial-gradient(circle at center, rgba(0,0,0,.36), rgba(0,0,0,.74));
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .22s ease,
    visibility .22s ease;
}

.bs-ring__countdown.is-visible {
  opacity: 1;
  visibility: visible;
}

.bs-ring__countdown-label {
  color: rgba(255,255,255,.78);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.bs-ring__countdown-number {
  color: #E7C878;
  font-size: 58px;
  line-height: .9;
  font-weight: 900;
  letter-spacing: -2px;
  text-shadow:
    0 0 18px rgba(0,0,0,.45),
    0 0 28px rgba(212,169,74,.24);
  transform: scale(.88);
  transition: transform .18s ease;
}

.bs-ring__countdown.animate .bs-ring__countdown-number {
  transform: scale(1);
}

.bs-ring-reveal {
  opacity: 0;
  --reveal-y: 40px;
  --parallax-y: 0px;
  transform:
    translate3d(
      0,
      calc(var(--reveal-y) + var(--parallax-y)),
      0
    );
  transition:
    opacity .9s ease,
    transform .9s ease;
  will-change: transform, opacity;
}

.bs-ring-reveal.is-visible {
  opacity: 1;
  --reveal-y: 0px;
}

.bs-ring-reveal[data-ring-parallax] {
  transform:
    translate3d(
      0,
      calc(var(--reveal-y) + var(--parallax-y)),
      0
    );
}

@media (max-width: 768px) {
  .bs-ring {
    padding: 86px 0 96px;
  }

  .bs-ring__head {
    max-width: 360px;
    padding: 0 24px;
    margin-bottom: 44px;
  }

  .bs-ring__eyebrow {
    margin-bottom: 22px;
    font-size: 12px;
    padding: 8px 16px;
  }

  .bs-ring__title {
    font-size: 36px;
    line-height: 1.04;
    letter-spacing: -1.6px;
  }

  .bs-ring__title span {
    font-size: 0.9em;
    transform: rotate(-1deg) translateY(1px);
  }

  .bs-ring__text {
    font-size: 16px;
  }

  .bs-ring__stage {
    height: 520px;
    perspective: 1000px;
  }

  .bs-ring__scene {
    width: 420px;
    height: 400px;
    transform: rotateX(-8deg);
  }

  .bs-ring__card {
    width: 130px;
    height: 230px;
    margin-left: -65px;
    margin-top: -115px;
    border-radius: 14px;
    transform:
      rotateY(var(--angle))
      translateZ(275px);
  }

  .bs-ring__label {
    left: 10px;
    bottom: 10px;
    font-size: 10px;
    padding: 5px 9px;
  }

  .bs-ring__sound-toggle {
    width: 32px;
    height: 32px;
    right: 8px;
    bottom: 8px;
    font-size: 13px;
  }

  .bs-ring__countdown-label {
    font-size: 9px;
  }

  .bs-ring__countdown-number {
    font-size: 48px;
    letter-spacing: -2px;
  }
}