.nb-bfStage {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  background: #282828;
  color: #fff;
  padding: 72px 24px 80px;
}

.nb-bfStage__sash {
  position: absolute;
  z-index: 2;
  top: 36px;
  right: -52px;
  width: 240px;
  margin: 0;
  padding: 9px 0;
  background: #cce700;
  color: #1c1b1f;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.2px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(32deg);
}

.nb-bfStage__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.nb-bfStage__title {
  margin: 0;
  color: #cce700;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

.nb-bfStage__title span {
  font-weight: 600;
}

.nb-bfStage__text {
  max-width: 530px;
  margin: 16px auto 0;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.48px;
  line-height: 1.35;
}

.nb-bfStage__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.nb-bfStage__tags li {
  margin: 0;
  padding: 7px 12px;
  border-radius: 3px;
  background: #cce700;
  color: #1c1b1f;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  line-height: 1;
  text-transform: uppercase;
}

.nb-bfStage .nb-bfCountdown--block {
  --nb-flip-h: 96px;
  --nb-flip-w: 62px;
  --nb-flip-size: 52px;
  max-width: none;
  margin: 32px auto 0;
}

.nb-bfCountdown__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nb-bfStage .nb-bfCountdown__label {
  margin: 0 0 16px;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nb-bfStage .nb-bfCountdown__row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
}

.nb-bfStage .nb-bfCountdown__part {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.nb-bfStage .nb-bfCountdown__unit {
  margin: 0;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nb-bfStage .nb-bfCountdown__num {
  display: flex;
  gap: 4px;
  color: #cce700;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.nb-flip {
  position: relative;
  display: block;
  width: var(--nb-flip-w);
  height: var(--nb-flip-h);
  color: #cce700;
  font-family: "DM Sans", sans-serif;
  font-size: var(--nb-flip-size);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
  perspective: 280px;
}

.nb-flip__top,
.nb-flip__bottom,
.nb-flip__leaf {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  overflow: hidden;
  box-sizing: border-box;
  background: #1c1b1f;
}

.nb-flip__top,
.nb-flip__leaf--top {
  top: 0;
  border: 1px solid rgba(204, 231, 0, 0.55);
  border-bottom: 0;
  border-top: 4px solid #cce700;
  border-radius: 3px 3px 0 0;
}

.nb-flip__bottom,
.nb-flip__leaf--bottom {
  bottom: 0;
  border: 1px solid rgba(204, 231, 0, 0.4);
  border-top: 0;
  border-radius: 0 0 3px 3px;
  background: #171717;
}

.nb-flip__top span,
.nb-flip__bottom span,
.nb-flip__leaf span {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--nb-flip-h);
}

/* The top flap's border shifts this half down, so an 8 reads as a 0. */
.nb-flip__top span,
.nb-flip__leaf--top span {
  top: -4px;
}

.nb-flip__bottom span,
.nb-flip__leaf--bottom span {
  top: calc(var(--nb-flip-h) / -2);
}

.nb-flip__leaf {
  z-index: 2;
  backface-visibility: hidden;
}

.nb-flip__leaf--top {
  transform-origin: center bottom;
}

.nb-flip__leaf--bottom {
  transform-origin: center top;
  transform: rotateX(90deg);
}

.nb-flip__leaf--top::after,
.nb-flip__leaf--bottom::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
}

.nb-flip.is-flipping .nb-flip__leaf--top {
  animation: nb-flip-top 0.28s ease-in forwards;
}

.nb-flip.is-flipping .nb-flip__leaf--top::after {
  animation: nb-flip-shade 0.28s ease-in forwards;
}

.nb-flip.is-flipping .nb-flip__leaf--bottom {
  animation: nb-flip-bottom 0.28s ease-out 0.28s forwards;
}

.nb-flip.is-flipping .nb-flip__leaf--bottom::after {
  animation: nb-flip-light 0.28s ease-out 0.28s forwards;
}

.nb-flip::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  margin-top: -1px;
  background: #111;
  pointer-events: none;
}

@keyframes nb-flip-top {
  from { transform: rotateX(0deg); }
  to { transform: rotateX(-90deg); }
}

@keyframes nb-flip-bottom {
  from { transform: rotateX(90deg); }
  to { transform: rotateX(0deg); }
}

@keyframes nb-flip-shade {
  from { background: rgba(0, 0, 0, 0); }
  to { background: rgba(0, 0, 0, 0.45); }
}

@keyframes nb-flip-light {
  from { background: rgba(0, 0, 0, 0.45); }
  to { background: rgba(0, 0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .nb-flip.is-flipping .nb-flip__leaf--top,
  .nb-flip.is-flipping .nb-flip__leaf--bottom,
  .nb-flip.is-flipping .nb-flip__leaf--top::after,
  .nb-flip.is-flipping .nb-flip__leaf--bottom::after {
    animation: none;
  }
}

.nb-bfStage .nb-bfCountdown__sep {
  align-self: flex-end;
  display: flex;
  align-items: center;
  height: var(--nb-flip-h);
  color: #cce700;
  font-family: "DM Sans", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.nb-bfStage__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 240px;
  height: 52px;
  margin-top: 32px;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2.2px;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.nb-bfStage__button:hover,
.nb-bfStage__button:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.nb-bfStage__art {
  position: absolute;
  inset: 0;
  color: #cce700;
  pointer-events: none;
}

.nb-bfStage__icon {
  position: absolute;
  width: 64px;
  height: 64px;
  opacity: 0.9;
}

.nb-bfStage__icon--tag {
  top: 36px;
  left: 6%;
  transform: rotate(-18deg);
}

.nb-bfStage__icon--wheel {
  top: 48px;
  right: 18%;
  width: 72px;
  height: 72px;
}

.nb-bfStage__icon--box {
  bottom: 36px;
  left: 8%;
  width: 58px;
  height: 58px;
}

.nb-bfStage__icon--bolt {
  right: 7%;
  bottom: 40px;
  width: 48px;
  height: 48px;
  transform: rotate(8deg);
}

@media (max-width: 900px) {
  .nb-bfStage__icon--wheel {
    right: 8%;
  }
}

@media (max-width: 767px) {
  .nb-bfStage {
    padding: 56px 16px 40px;
  }

  .nb-bfStage__sash {
    top: 22px;
    right: -64px;
    width: 180px;
    font-size: 11px;
  }

  .nb-bfStage__title {
    font-size: 40px;
  }

  .nb-bfStage__tags {
    margin-top: 16px;
  }

  .nb-bfStage .nb-bfCountdown--block {
    --nb-flip-h: 58px;
    --nb-flip-w: 32px;
    --nb-flip-size: 28px;
  }

  .nb-bfStage .nb-bfCountdown__row {
    gap: 6px;
  }

  .nb-bfStage .nb-bfCountdown__num {
    gap: 2px;
  }

  .nb-bfStage .nb-bfCountdown__sep {
    font-size: 22px;
  }

  .nb-bfStage .nb-bfCountdown__unit {
    font-size: 9px;
    letter-spacing: 0.6px;
  }

  .nb-bfStage__button {
    width: 100%;
    min-width: 0;
  }

  .nb-bfStage__icon {
    width: 40px;
    height: 40px;
    opacity: 0.55;
  }

  .nb-bfStage__icon--tag {
    top: 18px;
    left: 12px;
  }

  .nb-bfStage__icon--wheel {
    display: none;
  }

  .nb-bfStage__icon--box,
  .nb-bfStage__icon--bolt {
    display: none;
  }
}
