*,*::before,*::after{box-sizing:border-box}

body {
  margin: 0;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  background: #0a0a0f;
  -webkit-font-smoothing: antialiased;
}

a, a:hover { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nd-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  background: transparent;
  transition: background .4s, box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}

.nd-nav.scrolled {
  background: rgba(10,10,15,.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0,0,0,.4);
  border-bottom-color: rgba(255,255,255,.06);
}

.nd-nav-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nd-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nd-nav-brand img { height: 32px; width: auto; }

.nd-nav-brand-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff;
}

.nd-nav-brand-text em { font-style: normal; color: #fe237c; }

.nd-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nd-nav-link {
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  transition: all .25s;
  white-space: nowrap;
}

.nd-nav-link:hover, .nd-nav-link.active { color: #fff; background: rgba(255,255,255,.06); }
.nd-nav-link.active { color: #fe237c; }

/* --- Navbar dropdown --- */
.nd-nav-dropdown {
  position: relative;
}

.nd-nav-dropdown-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nd-nav-dropdown-toggle svg {
  transition: transform .25s;
  opacity: .5;
}

.nd-nav-dropdown:hover .nd-nav-dropdown-toggle svg {
  transform: rotate(180deg);
  opacity: 1;
}

.nd-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 200px;
  background: rgba(16,16,22,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 100;
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}

.nd-nav-dropdown:hover .nd-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nd-nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  background: none;
  border: none;
  cursor: pointer;
  transition: all .2s;
  text-align: left;
  white-space: nowrap;
}

.nd-nav-dropdown-item svg {
  flex-shrink: 0;
  opacity: .4;
  transition: opacity .2s;
}

.nd-nav-dropdown-item:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}

.nd-nav-dropdown-item:hover svg { opacity: .8; }

.nd-nav-dropdown-item.active {
  color: #fe237c;
}

.nd-nav-dropdown-item.active svg { stroke: #fe237c; opacity: .8; }

.nd-nav-dropdown-divider {
  height: 1px;
  margin: 4px 10px;
  background: rgba(255,255,255,.06);
}

.nd-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nd-nav-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  transition: all .25s;
  cursor: pointer;
  white-space: nowrap;
  height: 36px;
}

.nd-nav-pill:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.1); }
.nd-nav-pill img { height: 16px; width: auto; }
.nd-nav-pill .nd-flag { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; }

.nd-nav-balance {
  background: linear-gradient(135deg, rgba(254,35,124,.15), rgba(254,35,124,.05));
  border: 1px solid rgba(254,35,124,.2);
}
.nd-nav-balance:hover {
  background: linear-gradient(135deg, rgba(254,35,124,.25), rgba(254,35,124,.1));
  border-color: rgba(254,35,124,.35);
}
.nd-nav-balance .nd-plus {
  width: 20px; height: 20px; border-radius: 6px; background: #fe237c;
  display: flex; align-items: center; justify-content: center; margin-left: 4px;
}
.nd-nav-balance .nd-plus svg { width: 12px; height: 12px; }

