/**
 * DirectSkills — Black Friday 2026 Campaign Styles (Isolated & Modular)
 * Brand Palette: DirectSkills Navy (#00335b / #07152e), Matte Black (#090b10),
 * Magenta Glow (#e6007e / #ff2a8a), Crimson Sale Accent (#dc2626 / #e11d48), White (#ffffff).
 * Section-attached physical hang tags + luxury welcome popup + accessible top-bar contrast.
 */

/* ==========================================================================
   1. SECTION-ATTACHED HANGING SALE TAGS (6 SECTION & FOOTER ANCHORS)
   ========================================================================== */
.ds-glass-card-main {
  position: relative;
  overflow: visible;
}

.ds-bf-subjects-host,
.ds-bf-section-host {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

.ds-bf-hang-tag {
  position: absolute;
  pointer-events: none !important;
  user-select: none;
  -webkit-user-select: none;
  z-index: 6;
}

.ds-bf-hang-pendulum {
  position: relative;
  transform-origin: 50% 3.1%;
  will-change: transform, opacity;
  filter:
    drop-shadow(0 14px 24px rgba(2, 6, 23, 0.34)) drop-shadow(0 0 12px rgba(230, 0, 126, 0.2));
}

/* Disengage CSS keyframes once the JavaScript pendulum physics engine takes control */
.ds-bf-hang-tag.is-physics-active .ds-bf-hang-pendulum {
  animation: none !important;
}

.ds-bf-hang-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Subtle periodic satin light sheen across tag surface */
.ds-bf-hang-glint {
  position: absolute;
  inset: 22% 14% 6%;
  border-radius: 8px;
  overflow: hidden;
  pointer-events: none;
}

.ds-bf-hang-glint::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -135%;
  width: 75%;
  height: 165%;
  background: linear-gradient(112deg,
      transparent 20%,
      rgba(255, 255, 255, 0.14) 48%,
      rgba(255, 255, 255, 0.24) 52%,
      transparent 80%);
  transform: skewX(-18deg);
  animation: dsBfHangGlint 8.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* TAG 1: Hero "130+ Online Courses" card (top-right corner) */
.ds-bf-hang-tag--hero {
  top: -10px;
  right: -14px;
  width: 78px;
  /* ~119px tall SVG */
}

.ds-bf-hang-tag--hero .ds-bf-hang-pendulum {
  animation:
    dsBfHangDropRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both,
    dsBfGentleSwingA 6.2s ease-in-out 1.08s infinite;
}

/* TAG 2: Best-Selling Courses section (upper-right corner) */
.ds-bf-hang-tag--bestsellers {
  top: -6px;
  right: clamp(18px, 2.8vw, 44px);
  width: 84px;
  /* ~128px tall SVG */
}

.ds-bf-hang-tag--bestsellers .ds-bf-hang-pendulum {
  animation:
    dsBfHangDropLeft 0.92s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both,
    dsBfGentleSwingB 6.8s ease-in-out 1.14s infinite;
}

.ds-bf-hang-tag--bestsellers .ds-bf-hang-glint::after {
  animation-delay: 1.4s;
  animation-duration: 9.2s;
}

/* TAG 3: Study by Professional Subject section (upper-right corner) */
.ds-bf-hang-tag--categories {
  top: -6px;
  right: clamp(18px, 2.8vw, 44px);
  width: 84px;
  /* ~128px tall SVG */
}

.ds-bf-hang-tag--categories .ds-bf-hang-pendulum {
  animation:
    dsBfHangDropRight 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.26s both,
    dsBfGentleSwingC 7.1s ease-in-out 1.21s infinite;
}

.ds-bf-hang-tag--categories .ds-bf-hang-glint::after {
  animation-delay: 2.8s;
  animation-duration: 9.6s;
}

/* TAG 4: Pricing & Payment in Plain Terms section (upper-left corner for alternating rhythm) */
.ds-bf-hang-tag--pricing {
  top: -6px;
  left: clamp(18px, 2.8vw, 44px);
  width: 84px;
  /* ~128px tall SVG */
}

.ds-bf-hang-tag--pricing .ds-bf-hang-pendulum {
  animation:
    dsBfHangDropLeft 0.94s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both,
    dsBfGentleSwingB 7.4s ease-in-out 1.24s infinite;
}

.ds-bf-hang-tag--pricing .ds-bf-hang-glint::after {
  animation-delay: 4.1s;
  animation-duration: 9.8s;
}

/* TAG 5: Homepage FAQ section (upper-right corner) */
.ds-bf-hang-tag--faq {
  top: -6px;
  right: clamp(18px, 2.8vw, 44px);
  width: 84px;
  /* ~128px tall SVG */
}

.ds-bf-hang-tag--faq .ds-bf-hang-pendulum {
  animation:
    dsBfHangDropRight 0.96s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both,
    dsBfGentleSwingA 6.9s ease-in-out 1.2s infinite;
}

.ds-bf-hang-tag--faq .ds-bf-hang-glint::after {
  animation-delay: 5.3s;
  animation-duration: 9.4s;
}

/* TAG 6: Global Footer (#dsFooter, upper-right corner — kept inside overflow: hidden footer) */
.ds-bf-hang-tag--footer {
  top: 0px;
  right: clamp(18px, 3vw, 48px);
  width: 84px;
  /* ~128px tall SVG */
}

.ds-footer .ds-bf-hang-tag--footer .ds-bf-hang-pendulum {
  filter:
    drop-shadow(0 14px 24px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 14px rgba(255, 42, 138, 0.36));
  animation:
    dsBfHangDropLeft 0.98s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both,
    dsBfGentleSwingC 7.5s ease-in-out 1.26s infinite;
}

.ds-bf-hang-tag--footer .ds-bf-hang-glint::after {
  animation-delay: 3.4s;
  animation-duration: 9.1s;
}

/* TAG 7: Welcome Modal Dialog (exterior hanging sale tag attached to dialog corner) */
.ds-bf-hang-tag--popup {
  top: -14px;
  left: -18px;
  width: 82px;
  /* ~125px tall SVG */
  z-index: 25;
}

.ds-bf-hang-tag--popup .ds-bf-hang-pendulum {
  animation:
    dsBfHangDropLeft 0.94s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both,
    dsBfGentleSwingB 7.2s ease-in-out 1.2s infinite;
}

.ds-bf-hang-tag--popup .ds-bf-hang-glint::after {
  animation-delay: 2.2s;
  animation-duration: 9.3s;
}

@keyframes dsBfHangDropRight {
  0% {
    opacity: 0;
    transform: translate3d(0, -14px, 0) scaleY(0.9) rotate(4deg);
  }

  58% {
    opacity: 1;
    transform: translate3d(0, 1px, 0) scaleY(1) rotate(-4.5deg);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scaleY(1) rotate(-3.4deg);
  }
}

@keyframes dsBfHangDropLeft {
  0% {
    opacity: 0;
    transform: translate3d(0, -14px, 0) scaleY(0.9) rotate(-4deg);
  }

  58% {
    opacity: 1;
    transform: translate3d(0, 1px, 0) scaleY(1) rotate(4.6deg);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scaleY(1) rotate(3.6deg);
  }
}

@keyframes dsBfGentleSwingA {

  0%,
  100% {
    transform: rotate(-3.4deg);
  }

  50% {
    transform: rotate(3.6deg);
  }
}

@keyframes dsBfGentleSwingB {

  0%,
  100% {
    transform: rotate(3.6deg);
  }

  50% {
    transform: rotate(-4.1deg);
  }
}

@keyframes dsBfGentleSwingC {

  0%,
  100% {
    transform: rotate(-2.8deg);
  }

  50% {
    transform: rotate(3.9deg);
  }
}

@keyframes dsBfHangGlint {

  0%,
  62% {
    left: -135%;
    opacity: 0;
  }

  70% {
    opacity: 1;
  }

  86%,
  100% {
    left: 165%;
    opacity: 0;
  }
}

/* Mid-desktop breathing room (1200px - 1379px) */
@media (max-width: 1379px) {

  .ds-bf-hang-tag--bestsellers,
  .ds-bf-hang-tag--categories,
  .ds-bf-hang-tag--pricing,
  .ds-bf-hang-tag--faq,
  .ds-bf-hang-tag--footer {
    width: 72px;
    /* ~110px tall */
  }

  .ds-bf-hang-tag--popup {
    top: -12px;
    left: -16px;
    width: 76px;
  }
}

/* Tablet Scaling */
@media (max-width: 1199px) {
  .ds-bf-hang-tag--hero {
    top: -8px;
    right: -6px;
    width: 64px;
    /* ~98px tall */
  }

  .ds-bf-hang-tag--bestsellers,
  .ds-bf-hang-tag--categories,
  .ds-bf-hang-tag--faq {
    top: -4px;
    right: 16px;
    width: 64px;
    /* ~98px tall */
  }

  .ds-bf-hang-tag--pricing {
    top: -4px;
    left: 16px;
    width: 64px;
    /* ~98px tall */
  }

  .ds-bf-hang-tag--footer {
    top: 0px;
    right: 16px;
    width: 64px;
    /* ~98px tall */
  }

  .ds-bf-hang-tag--popup {
    top: -10px;
    left: -14px;
    width: 68px;
  }

  .ds-bf-modal-dialog {
    max-width: 560px;
  }

  .ds-bf-modal-content {
    padding: 46px 44px 34px;
  }

  .ds-bf-modal-heading {
    font-size: clamp(1.18rem, 2.2vw, 1.42rem);
    max-width: 380px;
    margin: 0 auto 20px;
  }
}

/* Mobile: Keep compact hero & footer tags; hide middle section tags so wrapped headings never collide */
@media (max-width: 639px) {
  .ds-bf-hang-tag--hero {
    top: -8px;
    right: 4px;
    width: 56px;
    /* ~86px tall */
  }

  .ds-bf-hang-tag--footer {
    top: 0px;
    right: 12px;
    width: 54px;
    /* ~82px tall */
  }

  .ds-bf-hang-tag--popup {
    top: -10px;
    left: -6px;
    width: 52px;
  }

  .ds-bf-hang-tag--bestsellers,
  .ds-bf-hang-tag--categories,
  .ds-bf-hang-tag--pricing,
  .ds-bf-hang-tag--faq {
    display: none;
  }
}

/* ==========================================================================
   2. HIGH-CONTRAST TOP ANNOUNCEMENT BAR PILL & HERO OFFERS TREATMENT
   ========================================================================== */
#top-bar .ds-bf-topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 12px 3px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c81068 0%, #8f0c4f 100%);
  border: 1px solid rgba(255, 168, 214, 0.72);
  box-shadow: 0 2px 12px rgba(230, 0, 126, 0.35);
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none !important;
  line-height: 1.35;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

#top-bar .ds-bf-topbar-pill span {
  color: #ffffff !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

#top-bar .ds-bf-topbar-pill:hover,
#top-bar .ds-bf-topbar-pill:focus-visible {
  transform: translateY(-1px);
  border-color: #ffffff;
  box-shadow: 0 4px 16px rgba(230, 0, 126, 0.55);
  filter: brightness(1.06);
  color: #ffffff !important;
}

