.ns-pack-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.ns-pack-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.ns-pack-tab.is-active {
  color: #f5f3ff;
  border-color: rgba(192, 132, 252, 0.55);
  background: rgba(124, 58, 237, 0.28);
}

.ns-pack-tab__badge {
  margin-left: 0.15rem;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: #f5c451;
  color: #241a02;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.ns-pack5 .ns-pack5-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.ns-pack5 .ns-pack5-head h1 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.45rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.ns-pack5 .ns-pack5-head h1 span {
  background: linear-gradient(90deg, #c084fc, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ns-pack5 .ns-pack5-head h1 svg {
  width: 1.7rem;
  height: 1.7rem;
  color: #c084fc;
}

.ns-pack5 .ns-pack5-head p {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.68);
}

.ns-pack5 .ns-pack5-head strong {
  color: #fff;
}

.ns-pack5-prize {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(192, 132, 252, 0.4);
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.22), rgba(124, 58, 237, 0.05));
}

.ns-pack5-prize[hidden] {
  display: none;
}

.ns-pack5-prize__icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  background: rgba(192, 132, 252, 0.18);
  color: #e9d5ff;
}

.ns-pack5-prize p {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8b4fe;
}

.ns-pack5-prize strong {
  display: block;
  color: #fff;
}

.ns-pack5-prize small {
  color: rgba(255, 255, 255, 0.55);
}

.ns-pack5-roleta {
  position: relative;
  margin-bottom: 1.25rem;
  padding: 1.6rem 1.2rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(147, 51, 234, 0.22), transparent 55%),
    radial-gradient(circle at 88% 100%, rgba(99, 102, 241, 0.14), transparent 50%),
    #100818;
}

.ns-pack5-roleta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

@media (min-width: 900px) {
  .ns-pack5-roleta {
    padding: 2rem 2.2rem;
  }
  .ns-pack5-roleta__inner {
    flex-direction: row;
    justify-content: center;
    gap: 2.6rem;
  }
}

.ns-pack5-stage {
  position: relative;
  width: min(340px, 82vw);
  height: min(340px, 82vw);
  flex: 0 0 auto;
}

.ns-pack5-rim {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #3b0764, #1e1033, #3b0764, #1e1033);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

.ns-pack5-rim i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: #d8b4fe;
  box-shadow: 0 0 8px rgba(216, 180, 254, 0.9);
}

.ns-pack5-wheel {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform: rotate(0deg);
}

.ns-pack5-wheel svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ns-pack5-pointer {
  position: absolute;
  top: 2px;
  left: 50%;
  width: 34px !important;
  height: 42px !important;
  max-width: 34px !important;
  max-height: 42px !important;
  transform: translateX(-50%);
  z-index: 4;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.55));
}

.ns-pack5-pointer svg {
  width: 34px !important;
  height: 42px !important;
  max-width: 34px !important;
  max-height: 42px !important;
  display: block !important;
}

.ns-pack5-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: 92px;
  height: 92px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.16);
  background: radial-gradient(circle at 50% 30%, #3b0764, #120818);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.35);
}

.ns-pack5-hub svg {
  width: 1rem;
  height: 1rem;
  color: #d8b4fe;
}

.ns-pack5-hub.is-ready {
  cursor: pointer;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.35), 0 0 24px rgba(168, 85, 247, 0.55);
}

.ns-pack5-hub:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

.ns-pack5-copy {
  max-width: 28rem;
}

.ns-pack5-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 196, 81, 0.3);
  background: rgba(245, 196, 81, 0.1);
  color: #f5c451;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ns-pack5-copy h2 {
  margin: 0 0 0.45rem;
  font-size: 1.7rem;
  font-weight: 900;
}

.ns-pack5-copy h2 span {
  color: #d8b4fe;
}

.ns-pack5-copy p {
  margin: 0 0 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

.ns-pack5-copy strong {
  color: #fff;
}

.ns-pack5-prizes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.ns-pack5-prize-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}

.ns-pack5-prize-item i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
}

.ns-pack5-prize-item.is-jackpot {
  border-color: rgba(245, 196, 81, 0.35);
  color: #f5c451;
}

.ns-pack5-status {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.62);
  font-size: 12.5px;
  line-height: 1.5;
}

.ns-pack5-status.is-won {
  border-color: rgba(245, 196, 81, 0.35);
  background: rgba(245, 196, 81, 0.07);
}

.ns-pack5-status__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
}

.ns-pack5-status.is-won .ns-pack5-status__icon {
  background: rgba(245, 196, 81, 0.15);
  color: #f5c451;
}

.ns-pack5-status svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0;
}

.ns-pack5-status strong {
  color: #f5c451;
}

.ns-pack5-cd {
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.04em;
}

.ns-pack5-lock {
  display: none;
}

.ns-pack5-roleta.is-locked .ns-pack5-lock {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1.2rem;
  text-align: center;
  background: rgba(10, 6, 18, 0.42);
}

.ns-pack5-roleta.is-locked .ns-pack5-roleta__inner {
  filter: blur(6px);
  opacity: 0.72;
  pointer-events: none;
}

.ns-pack5-lock__icon {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
}

.ns-pack5-lock__title {
  margin: 0.2rem 0 0;
  font-weight: 800;
  color: #fff;
}

.ns-pack5-lock__sub {
  margin: 0;
  max-width: 18rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
}

