/* ==========================================================================
   BITCHAIN PRO X — NON-WORKING INCOME (30% 8-LEVEL POOL SYSTEM) CSS
   Dark Luxury Theme, Glowing 5-User Progress Rings, Animated Prize Badges
   ========================================================================== */

@keyframes shimmerSweep {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(200%) rotate(45deg); }
}

@keyframes pulsePrize {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(0, 245, 212, 0.4)); }
  50% { transform: scale(1.02); filter: drop-shadow(0 0 20px rgba(0, 245, 212, 0.8)); }
}

@keyframes glowBorder {
  0%, 100% { border-color: rgba(199, 125, 255, 0.3); }
  50% { border-color: rgba(0, 245, 212, 0.6); }
}

.nw-page-container {
  max-width: 1200px;
  margin: 24px auto 60px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

/* ── Top Header Card ── */
.nw-header-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(26, 5, 51, 0.95) 0%, rgba(13, 0, 26, 0.98) 100%);
  border: 1px solid rgba(199, 125, 255, 0.3);
  border-radius: 20px;
  padding: 26px 34px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(157, 78, 221, 0.15);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.nw-header-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 40%, rgba(255,255,255,0.03) 45%, rgba(199,125,255,0.08) 50%, rgba(0,245,212,0.03) 55%, transparent 60%);
  animation: shimmerSweep 8s linear infinite;
  pointer-events: none;
}

.nw-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nw-main-title {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #e0aaff 60%, #00f5d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 6px 0 2px;
}

.nw-sub-title {
  font-size: 0.85rem;
  color: rgba(224, 170, 255, 0.7);
  margin: 0;
}

/* ── Top Metric Stats Row ── */
.nw-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.nw-stat-card {
  background: linear-gradient(135deg, rgba(30, 8, 55, 0.85) 0%, rgba(16, 0, 32, 0.9) 100%);
  border: 1px solid rgba(199, 125, 255, 0.22);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nw-stat-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(224, 170, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nw-stat-value {
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.nw-stat-value.green { color: #00f5d4; text-shadow: 0 0 10px rgba(0,245,212,0.4); }
.nw-stat-value.purple { color: #c77dff; }
.nw-stat-value.gold { color: #ffd166; }

.nw-stat-hint {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ── Level Selector Tabs ── */
.nw-level-tabs-wrap {
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.nw-level-tabs {
  display: flex;
  gap: 10px;
  min-width: max-content;
}

.nw-level-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(199, 125, 255, 0.2);
  border-radius: 12px;
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.nw-level-tab:hover {
  background: rgba(199, 125, 255, 0.12);
  border-color: rgba(199, 125, 255, 0.4);
  color: #ffffff;
}

.nw-level-tab.active {
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.35) 0%, rgba(0, 245, 212, 0.2) 100%);
  border-color: #00f5d4;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(0, 245, 212, 0.25);
}

.nw-level-tab.locked {
  opacity: 0.65;
}

.nw-level-tab .tab-icon {
  font-size: 1.1rem;
}

.nw-level-tab .tab-badge {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 800;
}

.tab-badge.unlocked { background: rgba(0,245,212,0.2); color: #00f5d4; }
.tab-badge.locked { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); }

/* ── Main Active Pool Showcase Card ── */
.nw-active-pool-card {
  background: linear-gradient(135deg, rgba(28, 6, 52, 0.95) 0%, rgba(12, 0, 24, 0.98) 100%);
  border: 1px solid rgba(0, 245, 212, 0.4);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 245, 212, 0.12);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.nw-pool-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}

.nw-pool-level-tag {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nw-level-icon-lg {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5a189a, #9d4edd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(157, 78, 221, 0.4);
}

.nw-pool-title-text {
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
}

.nw-pool-subtitle-text {
  font-size: 0.78rem;
  color: rgba(224, 170, 255, 0.7);
}

.nw-pool-status-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nw-pool-status-badge.active {
  background: rgba(0, 245, 212, 0.15);
  color: #00f5d4;
  border: 1px solid rgba(0, 245, 212, 0.5);
  box-shadow: 0 0 12px rgba(0, 245, 212, 0.2);
}

.nw-pool-status-badge.completed {
  background: rgba(0, 200, 83, 0.2);
  color: #00ff88;
  border: 1px solid rgba(0, 200, 83, 0.5);
}

/* ── Prize Display Box ── */
.nw-prize-hero-box {
  background: radial-gradient(circle at center, rgba(157, 78, 221, 0.25) 0%, rgba(0, 0, 0, 0.4) 100%);
  border: 1px solid rgba(199, 125, 255, 0.25);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  margin-bottom: 26px;
  position: relative;
}

.nw-prize-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #e0aaff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.nw-prize-amount {
  font-size: 2.5rem;
  font-weight: 900;
  color: #00f5d4;
  text-shadow: 0 0 20px rgba(0, 245, 212, 0.6);
  line-height: 1.1;
  margin: 6px 0;
  animation: pulsePrize 3s ease-in-out infinite;
}

.nw-prize-formula {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* ── 5-Member Slot Track ── */
.nw-slots-section {
  margin-bottom: 24px;
}

.nw-slots-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #e0aaff;
  font-weight: 700;
  margin-bottom: 12px;
}

.nw-slots-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.nw-slot-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(199, 125, 255, 0.3);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.nw-slot-card.filled {
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.25) 0%, rgba(0, 245, 212, 0.1) 100%);
  border: 1px solid #00f5d4;
  box-shadow: 0 4px 16px rgba(0, 245, 212, 0.15);
}

.nw-slot-card.is-me {
  border: 2px solid #00f5d4 !important;
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.25) 0%, rgba(157, 78, 221, 0.35) 100%) !important;
  box-shadow: 0 0 22px rgba(0, 245, 212, 0.4) !important;
}

.nw-slot-badge-you {
  position: absolute;
  top: -8px;
  right: 8px;
  background: #00f5d4;
  color: #000;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 245, 212, 0.5);
}

.nw-slot-card.winner {
  border-color: #ffd166;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.2) 0%, rgba(157, 78, 221, 0.2) 100%);
}

.nw-slot-badge-winner {
  position: absolute;
  top: -8px;
  background: #ffd166;
  color: #000;
  font-size: 0.6rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 6px;
  text-transform: uppercase;
}

.nw-slot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  border: 2px solid rgba(199, 125, 255, 0.4);
}