.nd-nav-user {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 8px 4px 14px; border-radius: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.06);
  cursor: pointer; transition: all .25s; height: 36px;
}
.nd-nav-user:hover { background: rgba(255,255,255,.1); }
.nd-nav-user span { font-size: 13px; font-weight: 500; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.nd-nav-avatar { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; }

.numero-do-nivel {
  height: 40px;
  width: 40px;
  background-size: 100%;
  background-position: 0px 0%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.nd-nav-nivel {
  height: 28px;
  width: 28px;
  font-size: 10px;
}

.numero-do-nivel[nivel="0"] { border: 2px solid #9b9b9b; border-radius: 50%; }
.numero-do-nivel[nivel="10"] { border: 2px solid #c02942; border-radius: 50%; }
.numero-do-nivel[nivel="20"] { border: 2px solid #d95b43; border-radius: 50%; }
.numero-do-nivel[nivel="30"] { border: 2px solid #fecc23; border-radius: 50%; }
.numero-do-nivel[nivel="40"] { border: 2px solid #467a3c; border-radius: 50%; }
.numero-do-nivel[nivel="50"] { border: 2px solid #4e8ddb; border-radius: 50%; }
.numero-do-nivel[nivel="60"] { border: 2px solid #7652c9; border-radius: 50%; }
.numero-do-nivel[nivel="70"] { border: 2px solid #c252c9; border-radius: 50%; }
.numero-do-nivel[nivel="80"] { border: 2px solid #542437; border-radius: 50%; }
.numero-do-nivel[nivel="90"] { border: 2px solid #997c52; border-radius: 50%; }

.numero-do-nivel[nivel="100"] { background-image: url(/assets/images/100.png); background-position: 0px 0%; }
.numero-do-nivel[nivel="110"] { background-image: url(/assets/images/100.png); background-position: 0px -100%; }
.numero-do-nivel[nivel="120"] { background-image: url(/assets/images/100.png); background-position: 0px -200%; }
.numero-do-nivel[nivel="130"] { background-image: url(/assets/images/100.png); background-position: 0px -300%; }
.numero-do-nivel[nivel="140"] { background-image: url(/assets/images/100.png); background-position: 0px -400%; }
.numero-do-nivel[nivel="150"] { background-image: url(/assets/images/100.png); background-position: 0px -500%; }
.numero-do-nivel[nivel="160"] { background-image: url(/assets/images/100.png); background-position: 0px -600%; }
.numero-do-nivel[nivel="170"] { background-image: url(/assets/images/100.png); background-position: 0px -700%; }
.numero-do-nivel[nivel="180"] { background-image: url(/assets/images/100.png); background-position: 0px -800%; }
.numero-do-nivel[nivel="190"] { background-image: url(/assets/images/100.png); background-position: 0px -900%; }

.numero-do-nivel[nivel="200"] { background-image: url(/assets/images/200.png); background-position: 0px 0%; }
.numero-do-nivel[nivel="210"] { background-image: url(/assets/images/200.png); background-position: 0px -100%; }
.numero-do-nivel[nivel="220"] { background-image: url(/assets/images/200.png); background-position: 0px -200%; }
.numero-do-nivel[nivel="230"] { background-image: url(/assets/images/200.png); background-position: 0px -300%; }
.numero-do-nivel[nivel="240"] { background-image: url(/assets/images/200.png); background-position: 0px -400%; }
.numero-do-nivel[nivel="250"] { background-image: url(/assets/images/200.png); background-position: 0px -500%; }
.numero-do-nivel[nivel="260"] { background-image: url(/assets/images/200.png); background-position: 0px -600%; }
.numero-do-nivel[nivel="270"] { background-image: url(/assets/images/200.png); background-position: 0px -700%; }
.numero-do-nivel[nivel="280"] { background-image: url(/assets/images/200.png); background-position: 0px -800%; }
.numero-do-nivel[nivel="290"] { background-image: url(/assets/images/200.png); background-position: 0px -900%; }

.numero-do-nivel[nivel="300"] { background-image: url(/assets/images/300.png); background-position: 0px 0%; }
.numero-do-nivel[nivel="310"] { background-image: url(/assets/images/300.png); background-position: 0px -100%; }
.numero-do-nivel[nivel="320"] { background-image: url(/assets/images/300.png); background-position: 0px -200%; }
.numero-do-nivel[nivel="330"] { background-image: url(/assets/images/300.png); background-position: 0px -300%; }
.numero-do-nivel[nivel="340"] { background-image: url(/assets/images/300.png); background-position: 0px -400%; }
.numero-do-nivel[nivel="350"] { background-image: url(/assets/images/300.png); background-position: 0px -500%; }
.numero-do-nivel[nivel="360"] { background-image: url(/assets/images/300.png); background-position: 0px -600%; }
.numero-do-nivel[nivel="370"] { background-image: url(/assets/images/300.png); background-position: 0px -700%; }
.numero-do-nivel[nivel="380"] { background-image: url(/assets/images/300.png); background-position: 0px -800%; }
.numero-do-nivel[nivel="390"] { background-image: url(/assets/images/300.png); background-position: 0px -900%; }

#bots .d-flex .numero-do-nivel { margin-right: 7.5px; height: 30px !important; width: 30px !important; }
.user .numero-do-nivel { margin-right: 7.5px; height: 30px; width: 30px; margin: 0px 15px; }

.nd-nav-login {
  padding: 8px 20px; border-radius: 10px;
  background: linear-gradient(135deg, #fe237c, #d41a68);
  color: #fff; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  transition: all .3s; height: 36px; white-space: nowrap;
}
.nd-nav-login:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(254,35,124,.4); }
.nd-nav-login img { height: 16px; width: auto; filter: brightness(0) invert(1); }

.nd-nav-logout {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.06); transition: all .25s;
}
.nd-nav-logout:hover { background: rgba(220,53,69,.15); }
.nd-nav-logout img { height: 16px; width: auto; filter: invert(.7); }

.nd-nav-toggle {
  display: none; width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.06); border: none; cursor: pointer;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.nd-nav-toggle span {
  display: block; width: 18px; height: 2px; background: #fff;
  border-radius: 2px; transition: all .3s; position: relative;
}
.nd-nav-toggle span::before, .nd-nav-toggle span::after {
  content: ""; position: absolute; width: 18px; height: 2px;
  background: #fff; border-radius: 2px; transition: all .3s; left: 0;
}
.nd-nav-toggle span::before { top: -6px; }
.nd-nav-toggle span::after { top: 6px; }

.nd-nav-mobile-menu { display: none; }

@media (max-width: 991px) {
  .nd-nav { padding: 0 16px; }
  .nd-nav-links, .nd-nav-actions { display: none; }
  .nd-nav-toggle { display: flex; }
  .nd-nav-mobile-menu {
    display: none; position: fixed; top: 72px; right: 0;
    width: 100%; max-width: 380px; height: calc(100vh - 72px);
    background: rgba(10,10,15,.97); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
    z-index: 9998; padding: 24px; overflow-y: auto;
    transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
    border-left: 1px solid rgba(255,255,255,.06);
  }
  .nd-nav-mobile-menu.open { display: block; transform: translateX(0); }
  .nd-mobile-links { list-style: none; padding: 0; margin: 0 0 24px; }
  .nd-mobile-links a {
    display: block; padding: 14px 0; font-size: 16px; font-weight: 500;
    color: rgba(255,255,255,.7); border-bottom: 1px solid rgba(255,255,255,.06); transition: color .2s;
  }
  .nd-mobile-links a:hover, .nd-mobile-links a.active { color: #fe237c; }
  .nd-mobile-divider { height: 1px; background: rgba(254,35,124,.1); margin: 8px 0; list-style: none; }
  .nd-mobile-redeem {
    display: block; width: 100%; padding: 14px 0; font-size: 16px; font-weight: 500;
    color: rgba(255,255,255,.7); border: none; background: none; text-align: left;
    border-bottom: 1px solid rgba(255,255,255,.06); cursor: pointer; transition: color .2s;
  }
  .nd-mobile-redeem:hover { color: #fe237c; }
  .nd-mobile-actions { display: flex; flex-direction: column; gap: 10px; }
  .nd-mobile-actions > * { width: 100%; justify-content: center; }

  .nd-nav-dropdown-menu { display: none !important; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.nd-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 14px 30px; border-radius: 14px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: all .3s cubic-bezier(.4,0,.2,1); cursor: pointer;
  border: none; font-family: inherit;
}
.nd-btn svg { flex-shrink: 0; }

.nd-btn-primary {
  background: linear-gradient(135deg, #fe237c, #d41a68);
  color: #fff; box-shadow: 0 4px 20px rgba(254,35,124,.3);
}
.nd-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(254,35,124,.45); color: #fff;
}

.nd-btn-ghost {
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.08);
}
.nd-btn-ghost:hover {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.15);
  transform: translateY(-2px); color: #fff;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.nd-section { padding: 100px 20px; position: relative; }
.nd-alt { background: rgba(16,16,22,.5); }

.nd-container { max-width: 1200px; margin: 0 auto; width: 100%; }

.nd-section-header { text-align: center; margin-bottom: 56px; }

.nd-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 50px;
  background: rgba(254,35,124,.07); border: 1px solid rgba(254,35,124,.12);
  color: #fe237c; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px;
}

.nd-title {
  font-size: clamp(26px, 3.5vw, 40px); font-weight: 700;
  color: #fff; margin: 0 0 14px; line-height: 1.2;
}

.nd-subtitle {
  font-size: 15px; color: rgba(255,255,255,.45);
  max-width: 540px; margin: 0 auto; line-height: 1.65;
}

/* Cards */
.nd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nd-grid-2 { grid-template-columns: repeat(2, 1fr); }
.nd-grid-3 { grid-template-columns: repeat(3, 1fr); }
.nd-grid-4 { grid-template-columns: repeat(4, 1fr); }

.nd-card {
  background: linear-gradient(145deg, rgba(30,30,42,.45), rgba(16,16,22,.65));
  border: 1px solid rgba(255,255,255,.05); border-radius: 20px;
  padding: 32px 24px; transition: all .4s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
}
.nd-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #fe237c, transparent);
  opacity: 0; transition: opacity .4s;
}
.nd-card:hover { transform: translateY(-4px); border-color: rgba(254,35,124,.12); box-shadow: 0 16px 48px rgba(0,0,0,.25); }
.nd-card:hover::after { opacity: 1; }

.nd-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(254,35,124,.08);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.nd-icon svg { width: 24px; height: 24px; color: #fe237c; stroke: #fe237c; }

.nd-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.nd-card p { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.6; margin: 0; }

/* Split */
.nd-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.nd-split-rev { direction: rtl; }
.nd-split-rev > * { direction: ltr; }

.nd-split-text { padding: 10px 0; }
.nd-split-text .nd-title { font-size: clamp(24px, 3vw, 36px); text-align: left; }
.nd-split-text .nd-subtitle { text-align: left; margin: 0 0 28px; max-width: none; }

.nd-deposit-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.nd-deposit-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  white-space: nowrap;
}

.nd-deposit-badge svg {
  color: #fe237c;
  flex-shrink: 0;
}

.nd-split-visual { display: flex; align-items: center; justify-content: center; position: relative; }

.nd-img-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.nd-img-wrap::before {
  content: ""; position: absolute; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(254,35,124,.08) 0%, transparent 70%); border-radius: 50%;
}
.nd-img-wrap img {
  position: relative; z-index: 1; height: 170px; width: auto;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,.4));
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.nd-img-wrap:hover img { transform: translateY(-8px) scale(1.04); }

/* Stats */
.nd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.nd-stat {
  text-align: center; padding: 28px 16px;
  background: linear-gradient(145deg, rgba(30,30,42,.35), rgba(16,16,22,.55));
  border: 1px solid rgba(255,255,255,.04); border-radius: 20px; transition: all .3s;
}
.nd-stat:hover { border-color: rgba(254,35,124,.12); transform: translateY(-2px); }
.nd-stat-val {
  font-size: 34px; font-weight: 800; line-height: 1.2; margin-bottom: 4px;
  background: linear-gradient(135deg, #fe237c, #ff6b9d);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nd-stat-lbl { font-size: 12px; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* CTA */
.nd-cta { position: relative; padding: 80px 20px; text-align: center; overflow: hidden; }
.nd-cta::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(254,35,124,.1), rgba(142,26,77,.06)); pointer-events: none;
}
.nd-cta-inner { position: relative; z-index: 1; max-width: 580px; margin: 0 auto; }

/* Glow line */
.nd-line { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(254,35,124,.25), transparent); }

/* Hero */
.nd-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 20px 80px; overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, rgba(254,35,124,.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(142,26,77,.10) 0%, transparent 55%), #0a0a0f;
}
.nd-hero::before {
  content: ""; position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(254,35,124,.07) 0%, transparent 70%);
  top: -200px; right: -150px; border-radius: 50%;
  animation: ndFloat 8s ease-in-out infinite; pointer-events: none;
}
.nd-hero::after {
  content: ""; position: absolute; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(142,26,77,.05) 0%, transparent 70%);
  bottom: -150px; left: -100px; border-radius: 50%;
  animation: ndFloat 10s ease-in-out infinite reverse; pointer-events: none;
}

@keyframes ndFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.nd-hero-inner {
  max-width: 1200px; width: 100%; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; position: relative; z-index: 2;
}

.nd-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(254,35,124,.1); border: 1px solid rgba(254,35,124,.2);
  color: #fe237c; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 24px;
}
.nd-hero-badge::before {
  content: ""; width: 8px; height: 8px; background: #fe237c;
  border-radius: 50%; animation: ndPulse 2s ease-in-out infinite;
}

@keyframes ndPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.6); }
}

.nd-hero-title {
  font-size: clamp(34px, 5vw, 58px); font-weight: 800;
  line-height: 1.08; margin: 0 0 20px; letter-spacing: -0.5px;
}
.nd-hero-title span {
  background: linear-gradient(135deg, #fe237c, #ff6b9d);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.nd-hero-desc {
  font-size: 17px; color: rgba(255,255,255,.55); line-height: 1.7;
  margin-bottom: 36px; max-width: 460px; font-weight: 400;
}

.nd-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.nd-hero-visual { display: flex; align-items: center; justify-content: center; }

.nd-hero-card {
  position: relative;
  background: linear-gradient(145deg, rgba(30,30,42,.75), rgba(16,16,22,.9));
  border: 1px solid rgba(255,255,255,.06); border-radius: 28px;
  padding: 40px; backdrop-filter: blur(20px); text-align: center;
  width: 100%; max-width: 420px; box-shadow: 0 24px 64px rgba(0,0,0,.45);
}
.nd-hero-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: 29px; padding: 1px;
  background: linear-gradient(135deg, rgba(254,35,124,.25), transparent 50%, rgba(254,35,124,.08));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

.nd-hero-gif {
  width: 110px; height: 110px; border-radius: 50%;
  border: 3px solid #fe237c; margin: 0 auto 20px;
  object-fit: cover; box-shadow: 0 0 50px rgba(254,35,124,.2);
}

.nd-hero-video {
  width: 100%; border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,.5); margin-top: 14px;
}

/* Particles */
.nd-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.nd-particle {
  position: absolute; width: 3px; height: 3px;
  background: rgba(254,35,124,.25); border-radius: 50%;
  animation: ndUp linear infinite;
}
@keyframes ndUp {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: .8; }
  90% { opacity: .8; }
  100% { transform: translateY(-100vh) scale(0); opacity: 0; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.nd-footer {
  position: relative; padding: 80px 20px 40px;
  background: linear-gradient(180deg, rgba(16,16,22,.0) 0%, rgba(16,16,22,1) 25%);
}
.nd-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(254,35,124,.2), transparent);
}
.nd-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 48px;
}
.nd-footer-brand p { font-size: 13px; color: rgba(255,255,255,.35); line-height: 1.6; margin: 12px 0 20px; max-width: 260px; }
.nd-footer-socials { display: flex; gap: 10px; }
.nd-footer-socials a {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.05); display: flex;
  align-items: center; justify-content: center; transition: all .25s;
}
.nd-footer-socials a:hover { background: rgba(254,35,124,.12); transform: translateY(-2px); }
.nd-footer-socials img { height: 16px; width: auto; }
.nd-footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.5); margin: 0 0 16px; }
.nd-footer-col ul { list-style: none; padding: 0; margin: 0; }
.nd-footer-col li { margin-bottom: 10px; }
.nd-footer-col a, .nd-footer-col span { font-size: 13px; color: rgba(255,255,255,.4); transition: color .2s; cursor: pointer; }
.nd-footer-col a:hover, .nd-footer-col span:hover { color: #fe237c; }
.nd-footer-bottom {
  max-width: 1200px; margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,.25);
}

