/* Live promo dashboard cards (replaces static PNG) */
.feature-promo-cards-stack {
  position: relative;
  z-index: 1;
  width: min(320px, 100%);
  max-width: 320px;
  min-height: 280px;
  flex-shrink: 0;
  align-self: flex-end;
  margin-left: 0;
  margin-right: auto;
  pointer-events: none;
  filter: drop-shadow(0 14px 36px rgba(4, 15, 10, 0.65));
}

.promo-dash-card {
  background: rgba(18, 24, 38, 0.92);
  border: 1px solid rgba(71, 85, 105, 0.45);
  border-radius: 14px;
  padding: 10px 12px;
  color: #e2e8f0;
  box-sizing: border-box;
}

.promo-dash-card--txn {
  position: absolute;
  top: 0;
  left: 0;
  width: 58%;
  z-index: 2;
}

.promo-dash-card--single {
  position: absolute;
  top: 38%;
  left: 0;
  width: 52%;
  z-index: 3;
}

.promo-dash-card--list {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72%;
  z-index: 4;
}

.promo-dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #f8fafc;
}

.promo-dash-filter {
  font-size: 9px;
  font-weight: 600;
  color: #94a3b8;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.promo-txn-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 5px 0;
  font-size: 9px;
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.promo-txn-row:last-child {
  border-bottom: none;
}

.promo-txn-coin {
  font-weight: 700;
  color: #f1f5f9;
}

.promo-txn-dir {
  font-size: 8px;
  font-weight: 600;
}

.promo-txn-dir--in { color: #2dd4bf; }
.promo-txn-dir--out { color: #f87171; }

.promo-txn-amt {
  font-weight: 600;
  color: #cbd5e1;
}

.promo-asset-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.promo-asset-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
}

.promo-asset-icon--btc { background: #f7931a; }
.promo-asset-icon--bnb { background: #f3ba2f; color: #1a1400; }
.promo-asset-icon--eth { background: #627eea; }

.promo-asset-name {
  font-size: 11px;
  font-weight: 700;
}

.promo-asset-price {
  font-size: 10px;
  color: #94a3b8;
  margin-bottom: 6px;
}

.promo-asset-change {
  font-size: 9px;
  font-weight: 700;
  margin-top: 2px;
}

.promo-asset-change--up { color: #2dd4bf; }
.promo-asset-change--down { color: #f87171; }

.promo-spark-wrap {
  width: 100%;
  height: 36px;
  margin: 4px 0;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(6, 12, 22, 0.55);
}

.promo-spark {
  width: 100%;
  height: 100%;
  display: block;
}

.promo-spark-line {
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.promo-spark-fill {
  stroke: none;
  opacity: 0.35;
}

.promo-spark-line--up { stroke: #2dd4bf; }
.promo-spark-fill--up { fill: url(#promoSparkFillUp); }
.promo-spark-line--down { stroke: #f87171; }
.promo-spark-fill--down { fill: url(#promoSparkFillDown); }

.promo-asset-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(51, 65, 85, 0.45);
}

.promo-asset-row:last-child {
  border-bottom: none;
}

.promo-asset-row .promo-spark-wrap {
  grid-column: 1 / -1;
  height: 28px;
  margin: 2px 0 0;
}

.promo-asset-row-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.promo-list-title {
  font-size: 11px;
  font-weight: 800;
  margin: 0 0 6px;
  color: #f8fafc;
}

/* PC / tablet: nudge trade assets panel right */
@media (min-width: 769px) {
  .feature-promo-cards-stack {
    margin-left: 400px;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .feature-promo-cards-stack {
    max-width: 220px;
    min-height: 200px;
    margin-left: 0;
    transform: translateY(50px);
  }

  .promo-dash-card--txn { width: 62%; }
  .promo-dash-card--single { width: 56%; top: 34%; }
  .promo-dash-card--list { width: 78%; }
}