.nw-slot-card.filled .nw-slot-avatar {
  border-color: #00f5d4;
  background: linear-gradient(135deg, #7b2cbf, #00f5d4);
}

.nw-slot-seq {
  font-size: 0.7rem;
  font-weight: 800;
  color: #c77dff;
}

.nw-slot-user {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nw-slot-contrib {
  font-size: 0.68rem;
  color: #00f5d4;
  font-weight: 700;
}

.nw-slot-empty-text {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

/* ── Progress Bar ── */
.nw-progress-bar-wrap {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 14px;
}

.nw-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #9d4edd 0%, #00f5d4 100%);
  border-radius: 10px;
  transition: width 0.5s ease;
  box-shadow: 0 0 10px #00f5d4;
}

/* ── Designated Winner / Recipient Announcement Box ── */
.nw-winner-banner {
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.1) 0%, rgba(157, 78, 221, 0.15) 100%);
  border: 1px solid rgba(255, 209, 102, 0.4);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ── All Members Sequence Toggle & Drawer ── */
.nw-all-members-toggle-wrap {
  margin-top: 18px;
  text-align: center;
}

.btn-toggle-all-members {
  background: rgba(199, 125, 255, 0.1);
  border: 1px solid rgba(199, 125, 255, 0.35);
  color: #e0aaff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
  user-select: none;
}

.btn-toggle-all-members:hover {
  background: rgba(0, 245, 212, 0.15);
  border-color: #00f5d4;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(0, 245, 212, 0.25);
}

.toggle-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.75rem;
}

.btn-toggle-all-members.open .toggle-arrow {
  transform: rotate(180deg);
}

.nw-all-members-drawer {
  background: rgba(15, 2, 28, 0.95);
  border: 1px solid rgba(199, 125, 255, 0.3);
  border-radius: 16px;
  margin-top: 14px;
  padding: 18px 20px;
  animation: cardEntrance 0.3s ease-out;
}

.nw-all-members-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.nw-all-members-header h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.nw-seq-search-input {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(199, 125, 255, 0.25);
  border-radius: 8px;
  padding: 6px 12px;
  color: #ffffff;
  font-size: 0.75rem;
  outline: none;
  min-width: 200px;
}

.nw-seq-search-input:focus {
  border-color: #00f5d4;
}

.nw-seq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.nw-seq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  position: relative;
}

.nw-seq-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(199, 125, 255, 0.3);
}

.nw-seq-item.is-me {
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.15) 0%, rgba(157, 78, 221, 0.25) 100%) !important;
  border: 2px solid #00f5d4 !important;
  box-shadow: 0 0 16px rgba(0, 245, 212, 0.3) !important;
}