/* Cookie popup */
.nd-cookie {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(16,16,22,.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,.06); padding: 16px 24px;
  z-index: 10000; font-size: 13px; color: rgba(255,255,255,.6);
}
.nd-cookie-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.nd-cookie-inner a { color: #fe237c; }
.nd-cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.nd-cookie-btn { padding: 8px 18px; border-radius: 8px; border: none; font-size: 12px; font-weight: 600; cursor: pointer; transition: all .2s; font-family: inherit; }
.nd-cookie-accept { background: #fe237c; color: #fff; }
.nd-cookie-accept:hover { background: #e01e6f; }
.nd-cookie-decline { background: rgba(255,255,255,.08); color: #fff; }
.nd-cookie-decline:hover { background: rgba(255,255,255,.12); }

/* ============================================================
   MODALS & FORM OVERRIDES
   ============================================================ */
.modal-content { background-color: #14141c !important; border: 1px solid rgba(255,255,255,.06) !important; border-radius: 20px !important; }
.modal-header, .modal-footer { border-color: rgba(255,255,255,.06) !important; padding: 16px 20px !important; }
.modal-body { padding: 8px 20px !important; }
.modal-title { font-size: 16px !important; font-weight: 700 !important; }
.btn-close { filter: invert(1); }

.btn-primary {
  background: linear-gradient(135deg, #fe237c, #d41a68) !important;
  border: none !important; border-radius: 10px !important; font-weight: 600 !important;
  padding: 8px 20px !important; min-height: auto !important; line-height: normal !important;
}

.btn-secondary {
  background: rgba(255,255,255,.08) !important; border: 1px solid rgba(255,255,255,.06) !important;
  border-radius: 10px !important; color: #fff !important; font-weight: 500 !important;
  padding: 8px 20px !important; min-height: auto !important; line-height: normal !important;
}

.form-control {
  background: rgba(255,255,255,.05) !important; border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 10px !important; color: #fff !important; padding: 10px 14px !important;
  font-size: 13px !important; min-height: auto !important; line-height: normal !important;
}
.form-control:focus { border-color: rgba(254,35,124,.3) !important; box-shadow: none !important; outline: none !important; }
.form-control::placeholder { color: rgba(255,255,255,.25) !important; }

select.form-control {
  background: rgba(10,10,18,.9) !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  padding-right: 32px !important;
  cursor: pointer;
}
select.form-control option {
  background: #14141e;
  color: #fff;
}

.language-btn, .currency-btn {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px; padding: 8px; margin: 4px;
  transition: all .25s; min-height: auto !important; line-height: normal !important;
}
.language-btn.active, .currency-btn.active { border-color: #fe237c; background: rgba(254,35,124,.1); }
.language-btn .currentLanguage {
  height: 22px; width: 100%; background-size: cover !important;
  border-radius: 4px; background-repeat: no-repeat !important; background-position: center !important;
}

.nd-lang-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 8px 0;
}

.nd-lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  cursor: pointer;
  transition: all .25s;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 500;
  position: relative;
}

.nd-lang-option:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  color: #fff;
}

.nd-lang-option.active {
  border-color: rgba(254,35,124,.4);
  background: rgba(254,35,124,.08);
  color: #fff;
}

.nd-lang-flag {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}

.nd-lang-name {
  flex: 1;
  white-space: nowrap;
}

.nd-lang-check {
  margin-left: auto;
  flex-shrink: 0;
}

/* ============================================================
   ALERTS & TRADE URL
   ============================================================ */
#alertas { position: fixed; width: 100%; max-width: 380px; z-index: 99999; padding: 8px; top: 80px; right: 8px; }
#alertas .wrapper {
  background: rgba(16,16,22,.95); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.06); border-radius: 14px;
  overflow: hidden; margin-bottom: 8px; box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
#alertas .alerta { padding: 12px 14px; display: flex; align-items: center; color: #dc3545; position: relative; overflow: hidden; }
#alertas .alerta.success { color: #28a745; }
#alertas img { height: 28px; width: auto; margin-right: 8px; }

.progress-bar-wrapper { position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: rgba(0,0,0,.1); overflow: hidden; }
.progress-bar-fill { width: 100%; height: 100%; background: #dc3545; transition: width 5s linear; }
.alerta.success .progress-bar-fill { background: #28a745; }

/* Trade URL bar */
.nd-tradeurl-bar {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 9998;
  background: rgba(16,16,22,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 8px 20px;
}

.nd-tradeurl-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nd-tradeurl-bar-text {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
  flex-shrink: 0;
}

.nd-tradeurl-bar-text a { color: #fe237c; font-weight: 600; }

.nd-tradeurl-bar-input {
  flex: 1;
  min-width: 0;
  padding: 6px 12px !important;
  font-size: 12px !important;
  height: 32px !important;
}

.nd-tradeurl-btn {
  white-space: nowrap;
  padding: 6px 16px !important;
  font-size: 12px !important;
  flex-shrink: 0;
  height: 32px;
  display: flex;
  align-items: center;
}

.nd-tradeurl-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nd-tradeurl-form .form-control { flex: 1; }

body:has(.nd-tradeurl-bar) .nd-page { padding-top: 144px; }
body:has(.nd-tradeurl-bar) .nd-hero { padding-top: 168px; }

@media (max-width: 768px) {
  .nd-tradeurl-bar { padding: 8px 12px; }
  .nd-tradeurl-bar-inner { flex-wrap: wrap; }
  .nd-tradeurl-bar-text { width: 100%; }
  .nd-tradeurl-bar-input { flex: 1; }
  body:has(.nd-tradeurl-bar) .nd-page { padding-top: 128px; }
}

#sectionTradeUrl .bloco { background: rgba(16,16,22,.8); border: 1px solid rgba(255,255,255,.06); border-radius: 16px; padding: 20px; }
#sectionTradeUrl h2 { font-size: 16px !important; font-weight: 700 !important; margin-bottom: 10px; }

.btnPaymentMethod {
  background: rgba(255,255,255,.05) !important; border: 1px solid rgba(99,91,255,.3) !important;
  border-radius: 12px !important; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; min-height: 50px !important;
}
.btnPaymentMethod img { height: 28px; margin: auto; }

.disable { opacity: .35; cursor: not-allowed; }

/* ============================================================
   PAGE: LEVEL UP
   ============================================================ */
.nd-page { padding: 96px 20px 40px; }

.nd-page-header {
  text-align: center; padding: 40px 0 32px;
}

.nd-glass {
  background: linear-gradient(145deg, rgba(30,30,42,.5), rgba(16,16,22,.7));
  border: 1px solid rgba(255,255,255,.06); border-radius: 20px;
  padding: 28px; margin-bottom: 20px;
}

.nd-glass h1, .nd-glass h2 {
  font-size: 18px; font-weight: 700; margin: 0 0 16px; color: #fff;
}

.nd-glass .nome-receber { color: #fe237c; font-weight: 600; }

.nd-glass .slider {
  overflow: hidden; position: relative; padding: 5px 0; width: 100%;
}

.nd-glass .slider:before {
  position: absolute; content: ""; height: 150px; width: 90px;
  border: 2px solid #fe237c; left: 50%; top: 50%; z-index: 99;
  transform: translate(-50%, -50%); border-radius: 12px;
  transition: 0.4s linear;
}

.nd-glass .slider.rotating:before { height: 100px; width: 60px; transition: 0s linear; }

.nd-glass .slider-content {
  display: flex; transform: translate(calc(50% - 45px), 0px);
  padding: 0px 6.25px; transition: 0.4s linear;
  height: 150px; align-items: center;
}

.nd-glass .slider .block-nivel {
  background: rgba(255,255,255,.05); border-radius: 12px;
  padding: 10px; margin: 0px 6.25px; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  height: 100px; width: 60px; display: flex;
  align-items: center; justify-content: center;
  transition: 0.4s linear; opacity: 1;
}

.nd-glass .slider .block-nivel.active { transform: scale(1.5); opacity: 1; transition-delay: 0.4s; }
.nd-glass .slider .block-nivel.disable { opacity: 0.2; cursor: not-allowed; }

.nd-glass .wrapperCurrentPrices {
  display: flex; align-items: center; justify-content: space-between;
  width: fit-content; margin: 15px 0;
  background: rgba(255,255,255,.05); padding: 0px 15px;
  border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,.2); height: 40px;
}

.nd-glass .wrapperCurrentPrices .currentPrice { display: flex; align-items: center; margin: 0px 25px; font-weight: 500; }
.nd-glass .wrapperCurrentPrices img { width: 25px; height: 25px; margin: 0px 10px 0px 0px; }
.nd-glass .wrapperCurrentPrices img.trading {
  transform: rotate(90deg); filter: invert(86%) sepia(48%) saturate(1513%) hue-rotate(334deg) brightness(102%) contrast(104%);
  width: 20px; height: 20px; margin: 0px 10px;
}
.nd-glass .wrapperCurrentPrices span { margin-left: 10px; display: flex; align-items: center; }

.nd-glass .wrapperAddLevel { display: flex; align-items: center; justify-content: center; }
.nd-glass .wrapperAddLevel span {
  margin-left: 12.5px; color: white; font-size: 14px; cursor: pointer;
  padding: 0px 15px; height: 40px; display: flex;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,.05); border-radius: 10px;
  border: 1px solid rgba(255,255,255,.06);
  transition: all .25s;
}
.nd-glass .wrapperAddLevel span:hover { background: rgba(254,35,124,.1); border-color: rgba(254,35,124,.2); }

.nd-glass .block-level .row div { margin: 3.25px 0px; }

.nd-glass .sets_xp label { color: rgba(255,255,255,.5); }

.nd-glass .total { font-size: 16px; display: flex; align-items: center; font-weight: 600; }
.nd-glass .total .valor { display: flex; align-items: center; margin-left: 5.5px; }
.nd-glass .total .currency { display: flex; align-items: center; }

.nd-glass .levelPreview { display: flex; align-items: center; }

.nd-glass .block-pagamento {
  background: linear-gradient(135deg, #fe237c, #d41a68) !important;
  border: none !important; border-radius: 12px !important;
  padding: 10px 28px !important; font-weight: 600 !important; font-size: 14px;
  box-shadow: 0 4px 20px rgba(254,35,124,.3);
  transition: all .3s;
}
.nd-glass .block-pagamento:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(254,35,124,.45); }

.stripeCurrentPrice { display: flex; align-items: center; }
.stripeCurrentPrice img { height: 15px; width: auto; margin-right: 5.5px; }

.price { display: flex; align-items: center; }
.price img { height: 17px; width: auto; margin-right: 5.5px; }


/* ============================================================
   PAGE: DEPOSIT
   ============================================================ */
.tab.deposit, .tab.withdraw {
  height: 42px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  padding: 0 24px;
  transition: all .3s;
}
.tab.deposit.active, .tab.withdraw.active {
  background: rgba(254,35,124,.1);
  border-color: rgba(254,35,124,.2);
  color: #fe237c;
}

.depositMethodItem {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 12px 24px;
  cursor: pointer;
  transition: all .3s;
  height: 56px;
}
.depositMethodItem img { height: 24px; width: auto; }
.depositMethodItem:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.1); }
.depositMethodItem.active { background: rgba(254,35,124,.08); border-color: rgba(254,35,124,.2); }

/* Deposit method cards */
.nd-deposit-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.nd-deposit-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  background: linear-gradient(145deg, rgba(26,26,36,.7), rgba(18,18,24,.9));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
  color: rgba(255,255,255,.6);
  position: relative;
}

.nd-deposit-method:hover {
  background: linear-gradient(145deg, rgba(34,34,48,.7), rgba(24,24,32,.9));
  border-color: rgba(255,255,255,.12);
  color: #fff;
  transform: translateY(-2px);
}

.nd-deposit-method.active {
  background: linear-gradient(145deg, rgba(254,35,124,.08), rgba(254,35,124,.03));
  border-color: rgba(254,35,124,.3);
  color: #fff;
  box-shadow: 0 4px 20px rgba(254,35,124,.1);
}

.nd-deposit-method-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nd-deposit-method.active .nd-deposit-method-icon {
  background: rgba(254,35,124,.08);
  border-color: rgba(254,35,124,.15);
}

.nd-deposit-method-icon img { height: 22px; width: auto; }

.nd-deposit-method-icon--steam {
  background: linear-gradient(135deg, rgba(102,192,244,.1), rgba(102,192,244,.02)) !important;
  border-color: rgba(102,192,244,.15) !important;
}

.nd-deposit-method-icon--steam svg { stroke: #66c0f4; }

.nd-deposit-method-name {
  font-size: 13px;
  font-weight: 600;
  color: inherit;
}

.nd-deposit-method-tag {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.nd-deposit-method.active .nd-deposit-method-tag { color: rgba(254,35,124,.6); }

.nd-deposit-method-arrow {
  position: absolute;
  top: 10px;
  right: 10px;
  color: rgba(255,255,255,.2);
  transition: .3s;
}

.nd-deposit-method:hover .nd-deposit-method-arrow { color: #66c0f4; transform: translateX(2px); }

.nd-deposit-method[data-method="skins"]:hover {
  border-color: rgba(102,192,244,.3);
  box-shadow: 0 4px 20px rgba(102,192,244,.08);
}

.nd-deposit-form-wrap { margin: 0 auto; }
.nd-deposit-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 500px;
  margin: 0 auto;
}

.nd-deposit-form-grid:has(.nd-deposit-data:not(.d-none)) {
  grid-template-columns: 1fr 1fr;
  max-width: 100%;
}

@media (max-width: 768px) {
  .nd-deposit-form-grid:has(.nd-deposit-data:not(.d-none)) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nd-deposit-methods { grid-template-columns: 1fr; }
  .nd-deposit-method { flex-direction: row; padding: 14px 16px; gap: 12px; }
  .nd-deposit-method-icon { width: 40px; height: 40px; flex-shrink: 0; }
  .nd-deposit-method-name { flex: 1; text-align: left; }
  .nd-deposit-method-tag { margin-left: auto; }
  .nd-deposit-method-arrow { position: static; }
}

.nd-deposit-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
  display: block;
}

.form-select {
  background: rgba(255,255,255,.05) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 10px !important;
  color: #fff !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  appearance: auto;
}
.form-select:focus { border-color: rgba(254,35,124,.3) !important; box-shadow: none !important; }
.form-select option { background: #14141c; color: #fff; }

.loading {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(254,35,124,.2);
  border-top-color: #fe237c;
  border-radius: 50%;
  animation: ndSpin .6s linear infinite;
  margin-right: 8px;
  flex-shrink: 0;
}
@keyframes ndSpin { to { transform: rotate(360deg); } }

.checkingBlockchain { text-align: center; color: #fe237c; }

.qr-codeWrapper { display: flex; align-items: center; justify-content: center; }

.nd-qr-img {
  width: 160px;
  height: 160px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  padding: 8px;
  background: #fff;
}

.nd-wallet-addr {
  font-size: 12px;
  font-weight: 500;
  word-break: break-all;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 10px 14px;
  text-align: center;
}

.nd-deposit-info {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 12px;
  padding: 12px 16px;
}

.nd-deposit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 6px 0;
}
.nd-deposit-row + .nd-deposit-row { border-top: 1px solid rgba(255,255,255,.04); }
.nd-deposit-row span:first-child { color: rgba(255,255,255,.45); }

/* ============================================================
   PAGE: GIVEAWAYS
   ============================================================ */

.nd-gw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.nd-gw-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 18px 16px;
}

.nd-gw-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 14px;
}

.nd-gw-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 6px;
}

.nd-gw-badge--daily { background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.2); color: #60a5fa; }
.nd-gw-badge--weekly { background: rgba(168,85,247,.1); border: 1px solid rgba(168,85,247,.2); color: #a855f7; }
.nd-gw-badge--monthly { background: rgba(254,35,124,.1); border: 1px solid rgba(254,35,124,.2); color: #fe237c; }

.nd-gw-price {
  font-size: 14px;
  font-weight: 700;
  color: #fe237c;
  display: flex;
  align-items: center;
}

.nd-gw-price .currencySymbol { display: flex; align-items: center; }

.nd-gw-card-visual {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

.giveawayImg {
  height: 100px;
  width: auto;
  margin: 0 auto 12px;
  display: block;
}

.typeAndCost {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}
.typeAndCost img { height: 15px; width: auto; margin-right: 5px; }
.typeAndCost div {
  border: 1px solid rgba(254,35,124,.3);
  border-radius: 8px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(254,35,124,.05);
}

.countdown { text-align: center; font-size: 13px; color: rgba(255,255,255,.5); }

.nd-gw-card-name {
  font-size: 15px;
  font-weight: 700;
  margin: 4px 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.nd-gw-card-timer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  margin-bottom: 10px;
}

.nd-gw-card-timer svg { stroke: rgba(255,255,255,.3); flex-shrink: 0; }

.nd-gw-winner {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #fbbf24;
  background: rgba(251,191,36,.06);
  border: 1px solid rgba(251,191,36,.15);
  border-radius: 8px;
  padding: 5px 12px;
  margin-bottom: 10px;
}

.nd-gw-card-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.04);
  margin-bottom: 12px;
}

.nd-gw-stat { text-align: center; }

.nd-gw-stat-val {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fe237c;
}

.nd-gw-stat-label {
  font-size: 10px;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: .8px;
  font-weight: 600;
  margin-top: 2px;
}

.nd-gw-stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,.06);
}

.nd-gw-card-action {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.nd-gw-card-action .form-control {
  flex: 1;
  min-width: 0;
  font-size: 13px !important;
  padding: 8px 12px !important;
}

.nd-gw-card-action .nd-btn { white-space: nowrap; padding: 8px 20px; font-size: 13px; }

.nd-gw-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 12px;
  text-align: center;
}

.nd-gw-empty p { margin: 0; font-size: 14px; color: rgba(255,255,255,.4); }

.blocoGiveaway { background: transparent; }
.blocoGiveawayHeader { display: flex; align-items: center; justify-content: space-between; }

@media (max-width: 576px) {
  .nd-gw-grid { grid-template-columns: 1fr; }
  .nd-gw-card-stats { gap: 10px; }
  .nd-gw-stat-val { font-size: 16px; }
}

/* ============================================================
   PAGE: FREE CASES
   ============================================================ */

/* --- Top grid: hero + affiliate --- */
.nd-fc-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.nd-fc-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.nd-fc-hero-left {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nd-fc-hero-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254,35,124,.2) 0%, transparent 70%);
  filter: blur(30px);
  animation: nd-fc-pulse 3s ease-in-out infinite;
}

