:root {
  color-scheme: dark;
  --bdp-bg: #181818;
  --bdp-surface: #222222;
  --bdp-surface-2: #2a2a2a;
  --bdp-line: #343434;
  --bdp-text: #ffffff;
  --bdp-muted: #a0a0a0;
  --bdp-muted-2: #cfcfcf;
  --bdp-orange: #ff8d29;
  --bdp-orange-2: #ff9500;
  --bdp-orange-soft: rgba(255, 141, 41, 0.16);
  --bdp-shadow: 0 28px 90px rgba(0, 0, 0, 0.44);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 141, 41, 0.12), transparent 34rem),
    linear-gradient(180deg, #1c1c1c 0%, var(--bdp-bg) 72%);
  color: var(--bdp-text);
}

.bdp-slider {
  width: 1180px;
  max-width: calc(100vw - 32px);
  margin: 0 auto;
  padding: 36px 0;
}

.bdp-slider__frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(310px, 0.82fr) minmax(0, 1.28fr);
  gap: clamp(26px, 4vw, 46px);
  align-items: center;
  min-height: 560px;
  height: auto;
  padding: clamp(30px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(255, 141, 41, 0.34);
  border-radius: 24px;
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 141, 41, 0.20), transparent 28rem),
    linear-gradient(135deg, rgba(255, 141, 41, 0.06), transparent 42%),
    var(--bdp-surface);
  box-shadow: var(--bdp-shadow);
}

.bdp-slider__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.bdp-slider__copy,
.bdp-slider__visual,
.bdp-slider__controls {
  position: relative;
  z-index: 1;
}

.bdp-slider__copy {
  min-width: 0;
}

.bdp-slider__eyebrow {
  margin: 0 0 16px;
  color: var(--bdp-orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bdp-slider h2 {
  margin: 0;
  max-width: 520px;
  font-size: clamp(42px, 4.45vw, 58px);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.bdp-slider h2 span:first-child {
  display: block;
  color: var(--bdp-orange);
}

.bdp-slider__description {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--bdp-muted-2);
  font-size: 18px;
  line-height: 1.55;
}

.bdp-slider__bullets {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--bdp-muted);
}

.bdp-slider__bullets li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.bdp-slider__bullets li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 99px;
  background: var(--bdp-orange);
  box-shadow: 0 0 18px rgba(255, 141, 41, 0.8);
}

.bdp-slider__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 30px;
}

.bdp-slider__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  color: #121212;
  background: linear-gradient(180deg, var(--bdp-orange-2), var(--bdp-orange));
  box-shadow: 0 18px 42px rgba(255, 141, 41, 0.25);
  font-weight: 900;
  text-decoration: none;
}

.bdp-slider__cta::after {
  content: "→";
  margin-left: 10px;
  transition: transform 160ms ease;
}

.bdp-slider__cta:hover::after { transform: translateX(3px); }

.bdp-slider__counter {
  color: var(--bdp-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.bdp-slider__visual {
  min-width: 0;
  transform: translateZ(0);
}

.bdp-slider__screen {
  height: 380px;
  border: 1px solid var(--bdp-line);
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(255, 141, 41, 0.08), transparent 58%), #1b1b1b;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.44);
}

.bdp-slider__screen-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
}

.bdp-slider__screen-button:focus-visible {
  outline: 2px solid var(--bdp-orange);
  outline-offset: -4px;
}

.bdp-slider__screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
}

.bdp-lightbox.is-open {
  display: flex;
}

.bdp-lightbox__dialog {
  position: relative;
  width: min(96vw, 1480px);
  max-height: 92vh;
}

.bdp-lightbox__image {
  display: block;
  width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border: 1px solid rgba(255, 141, 41, 0.32);
  border-radius: 18px;
  background: #111;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.68);
}

.bdp-lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--bdp-line);
  border-radius: 999px;
  color: #121212;
  background: var(--bdp-orange);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.bdp-lightbox__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.bdp-mock {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  height: 380px;
  color: var(--bdp-text);
  background: #191919;
}

.bdp-mock__side {
  padding: 18px 14px;
  border-right: 1px solid var(--bdp-line);
  background: #151515;
}

.bdp-mock__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.05;
}

.bdp-mock__brand img {
  width: 28px;
  height: 28px;
  min-height: auto;
  border-radius: 8px;
}

.bdp-mock__nav {
  display: grid;
  gap: 8px;
  color: var(--bdp-muted);
  font-size: 13px;
}

.bdp-mock__nav span {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
}

.bdp-mock__nav .active {
  color: var(--bdp-orange);
  background: linear-gradient(90deg, rgba(255, 141, 41, 0.19), rgba(255, 141, 41, 0.04));
  border-left: 3px solid var(--bdp-orange);
}

