:root {
  --nbdl-bg: #07080d;
  --nbdl-panel: #171923;
  --nbdl-text: #f4f1ed;
  --nbdl-muted: #c7c1bc;
  --nbdl-accent: #f05a34;
  --nbdl-bricks-orange: #de5a29;
  --nbdl-line: rgba(240, 90, 52, 0.46);
  --nbdl-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  --nbdl-radius: 8px;
}

.nbdl-download-landing {
  color: var(--nbdl-text);
  font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.35;
  padding: 150px 0 72px;
}

.nbdl-download-landing * {
  box-sizing: border-box;
}

.nbdl-shell {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.nbdl-hero {
  min-height: 270px;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  padding: 30px 0 52px;
}

.nbdl-hero h1 {
  margin: 0 0 18px;
  color: var(--nbdl-accent);
  font-size: clamp(31px, 4.32vw, 59px);
  line-height: 1;
  letter-spacing: 0;
}

.nbdl-hero p {
  max-width: 610px;
  margin: 0 0 24px;
  color: var(--nbdl-muted);
  font-size: 15px;
}

.nbdl-download-status {
  width: min(720px, 100%);
  max-width: 720px;
  margin-bottom: 22px;
  padding: 15px 18px;
  border: 1px solid rgba(245, 194, 88, 0.68);
  border-radius: 8px;
  color: #fff5d6;
  background: rgba(245, 194, 88, 0.14);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18), 0 14px 34px rgba(245, 194, 88, 0.08);
  font-size: 18px;
  font-weight: 750;
}

.nbdl-download-status-muted {
  border-color: rgba(245, 245, 245, 0.22);
  color: var(--nbdl-muted);
  background: rgba(255, 255, 255, 0.04);
}

.nbdl-primary,
.nbdl-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 44px;
  padding: 11px 24px;
  border: 1px solid rgba(255, 159, 130, 0.62);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(180deg, #f16036, #df3f2f);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 10px 20px rgba(240, 90, 52, 0.16);
  font-weight: 800;
  text-decoration: none;
}

.nbdl-primary:hover {
  color: #fff;
  filter: brightness(1.08);
}

.nbdl-secondary,
.nbdl-download-fallback {
  min-height: 52px;
  padding: 12px 24px;
  border-color: #f5f5f5;
  border-radius: 5px;
  color: #fff;
  background: transparent;
  box-shadow: none;
  font-size: 18px;
  font-weight: 600;
  line-height: 25.6px;
  letter-spacing: 0.5px;
}

.nbdl-secondary:hover,
.nbdl-download-fallback:hover {
  color: #fff;
  border-color: #f5f5f5;
  background: transparent;
  filter: none;
}

.nbdl-primary-disabled,
.nbdl-primary-disabled:hover {
  cursor: not-allowed;
  opacity: 0.62;
  filter: none;
}

.nbdl-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: clamp(74px, 9vw, 126px);
}

.nbdl-no-content .nbdl-steps {
  margin-bottom: 0;
}

.nbdl-step {
  min-height: 150px;
  padding: 24px 22px;
  background: var(--nbdl-panel);
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: var(--nbdl-radius);
  box-shadow: var(--nbdl-shadow);
}

.nbdl-step h2 {
  margin: 0 0 28px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: clamp(26px, 2.4vw, 42px);
  line-height: 1;
  letter-spacing: 0;
}