@keyframes nd-fc-pulse {
  0%, 100% { transform: scale(1); opacity: .6; }
  50% { transform: scale(1.15); opacity: 1; }
}

.nd-fc-hero-img {
  height: 100px;
  width: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 6px 24px rgba(254,35,124,.3));
  transition: transform .4s;
}

.nd-fc-hero:hover .nd-fc-hero-img { transform: rotate(-5deg) scale(1.05); }

.nd-fc-hero-right { flex: 1; }

.nd-fc-hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.4);
  margin-bottom: 6px;
}

.nd-fc-timer {
  font-size: 32px;
  font-weight: 800;
  color: #fe237c;
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.nd-fc-hero-hint {
  font-size: 12px;
  color: rgba(255,255,255,.35);
  margin: 0 0 12px;
  max-width: 320px;
  line-height: 1.5;
}

.nd-fc-hero-steps {
  display: flex;
  gap: 14px;
}

.nd-fc-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255,255,255,.5);
}

.nd-fc-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(254,35,124,.12);
  border: 1px solid rgba(254,35,124,.25);
  color: #fe237c;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --- Affiliate --- */
.nd-fc-affiliate {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.nd-fc-affiliate-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(254,35,124,.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nd-fc-affiliate-body { flex: 1; min-width: 0; }
.nd-fc-affiliate-body h3 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 8px;
  color: rgba(255,255,255,.6);
}

.nd-fc-affiliate-fields { display: flex; flex-direction: column; gap: 6px; }

.nd-fc-affiliate-field {
  display: flex;
  gap: 6px;
}

.nd-fc-affiliate-field .form-control {
  flex: 1;
  min-width: 0;
  font-size: 12px !important;
  padding: 7px 10px !important;
}

.nd-btn-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .2s;
}

.nd-btn-icon:hover {
  background: rgba(254,35,124,.1);
  border-color: rgba(254,35,124,.2);
  color: #fe237c;
}

/* --- Login prompt --- */
.nd-fc-login {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 32px 20px;
}

.nd-fc-login p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* --- Sections (glass panels with title inside) --- */
.nd-fc-section { margin-bottom: 14px; }

.nd-fc-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 16px;
}

/* --- Case cards grid --- */
.nd-fc-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.nd-fc-case-card {
  background: linear-gradient(150deg, rgba(30,30,42,.7), rgba(14,14,20,.9));
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 16px;
  padding: 0;
  text-align: center;
  position: relative;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  overflow: hidden;
}

.nd-fc-case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(254,35,124,.25);
  box-shadow: 0 16px 48px rgba(0,0,0,.35), 0 0 0 1px rgba(254,35,124,.08);
}

.nd-fc-case-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.03), transparent);
  transition: left .6s;
  pointer-events: none;
}

.nd-fc-case-card:hover .nd-fc-case-shine { left: 100%; }

.nd-fc-case-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 6px;
  z-index: 2;
}

.nd-fc-case-badge--daily {
  background: rgba(254,35,124,.1);
  border: 1px solid rgba(254,35,124,.2);
  color: #fe237c;
}

.nd-fc-case-badge--affiliate {
  background: rgba(168,85,247,.1);
  border: 1px solid rgba(168,85,247,.2);
  color: #a855f7;
}

.nd-fc-case-visual {
  padding: 24px 20px 10px;
  position: relative;
}

.nd-fc-case-visual::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 6px;
  background: radial-gradient(ellipse, rgba(254,35,124,.15) 0%, transparent 70%);
  filter: blur(4px);
}

.nd-fc-case-visual img {
  height: 80px;
  width: auto;
  transition: transform .35s;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.4));
}

.nd-fc-case-card:hover .nd-fc-case-visual img { transform: translateY(-8px) rotate(3deg) scale(1.05); }

.nd-fc-case-body {
  padding: 8px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.nd-fc-case-body h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.nd-fc-case-body p {
  font-size: 12px;
  color: rgba(255,255,255,.35);
  margin: 0 0 4px;
}

.nd-fc-case-body .nd-btn { width: 100%; padding: 8px 16px; font-size: 13px; }

/* --- Cases to open: JS-generated .myCase cards --- */
.nd-fc-cases-list .myCase {
  background: linear-gradient(150deg, rgba(30,30,42,.7), rgba(14,14,20,.9));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: all .3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.nd-fc-cases-list .myCase:hover {
  border-color: rgba(254,35,124,.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
}

.nd-fc-cases-list .myCase .caseName {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #fe237c;
  background: rgba(254,35,124,.08);
  border: 1px solid rgba(254,35,124,.15);
  padding: 2px 8px;
  border-radius: 5px;
}

.nd-fc-cases-list .myCase .caseImage {
  height: 65px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.3));
  transition: transform .3s;
}

.nd-fc-cases-list .myCase:hover .caseImage { transform: translateY(-4px) rotate(2deg); }

.nd-fc-cases-list .myCase .openCaseModal {
  width: 100%;
  padding: 6px 12px !important;
  font-size: 12px !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #fe237c, #d41a68) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 600 !important;
}

/* --- Opened cases cards --- */
.nd-fc-cases-list {
  gap: 10px 0;
  padding: 0 4px;
}

.nd-fc-cases-list .caseItem {
  margin-bottom: 0;
  text-align: center;
  padding: 12px 10px;
}

.nd-fc-cases-list .caseItem:hover {
  border-color: rgba(254,35,124,.2);
  box-shadow: 0px -60px 40px -25px rgba(254,35,124,.12) inset;
}

.nd-fc-cases-list .caseItem .nd-fc-case-badge {
  position: static;
  display: inline-block;
  margin-bottom: 6px;
  background: rgba(254,35,124,.08);
  border: 1px solid rgba(254,35,124,.15);
  color: #fe237c;
}

.nd-fc-cases-list .caseItem .itemImg {
  margin: 6px auto 8px;
}

.nd-fc-cases-list .caseItem .name {
  text-align: center;
  height: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nd-fc-cases-list .caseItem .price {
  text-align: center;
  font-size: 12px;
}

.nd-fc-cases-list .caseItem .condition {
  position: static;
  text-align: center;
  height: auto;
  margin-bottom: 2px;
}

.nd-fc-opened-card {
  background: linear-gradient(165deg, rgba(28,28,40,.95) 0%, rgba(18,18,26,.98) 100%);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: .3s ease;
}

.nd-fc-opened-card:hover {
  border-color: rgba(254,35,124,.2);
  box-shadow: 0px -60px 40px -25px rgba(254,35,124,.12) inset;
}

.nd-fc-opened-card .nd-fc-case-badge {
  position: static;
  display: inline-block;
  margin-bottom: 8px;
  background: rgba(254,35,124,.08);
  border: 1px solid rgba(254,35,124,.15);
  color: #fe237c;
}

.nd-fc-opened-img {
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.3));
}

