:root {
  /* Reads the shared tokens from design-system.css, which loads first. */
  --vt-lime: var(--brand-400, #d9ff57);
  --vt-lime-soft: rgba(var(--brand-rgb, 217, 255, 87), .12);
  --vt-ink: #151b0b;
  --vt-muted: var(--ink-400, #94a28b);
  --vt-line: var(--hairline, rgba(217, 255, 87, .16));
}

.vt-feature-stack {
  display: grid;
  gap: 12px;
  margin: 14px 0 88px;
}

.vt-feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--vt-line);
  border-radius: 20px;
  padding: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(217, 255, 87, .11), transparent 42%),
    linear-gradient(145deg, rgba(29, 38, 16, .94), rgba(18, 23, 11, .98));
  box-shadow: 0 16px 28px rgba(0, 0, 0, .16);
}

.vt-feature-card::after {
  position: absolute;
  right: -35px;
  bottom: -55px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(217, 255, 87, .08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.vt-feature-head,
.vt-wallet-row,
.vt-referral-head,
.vt-referral-row,
.vt-feature-actions,
.vt-case-wallet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vt-feature-head {
  margin-bottom: 14px;
}

.vt-feature-kicker {
  color: var(--vt-lime);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.vt-feature-title {
  margin: 4px 0 0;
  color: #f5f8e8;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.035em;
}

.vt-feature-description {
  margin: 0 0 14px;
  color: var(--vt-muted);
  font-size: 11px;
  line-height: 1.55;
}

.vt-wallet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.vt-wallet-item {
  min-width: 0;
  border: 1px solid rgba(217, 255, 87, .12);
  border-radius: 14px;
  padding: 11px;
  background: rgba(0, 0, 0, .16);
}

.vt-wallet-label {
  display: block;
  margin-bottom: 5px;
  color: var(--vt-muted);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.vt-wallet-value {
  color: #f7f9eb;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -.04em;
}

.vt-wallet-unit {
  color: var(--vt-lime);
  font-size: 10px;
  font-weight: 750;
}

.vt-feature-actions {
  justify-content: flex-start;
  margin-top: 12px;
  flex-wrap: wrap;
}

.vt-feature-button,
.vt-case-buy,
.vt-referral-button {
  min-height: 38px;
  border: 1px solid rgba(217, 255, 87, .28);
  border-radius: 11px;
  padding: 0 13px;
  color: var(--vt-ink);
  background: var(--vt-lime);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  transition: transform .18s ease, filter .18s ease, background .18s ease;
}

.vt-feature-button:hover,
.vt-case-buy:hover,
.vt-referral-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.vt-feature-button.secondary,
.vt-referral-button.secondary {
  color: #dce7c0;
  background: rgba(217, 255, 87, .08);
}

.vt-feature-button:active,
.vt-case-buy:active,
.vt-referral-button:active {
  transform: translateY(0);
}

.vt-referral-head {
  align-items: flex-start;
}

.vt-referral-badge {
  flex: 0 0 auto;
  border: 1px solid rgba(217, 255, 87, .25);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--vt-lime);
  background: var(--vt-lime-soft);
  font-size: 10px;
  font-weight: 800;
}

.vt-referral-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 14px 0;
}

.vt-referral-stat {
  border-radius: 12px;
  padding: 9px 8px;
  background: rgba(0, 0, 0, .16);
}

.vt-referral-stat strong,
.vt-referral-stat span {
  display: block;
}

.vt-referral-stat strong {
  color: #f6f9e9;
  font-size: 16px;
}

.vt-referral-stat span {
  margin-top: 3px;
  color: var(--vt-muted);
  font-size: 9px;
  line-height: 1.25;
}

.vt-referral-link {
  display: block;
  overflow: hidden;
  border: 1px dashed rgba(217, 255, 87, .25);
  border-radius: 10px;
  padding: 10px;
  color: #cce58c;
  background: rgba(0, 0, 0, .15);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vt-referral-list {
  display: grid;
  gap: 7px;
  margin-top: 11px;
}

.vt-referral-row {
  border-top: 1px solid rgba(217, 255, 87, .1);
  padding-top: 8px;
}

.vt-referral-row > div:first-child {
  min-width: 0;
}

.vt-referral-row strong,
.vt-referral-row small {
  display: block;
}

.vt-referral-row strong {
  overflow: hidden;
  color: #ecf2db;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vt-referral-row small {
  margin-top: 3px;
  color: var(--vt-muted);
  font-size: 9px;
}

.vt-referral-row .vt-referral-button {
  min-height: 29px;
  padding: 0 9px;
  font-size: 9px;
}

.vt-case-wallet {
  margin-bottom: 12px;
  border: 1px solid var(--vt-line);
  border-radius: 13px;
  padding: 10px 12px;
  color: #dfeac5;
  background: rgba(217, 255, 87, .06);
  font-size: 11px;
}

.vt-case-wallet strong {
  color: var(--vt-lime);
  font-size: 15px;
}

.vt-case-wallet button {
  min-height: 29px;
  padding: 0 9px;
}

.vt-modal-backdrop {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3, 6, 1, .8);
  backdrop-filter: blur(8px);
}

.vt-modal {
  width: min(100%, 390px);
  border: 1px solid rgba(217, 255, 87, .25);
  border-radius: 22px;
  padding: 19px;
  color: #eef4dc;
  background: #131a0b;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .48);
}

.vt-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.vt-modal h2 {
  margin: 4px 0 0;
  font-size: 21px;
  letter-spacing: -.04em;
}

.vt-modal p {
  margin: 9px 0 16px;
  color: var(--vt-muted);
  font-size: 11px;
  line-height: 1.55;
}

.vt-modal-close {
  width: 31px;
  height: 31px;
  border: 1px solid rgba(217, 255, 87, .18);
  border-radius: 50%;
  color: #d9ff57;
  background: rgba(217, 255, 87, .08);
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
}

.vt-pack-list {
  display: grid;
  gap: 8px;
}

.vt-stars-pack {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 1px solid rgba(217, 255, 87, .18);
  border-radius: 13px;
  padding: 12px;
  color: #edf5d9;
  background: rgba(217, 255, 87, .06);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.vt-stars-pack:hover {
  border-color: rgba(217, 255, 87, .5);
  background: rgba(217, 255, 87, .12);
}

.vt-stars-pack strong {
  color: #f7f9ec;
  font-size: 13px;
}

.vt-stars-pack span {
  color: var(--vt-lime);
  font-size: 13px;
  font-weight: 850;
}

.vt-modal-note {
  margin: 13px 0 0 !important;
  font-size: 9px !important;
}

.vt-case-result {
  text-align: center;
}

.vt-case-result .vt-reward {
  margin: 12px 0 3px;
  color: var(--vt-lime);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -.07em;
}

.vt-case-result .vt-reward small {
  color: #eff7db;
  font-size: 12px;
  letter-spacing: .08em;
}

.vt-toast {
  position: fixed;
  z-index: 1100;
  right: 16px;
  bottom: 82px;
  max-width: min(360px, calc(100vw - 32px));
  border: 1px solid rgba(217, 255, 87, .28);
  border-radius: 12px;
  padding: 11px 13px;
  color: #ecf5d5;
  background: #1a2410;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
  font-size: 11px;
  animation: vt-toast-in .2s ease-out both;
}

@keyframes vt-toast-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 420px) {
  .vt-feature-card { padding: 14px; }
  .vt-referral-stats { gap: 5px; }
  .vt-referral-stat strong { font-size: 14px; }
}