.ds-bf-topbar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
}

/* ==========================================================================
   BLACK FRIDAY 2026 — TOP PROMOTIONAL ANNOUNCEMENT STRIP
   ========================================================================== */
.ds-bf-announcement-strip {
  position: relative;
  z-index: 90;
  width: 100%;
  background: linear-gradient(90deg, #050a18 0%, #0d152a 24%, #260724 50%, #0d152a 76%, #050a18 100%);
  border-bottom: 1px solid rgba(230, 0, 126, 0.42);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 0 16px rgba(230, 0, 126, 0.14);
  color: #f8fafc;
  font-family: "Sen", system-ui, -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
  will-change: max-height, opacity;
}

.ds-bf-announcement-strip.is-dismissed {
  display: none !important;
}

.ds-bf-strip-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ds-bf-strip-content {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.ds-bf-strip-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e6007e 0%, #c8105b 100%);
  border: 1px solid rgba(255, 168, 214, 0.65);
  box-shadow: 0 2px 10px rgba(230, 0, 126, 0.45);
  color: #ffffff !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.ds-bf-strip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff;
  animation: dsBfStripPulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dsBfStripPulse {

  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 10px #ffffff, 0 0 14px #ff4ca6;
  }
}

.ds-bf-strip-text,
.ds-bf-strip-text span,
.ds-bf-strip-headline,
.ds-bf-strip-extra,
.ds-bf-strip-code-phrase,
.ds-bf-strip-checkout-text {
  color: #f1f5f9 !important;
  font-family: inherit;
}

.ds-bf-strip-text {
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ds-bf-strip-headline {
  color: #ffffff !important;
  font-weight: 500 !important;
}

.ds-bf-strip-strong,
.ds-bf-strip-text strong {
  color: #ffffff !important;
  font-weight: 800 !important;
  text-shadow: 0 0 10px rgba(255, 76, 166, 0.45);
}

.ds-bf-strip-extra {
  color: #cbd5e1 !important;
  font-weight: 500 !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ds-bf-strip-sep {
  color: #ff4ca6 !important;
  margin: 0 3px;
  font-weight: 700;
}

.ds-bf-strip-code-phrase {
  color: #e2e8f0 !important;
}

.ds-bf-strip-checkout-text {
  color: #cbd5e1 !important;
}

.ds-bf-strip-code {
  font-family: "JetBrains Mono", Consolas, Monaco, monospace !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.10em !important;
  background: rgba(0, 51, 91, 0.85) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 118, 189, 0.65) !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  margin: 0 3px !important;
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(230, 0, 126, 0.3) !important;
}

.ds-bf-strip-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ds-bf-strip-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e6007e 0%, #c8105b 100%);
  border: 1px solid rgba(255, 168, 214, 0.6);
  color: #ffffff !important;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(230, 0, 126, 0.35);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.ds-bf-strip-cta span {
  color: #ffffff !important;
  font-size: inherit !important;
  font-weight: 700 !important;
}

.ds-bf-strip-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 4px 14px rgba(230, 0, 126, 0.55);
  color: #ffffff !important;
}