.nd-fc-opened-name {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.nd-fc-opened-price {
  font-size: 12px;
  font-weight: 600;
  color: #fe237c;
}

/* --- Empty states --- */
.nd-fc-list-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 10px;
}

.nd-fc-list-empty p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.3);
}

.myCase, .myCase img, .myCase button { transition: 0.3s ease; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .nd-fc-top { grid-template-columns: 1fr; }
  .nd-fc-hero { flex-direction: column; text-align: center; gap: 16px; }
  .nd-fc-hero-hint { max-width: 100%; text-align: center; }
  .nd-fc-hero-steps { justify-content: center; flex-wrap: wrap; }
  .nd-fc-timer { text-align: center; }
  .nd-fc-cases-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
  .nd-fc-hero-img { height: 70px; }
  .nd-fc-timer { font-size: 24px; letter-spacing: 2px; }
  .nd-fc-hero-steps { gap: 8px; }
  .nd-fc-step { font-size: 10px; }
  .nd-fc-cases-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .nd-fc-case-visual img { height: 60px; }
}

/* ============================================================
   CASE MODAL
   ============================================================ */

.nd-case-modal {
  background: linear-gradient(165deg, #1a1a26, #0e0e14) !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  border-radius: 20px !important;
}

.nd-case-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
}

.nd-case-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nd-case-modal-title-wrap h1 {
  font-size: 16px !important;
  font-weight: 700 !important;
  margin: 0;
}

.nd-case-modal-close {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .2s;
}

.nd-case-modal-close:hover {
  background: rgba(254,35,124,.1);
  border-color: rgba(254,35,124,.2);
  color: #fe237c;
}

.nd-case-modal-body {
  padding: 16px 20px !important;
}

/* Roulette area - keep original structure for JS animation */
#caseGenerate {
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.04);
  height: 180px;
  border-radius: 14px;
  padding: 7.5px;
  overflow: hidden;
  position: relative;
}

#caseGenerate:after {
  position: absolute;
  content: "";
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 180px;
  background: linear-gradient(to bottom, #fe237c, rgba(254,35,124,.4));
  z-index: 5;
  box-shadow: 0 0 12px rgba(254,35,124,.4);
}

.generate-case {
  padding: 0 3.25px;
  display: flex;
  transition: 5s cubic-bezier(0, 0, 0.2, 1);
  transform: translate(calc(50% - 7.5px), 0px);
  left: 50%;
  position: relative;
}

#caseGenerate .caseItem {
  background: linear-gradient(165deg, rgba(28,28,40,.95) 0%, rgba(18,18,26,.98) 100%);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  margin: 0 3.25px;
  padding: 8px;
  height: calc(180px - 15px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.caseItemGen {
  width: 25%;
  min-width: 25%;
}

#caseOpenButton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  font-size: 14px;
  margin: 7.5px auto;
}

.nd-case-modal-section {
  margin-top: 14px;
}

.nd-case-modal-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.nd-case-items-grid {
  gap: 8px 0;
}

.nd-case-items-grid {
  gap: 10px 0;
  padding: 0 4px;
}

.nd-case-items-grid .caseItem {
  background: linear-gradient(165deg, rgba(28,28,40,.95) 0%, rgba(18,18,26,.98) 100%) !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  border-radius: 12px !important;
  margin-bottom: 0 !important;
  text-align: center;
  padding: 12px 10px;
}

.nd-case-items-grid .caseItem:hover {
  border-color: rgba(254,35,124,.2) !important;
  box-shadow: 0px -60px 40px -25px rgba(254,35,124,.12) inset;
}

.nd-case-items-grid .caseItem .nd-fc-case-badge {
  position: static;
  display: inline-block;
  margin-bottom: 6px;
}

.nd-case-items-grid .caseItem .itemImg {
  margin: 6px auto 8px;
}

.nd-case-items-grid .caseItem .name {
  text-align: center;
  height: auto;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.nd-case-items-grid .caseItem .price {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #fe237c;
}

.nd-case-items-grid .caseItem .condition {
  position: static;
  text-align: center;
  height: auto;
  margin-bottom: 2px;
}

.caseItem .nd-fc-case-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(254,35,124,.1);
  border: 1px solid rgba(254,35,124,.15);
  font-size: 9px;
  font-weight: 700;
  color: #fe237c;
  text-transform: uppercase;
  letter-spacing: .5px;
  z-index: 2;
}

.nd-case-modal-footer {
  padding: 12px 20px !important;
  border-top: 1px solid rgba(255,255,255,.06) !important;
  display: flex;
  justify-content: flex-end;
}

.nd-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  cursor: pointer;
  transition: .2s;
}

.nd-btn-ghost:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.12);
}

/* Won item clone overlay */
.caseItemClone {
  background: linear-gradient(165deg, rgba(28,28,40,.98), rgba(18,18,26,.99)) !important;
  border: 2px solid rgba(254,35,124,.3) !important;
  border-radius: 14px !important;
  box-shadow: 0 0 60px rgba(254,35,124,.2), 0 20px 60px rgba(0,0,0,.5) !important;
}

/* ============================================================
   PAGE: INSTANT SELL / TRADES
   ============================================================ */
.nd-sell-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(58,58,247,.15), rgba(58,58,247,.05));
  border: 1px solid rgba(58,58,247,.2);
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}

.nd-sell-banner svg { color: #6b6bf7; flex-shrink: 0; }

.nd-sell-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nd-sell-tabs {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.nd-sell-tab {
  padding: 7px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.55);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nd-sell-tab:not(.disable):hover { background: rgba(255,255,255,.08); color: #fff; }
.nd-sell-tab:not(.disable) { background: rgba(254,35,124,.1); border-color: rgba(254,35,124,.25); color: #fe237c; font-weight: 600; }
.nd-sell-tab.disable { opacity: .45; cursor: pointer; }

.nd-sell-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}

.nd-sell-search {
  flex: 1;
  min-width: 140px;
}

.nd-sell-sort {
  width: auto;
  min-width: 140px;
}

.nd-sell-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s;
  flex-shrink: 0;
}

.nd-sell-icon-btn:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.1); }
.nd-sell-icon-btn img { height: 16px; width: auto; filter: invert(.7); }

.nd-sell-trade-btn {
  padding: 10px 24px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: .3px;
  gap: 4px;
}

/* ============================================================
   INVENTORY ITEMS (complete standalone styles)
   ============================================================ */
@media (min-width: 992px) {
  .col-lg-1-5 { flex: 0 0 auto; width: 12.5%; }
}

.nd-glass.nd-sell-inventory-wrap {
  padding: 14px;
  margin-bottom: 0;
}

.nd-glass.nd-sell-toolbar {
  padding: 14px 18px;
  margin-bottom: 0;
}

.nd-sell-inventory-wrap .inventory {
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 14px;
  min-height: 500px;
  max-height: 72vh;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px;
}

.nd-sell-inventory-wrap .inventory > .row {
  margin-left: -5px;
  margin-right: -5px;
}

.nd-sell-inventory-wrap .inventory > .row > [class*="col"] {
  padding-left: 5px;
  padding-right: 5px;
}

.nd-sell-inventory-wrap .inventory::-webkit-scrollbar { width: 4px; }
.nd-sell-inventory-wrap .inventory::-webkit-scrollbar-track { background: transparent; }
.nd-sell-inventory-wrap .inventory::-webkit-scrollbar-thumb { background: rgba(254,35,124,.2); border-radius: 4px; }
.nd-sell-inventory-wrap .inventory::-webkit-scrollbar-thumb:hover { background: rgba(254,35,124,.35); }

/* --- Item card --- */
.inventory .item,
.caseItem {
  background: linear-gradient(165deg, rgba(28,28,40,.95) 0%, rgba(18,18,26,.98) 100%);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 8px;
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: .3s ease;
}

.inventory .item:hover,
.inventory .item.onCart {
  background: linear-gradient(165deg, rgba(38,38,54,.95) 0%, rgba(24,24,36,.98) 100%);
  border-color: rgba(254,35,124,.25);
  box-shadow: 0px -80px 50px -30px rgba(254,35,124,.2) inset,
              0 4px 16px rgba(0,0,0,.2);
}

/* --- Amount badge --- */
.inventory .amount,
.caseItem .probability {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  z-index: 2;
  letter-spacing: .2px;
}

/* --- Item image --- */
.inventory .item .itemImg,
.caseItem .itemImg {
  height: 73px;
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 16px auto 10px auto;
  transition: .3s ease;
  display: block;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.35));
}

.inventory .item:hover .itemImg {
  filter: drop-shadow(0 4px 14px rgba(254,35,124,.15));
}

.inventory .item.disable:hover .itemImg {
  height: 73px;
}

