/* Vortex Store V10 - Premium Activity Cards */

.vs-live-sale {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 1000000;
  width: min(390px, calc(100% - 32px));
  min-height: 92px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-left: 3px solid #b832ff;
  background:
    radial-gradient(circle at 0% 0%, rgba(184,50,255,.16), transparent 38%),
    radial-gradient(circle at 100% 100%, rgba(255,42,95,.12), transparent 34%),
    rgba(13,13,23,.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 24px 70px rgba(0,0,0,.50),
    0 0 34px rgba(184,50,255,.10);
  color: #f1f5f9;
  padding: 14px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  opacity: 0;
  transform: translateX(-18px) translateY(12px) scale(.98);
  pointer-events: none;
  transition: opacity .34s ease, transform .34s ease;
}

.vs-live-sale.show {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
}

.vs-live-sale-img {
  width: 92px;
  height: 64px;
  border-radius: 13px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  align-self: center;
}

.vs-live-sale-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vs-live-sale-body {
  min-width: 0;
  padding-right: 4px;
}

.vs-live-sale-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.vs-live-sale-kicker {
  color: #d946ef;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  white-space: nowrap;
}

.vs-live-sale-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  font-size: 9px;
  font-weight: 950;
  border: 1px solid rgba(34,197,94,.25);
  background: rgba(34,197,94,.08);
  padding: 5px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.vs-live-sale-dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,.55);
  animation: vsLivePulse 1.6s infinite;
}

@keyframes vsLivePulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  75% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.vs-live-sale-name {
  font-size: 14px;
  font-weight: 950;
  color: #fff;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vs-live-sale-text {
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.vs-live-sale-text b {
  color: #fff;
  font-weight: 950;
}

.vs-live-sale-time {
  margin-top: 6px;
  color: #7f8aa3;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.vs-live-sale-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,.045);
  color: #94a3b8;
  font-size: 13px;
  cursor: pointer;
  opacity: 0;
  transition: .2s ease;
}

.vs-live-sale:hover .vs-live-sale-close {
  opacity: 1;
}

.vs-live-sale-close:hover {
  color: #fff;
  background: rgba(255,42,95,.14);
}

.vs-live-sale-bar {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  overflow: hidden;
}

.vs-live-sale-progress {
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b832ff, #ff2a5f);
  transform-origin: left;
  animation: vsLiveSaleProgress 6.5s linear forwards;
}

@keyframes vsLiveSaleProgress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 640px) {
  .vs-live-sale {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    grid-template-columns: 78px 1fr;
  }

  .vs-live-sale-img {
    width: 78px;
    height: 58px;
  }
}