.ds-bf-strip-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ds-bf-strip-dismiss i {
  color: #ffffff !important;
}

.ds-bf-strip-dismiss:hover {
  background: rgba(230, 0, 126, 0.3);
  border-color: rgba(230, 0, 126, 0.7);
  color: #ffffff !important;
}

@media (max-width: 1279px) {
  .ds-bf-strip-checkout-text {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .ds-bf-strip-extra {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .ds-bf-strip-container {
    padding: 6px 14px;
    gap: 8px;
  }

  .ds-bf-strip-text {
    font-size: 11.5px !important;
  }

  .ds-bf-strip-extra {
    display: none !important;
  }

  .ds-bf-strip-badge {
    font-size: 9.5px !important;
    padding: 2px 8px 2px 6px;
  }

  .ds-bf-strip-cta {
    padding: 4px 10px;
    font-size: 10.5px;
  }

  .ds-bf-strip-cta svg {
    display: none;
  }
}

@media (max-width: 480px) {
  .ds-bf-strip-cta {
    display: none;
  }
}

/* Subtle treatment on existing Hero Card 2 (Special Offers & Updates) */
.ds-promo-slider-card.ds-bf-offers-card {
  border-color: rgba(230, 0, 126, 0.24) !important;
  box-shadow:
    0 10px 26px -12px rgba(7, 21, 46, 0.14),
    0 0 0 1px rgba(230, 0, 126, 0.07) !important;
}

.ds-bf-offers-card .ds-promo-card-badge.ds-bf-card-badge {
  background: linear-gradient(135deg, #090d16 0%, #16213e 100%);
  color: #ffffff;
  border: 1px solid rgba(230, 0, 126, 0.48);
  box-shadow: 0 4px 12px -4px rgba(230, 0, 126, 0.3);
}

.ds-bf-offers-card .ds-promo-card-badge.ds-bf-card-badge span {
  color: #ffffff !important;
}

.ds-promo-tag.ds-promo-tag-bf {
  background: linear-gradient(135deg, #0b0e17 0%, #1c1931 100%);
  color: #ffffff !important;
  border: 1px solid rgba(230, 0, 126, 0.55);
}

/* ==========================================================================
   3. PREMIUM BLACK FRIDAY WELCOME MODAL (LUXURY DARK GLASSMORPHISM)
   ========================================================================== */
.ds-bf-modal-stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1000030;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 32px);
  background: rgba(3, 8, 20, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    -webkit-backdrop-filter 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.45s ease;
}

.ds-bf-modal-stage.is-mounted {
  display: flex;
}

.ds-bf-modal-stage.is-open {
  opacity: 1;
  visibility: visible;
  background: rgba(3, 8, 20, 0.76);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
}

.ds-bf-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: min(94vh, 720px);
  opacity: 0;
  transform: scale(0.93) translate3d(0, 18px, 0);
  transition:
    transform 0.62s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.48s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
  will-change: transform, opacity;
}

.ds-bf-modal-stage.is-open .ds-bf-modal-dialog {
  opacity: 1;
  transform: scale(1) translate3d(0, 0, 0);
}

.ds-bf-modal-dialog-frame {
  position: relative;
  width: 100%;
  border-radius: 26px;
  padding: 1.5px;
  background: linear-gradient(135deg,
      rgba(230, 0, 126, 0.65) 0%,
      rgba(255, 255, 255, 0.22) 38%,
      rgba(225, 29, 72, 0.38) 72%,
      rgba(230, 0, 126, 0.72) 100%);
  box-shadow:
    0 32px 90px -18px rgba(0, 0, 0, 0.85),
    0 0 60px -18px rgba(230, 0, 126, 0.42);
  overflow: hidden;
}

.ds-bf-modal-border-sheen {
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg at 50% 50%,
      transparent 0deg,
      rgba(255, 255, 255, 0.35) 32deg,
      rgba(230, 0, 126, 0.7) 58deg,
      transparent 95deg,
      transparent 360deg);
  animation: dsBfBorderRotate 11s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.ds-bf-modal-surface {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: calc(min(94vh, 720px) - 3px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 24.5px;
  background:
    radial-gradient(ellipse 85% 65% at 50% 18%, rgba(230, 0, 126, 0.16), transparent 62%),
    radial-gradient(ellipse 75% 70% at 88% 85%, rgba(0, 51, 91, 0.42), transparent 65%),
    linear-gradient(155deg, rgba(6, 11, 24, 0.96) 0%, rgba(10, 19, 40, 0.97) 54%, rgba(5, 8, 16, 0.98) 100%);
  color: #f8fafc;
}

.ds-bf-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 12;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.72);
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ds-bf-modal-close:hover {
  background: rgba(230, 0, 126, 0.28);
  border-color: rgba(230, 0, 126, 0.75);
  color: #ffffff;
  transform: scale(1.06);
}

.ds-bf-modal-close:focus-visible {
  outline: 2px solid #ff4ca6;
  outline-offset: 2px;
}

.ds-bf-modal-content {
  position: relative;
  z-index: 2;
  padding: 50px 54px 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ds-bf-modal-heading {
  font-family: "Sen", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.28rem, 2.3vw, 1.62rem);
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 auto 22px;
  max-width: 420px;
  padding: 0 8px;
  text-align: center;
}

.ds-bf-modal-heading .ds-bf-heading-accent,
.ds-bf-heading-accent {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
  background: linear-gradient(115deg, #ffffff 10%, #ff7ec2 55%, #f43f5e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ds-bf-reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.ds-bf-modal-stage.is-open .ds-bf-reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.ds-bf-modal-stage.is-open .ds-bf-reveal-1 {
  transition-delay: 0.14s;
}

.ds-bf-modal-stage.is-open .ds-bf-reveal-2 {
  transition-delay: 0.24s;
}

.ds-bf-modal-stage.is-open .ds-bf-reveal-3 {
  transition-delay: 0.34s;
}

/* ==========================================================================
   STREAMLINED PROMOTIONAL COUPON CARD (BLACKFRIDAY26)
   ========================================================================== */
.ds-bf-coupon-card {
  position: relative;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(14, 21, 38, 0.94) 0%, rgba(9, 13, 24, 0.98) 100%);
  border: 1.5px dashed rgba(255, 76, 166, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 10px 28px -6px rgba(0, 0, 0, 0.65),
    0 0 24px -4px rgba(230, 0, 126, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ds-bf-coupon-card:hover {
  border-color: rgba(255, 118, 189, 0.75);
  box-shadow:
    0 12px 32px -6px rgba(0, 0, 0, 0.72),
    0 0 30px -2px rgba(230, 0, 126, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.ds-bf-coupon-card--streamlined {
  max-width: 380px;
  width: 100%;
  margin: 0 auto 24px;
}

/* Gentle Magenta Light Sweep (Fires once after entrance) */
.ds-bf-coupon-sweep {
  position: absolute;
  top: -60%;
  left: -140%;
  width: 65%;
  height: 220%;
  background: linear-gradient(115deg,
      transparent 15%,
      rgba(255, 255, 255, 0.20) 45%,
      rgba(255, 42, 138, 0.42) 55%,
      transparent 85%);
  transform: skewX(-24deg);
  pointer-events: none;
  z-index: 1;
}

.ds-bf-modal-stage.is-open .ds-bf-coupon-sweep {
  animation: dsBfCouponSweep 1.35s cubic-bezier(0.22, 1, 0.36, 1) 0.82s 1 forwards;
}

@keyframes dsBfCouponSweep {
  0% {
    left: -140%;
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  100% {
    left: 165%;
    opacity: 0;
  }
}

.ds-bf-coupon-body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  gap: 12px;
  margin-top: 10px;
}

.ds-bf-coupon-code-label {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #ff85c0 !important;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}

.ds-bf-coupon-code-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ds-bf-coupon-pill {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 11px;
  border-radius: 7px;
  background: rgba(0, 51, 91, 0.65);
  border: 1px solid rgba(255, 118, 189, 0.45);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.ds-bf-coupon-pill:hover,
.ds-bf-coupon-pill:focus-visible {
  background: rgba(0, 51, 91, 0.85);
  border-color: rgba(255, 118, 189, 0.8);
  box-shadow: 0 0 10px rgba(230, 0, 126, 0.32);
  outline: none;
}

.ds-bf-coupon-code {
  font-family: "JetBrains Mono", Consolas, Monaco, "Courier New", monospace !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.10em;
  color: #ffffff !important;
  user-select: all;
  -webkit-user-select: all;
  line-height: 1 !important;
}

.ds-bf-coupon-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 32px;
  padding: 0 12px;
  border-radius: 7px;
  border: 1px solid rgba(255, 118, 189, 0.65);
  background: linear-gradient(135deg, #e6007e 0%, #c8105b 100%);
  color: #ffffff !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  box-shadow:
    0 3px 10px -2px rgba(230, 0, 126, 0.50),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.18s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
  line-height: 1 !important;
}

.ds-bf-coupon-copy-btn span,
.ds-bf-coupon-copy-text {
  font-size: 10.5px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: inherit !important;
  line-height: 1 !important;
}

.ds-bf-coupon-copy-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow:
    0 5px 14px -2px rgba(230, 0, 126, 0.70),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.ds-bf-coupon-copy-btn:active {
  transform: translateY(0);
}

.ds-bf-coupon-copy-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.ds-bf-coupon-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.ds-bf-coupon-btn-icon svg {
  display: block;
  width: 12px;
  height: 12px;
}

.ds-bf-coupon-copy-btn .ds-bf-ico-check {
  display: none;
}

.ds-bf-coupon-copy-btn .ds-bf-ico-copy {
  display: inline-block;
}

/* Copied State Transformation */
.ds-bf-coupon-copy-btn.is-copied {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  border-color: rgba(52, 211, 153, 0.85) !important;
  box-shadow:
    0 3px 12px -2px rgba(16, 185, 129, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.ds-bf-coupon-copy-btn.is-copied .ds-bf-ico-copy {
  display: none !important;
}

.ds-bf-coupon-copy-btn.is-copied .ds-bf-ico-check {
  display: inline-block !important;
  animation: dsBfCheckPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes dsBfCheckPop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.ds-bf-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ds-bf-modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 0;
}

.ds-bf-btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 118, 189, 0.55);
  background: linear-gradient(135deg, #e6007e 0%, #c8105b 55%, #00335b 145%);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow:
    0 12px 28px -8px rgba(230, 0, 126, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
  cursor: pointer;
}

.ds-bf-btn-primary span {
  color: #ffffff !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

.ds-bf-btn-primary::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -90%;
  width: 55%;
  height: 140%;
  background: linear-gradient(108deg,
      transparent 15%,
      rgba(255, 255, 255, 0.38) 50%,
      transparent 85%);
  transform: skewX(-22deg);
  pointer-events: none;
}

.ds-bf-modal-stage.is-open .ds-bf-btn-primary::after {
  animation: dsBfCtaGlowPass 4.6s cubic-bezier(0.25, 1, 0.5, 1) 0.72s infinite;
}

.ds-bf-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 34px -8px rgba(230, 0, 126, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  filter: brightness(1.06);
  color: #ffffff !important;
}

.ds-bf-btn-primary:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.ds-bf-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0 !important;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ds-bf-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.36);
  color: #ffffff !important;
}

.ds-bf-btn-secondary:focus-visible {
  outline: 2px solid #ff4ca6;
  outline-offset: 2px;
}

@keyframes dsBfBorderRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes dsBfCtaGlowPass {
  0% {
    left: -90%;
    opacity: 0;
  }

  14% {
    opacity: 1;
  }

  38% {
    left: 155%;
    opacity: 0;
  }

  100% {
    left: 155%;
    opacity: 0;
  }
}

@media (max-width: 767px) {
  .ds-bf-modal-dialog {
    max-width: 400px;
    width: calc(100% - 28px);
    margin: 0 auto;
  }

  .ds-bf-modal-dialog-frame {
    border-radius: 22px;
  }

  .ds-bf-modal-surface {
    border-radius: 20.5px;
  }

  .ds-bf-modal-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
  }

  .ds-bf-hang-tag--popup {
    top: -10px;
    left: -6px;
    width: 52px;
  }

  .ds-bf-modal-content {
    padding: 34px 18px 24px;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  .ds-bf-modal-heading {
    font-size: clamp(1.02rem, 4.2vw, 1.18rem);
    line-height: 1.34;
    max-width: 250px;
    margin: 0 auto 16px;
    padding: 0;
    text-align: center;
  }

  .ds-bf-modal-heading .ds-bf-heading-accent,
  .ds-bf-heading-accent {
    white-space: normal;
  }

  .ds-bf-coupon-card--streamlined {
    max-width: 100%;
    margin: 0 auto 18px;
  }

  .ds-bf-coupon-card--streamlined .ds-bf-coupon-body {
    flex-direction: column;
    gap: 8px;
    padding: 10px 14px;
  }

  .ds-bf-coupon-pill {
    flex: 1;
    max-width: 150px;
    height: 32px;
    justify-content: center;
    padding: 0 8px;
  }

  .ds-bf-coupon-code {
    font-size: 12.5px !important;
  }

  .ds-bf-coupon-copy-btn {
    height: 32px;
    padding: 0 11px;
    font-size: 10.5px !important;
  }

  .ds-bf-modal-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 0;
  }

  .ds-bf-btn-primary,
  .ds-bf-btn-secondary {
    width: 100%;
  }
}

/* ==========================================================================
   4. REDUCED MOTION PREFERENCES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {

  .ds-bf-hang-pendulum,
  .ds-bf-hang-glint::after,
  .ds-bf-modal-border-sheen,
  .ds-bf-btn-primary::after,
  .ds-bf-coupon-sweep,
  .ds-bf-coupon-copy-btn.is-copied .ds-bf-ico-check {
    animation: none !important;
  }

  .ds-bf-modal-stage,
  .ds-bf-modal-dialog,
  .ds-bf-reveal {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}