/* --- Actions (steam/inspect links) --- */
.inventory .item .actions {
  position: absolute;
  left: 6px;
  top: 6px;
  display: flex;
  height: 28px;
  transition: .3s ease;
  transform: translateY(calc(-100% - 10px));
  width: fit-content;
  padding: 4px 5px;
  background: rgba(8,8,14,.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.inventory .item:hover .actions {
  transform: translateY(0);
}

.inventory .item .actions img {
  height: 16px;
  width: auto;
  margin: 0 3px;
  opacity: .6;
  transition: .2s;
}

.inventory .item .actions img:hover { opacity: 1; }

/* --- Stickers --- */
.inventory .item .stickers {
  position: absolute;
  bottom: 75px;
  right: 4px;
  transition: .35s ease;
  z-index: 2;
}

.inventory .item .stickers img {
  height: 18px;
  width: auto;
  transition: .35s ease;
}

.inventory .item:hover .stickers { bottom: 112px; }
.inventory .item.disable:hover .stickers { bottom: 75px; }

/* --- Condition / float --- */
.inventory .item .condition,
.caseItem .condition {
  text-align: left;
  color: #fe237c;
  font-weight: 700;
  font-size: 10px;
  height: 16px;
  position: absolute;
  bottom: 52px;
  left: 7.5px;
  transition: .35s ease;
  display: flex;
  align-items: center;
}

.inventory .item .float {
  color: rgba(255,255,255,.5);
  font-weight: 400;
  font-size: 9px;
  margin-left: 5px;
}

.inventory .item:hover .condition { bottom: 88px; }
.inventory .item.disable:hover .condition { bottom: 52px; }

/* --- Name --- */
.inventory .name {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  height: 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  line-height: 16px;
  margin-top: 2px;
}

/* --- Price --- */
.inventory .price,
.caseItem .price {
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.inventory .price .currencySymbol,
.caseItem .price .currencySymbol {
  font-size: 10px;
  color: rgba(255,255,255,.35);
  font-weight: 500;
  margin-right: 1px;
}

/* --- Lock --- */
.inventory .lock {
  position: absolute;
  bottom: 5px;
  right: 5px;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 10px;
  color: rgba(255,255,255,.5);
}

.inventory .item .lockImg {
  height: 13px;
  width: auto;
  margin-right: 5px;
  opacity: .6;
}

/* --- Add to cart button --- */
.addToCart {
  width: 100%;
  margin: 7.5px auto 0;
  height: 28px;
  min-height: 28px !important;
  padding: 0px !important;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px !important;
  line-height: 28px !important;
  text-align: center;
  background: linear-gradient(135deg, #fe237c, #d41a68) !important;
  border: none !important;
  color: #fff !important;
  transition: .2s;
  letter-spacing: .3px;
}

.addToCart:hover {
  background: linear-gradient(135deg, #ff3d8e, #e52175) !important;
  box-shadow: 0 2px 10px rgba(254,35,124,.3);
}

/* --- Wrapper input (quantity controls) --- */
.item .wrapper-input {
  display: none;
}

.wrapper-input {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-top: 7.5px;
}

.item.onCart .addToCart {
  display: none;
}

.item.onCart .wrapper-input {
  display: flex;
  justify-content: space-between;
  gap: 5px;
}

.inventory input {
  background: rgba(0,0,0,.4) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  color: white !important;
  text-align: center;
  height: 28px;
  margin: 0;
  border-radius: 7px;
  width: 75%;
  padding: 0 6px !important;
  font-size: 12px;
  font-weight: 600;
  min-height: auto !important;
  line-height: 28px !important;
}

.inventory .remover {
  height: 28px;
  width: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fe237c, #d41a68) !important;
  color: white;
  border-radius: 7px;
  cursor: pointer;
  transition: .2s;
}

.inventory .remover:hover {
  background: linear-gradient(135deg, #ff3d8e, #e52175) !important;
}

.inventory .remover img {
  width: 40%;
  filter: brightness(10);
}

/* --- Cart overlay --- */
.inventory .item .cart {
  display: none;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 45%;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(254,35,124,.15);
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.inventory .item .cart img {
  height: 16px;
  width: auto;
  margin: 0 0 0 5px !important;
  opacity: .8;
}

.inventory .item .cart .quantity {
  font-size: 12px;
  font-weight: 700;
  color: #fe237c;
}

.inventory .item.onCart .cart {
  display: flex;
}

/* --- Badge (overstock etc) --- */
.inventory .item .badge {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  z-index: 21;
  font-size: 11px;
}

/* --- Disabled item --- */
.inventory .item.disable {
  opacity: 1;
}

.inventory .item.disable:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(12,12,18,.7);
  border-radius: 12px;
  opacity: 1;
  z-index: 20;
}

/* --- Bot ID --- */
.inventory .botID {
  position: absolute;
  top: 7.5px;
  left: 7.5px;
  display: flex;
  align-items: center;
  font-size: 10px;
  color: rgba(255,255,255,.5);
}

/* --- Need login block --- */
.blocoNeedLogin {
  background: linear-gradient(165deg, rgba(28,28,40,.9), rgba(14,14,20,.95));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 60px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.blocoNeedLogin .info {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  width: 100%;
  margin-bottom: 20px;
}

/* --- Filters --- */
.filters .dropdown .btn {
  font-size: 12px;
  width: 100%;
  text-align: left;
  margin-bottom: 7.5px;
}

.btn-secondary img { height: 22px; }

.miniBanner.blue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(58,58,247,.15), rgba(58,58,247,.05));
  border: 1px solid rgba(58,58,247,.2);
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 500;
  min-height: auto;
  line-height: normal;
}

/* ============================================================
   PAGE: AFFILIATES
   ============================================================ */
.nd-aff-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.nd-aff-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 24px 16px;
}

.nd-aff-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(254,35,124,.06);
  border: 1px solid rgba(254,35,124,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.nd-aff-stat-val {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.5px;
}

.nd-aff-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.nd-aff-link-card h2 {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,.5) !important;
  margin: 0 0 8px !important;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.nd-aff-link-card h2:not(:first-child) {
  margin-top: 16px !important;
}

.nd-aff-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nd-aff-input-row .form-control {
  flex: 1;
  font-family: 'Courier New', monospace;
  font-size: 12px !important;
  letter-spacing: .5px;
}

.nd-aff-copy-btn {
  flex-shrink: 0;
  width: 38px !important;
  height: 38px;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* Table wrapper for scroll on mobile */
.nd-table-wrap {
  overflow-x: auto;
  margin: 0 -4px;
}

.nd-table-wrap::-webkit-scrollbar { height: 3px; }
.nd-table-wrap::-webkit-scrollbar-track { background: transparent; }
.nd-table-wrap::-webkit-scrollbar-thumb { background: rgba(254,35,124,.15); border-radius: 3px; }

.nd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.nd-table thead th {
  background: rgba(254,35,124,.04);
  color: rgba(255,255,255,.5);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  white-space: nowrap;
  text-align: left;
}

.nd-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.03);
  color: rgba(255,255,255,.65);
  white-space: nowrap;
}

.nd-table tbody tr:hover td {
  background: rgba(255,255,255,.02);
}

.nd-table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .nd-aff-stats { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE: LEGAL (Terms / Privacy)
   ============================================================ */
.nd-legal-updated {
  font-size: 12px;
  color: rgba(255,255,255,.35);
  margin-top: 8px;
}

.nd-legal-content {
  line-height: 1.8;
}

.nd-legal-content p,
.nd-legal-content div {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
}

.nd-legal-content h2 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 32px 0 12px !important;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nd-legal-content ul,
.nd-legal-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.nd-legal-content li {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  margin-bottom: 6px;
  line-height: 1.7;
}

.nd-legal-content li::marker {
  color: rgba(254,35,124,.4);
}

.nd-legal-content a {
  color: #fe237c;
  text-decoration: none;
}

.nd-legal-content a:hover {
  text-decoration: underline;
}

.nd-legal-content strong,
.nd-legal-content b {
  color: rgba(255,255,255,.85);
  font-weight: 600;
}

/* ============================================================
   PAGE: PROFILE
   ============================================================ */
.nd-profile-hero {
  position: relative;
  background: linear-gradient(145deg, rgba(30,30,42,.6), rgba(16,16,22,.8));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 24px;
  padding: 36px 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.nd-profile-hero-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254,35,124,.08) 0%, transparent 70%);
  top: -100px;
  left: -80px;
  pointer-events: none;
}

.nd-profile-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nd-profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.nd-profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  object-fit: cover;
  border: 3px solid rgba(254,35,124,.3);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}

.nd-profile-level {
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 32px !important;
  height: 32px !important;
  font-size: 11px !important;
  background-color: #0a0a0f;
  box-shadow: 0 2px 8px rgba(0,0,0,.5);
}

.nd-profile-info { position: relative; z-index: 1; }

.nd-profile-name {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #fff;
}

.nd-profile-steamid {
  font-size: 12px;
  color: rgba(255,255,255,.3);
  margin: 0 0 12px;
  font-family: 'Courier New', monospace;
}

.nd-profile-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nd-profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 8px;
  background: rgba(254,35,124,.06);
  border: 1px solid rgba(254,35,124,.1);
  color: #fe237c;
  font-size: 11px;
  font-weight: 600;
}

.nd-profile-steam-btn {
  position: relative;
  z-index: 1;
  padding: 10px 20px !important;
  font-size: 13px !important;
  flex-shrink: 0;
}

.nd-profile-wrapper {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nd-profile-wrapper .nd-glass { margin-bottom: 0; }

.nd-profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.nd-profile-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.nd-profile-section-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nd-profile-stat-card {
  text-align: center;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.nd-profile-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(254,35,124,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.nd-profile-stat-val {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 4px;
  color: #fff;
}

.nd-profile-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.35);
  font-weight: 600;
}

.nd-profile-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 10px;
  padding: 10px 14px;
}

.nd-profile-code {
  font-size: 15px;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  color: #fe237c;
  letter-spacing: 2px;
}

.nd-profile-tradeurl {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 10px;
  padding: 10px 14px;
  word-break: break-all;
  font-family: 'Courier New', monospace;
}

.nd-profile-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.nd-profile-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 14px;
  transition: all .3s;
  text-align: center;
}

.nd-profile-link-card span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
}

.nd-profile-link-card:hover {
  background: rgba(254,35,124,.06);
  border-color: rgba(254,35,124,.15);
  transform: translateY(-2px);
}