.ns-pack5-lock__btn {
  margin-top: 0.35rem;
  height: 2.5rem;
  padding: 0 1rem;
  border: 0;
  border-radius: 0.7rem;
  background: linear-gradient(180deg, #a855f7, #7c3aed);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ns-pack5-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 6;
}

.ns-pack5-confetti i {
  position: absolute;
  top: -12px;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  animation: ns-pack5-fall linear forwards;
}

@keyframes ns-pack5-fall {
  to { transform: translateY(380px) rotate(640deg); opacity: 0; }
}

.ns-pack5 [data-ns-combo-dock-msg] {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  font-weight: 600;
}

body.ns-pack5-bag-open {
  overflow: hidden;
}

.ns-pack5-bag {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: end center;
  background: rgba(16, 6, 28, 0.72);
  padding: 0.7rem;
}

.ns-pack5-bag[hidden] {
  display: none;
}

.ns-pack5-bag__panel {
  width: min(440px, 100%);
  max-height: min(90vh, 820px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(192, 132, 252, 0.28);
  background: linear-gradient(180deg, #1a1028 0%, #12081c 100%);
  box-shadow: 0 24px 80px rgba(76, 29, 149, 0.28);
}

.ns-pack5-bag__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1rem 0.75rem;
  flex-shrink: 0;
}

.ns-pack5-bag__head p {
  margin: 0;
  color: #c084fc;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ns-pack5-bag__head h3 {
  margin: 0.12rem 0 0;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 800;
}

.ns-pack5-bag__head button {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(192, 132, 252, 0.28);
  background: rgba(124, 58, 237, 0.12);
  color: #e9d5ff;
}

.ns-pack5-bag__list {
  display: grid;
  gap: 0.5rem;
  padding: 0 1rem 0.35rem;
  overflow: auto;
  min-height: 0;
  flex: 1 1 auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.7) transparent;
}

.ns-pack5-bag__list::-webkit-scrollbar {
  width: 6px;
}

.ns-pack5-bag__list::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.7);
  border-radius: 99px;
}

.ns-pack5-bag__item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 22px;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.ns-pack5-bag__item.is-prize {
  border-color: rgba(192, 132, 252, 0.45);
  background: rgba(124, 58, 237, 0.16);
}

.ns-pack5-bag__thumb {
  width: 52px;
  height: 68px;
  overflow: hidden;
  border-radius: 0.55rem;
  background: #2a1544;
}

.ns-pack5-bag__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ns-pack5-bag__thumb.is-gift {
  display: grid;
  place-items: center;
  height: 52px;
  background: rgba(168, 85, 247, 0.22);
  color: #e9d5ff;
}

.ns-pack5-bag__thumb.is-gift svg {
  width: 1.2rem !important;
  height: 1.2rem !important;
  max-width: 1.2rem !important;
}

.ns-pack5-bag__meta {
  min-width: 0;
}

.ns-pack5-bag__item p {
  margin: 0;
  color: #c084fc;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ns-pack5-bag__item strong {
  display: block;
  margin: 0.12rem 0 0;
  color: #fff;
  font-size: 0.86rem;
  line-height: 1.25;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ns-pack5-bag__item em {
  display: block;
  margin: 0.12rem 0 0;
  color: rgba(233, 213, 255, 0.72);
  font-size: 0.72rem;
  font-style: normal;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ns-pack5-bag__item b {
  display: block;
  margin-top: 0.2rem;
  color: #e9d5ff;
  font-size: 0.82rem;
  font-weight: 800;
}

.ns-pack5-bag__ok {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #a855f7;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.22);
}

.ns-pack5-bag__ok svg {
  width: 12px !important;
  height: 12px !important;
  max-width: 12px !important;
}

.ns-pack5-bag__ok.is-gold {
  background: #c084fc;
  box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.28);
}

.ns-pack5-bag__foot {
  flex-shrink: 0;
  padding: 0.75rem 1rem 1rem;
  background: linear-gradient(180deg, transparent, #12081c 18%);
}

.ns-pack5-bag__promo {
  margin: 0 0 0.85rem;
  padding: 0.8rem 0.85rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(192, 132, 252, 0.28);
  background: rgba(124, 58, 237, 0.14);
}

.ns-pack5-bag__promo > p {
  margin: 0 0 0.6rem;
  color: #d8b4fe;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ns-pack5-bag__promo ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.ns-pack5-bag__promo li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  line-height: 1.4;
}

.ns-pack5-bag__promo svg {
  width: 1rem !important;
  height: 1rem !important;
  max-width: 1rem !important;
  color: #c084fc;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.ns-pack5-bag__pay {
  width: 100%;
  min-height: 2.9rem;
  border: 0;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #c084fc, #7c3aed);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.ns-pack5-bag__pay svg {
  width: 1.05rem !important;
  height: 1.05rem !important;
  max-width: 1.05rem !important;
}

.ns-pack5-bag__keep {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  border: 0;
  background: transparent;
  color: rgba(233, 213, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
}

.ns-pack5-bag__keep:hover {
  color: #fff;
}

@media (min-width: 760px) {
  .ns-pack5-bag {
    place-items: center;
  }
}

@media (max-width: 760px) {
  .ns-pack-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .ns-pack-tab {
    justify-content: center;
    text-align: center;
  }
  .ns-pack5 .ns-pack5-head {
    flex-direction: column;
  }
}