.nw-seq-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nw-seq-num-badge {
  background: rgba(199, 125, 255, 0.2);
  color: #c77dff;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 8px;
  min-width: 32px;
  text-align: center;
}

.nw-seq-item.is-me .nw-seq-num-badge {
  background: #00f5d4;
  color: #000;
}

/* ── Was-Moved (skipped due to missing directs) ─────────────────── */
.nw-seq-item.was-moved {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(180, 60, 60, 0.12) 100%);
  border: 1.5px dashed rgba(245, 158, 11, 0.5);
  opacity: 0.85;
}

.nw-seq-item.was-moved .nw-seq-num-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.nw-moved-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(245, 158, 11, 0.18);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 6px;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 7px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.nw-seq-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nw-seq-user-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nw-seq-user-details {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}

.nw-seq-item-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nw-seq-contrib-val {
  font-size: 0.85rem;
  font-weight: 900;
  color: #00f5d4;
}

.nw-seq-pool-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffd166;
}

.nw-winner-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nw-winner-icon {
  font-size: 1.5rem;
}

.nw-winner-label {
  font-size: 0.72rem;
  color: #ffd166;
  font-weight: 700;
  text-transform: uppercase;
}

.nw-winner-name {
  font-size: 0.95rem;
  font-weight: 900;
  color: #ffffff;
}

.nw-user-pos-tag {
  background: rgba(0, 245, 212, 0.15);
  border: 1px solid rgba(0, 245, 212, 0.4);
  color: #00f5d4;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
}

/* ── Locked Pool Overlay ── */
.nw-locked-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 0, 20, 0.88);
  backdrop-filter: blur(10px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
}

.nw-locked-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 15px rgba(199, 125, 255, 0.5));
}

.nw-locked-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 6px;
}

.nw-locked-desc {
  font-size: 0.85rem;
  color: rgba(224, 170, 255, 0.75);
  max-width: 450px;
  margin-bottom: 18px;
}