.nd-profile-link-card:hover span { color: #fe237c; }

@media (max-width: 768px) {
  .nd-profile-hero-content { flex-direction: column; text-align: center; }
  .nd-profile-hero { justify-content: center; text-align: center; }
  .nd-profile-badges { justify-content: center; }
  .nd-profile-links { grid-template-columns: repeat(2, 1fr); }
  .nd-profile-avatar { width: 72px; height: 72px; }
  .nd-profile-name { font-size: 18px; }
  .nd-profile-stats-grid { grid-template-columns: 1fr; }
  .nd-profile-info-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ACTIVE TRADES
   ============================================================ */
.nd-active-trades-wrap {
  padding: 12px 0;
}
.nd-at-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 10px;
  transition: border-color .2s;
}
.nd-at-card:last-child { margin-bottom: 0; }

.nd-at-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.nd-at-status {
  display: flex;
  align-items: center;
  gap: 7px;
}
.nd-at-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.nd-at-status-text {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.nd-at-status-processing .nd-at-status-dot { background: #f59e0b; box-shadow: 0 0 8px rgba(245,158,11,.5); animation: nd-at-pulse 1.5s infinite; }
.nd-at-status-processing .nd-at-status-text { color: #f59e0b; }
.nd-at-status-processing { border-color: rgba(245,158,11,.15); }

.nd-at-status-queue .nd-at-status-dot { background: #8b5cf6; }
.nd-at-status-queue .nd-at-status-text { color: #8b5cf6; }

.nd-at-status-waiting .nd-at-status-dot { background: #3b82f6; box-shadow: 0 0 8px rgba(59,130,246,.5); animation: nd-at-pulse 1.5s infinite; }
.nd-at-status-waiting .nd-at-status-text { color: #3b82f6; }
.nd-at-status-waiting { border-color: rgba(59,130,246,.15); }

.nd-at-status-done .nd-at-status-dot { background: #10b981; }
.nd-at-status-done .nd-at-status-text { color: #10b981; }
.nd-at-status-done { border-color: rgba(16,185,129,.15); }

.nd-at-status-error .nd-at-status-dot { background: #ef4444; }
.nd-at-status-error .nd-at-status-text { color: #ef4444; }
.nd-at-status-error { border-color: rgba(239,68,68,.15); }

@keyframes nd-at-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.nd-at-progress {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
}
.nd-at-progress-bar {
  height: 100%;
  width: 30%;
  border-radius: 2px;
  background: #f59e0b;
  animation: nd-at-slide 1.8s ease-in-out infinite;
}
.nd-at-status-waiting .nd-at-progress-bar { background: #3b82f6; }
@keyframes nd-at-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}

.nd-at-section { margin-bottom: 8px; }
.nd-at-section:last-of-type { margin-bottom: 0; }
.nd-at-section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.nd-at-label-send { color: rgba(239,68,68,.6); }
.nd-at-label-receive { color: rgba(16,185,129,.6); }

.nd-at-arrow {
  display: flex;
  justify-content: center;
  padding: 4px 0;
  color: rgba(255,255,255,.15);
}

.nd-at-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.nd-at-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.04);
  min-width: 0;
}
.nd-at-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.nd-at-item-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.nd-at-item-name {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}
.nd-at-item-price {
  font-size: 10px;
  color: rgba(255,255,255,.35);
}
.nd-at-item-more {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.4);
  justify-content: center;
  padding: 5px 14px;
}

.nd-at-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.nd-at-accept {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  animation: nd-at-pulse-btn 2s ease-in-out infinite;
}
@keyframes nd-at-pulse-btn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(254,35,124,.3); }
  50% { box-shadow: 0 0 0 8px rgba(254,35,124,0); }
}
.nd-at-dismiss {
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background: rgba(16,185,129,.1);
  color: #10b981;
  transition: background .2s;
}
.nd-at-dismiss:hover { background: rgba(16,185,129,.2); }
.nd-at-dismiss-err {
  background: rgba(239,68,68,.1);
  color: #ef4444;
}
.nd-at-dismiss-err:hover { background: rgba(239,68,68,.2); }

@media (max-width: 576px) {
  .nd-at-item-name { max-width: 60px; }
  .nd-at-card { padding: 12px; }
}

/* ============================================================
   PAGE: RELATÓRIOS (charts + tables)
   ============================================================ */

/* KPI Cards row */
.nd-rpt-kpis {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
@media (max-width: 1200px) { .nd-rpt-kpis { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .nd-rpt-kpis { grid-template-columns: repeat(2, 1fr); } }

.nd-rpt-kpi {
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.nd-rpt-kpi-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.04);
  flex-shrink: 0;
}
.nd-rpt-kpi-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.nd-rpt-kpi-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: rgba(255,255,255,.4);
}
.nd-rpt-kpi-value {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}
.nd-rpt-kpi-diff {
  font-size: 12px;
  font-weight: 600;
}

.nd-rpt-diff-up { color: #10b981; }
.nd-rpt-diff-down { color: #ef4444; }
.nd-rpt-diff-neutral { color: rgba(255,255,255,.35); }

/* Stats grid */
.nd-rpt-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 992px) { .nd-rpt-stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .nd-rpt-stats-grid { grid-template-columns: 1fr; } }

.nd-rpt-stat-block {
  padding: 20px;
}
.nd-rpt-block-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nd-rpt-sub-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: rgba(255,255,255,.3);
  margin: 0 0 8px;
}

.nd-rpt-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.nd-rpt-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 4px;
  border-radius: 8px;
  background: rgba(255,255,255,.03);
}
.nd-rpt-mini-val {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.nd-rpt-mini-lbl {
  font-size: 10px;
  color: rgba(255,255,255,.35);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: .3px;
}

/* Tags (languages) */
.nd-rpt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.nd-rpt-tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.5);
}
.nd-rpt-tag b { color: #fff; margin-left: 3px; }

/* Trading type list */
.nd-rpt-type-list { display: flex; flex-direction: column; gap: 4px; }
.nd-rpt-type-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,.03);
}
.nd-rpt-type-name {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
}
.nd-rpt-type-cnt {
  font-size: 11px;
  color: rgba(255,255,255,.4);
}

/* Dot indicators */
.nd-rpt-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
}
.nd-rpt-dot-on { background: #10b981; box-shadow: 0 0 6px rgba(16,185,129,.5); }
.nd-rpt-dot-off { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,.3); }

/* Status badges */
.nd-rpt-st-ok { color: #10b981; font-weight: 600; font-size: 12px; }
.nd-rpt-st-pending { color: #f59e0b; font-weight: 600; font-size: 12px; }
.nd-rpt-st-cancel { color: #ef4444; font-weight: 600; font-size: 12px; }

/* Command badge */
.nd-rpt-cmd {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 5px;
  font-family: monospace;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.5);
}
.nd-rpt-cmd-buy {
  background: rgba(16,185,129,.1);
  color: #10b981;
}
.nd-rpt-cmd-sell {
  background: rgba(59,130,246,.1);
  color: #3b82f6;
}

/* Avatar in table */
.nd-rpt-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 6px;
}

/* Forecast KPIs */
.nd-rpt-forecast-kpis {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.nd-rpt-fc-kpi {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,.03);
}
.nd-rpt-fc-kpi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.nd-rpt-fc-kpi-body {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
}
.nd-rpt-fc-kpi-now { color: rgba(255,255,255,.5); }
.nd-rpt-fc-kpi-arrow { color: rgba(255,255,255,.2); font-size: 11px; }
.nd-rpt-fc-kpi-pred { color: #fff; }
.nd-rpt-fc-kpi-trend {
  font-size: 10px;
  color: rgba(255,255,255,.3);
  margin-left: 4px;
  white-space: nowrap;
}

/* Bot capacity bars */
.nd-rpt-capacity-list { display: flex; flex-direction: column; gap: 8px; }
.nd-rpt-cap-row { display: flex; align-items: center; gap: 12px; }
.nd-rpt-cap-name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  min-width: 100px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nd-rpt-cap-bars { flex: 1; display: flex; gap: 10px; }
.nd-rpt-cap-bar-wrap { flex: 1; display: flex; align-items: center; gap: 6px; }
.nd-rpt-cap-bar-label { font-size: 10px; color: rgba(255,255,255,.3); min-width: 34px; text-transform: uppercase; letter-spacing: .3px; }
.nd-rpt-cap-bar-bg { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.06); overflow: hidden; }
.nd-rpt-cap-bar-fill { height: 100%; border-radius: 3px; transition: width .5s ease; }
.nd-rpt-cap-bar-val { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.5); min-width: 32px; text-align: right; }

.nd-chart-card { padding: 24px; }

.nd-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.nd-chart-title {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
}

.nd-chart-legends {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
}
.nd-chart-legend {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.3);
  cursor: pointer;
  transition: color .2s;
  user-select: none;
}
.nd-chart-legend.active { color: rgba(255,255,255,.8); }
.nd-chart-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: opacity .2s;
}
.nd-chart-legend:not(.active) .nd-chart-legend-dot { opacity: .3; }

.nd-chart-select {
  max-width: 130px;
  padding: 6px 12px !important;
  font-size: 12px !important;
  border-radius: 8px !important;
}

.nd-chart-body {
  position: relative;
  width: 100%;
  min-height: 200px;
}

.nd-chart-body canvas {
  width: 100% !important;
}

/* Tables */
.nd-table-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 16px;
  color: #fff;
}

.nd-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}

.nd-table thead th {
  background: rgba(254,35,124,.06);
  color: rgba(255,255,255,.6);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  white-space: nowrap;
}

.nd-table thead th:first-child { border-radius: 10px 0 0 0; }
.nd-table thead th:last-child { border-radius: 0 10px 0 0; }

.nd-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.03);
  color: rgba(255,255,255,.7);
  vertical-align: middle;
}

.nd-table tbody tr:hover td {
  background: rgba(255,255,255,.02);
}

.nd-table tbody tr:last-child td { border-bottom: none; }
.nd-table tbody tr:last-child td:first-child { border-radius: 0 0 0 10px; }
.nd-table tbody tr:last-child td:last-child { border-radius: 0 0 10px 0; }

/* keep compatibility with old table classes */
.table-striped.table-dark { background: transparent; color: #fff; }
.table-striped.table-dark th { background: rgba(254,35,124,.06); color: rgba(255,255,255,.6); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.table-striped.table-dark td { padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.03); color: rgba(255,255,255,.7); }
.table-striped.table-dark tbody tr:hover td { background: rgba(255,255,255,.02); }

/* ============================================================
   PAGE: LOGS
   ============================================================ */
.nd-log-card {
  padding: 16px;
  height: 100%;
}

.nd-log-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fe237c;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nd-log-title::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fe237c;
  animation: ndPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.nd-log-pre {
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 10px;
  padding: 12px;
  font-size: 11px;
  font-family: 'Courier New', monospace;
  color: rgba(255,255,255,.6);
  max-height: 300px;
  overflow-y: auto;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.5;
}

.nd-log-pre::-webkit-scrollbar { width: 4px; }
.nd-log-pre::-webkit-scrollbar-track { background: transparent; }
.nd-log-pre::-webkit-scrollbar-thumb { background: rgba(254,35,124,.25); border-radius: 4px; }

/* keep compatibility with old .bloco class used by JS */
.bloco {
  background: linear-gradient(145deg, rgba(30,30,42,.5), rgba(16,16,22,.7));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 20px;
}
.bloco h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fe237c;
  margin: 0 0 10px;
}
.bloco pre {
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 10px;
  padding: 12px;
  font-size: 11px;
  font-family: 'Courier New', monospace;
  color: rgba(255,255,255,.6);
  max-height: 300px;
  overflow-y: auto;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-all;
}

/* bloco-grafico compat */
.bloco-grafico {
  background: linear-gradient(145deg, rgba(30,30,42,.5), rgba(16,16,22,.7));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 20px;
}
.bloco-grafico .title { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.7); }
.bloco-grafico .valor { color: #fe237c; font-weight: 800; }

/* ============================================================
   PAGE: FULLPAGE (maintenance, 404)
   ============================================================ */
.nd-fullpage {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  overflow: hidden;
  background: #0a0a0f;
}

.nd-fullpage-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254,35,124,.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: ndFloat 10s ease-in-out infinite;
}

.nd-fullpage-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 480px;
}

