:root {
  --sp-dash-card-bg:
    radial-gradient(700px 260px at 10% 0%, rgba(255, 8, 8, 0.18), transparent 60%),
    radial-gradient(520px 240px at 90% 10%, rgba(255, 255, 255, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%),
    var(--gt-bg-2);
}

#sp-dashboard {
  background:
    radial-gradient(1200px 520px at 15% 0%, rgba(255, 8, 8, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(11, 14, 19, 0.75), rgba(11, 14, 19, 0.92)),
    url("../img/bg.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

#sp-dashboard .gt-pricing-box-items-2 {
  background: var(--sp-dash-card-bg) !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

#sp-dashboard .sp-dash-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(255, 8, 8, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(11, 14, 19, 0.35), rgba(11, 14, 19, 0.92));
  z-index: 0;
}

#sp-dashboard .sp-dash-card {
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
}

#sp-dashboard .sp-dash-card--1 {
  background-image: url("../img/dashboard/card-1.png") !important;
}
#sp-dashboard .sp-dash-card--2 {
  background-image: url("../img/dashboard/card-2.png") !important;
}
#sp-dashboard .sp-dash-card--3 {
  background-image: url("../img/dashboard/card-3.png") !important;
}
#sp-dashboard .sp-dash-card--4 {
  background-image: url("../img/dashboard/card-4.png") !important;
}
#sp-dashboard .sp-dash-card--5 {
  background-image: url("../img/dashboard/card-5.png") !important;
}

#sp-dashboard .sp-dash-card > *:not(.gt-price-tag) {
  position: relative;
  z-index: 1;
}

#sp-dashboard .sp-dash-card .gt-price-tag {
  position: absolute;
  z-index: 2;
}

#sp-dashboard .gt-pricing-header {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

#sp-dashboard .gt-button-wrapper {
  margin-top: auto;
}

#sp-dashboard .sp-dash-wallet-actions {
  display: flex;
  gap: 12px;
}

#sp-dashboard .sp-dash-wallet-actions .gt-theme-btn,
#sp-dashboard .sp-dash-wallet-actions .gt-theme-btn.gt-style-border {
  min-width: 0;
  flex: 1 1 0;
  padding-left: 18px;
  padding-right: 18px;
}

#sp-dashboard .sp-dash-wallet-actions .gt-theme-btn,
#sp-dashboard .sp-dash-wallet-actions .gt-theme-btn.gt-style-border {
  clip-path: none !important;
  border-radius: 12px !important;
}

#sp-dashboard .sp-dash-card__icon {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 3;
  width: 34px;
  height: 34px;
  opacity: 0.9;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

#sp-dashboard .sp-dash-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#sp-dashboard .sp-dash-card__list a,
#sp-dashboard .sp-dash-match-row {
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  color: var(--gt-white);
}

#sp-dashboard .sp-dash-match-row__thumb-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
}

#sp-dashboard .sp-dash-match-row__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#sp-dashboard .sp-dash-card__list a:hover,
#sp-dashboard .sp-dash-match-row:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 8, 8, 0.45);
  background: rgba(255, 8, 8, 0.08);
}

@media (max-width: 991px) {
  #sp-dashboard .gt-pricing-box-items-2 {
    min-height: 240px;
  }
}