.btn-unlock-rank {
  background: linear-gradient(135deg, #06d6a0 0%, #00f5d4 100%);
  color: #000;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 10px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 245, 212, 0.4);
  transition: transform 0.2s ease;
}

.btn-unlock-rank:hover {
  transform: translateY(-2px);
}

/* ── 8-Level Overview Grid ── */
.nw-levels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.nw-mini-level-card {
  background: linear-gradient(135deg, rgba(26, 6, 48, 0.9) 0%, rgba(14, 0, 28, 0.95) 100%);
  border: 1px solid rgba(199, 125, 255, 0.2);
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.nw-mini-level-card:hover {
  border-color: rgba(0, 245, 212, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.nw-mini-level-card.active {
  border-color: #00f5d4;
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.25);
}

.nw-mini-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.nw-mini-card-name {
  font-weight: 800;
  font-size: 0.9rem;
  color: #ffffff;
}

.nw-mini-card-price {
  font-size: 0.75rem;
  color: #c77dff;
  font-weight: 700;
}

.nw-mini-card-prize {
  font-size: 1.1rem;
  font-weight: 900;
  color: #00f5d4;
  margin: 4px 0;
}

.nw-mini-card-status {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Tables: Achievers & Completed Pools ── */
.nw-tables-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.nw-table-card {
  background: linear-gradient(135deg, rgba(26, 6, 48, 0.95) 0%, rgba(12, 0, 24, 0.98) 100%);
  border: 1px solid rgba(199, 125, 255, 0.22);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nw-table-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nw-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.nw-table th {
  text-align: left;
  padding: 10px 8px;
  color: rgba(224, 170, 255, 0.6);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nw-table td {
  padding: 10px 8px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nw-seq-badge {
  display: inline-block;
  background: rgba(199, 125, 255, 0.15);
  color: #c77dff;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.72rem;
}

.nw-empty-state {
  text-align: center;
  padding: 30px 10px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
}

/* ── 2 Directs Requirement Card ── */
.nw-req-card {
  background: linear-gradient(135deg, rgba(30, 8, 58, 0.95) 0%, rgba(14, 0, 30, 0.98) 100%);
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: 18px;
  padding: 22px 28px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 209, 102, 0.08);
  position: relative;
  overflow: hidden;
}

.nw-req-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.nw-req-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nw-req-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.2), rgba(157, 78, 221, 0.3));
  border: 1px solid rgba(255, 209, 102, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.nw-req-heading {
  font-size: 1.08rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
}

.nw-req-subtext {
  font-size: 0.78rem;
  color: rgba(224, 170, 255, 0.75);
  margin: 2px 0 0;
}

.nw-req-status-pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nw-req-status-pill.qualified {
  background: rgba(0, 245, 212, 0.15);
  color: #00f5d4;
  border: 1px solid rgba(0, 245, 212, 0.5);
  box-shadow: 0 0 12px rgba(0, 245, 212, 0.2);
}

.nw-req-status-pill.pending {
  background: rgba(255, 209, 102, 0.15);
  color: #ffd166;
  border: 1px solid rgba(255, 209, 102, 0.5);
}

.nw-req-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.nw-req-slot {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(199, 125, 255, 0.25);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nw-req-slot.active {
  background: rgba(0, 245, 212, 0.08);
  border: 1px solid rgba(0, 245, 212, 0.4);
}

.nw-req-slot-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nw-req-slot-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
}

.nw-req-slot.active .nw-req-slot-avatar {
  background: linear-gradient(135deg, #7b2cbf, #00f5d4);
  color: #fff;
}

.nw-req-slot-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
}

.nw-req-slot-status {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}

.nw-req-slot.active .nw-req-slot-status {
  color: #00f5d4;
  font-weight: 700;
}

.nw-req-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nw-ref-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.nw-ref-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffd166;
}

.nw-ref-link-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(199, 125, 255, 0.3);
  border-radius: 12px;
  padding: 6px 8px 6px 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.nw-ref-link-box:focus-within {
  border-color: #00f5d4;
}

.nw-ref-input {
  background: transparent;
  border: none;
  color: #e0aaff;
  font-size: 0.8rem;
  font-weight: 600;
  flex: 1;
  min-width: 0;
  outline: none;
  font-family: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-copy-ref {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.35) 0%, rgba(0, 245, 212, 0.25) 100%);
  border: 1px solid rgba(0, 245, 212, 0.4);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.btn-copy-ref:hover {
  background: #00f5d4;
  color: #000;
  border-color: #00f5d4;
  box-shadow: 0 0 12px rgba(0, 245, 212, 0.4);
}

.btn-claim-reward {
  background: linear-gradient(135deg, #00f5d4 0%, #06d6a0 100%);
  color: #000;
  font-weight: 900;
  font-size: 0.82rem;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 245, 212, 0.35);
  transition: all 0.2s ease;
  width: 100%;
  text-align: center;
}

.btn-claim-reward:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 245, 212, 0.6);
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .nw-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nw-levels-grid { grid-template-columns: repeat(2, 1fr); }
  .nw-tables-container { grid-template-columns: 1fr; }
  .nw-req-slots-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nw-header-card { flex-direction: column; align-items: flex-start; gap: 14px; }
  .nw-slots-row { grid-template-columns: 1fr; gap: 8px; }
  .nw-slot-card { flex-direction: row; justify-content: space-between; padding: 10px 14px; }
  .nw-slot-user { max-width: none; }
  .nw-req-card { padding: 16px 18px; }
  .nw-ref-link-box { padding: 6px 6px 6px 12px; }
  .btn-copy-ref { padding: 7px 12px; font-size: 0.74rem; }
}

@media (max-width: 480px) {
  .nw-ref-link-box {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 12px;
    gap: 8px;
  }
  .nw-ref-input {
    font-size: 0.74rem;
    padding: 4px 0;
  }
  .btn-copy-ref {
    width: 100%;
    justify-content: center;
    padding: 8px 12px;
  }
}

/* ══════════════════════════════════════════════════════════════
   DIRECTS REQUIREMENT GATE
   ══════════════════════════════════════════════════════════════ */
.nw-directs-gate {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 16px;
  margin: 16px 0 24px;
}

.nw-gate-inner {
  background: linear-gradient(135deg, rgba(20,10,40,0.98) 0%, rgba(30,15,60,0.98) 100%);
  border: 2px solid rgba(199,125,255,0.3);
  border-radius: 20px;
  padding: 36px 32px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 40px rgba(157,78,221,0.2);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.nw-gate-icon {
  font-size: 3rem;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(199,125,255,0.5));
}

.nw-gate-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.nw-gate-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.nw-gate-desc strong {
  color: #c77dff;
}

/* Progress bar */
.nw-gate-progress {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.nw-gate-prog-bar {
  width: 100%;
  height: 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
}

.nw-gate-prog-fill {
  height: 100%;
  background: linear-gradient(90deg, #9d4edd, #c77dff);
  border-radius: 99px;
  transition: width 0.6s ease;
  min-width: 4px;
}

.nw-gate-prog-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}

/* Steps checklist */
.nw-gate-steps {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.nw-gate-step {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}

.nw-gate-step.done {
  background: rgba(0,245,212,0.1);
  border-color: rgba(0,245,212,0.4);
  color: #00f5d4;
}

/* Referral box */
.nw-gate-ref-box {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(199,125,255,0.2);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nw-gate-ref-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nw-gate-ref-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nw-gate-ref-input {
  flex: 1;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(199,125,255,0.25);
  border-radius: 8px;
  padding: 8px 10px;
  color: #c77dff;
  font-size: 0.78rem;
  outline: none;
  font-family: monospace;
}

.nw-gate-copy-btn {
  background: linear-gradient(135deg, #9d4edd, #c77dff);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.nw-gate-copy-btn:hover { opacity: 0.85; }

/* Note text */
.nw-gate-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 8px;
  padding: 10px 14px;
}

@media (max-width: 480px) {
  .nw-gate-inner { padding: 24px 16px; }
  .nw-gate-ref-row { flex-direction: column; }
  .nw-gate-copy-btn { width: 100%; }
}

/* --------------------------------------------------------------
   CLAIM CARDS — Pool Prize Claim Section
   -------------------------------------------------------------- */
.nw-claims-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.nw-claims-heading {
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.nw-claim-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 14px;
  flex-wrap: wrap;
}

.nw-claim-card.qualified {
  background: linear-gradient(135deg, rgba(0,245,212,0.08) 0%, rgba(157,78,221,0.15) 100%);
  border: 2px solid rgba(0,245,212,0.5);
  box-shadow: 0 0 20px rgba(0,245,212,0.15);
}

.nw-claim-card.locked {
  background: rgba(255,255,255,0.03);
  border: 1.5px dashed rgba(255,209,102,0.35);
}

.nw-claim-card-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nw-claim-badge {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
}

.nw-claim-level {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}

.nw-claim-amount {
  font-size: 1.3rem;
  font-weight: 900;
  color: #00f5d4;
}

.nw-claim-card.locked .nw-claim-amount {
  color: #ffd166;
}

.btn-claim-reward {
  background: linear-gradient(135deg, #00f5d4, #00c4a8);
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: opacity 0.2s, transform 0.1s;
  white-space: nowrap;
}

.btn-claim-reward:hover:not(:disabled) {
  opacity: 0.9;
  transform: scale(1.02);
}

.btn-claim-reward:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.nw-claim-locked-msg {
  font-size: 0.78rem;
  color: #ffd166;
  font-weight: 700;
  padding: 8px 14px;
  background: rgba(255,209,102,0.08);
  border-radius: 8px;
  border: 1px solid rgba(255,209,102,0.25);
}

@media (max-width: 480px) {
  .nw-claim-card { flex-direction: column; align-items: flex-start; }
  .btn-claim-reward { width: 100%; text-align: center; }
}

/* --------------------------------------------------------------
   CLAIM HERO CARD (Prominent Green Claim Banner inside Active Pool Showcase Card)
   -------------------------------------------------------------- */
.nw-claim-hero-card {
  margin: 16px 0;
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.15) 0%, rgba(157, 78, 221, 0.25) 100%);
  border: 2.5px solid #00f5d4;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 0 35px rgba(0, 245, 212, 0.25);
  animation: pulseGlowHero 3s infinite ease-in-out;
  flex-wrap: wrap;
}

@keyframes pulseGlowHero {
  0%, 100% { box-shadow: 0 0 25px rgba(0, 245, 212, 0.2); border-color: #00f5d4; }
  50% { box-shadow: 0 0 45px rgba(0, 245, 212, 0.45); border-color: #7000ff; }
}

.nw-claim-hero-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nw-claim-hero-badge {
  display: inline-block;
  background: rgba(0, 245, 212, 0.2);
  color: #00f5d4;
  border: 1px solid rgba(0, 245, 212, 0.5);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  width: fit-content;
}

.nw-claim-hero-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.nw-claim-hero-title strong {
  color: #00f5d4;
  font-size: 1.4rem;
}

.nw-claim-hero-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.btn-claim-reward-hero {
  background: linear-gradient(135deg, #00f5d4 0%, #00c4a8 100%);
  color: #000000;
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.4);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-claim-reward-hero:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 30px rgba(0, 245, 212, 0.7);
  background: #00f5d4;
}

.btn-claim-reward-hero:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .nw-claim-hero-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .btn-claim-reward-hero {
    width: 100%;
  }
}
