/* NovaSpin premium layer — extends main.css */

:root {
  --ns-gold: #ffc827;
  --ns-bg: #350b2d;
  --ns-panel: #2e0327;
  --ns-line: rgba(255, 200, 39, 0.2);
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--ns-line);
  color: var(--ns-gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(255, 200, 39, 0.08);
}

.header-actions {
  margin-left: 16px;
}

.header-balance {
  color: #1f1f23;
  background: linear-gradient(0deg, #ff9c19 40%, #ffdd2d 110%);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.menu li.active-page > a {
  color: var(--ns-gold);
}

.premium-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.premium-footer .footer-links a {
  color: rgba(255, 255, 255, 0.7);
  display: inline-block;
  padding: 4px 0;
}

.premium-footer .footer-links a:hover {
  color: var(--ns-gold);
}

.payment-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pay-chip {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.2);
}

.scrollToTop {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(0deg, #ff9c19 40%, #ffdd2d 110%);
  color: #1f1f23;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99;
  cursor: pointer;
}

.scrollToTop.active {
  display: flex;
}

.ns-modal[hidden],
.cookie-bar[hidden] {
  display: none !important;
}

.ns-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 2, 8, 0.82);
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.ns-modal__card {
  width: min(440px, 100%);
  background: var(--ns-panel);
  border: 1px solid var(--ns-line);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  color: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1900;
  background: #1a0616;
  border: 1px solid var(--ns-line);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.85);
}

.ns-toast-host {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ns-toast {
  min-width: 220px;
  max-width: 340px;
  padding: 12px 14px;
  border-radius: 10px;
  color: #1f1f23;
  background: #ffc827;
  opacity: 0;
  transform: translateY(-8px);
  transition: 0.25s ease;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.ns-toast.warn {
  background: #ff9f43;
}

.ns-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.winners-ticker {
  overflow: hidden;
  border-block: 1px solid var(--ns-line);
  background: rgba(0, 0, 0, 0.2);
}

.ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: ticker 28s linear infinite;
  padding: 12px 0;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.ticker-item img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--ns-panel);
  border: 1px solid var(--ns-line);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 28px;
  color: var(--ns-gold);
  margin-bottom: 4px;
}

.promo-card {
  background: linear-gradient(160deg, rgba(255, 200, 39, 0.12), rgba(46, 3, 39, 0.95));
  border: 1px solid var(--ns-line);
  border-radius: 14px;
  padding: 22px;
  color: rgba(255, 255, 255, 0.85);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(255, 82, 1, 0.18);
}

.promo-card h4 {
  color: #fff;
  margin-bottom: 8px;
}

.game-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--ns-gold);
  color: #1f1f23;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.game-item__thumb {
  position: relative;
}

.games-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.games-toolbar .form--control,
.games-toolbar select {
  background: var(--ns-panel);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  min-width: 160px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.status-pill.completed,
.status-pill.win,
.status-pill.verified,
.status-pill.resolved,
.status-pill.live {
  background: rgba(24, 211, 158, 0.2);
  color: #18d39e;
}

.status-pill.pending,
.status-pill.upcoming {
  background: rgba(255, 200, 39, 0.18);
  color: #ffc827;
}

.status-pill.loss,
.status-pill.open {
  background: rgba(255, 82, 1, 0.18);
  color: #ff9f43;
}

.dashboard-shell {
  background: #24061f;
}

.dashboard-shell .custom--card,
.ns-panel {
  background: var(--ns-panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.table-darkish {
  width: 100%;
  border-collapse: collapse;
}

.table-darkish th,
.table-darkish td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.table-darkish th {
  color: var(--ns-gold);
  font-weight: 600;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.15);
}

.ticket-row span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.coins-wrapper {
  transition: transform 0.9s ease;
  transform-style: preserve-3d;
}

.coins-wrapper.flip-head {
  transform: rotateY(720deg);
}

.coins-wrapper.flip-tail {
  transform: rotateY(900deg);
}

.game-play-panel {
  background: var(--ns-panel);
  border: 1px solid var(--ns-line);
  border-radius: 16px;
  padding: 24px;
}

.dice-display,
.roulette-display,
.cards-display {
  min-height: 160px;
  display: grid;
  place-items: center;
  font-size: 64px;
  font-weight: 700;
  color: var(--ns-gold);
  margin-bottom: 16px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

.roulette-num {
  display: inline-grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  font-size: 32px;
  color: #fff;
}

.roulette-num.red {
  background: #c62828;
}

.roulette-num.black {
  background: #222;
}

.roulette-num.green {
  background: #2e7d32;
}

.cards-display {
  display: flex;
  gap: 24px;
  font-size: 42px;
}

.card-box {
  width: 90px;
  height: 120px;
  border-radius: 10px;
  background: #fff;
  color: #1f1f23;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.gap-2 {
  gap: 0.5rem;
}

@media (max-width: 991px) {
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-actions {
    display: none !important;
  }
}

@media (max-width: 575px) {
  .stats-strip {
    grid-template-columns: 1fr;
  }
}