.bdp-mock__main { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
.bdp-mock__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid var(--bdp-line);
}
.bdp-mock__search {
  min-height: 38px;
  border: 1px solid var(--bdp-line);
  border-radius: 9px;
  color: var(--bdp-muted);
  display: flex;
  align-items: center;
  padding: 0 13px;
}
.bdp-mock__button {
  min-height: 38px;
  border-radius: 9px;
  color: #121212;
  background: var(--bdp-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  font-weight: 900;
}

.bdp-mock__table { padding: 10px 14px; overflow: hidden; }
.bdp-row {
  display: grid;
  grid-template-columns: 38px minmax(130px, 1.3fr) minmax(110px, 1fr) 58px 58px minmax(110px, 0.8fr);
  gap: 10px;
  align-items: center;
  min-height: 42px;
  border-bottom: 1px solid var(--bdp-line);
  font-size: 12px;
}
.bdp-row.header {
  min-height: 34px;
  color: var(--bdp-muted);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.10em;
}
.bdp-row.active {
  background: linear-gradient(90deg, rgba(255, 141, 41, 0.22), transparent 78%);
  border-left: 4px solid var(--bdp-orange);
  padding-left: 6px;
}
.bdp-row:nth-child(odd):not(.header):not(.active) { background: rgba(255, 255, 255, 0.025); }
.bdp-key { color: var(--bdp-orange); font-weight: 900; }

.bdp-mock__player {
  display: grid;
  grid-template-columns: 180px 1fr 88px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-top: 1px solid var(--bdp-line);
}
.bdp-mock__track strong { display: block; font-size: 13px; }
.bdp-mock__track span { color: var(--bdp-muted); font-size: 12px; }
.bdp-wave {
  height: 34px;
  border: 1px solid var(--bdp-line);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(255, 141, 41, 0.68) 0 44%, transparent 44%),
    repeating-linear-gradient(90deg, rgba(160, 160, 160, 0.45) 0 3px, transparent 3px 8px),
    #151515;
}

.bdp-queue-list,
.bdp-history-list,
.bdp-settings-pane {
  padding: 16px;
  display: grid;
  gap: 10px;
}
.bdp-queue-item,
.bdp-history-item,
.bdp-settings-card {
  border: 1px solid var(--bdp-line);
  border-radius: 10px;
  padding: 12px;
  background: #1f1f1f;
}
.bdp-progress {
  height: 8px;
  margin-top: 8px;
  border-radius: 99px;
  overflow: hidden;
  background: #333;
}
.bdp-progress span { display: block; height: 100%; background: var(--bdp-orange); }

.bdp-slider__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.bdp-slider__nav {
  width: 44px;
  height: 44px;
  border: 1px solid var(--bdp-line);
  border-radius: 999px;
  color: var(--bdp-text);
  background: var(--bdp-surface);
  font-size: 30px;
  line-height: 1;
}

.bdp-slider__nav:hover {
  color: #121212;
  border-color: var(--bdp-orange);
  background: var(--bdp-orange);
}

.bdp-slider__dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.bdp-slider__dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 99px;
  background: #555;
  padding: 0;
}

.bdp-slider__dot.active {
  width: 28px;
  background: var(--bdp-orange);
}

.bdp-slider.is-changing .bdp-slider__copy,
.bdp-slider.is-changing .bdp-slider__visual {
  animation: bdpSlideIn 320ms ease both;
}

@keyframes bdpSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .bdp-slider { width: calc(100vw - 22px); padding: 18px 0; }
  .bdp-slider__frame {
    grid-template-columns: 1fr;
    height: 620px;
    padding: 22px;
    border-radius: 20px;
  }
  .bdp-slider h2 { font-size: 42px; }
  .bdp-slider__description { font-size: 16px; }
  .bdp-slider__screen { height: 300px; }
  .bdp-mock {
    grid-template-columns: 1fr;
    height: 300px;
  }
  .bdp-mock__side { display: none; }
  .bdp-mock__top { grid-template-columns: 1fr; }
  .bdp-row {
    grid-template-columns: 34px minmax(145px, 1fr) 54px;
  }
  .bdp-row span:nth-child(3),
  .bdp-row span:nth-child(5),
  .bdp-row span:nth-child(6) { display: none; }
  .bdp-mock__player { grid-template-columns: 1fr; }
}


@media (max-width: 560px) {
  .bdp-slider {
    max-width: calc(100vw - 18px);
    padding: 14px 0;
  }

  .bdp-slider__frame {
    gap: 18px;
    padding: 18px;
    border-radius: 18px;
  }

  .bdp-slider__eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .bdp-slider h2 {
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.045em;
  }

  .bdp-slider__description {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.45;
  }

  .bdp-slider__bullets {
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
  }

  .bdp-slider__actions {
    gap: 10px;
    margin-top: 18px;
  }

  .bdp-slider__cta {
    width: 100%;
    min-height: 42px;
  }

  .bdp-slider__screen {
    height: 240px;
    border-radius: 14px;
  }

  .bdp-mock {
    height: 240px;
  }

  .bdp-slider__controls {
    margin-top: 14px;
  }

  .bdp-slider__nav {
    width: 40px;
    height: 40px;
  }

  .bdp-lightbox {
    padding: 12px;
  }

  .bdp-lightbox__image {
    border-radius: 12px;
  }

  .bdp-lightbox__close {
    top: 8px;
    right: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}