.nbdl-step-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 9px 4px;
  color: #fff;
  background: linear-gradient(90deg, var(--nbdl-bricks-orange), #e03636);
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nbdl-step p {
  margin: 0;
  color: #eee9e2;
  font-size: 15px;
}

.nbdl-step a {
  color: var(--nbdl-accent);
  font-weight: 800;
  text-decoration-color: rgba(240, 90, 52, 0.82);
  text-underline-offset: 3px;
}

.nbdl-step a:hover {
  color: #ff8a66;
}

.nbdl-section-title {
  margin: 0 0 26px;
  color: var(--nbdl-accent);
  text-align: center;
  font-size: clamp(31px, 4.68vw, 65px);
  line-height: 1;
  letter-spacing: 0;
}

.nbdl-empty {
  width: min(680px, 100%);
  margin: 0 auto;
  padding: 22px;
  border: 1px solid var(--nbdl-line);
  border-radius: var(--nbdl-radius);
  color: var(--nbdl-muted);
  background: rgba(23, 25, 35, 0.72);
  text-align: center;
}

.nbdl-content-section {
  width: min(1440px, 100%);
}

.nbdl-carousel-shell {
  position: relative;
}

.nbdl-carousel-track {
  height: 500px;
  overflow: hidden;
}

.nbdl-carousel-track .swiper-wrapper {
  height: 100%;
}

.nbdl-carousel-track:not(.swiper-initialized) {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.nbdl-carousel-track:not(.swiper-initialized)::-webkit-scrollbar {
  display: none;
}

.nbdl-carousel-track:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  gap: 40px;
}

.nbdl-carousel-track:not(.swiper-initialized) .swiper-slide {
  flex: 0 0 calc((100% - 80px) / 3);
  scroll-snap-align: start;
}

.nbdl-content-section .nbdl-carousel-track {
  grid-column: 2;
  height: 314px;
  width: calc(100% + 20px);
  margin: -16px -10px;
  padding: 16px 10px;
}

.nbdl-content-section .nbdl-carousel-shell {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  justify-content: center;
}

.nbdl-content-section .nbdl-carousel-track:not(.swiper-initialized) .swiper-wrapper {
  gap: 32px;
}

.nbdl-content-section .nbdl-carousel-track:not(.swiper-initialized) .swiper-slide {
  flex: 0 0 calc((100% - 96px) / 4);
}

.nbdl-carousel-track .swiper-slide {
  height: 100%;
}

.nbdl-content-section .swiper-slide {
  display: flex;
  align-items: center;
}

.nbdl-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  background: transparent;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  font-size: 54px;
  font-weight: 100;
  line-height: 0;
  opacity: 0.9;
  transform: translateY(-50%);
}

.nbdl-carousel-btn:hover {
  color: var(--nbdl-accent);
  opacity: 1;
}

.nbdl-carousel-prev {
  left: -56px;
}

.nbdl-carousel-next {
  right: -56px;
}

.nbdl-content-section .nbdl-carousel-prev {
  grid-column: 1;
  position: static;
  justify-self: center;
  transform: none;
}

.nbdl-content-section .nbdl-carousel-next {
  grid-column: 3;
  position: static;
  justify-self: center;
  transform: none;
}

.nbdl-dlc-index-card {
  position: relative;
  height: 282px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  color: #f5f5f5;
  background: #000;
  border-bottom: 2px solid var(--nbdl-bricks-orange);
  border-radius: var(--nbdl-radius);
  text-decoration: none;
  transform-origin: center center;
  transition: color 0.2s ease, transform 0.3s ease-in-out;
}

.nbdl-dlc-index-card:hover {
  color: #fff;
  transform: scale(1.05);
}

.nbdl-content-section .nbdl-first-visible .nbdl-dlc-index-card:hover {
  transform-origin: left center;
}

.nbdl-content-section .nbdl-last-visible .nbdl-dlc-index-card:hover {
  transform-origin: right center;
}

.nbdl-content-section .nbdl-first-visible.nbdl-last-visible .nbdl-dlc-index-card:hover {
  transform-origin: left center;
}

.nbdl-dlc-index-heading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  min-height: 73px;
  display: flex;
  align-items: flex-start;
  justify-content: normal;
  padding: 16px;
  background: rgba(20, 20, 20, 0.21);
  pointer-events: none;
}

.nbdl-dlc-index-card.is-free .nbdl-dlc-index-heading {
  padding-left: 88px;
}

.nbdl-dlc-index-title {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  color: #f5f5f5;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0;
}

.nbdl-dlc-index-image {
  position: relative;
  height: 190px;
  display: block;
  flex: 0 0 190px;
  overflow: hidden;
  background-color: #171923;
  background-size: cover;
  background-position: center;
}