.nd-fullpage-icon {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: rgba(254,35,124,.08);
  border: 1px solid rgba(254,35,124,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.nd-fullpage-code {
  font-size: clamp(80px, 15vw, 140px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fe237c, #ff6b9d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -4px;
}

.nd-fullpage-title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  margin: 0 0 12px;
  color: #fff;
}

.nd-fullpage-desc {
  font-size: 15px;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  margin: 0 0 28px;
}

.nd-fullpage-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.nd-fullpage-socials a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}

.nd-fullpage-socials a:hover {
  background: rgba(254,35,124,.1);
  border-color: rgba(254,35,124,.2);
  transform: translateY(-2px);
}

.nd-fullpage-socials img { height: 18px; width: auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .nd-hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .nd-hero-desc { margin: 0 auto 36px; }
  .nd-hero-actions { justify-content: center; }
  .nd-hero-visual { order: -1; }
  .nd-grid { grid-template-columns: 1fr; gap: 14px; }
  .nd-grid-2 { grid-template-columns: 1fr; }
  .nd-grid-3 { grid-template-columns: 1fr; }
  .nd-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nd-split { grid-template-columns: 1fr; gap: 36px; }
  .nd-split-rev { direction: ltr; }
  .nd-split-text { text-align: center; }
  .nd-split-text .nd-title, .nd-split-text .nd-subtitle { text-align: center; }
  .nd-stats { grid-template-columns: repeat(2, 1fr); }

  .nd-sell-toolbar { gap: 10px; }
  .nd-sell-tabs { width: 100%; overflow-x: auto; }
  .nd-sell-controls { width: 100%; }
  .nd-sell-search { min-width: 0; }
  .wrapperTradeButton { width: 100%; }
  .nd-sell-trade-btn { width: 100%; justify-content: center; }
  .nd-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nd-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

.empty {
  display: block;
  height: 150px;
  width: auto;
  margin: 40px auto;
  opacity: .45;
}

.loading {
  display: block;
  width: 48px;
  height: 48px;
  margin: 80px auto;
  border: 3px solid rgba(255,255,255,.08);
  border-top-color: #fe237c;
  border-radius: 50%;
  animation: nd-spin .7s linear infinite;
}

.checkingBlockchain .loading {
  width: 15px;
  height: 15px;
  margin: 0 7.5px 0 0;
  border-width: 2px;
}

@keyframes nd-spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   PAGE: STORE (buy/sell card sets)
   ============================================================ */
.nd-store-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 14px;
}

.nd-store-tabs {
  display: flex;
  gap: 3px;
  background: rgba(0,0,0,.3);
  border-radius: 12px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.04);
}

.nd-store-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,.4);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  position: relative;
  letter-spacing: .2px;
}

.nd-store-tab svg {
  transition: all .3s cubic-bezier(.4,0,.2,1);
  stroke: rgba(255,255,255,.35);
  flex-shrink: 0;
}

.nd-store-tab:hover {
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.04);
}

.nd-store-tab:hover svg { stroke: rgba(255,255,255,.55); }

.nd-store-tab.active {
  background: linear-gradient(135deg, rgba(254,35,124,.18), rgba(254,35,124,.1));
  color: #fe237c;
  box-shadow: 0 2px 12px rgba(254,35,124,.12);
}

.nd-store-tab.active svg { stroke: #fe237c; }

.nd-store-subtabs {
  display: flex;
  gap: 3px;
  background: rgba(0,0,0,.25);
  border-radius: 10px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.04);
}

.nd-store-subtab {
  padding: 8px 18px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,.38);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  letter-spacing: .4px;
  text-transform: uppercase;
  position: relative;
}

.nd-store-subtab:hover {
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.04);
}

.nd-store-subtab.active {
  background: rgba(255,255,255,.1);
  color: #fff;
  box-shadow: 0 1px 8px rgba(0,0,0,.15);
}

.nd-store-subtab--coming { opacity: .5; }
.nd-store-subtab--coming .nd-badge-soon {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: rgba(254,35,124,.15);
  color: #fe237c;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.nd-store-coming-overlay { margin-top: 16px; border-radius: 16px; }

.nd-store-section { margin-top: 14px; margin-bottom: 0; }

.nd-store-sets-toolbar .nd-sell-controls { flex: 1; }
.nd-store-sets-toolbar .nd-store-cart-wrap { margin-left: auto; }
.nd-store-items-toolbar .nd-store-cart-wrap { margin-left: auto; }

.nd-store-trade-toggle.disable {
  opacity: .45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: 0 2px 10px rgba(254,35,124,.12) !important;
}

.nd-store-trade-toggle:not(.disable) {
  opacity: 1;
  cursor: pointer;
}

.nd-steam-category {
  min-width: 160px;
}

.nd-store-controls {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 0;
}


.nd-store-price-info {
  margin-left: auto;
}

.nd-store-price-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  background: rgba(0,0,0,.15);
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.04);
  white-space: nowrap;
}

.nd-store-price-tag strong {
  color: #fe237c;
  font-size: 14px;
}

.nd-store-price-tag svg { stroke: #fe237c; opacity: .6; }

/* --- Inventory wrap --- */
.nd-store-inventory-wrap {
  padding: 14px;
  margin-bottom: 14px;
}

.nd-store-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  min-height: 300px;
}

.nd-store-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: rgba(255,255,255,.35);
  font-size: 14px;
}

/* --- Item card --- */
.nd-store-item {
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, rgba(28,28,40,.95) 0%, rgba(18,18,26,.98) 100%);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}

.nd-store-item:hover {
  border-color: rgba(254,35,124,.2);
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

.nd-store-item-img {
  width: 100%;
  height: 68px;
  overflow: hidden;
  position: relative;
}

.nd-store-item-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: linear-gradient(transparent, rgba(18,18,26,.98));
}

.nd-store-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nd-store-item-body {
  padding: 10px 12px 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nd-store-item-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.nd-store-item-meta {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: rgba(255,255,255,.35);
}

.nd-store-item-sets {
  color: #fe237c;
  font-weight: 600;
}

.nd-store-item-price {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.75);
}

.nd-store-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 12px;
}

/* --- Quantity selector --- */
.nd-store-qty {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,.25);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
}

.nd-store-qty-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,.5);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
}

.nd-store-qty-btn:hover { background: rgba(255,255,255,.06); color: #fff; }

.nd-store-qty-input {
  width: 36px;
  height: 30px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
}

.nd-store-qty-input::-webkit-outer-spin-button,
.nd-store-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.nd-store-add-btn {
  flex: 1;
  height: 32px;
  border: none;
  background: linear-gradient(135deg, #fe237c, #d41a68);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(254,35,124,.2);
}

.nd-store-add-btn:hover {
  box-shadow: 0 4px 16px rgba(254,35,124,.35);
  transform: translateY(-1px);
}

.nd-store-add-btn.in-cart {
  background: linear-gradient(135deg, #1bb76e, #159a5c);
  box-shadow: 0 2px 10px rgba(27,183,110,.25);
}

/* --- Cart --- */
.nd-store-cart-wrap {
  position: relative;
  margin-left: auto;
}

.nd-store-cart-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  background: linear-gradient(135deg, #fe237c, #d41a68);
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(254,35,124,.25);
  font-family: inherit;
}

.nd-store-cart-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(254,35,124,.35);
}

.nd-store-cart-toggle svg { stroke: #fff; }

.nd-store-cart-count {
  background: rgba(255,255,255,.25);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  line-height: 1.4;
}

.nd-store-cart-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 100;
  width: 360px;
  padding: 14px 16px;
  border: 1px solid rgba(254,35,124,.18);
  border-radius: 14px;
  background: #14141e;
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}

.nd-store-cart-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nd-store-cart-header svg { stroke: #fe237c; opacity: .7; }

.nd-store-cart-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 180px;
  overflow-y: auto;
  margin-bottom: 12px;
}

.nd-store-cart-body::-webkit-scrollbar { width: 3px; }
.nd-store-cart-body::-webkit-scrollbar-thumb { background: rgba(254,35,124,.2); border-radius: 3px; }

.nd-store-cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  background: rgba(0,0,0,.15);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.04);
}

.nd-store-cart-item img {
  width: 46px;
  height: 17px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}

.nd-store-cart-item-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.nd-store-cart-item-name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nd-store-cart-item-qty {
  font-size: 11px;
  color: rgba(255,255,255,.35);
}

.nd-store-cart-item-price {
  font-size: 13px;
  font-weight: 700;
  color: #fe237c;
  white-space: nowrap;
}

.nd-store-cart-remove {
  width: 22px;
  height: 22px;
  border: none;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.35);
  border-radius: 6px;
  cursor: pointer;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
  flex-shrink: 0;
}

.nd-store-cart-remove:hover { background: rgba(254,35,124,.15); color: #fe237c; }

.nd-store-cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nd-store-cart-total {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.5);
}

.nd-store-cart-total strong {
  font-size: 20px;
  color: #fe237c;
}

.nd-store-cart-btn {
  gap: 6px;
  padding: 10px 28px;
  font-size: 14px;
}

@media (max-width: 992px) {
  .nd-store-items { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

@media (max-width: 768px) {
  .nd-store-toolbar { flex-wrap: wrap; gap: 8px; }
  .nd-store-tabs { width: 100%; justify-content: center; }
  .nd-store-tab { padding: 9px 18px; flex: 1; justify-content: center; }
  .nd-store-subtabs { width: 100%; justify-content: center; }
  .nd-store-subtab { padding: 7px 14px; flex: 1; text-align: center; }
  .nd-store-controls { width: 100%; flex: unset; }
  .nd-store-cart-wrap { margin-left: 0; }
  .nd-store-cart-dropdown { right: auto; left: 0; width: calc(100vw - 60px); max-width: 360px; }
  .nd-store-cart-footer { flex-direction: column; gap: 10px; }
  .nd-store-cart-btn { width: 100%; justify-content: center; }
}

@media (max-width: 576px) {
  .nd-store-items { grid-template-columns: 1fr 1fr; gap: 8px; }
  .nd-store-item-img { height: 52px; }
  .nd-store-item-body { padding: 8px 8px 4px; }
  .nd-store-item-name { font-size: 11px; }
  .nd-store-item-actions { padding: 6px 8px 8px; flex-direction: column; }
  .nd-store-add-btn { width: 100%; }
  .nd-sell-inventory-wrap .inventory { padding: 6px; }
  .nd-sell-inventory-wrap .inventory > .row > [class*="col"] { padding-left: 3px; padding-right: 3px; }
  .inventory .item { margin-bottom: 6px; }
}

@media (max-width: 576px) {
  .nd-hero { min-height: auto; padding: 100px 16px 60px; }
  .nd-section { padding: 64px 16px; }
  .nd-hero-card { padding: 24px; }
  .nd-stat-val { font-size: 28px; }
  .nd-stat { padding: 20px 12px; }
  .nd-footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .nd-page { padding: 80px 12px 24px; }
  .nd-glass { padding: 16px; }
}