.nbdl-dlc-index-caption {
  position: absolute;
  left: 12px;
  top: 12px;
  bottom: auto;
  z-index: 4;
  display: block;
  padding: 8px 14px 7px;
  color: #fff;
  background: linear-gradient(90deg, var(--nbdl-bricks-orange), #e03636);
  border-radius: 0 0 6px 0;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}

.nbdl-dlc-index-description {
  display: block;
  flex: 1;
  padding: 19.2px 0;
  color: #f5f5f5;
  background: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  pointer-events: none;
}

.nbdl-showcase-card {
  position: relative;
  height: 500px;
  display: block;
  overflow: hidden;
  color: #f5f5f5;
  background: #13151c;
  border-radius: var(--nbdl-radius);
  text-decoration: none;
}

.nbdl-showcase-card:hover {
  color: #fff;
}

.nbdl-showcase-image,
.nbdl-showcase-overlay {
  position: absolute;
  inset: 0;
  display: block;
}

.nbdl-showcase-image {
  background-image: var(--nbdl-image);
  background-size: cover;
  background-position: center;
  transition: transform 240ms ease;
}

.nbdl-showcase-overlay {
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: linear-gradient(25deg, rgba(51, 32, 25, 0.79) 0%, rgba(24, 15, 12, 0.24) 50%);
}

.nbdl-showcase-copy {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
}

.nbdl-showcase-label {
  display: block;
  color: #de5a29;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.nbdl-showcase-title {
  display: block;
  margin: 0 0 10px;
  color: #f5f5f5;
  font-size: clamp(28px, 2.45vw, 35px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0;
}

.nbdl-showcase-description {
  display: block;
  color: #f5f5f5;
  font-size: 16px;
  line-height: 1.6;
}

.nbdl-showcase-card:hover .nbdl-showcase-image {
  transform: scale(1.035);
}

.nbdl-other {
  padding: clamp(72px, 9vw, 112px) 0 0;
}

.nbdl-no-content .nbdl-other {
  padding-top: clamp(36px, 5vw, 64px);
}

.nbdl-plugin-carousel-track {
  height: auto;
  overflow: hidden;
}

.nbdl-plugin-carousel-track .swiper-wrapper,
.nbdl-plugin-carousel-track:not(.swiper-initialized) .swiper-wrapper {
  height: auto;
  gap: 0;
}

.nbdl-plugin-carousel-track .swiper-slide,
.nbdl-plugin-carousel-track:not(.swiper-initialized) .swiper-slide {
  height: auto;
  flex: 0 0 100%;
}

.nbdl-plugin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.nbdl-plugin-grid .nbdl-showcase-card {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-bottom: 2px solid var(--nbdl-bricks-orange);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.nbdl-plugin-grid .nbdl-showcase-copy {
  position: static;
}

.nbdl-plugin-grid .nbdl-showcase-overlay {
  padding: 14px;
  background: linear-gradient(10deg, rgba(8, 8, 11, 0.9) 0%, rgba(8, 8, 11, 0.48) 55%, rgba(8, 8, 11, 0.12) 100%);
}

.nbdl-plugin-grid .nbdl-showcase-label {
  position: absolute;
  top: 12px;
  left: 12px;
  display: block;
  padding: 7px 12px 6px;
  color: #fff;
  background: linear-gradient(90deg, var(--nbdl-bricks-orange), #e03636);
  border-radius: 0 0 6px 0;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nbdl-plugin-grid .nbdl-showcase-title {
  margin-bottom: 5px;
  font-size: 19px;
  line-height: 1.15;
}

.nbdl-plugin-grid .nbdl-showcase-description {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 1050px) {
  .nbdl-plugin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nbdl-carousel-track:not(.swiper-initialized) .swiper-slide {
    flex-basis: calc((100% - 40px) / 2);
  }

  .nbdl-content-section .nbdl-carousel-track:not(.swiper-initialized) .swiper-slide {
    flex-basis: calc((100% - 32px) / 2);
  }
}

@media (max-width: 1179px) {
  .nbdl-content-section .swiper-slide,
  .nbdl-dlc-index-card {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .nbdl-download-landing {
    padding-top: 206px;
  }

  .nbdl-shell {
    width: min(100% - 28px, 560px);
  }

  .nbdl-content-section {
    width: min(100% - 28px, 560px);
  }

  .nbdl-content-section .nbdl-carousel-shell {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
  }

  .nbdl-hero {
    min-height: 240px;
    padding-top: 18px;
  }

  .nbdl-steps {
    grid-template-columns: 1fr;
  }

  .nbdl-step {
    min-height: 0;
  }

  .nbdl-carousel-track,
  .nbdl-showcase-card {
    height: 400px;
  }

  .nbdl-content-section .nbdl-carousel-track {
    height: 314px;
  }

  .nbdl-dlc-index-card {
    height: 282px;
  }

  .nbdl-content-section .swiper-slide,
  .nbdl-dlc-index-card {
    width: 100%;
  }

  .nbdl-carousel-track:not(.swiper-initialized) .swiper-slide {
    flex-basis: 100%;
  }

  .nbdl-carousel-btn {
    width: 44px;
    height: 44px;
    font-size: 46px;
  }

  .nbdl-content-section .nbdl-carousel-btn {
    width: 34px;
    height: 44px;
    font-size: 40px;
  }

  .nbdl-carousel-prev {
    left: 4px;
  }

  .nbdl-carousel-next {
    right: 4px;
  }
}

@media (max-width: 560px) {
  .nbdl-plugin-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .nbdl-plugin-carousel-shell .nbdl-carousel-btn {
    top: 102px;
  }

  .nbdl-plugin-grid .nbdl-showcase-title {
    font-size: 18px;
  }
}
