.store-shell {
  width: 95%;
  max-width: 95%;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.store-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(18, 18, 32, 0.88);
  border: 1px solid rgba(168, 85, 247, 0.32);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.store-title-group h1 {
  margin: 0;
  font-size: 1.7rem;
  color: #f8fafc;
}

.store-title-group p {
  margin: 0.25rem 0 0;
  color: #94a3b8;
  font-size: 0.94rem;
}

.store-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.balance-pill {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(56, 189, 248, 0.18));
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #7dd3fc;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-back-store {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.btn-back-store:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: #a855f7;
}

/* Hub de Categorías */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.35rem;
}

.hub-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(18, 18, 30, 0.92);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 18px;
  padding: 1.6rem;
  text-decoration: none;
  color: #f8fafc;
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}

.hub-card:hover {
  transform: translateY(-4px);
  border-color: #a855f7;
  box-shadow: 0 18px 38px rgba(124, 58, 237, 0.25);
}

.hub-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.28), rgba(56, 189, 248, 0.22));
  border: 1px solid rgba(168, 85, 247, 0.45);
  margin-bottom: 1rem;
}

.hub-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
}

.hub-card p {
  margin: 0 0 1.2rem;
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.5;
}

.hub-link-cta {
  font-weight: 700;
  font-size: 0.92rem;
  color: #c084fc;
}

/* Filtros / Búsqueda */
.store-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

.store-search {
  flex: 1 1 240px;
  max-width: 360px;
  padding: 0.65rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 12, 22, 0.9);
  color: #f8fafc;
  font-size: 0.93rem;
  outline: none;
}

.store-search:focus {
  border-color: #a855f7;
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 0.95rem;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  border-color: transparent;
  color: #fff;
}

/* Cards pequeñas de Avatares y Potenciadores */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.1rem;
}

.item-card {
  background: rgba(18, 18, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, border-color 0.18s;
}

.item-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 85, 247, 0.55);
}

.avatar-thumb-wrap {
  width: 100%;
  height: 155px;
  padding: 0.65rem;
  box-sizing: border-box;
  background: radial-gradient(circle at center, rgba(168, 85, 247, 0.12), rgba(8, 10, 18, 0.96));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.avatar-thumb-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.card-store-thumb-wrap {
  width: 100%;
  height: 215px;
  padding: 0.65rem;
  box-sizing: border-box;
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.12), rgba(8, 10, 18, 0.96));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-store-thumb-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.booster-thumb-exp {
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.22), rgba(8, 10, 18, 0.96));
}

.booster-thumb-ss {
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.22), rgba(8, 10, 18, 0.96));
}

.booster-thumb-luck {
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.24), rgba(8, 10, 18, 0.96));
}

.booster-guide {
  margin-top: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.55;
}

.booster-guide p {
  margin: 0 0 0.5rem;
}

.booster-guide ul {
  margin: 0;
  padding-left: 1.2rem;
}

.booster-guide li {
  margin-bottom: 0.25rem;
}

.booster-guide code {
  background: rgba(168, 85, 247, 0.16);
  color: #e9d5ff;
  padding: 0.1rem 0.38rem;
  border-radius: 5px;
  font-size: 0.83rem;
}

.item-body {
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.55rem;
}

.item-code {
  font-size: 0.75rem;
  font-weight: 700;
  color: #a855f7;
  letter-spacing: 0.04em;
}

.item-name {
  margin: 0;
  font-size: 0.85rem;
  color: #f8fafc;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.28rem;
  align-items: center;
}

.stat-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.4rem;
  border-radius: 6px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
}

.stat-badge.exp { background: rgba(59, 130, 246, 0.18); color: #93c5fd; }
.stat-badge.ss { background: rgba(16, 185, 129, 0.18); color: #6ee7b7; }
.stat-badge.luck { background: rgba(245, 158, 11, 0.2); color: #fcd34d; }

.item-footer {
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.item-price {
  font-weight: 800;
  color: #38bdf8;
  font-size: 0.92rem;
}

.btn-buy {
  padding: 0.48rem 0.85rem;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-buy:hover {
  opacity: 0.9;
}

.store-alert {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  display: none;
}

.store-alert.ok {
  display: block;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
}

.store-alert.err {
  display: block;
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
}

/* Modal Confirmación */
.store-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 12, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.store-modal-backdrop.open {
  display: flex;
}

.store-modal {
  width: 100%;
  max-width: 420px;
  background: #141625;
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.store-modal h3 {
  margin: 0 0 0.6rem;
  color: #f8fafc;
}

.store-modal p {
  margin: 0 0 1.25rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.store-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.btn-cancel {
  padding: 0.6rem 1rem;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #cbd5e1;
  font-weight: 600;
  cursor: pointer;
}

.empty-state-box {
  background: rgba(18, 18, 30, 0.92);
  border: 1px dashed rgba(168, 85, 247, 0.4);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: #94a3b8;
}

@media (max-width: 640px) {
  .store-shell {
    padding: 1rem 0.75rem 2.5rem;
  }
  .store-topbar {
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    gap: 0.65rem;
  }
  .store-title-group h1 {
    font-size: 1.15rem;
  }
  .store-title-group p,
  .booster-guide {
    font-size: 0.76rem;
    line-height: 1.42;
  }
  .booster-guide code {
    font-size: 0.72rem;
  }
  .balance-pill,
  .btn-back-store {
    font-size: 0.78rem;
    padding: 0.4rem 0.75rem;
  }
  .filter-btn {
    font-size: 0.76rem;
    padding: 0.38rem 0.7rem;
  }
  .items-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
  .avatar-thumb-wrap {
    height: 112px;
    padding: 0.45rem;
  }
  .card-store-thumb-wrap {
    height: 165px;
    padding: 0.45rem;
  }
  .item-body {
    padding: 0.65rem;
    gap: 0.4rem;
  }
  .item-name {
    font-size: 0.74rem;
  }
  .stat-badges {
    gap: 0.18rem;
  }
  .stat-badge {
    font-size: 0.56rem;
    padding: 0.14rem 0.28rem;
  }
  .item-footer {
    padding-top: 0.45rem;
  }
  .item-price {
    font-size: 0.75rem;
  }
  .btn-buy {
    font-size: 0.72rem;
    padding: 0.36rem 0.58rem;
  }
  .hub-card {
    padding: 1.1rem;
  }
  .hub-card h2 {
    font-size: 1.05rem;
  }
  .hub-card p {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   MÓDULO DE DONACIONES Y PAQUETES DE STARSHIPS
   ========================================================================== */
.donation-banner {
  background: linear-gradient(135deg, rgba(26, 22, 60, 0.95), rgba(12, 14, 26, 0.98));
  border: 1px solid rgba(250, 204, 21, 0.4);
  border-radius: 18px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 2rem;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5), 0 0 24px rgba(250, 204, 21, 0.08);
}

.donation-banner-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.donation-banner-header h2 {
  font-size: 1.22rem;
  color: #fde047;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.donation-intro-text {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 1.2rem;
}

.donation-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.donation-step-box {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  padding: 1rem 1.15rem;
}

.donation-step-box h3 {
  font-size: 0.94rem;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.4rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(250, 204, 21, 0.22);
  color: #fde047;
  font-weight: 800;
  font-size: 0.78rem;
  border: 1px solid rgba(250, 204, 21, 0.5);
  flex-shrink: 0;
}

.donation-step-box p {
  font-size: 0.84rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
}

.donation-step-box strong.highlight-email {
  color: #38bdf8;
  font-size: 0.86rem;
  word-break: break-all;
}

.donation-alert-time {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 12px;
  padding: 0.95rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: #e0f2fe;
  font-size: 0.88rem;
  line-height: 1.5;
}

.donation-alert-time svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.donation-alert-time strong {
  color: #38bdf8;
}

.donations-pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}

.donation-pack-card {
  background: linear-gradient(180deg, rgba(22, 22, 38, 0.96), rgba(12, 12, 22, 0.98));
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.donation-pack-card:hover {
  transform: translateY(-5px);
  border-color: #facc15;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 22px rgba(250, 204, 21, 0.2);
}

.donation-pack-card.popular {
  border-color: rgba(168, 85, 247, 0.55);
}

.donation-pack-card.ultimate {
  border-color: rgba(250, 204, 21, 0.65);
  box-shadow: 0 0 28px rgba(250, 204, 21, 0.14);
}

.pack-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  background: rgba(250, 204, 21, 0.22);
  color: #fde047;
  border: 1px solid rgba(250, 204, 21, 0.6);
}

.pack-tag.popular-tag {
  background: rgba(168, 85, 247, 0.22);
  color: #e9d5ff;
  border-color: rgba(168, 85, 247, 0.6);
}

.pack-code-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  background: rgba(15, 23, 42, 0.92);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.4);
  z-index: 2;
}

.pack-img-box {
  width: 100%;
  height: 220px;
  background: radial-gradient(circle at center, rgba(168, 85, 247, 0.15) 0%, rgba(10, 11, 20, 0.95) 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pack-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.65));
  transition: transform 0.3s ease;
}

.donation-pack-card:hover .pack-img-box img {
  transform: scale(1.06);
}

.pack-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pack-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 0.35rem;
}

.pack-stars-amount {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fde047;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pack-bonus-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 0.65rem;
  width: fit-content;
}

.pack-bonus-badge.empty {
  visibility: hidden;
}

.pack-utility-desc {
  font-size: 0.83rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0 0 1.15rem;
  flex: 1;
}

.pack-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.pack-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
}

.pack-price small {
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 600;
}

.btn-donate-pack {
  background: linear-gradient(135deg, #eab308, #ca8a04);
  color: #000 !important;
  font-weight: 800;
  font-size: 0.86rem;
  padding: 0.52rem 1rem;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.btn-donate-pack:hover {
  background: linear-gradient(135deg, #facc15, #eab308);
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.45);
  transform: translateY(-1px);
}

/* Modal de Donación */
.donation-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.donation-modal.open {
  display: flex;
}

.donation-modal-card {
  width: 100%;
  max-width: 520px;
  background: rgba(18, 18, 30, 0.98);
  border: 1px solid rgba(250, 204, 21, 0.45);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65), 0 0 30px rgba(250, 204, 21, 0.12);
  color: #f8fafc;
}

.donation-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.donation-modal-head h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #fde047;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.65rem 0.95rem;
  margin-bottom: 0.65rem;
}

.modal-detail-label {
  font-size: 0.82rem;
  color: #94a3b8;
}

.modal-detail-val {
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
}

.btn-copy-mini {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #7dd3fc;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  margin-left: 0.5rem;
  transition: all 0.2s;
}

.btn-copy-mini:hover {
  background: rgba(56, 189, 248, 0.3);
  color: #fff;
}

.modal-actions-bar {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.btn-modal-mail {
  flex: 1;
  background: linear-gradient(135deg, #eab308, #ca8a04);
  color: #000;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.btn-modal-mail:hover {
  background: linear-gradient(135deg, #facc15, #eab308);
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.4);
}

.btn-modal-cancel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-modal-cancel:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* ==========================================================================
   SECCIÓN VIP: AVATAR PERSONALIZADO EXCLUSIVO (DON-AVA-CUSTOM)
   ========================================================================== */
.custom-avatar-vip-section {
  margin-top: 2.5rem;
}

.custom-avatar-vip-card {
  position: relative;
  background: linear-gradient(135deg, rgba(28, 22, 60, 0.95), rgba(15, 14, 28, 0.98));
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 24px rgba(168, 85, 247, 0.15);
  overflow: hidden;
}

.custom-avatar-badge {
  display: inline-block;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
}

.custom-avatar-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
}

.custom-avatar-preview-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.avatar-frame-glow {
  width: 150px;
  height: 150px;
  border-radius: 16px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(15, 14, 28, 0.95) 75%);
  border: 2px dashed rgba(168, 85, 247, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.25);
  transition: transform 0.3s ease;
}

.avatar-frame-glow:hover {
  transform: scale(1.03);
  border-color: #c084fc;
}

.custom-avatar-silhouette {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.custom-avatar-placeholder-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: #c084fc;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.custom-avatar-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: #f43f5e;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.35);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.custom-avatar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.custom-avatar-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.custom-code-badge {
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.5);
  color: #e9d5ff;
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.custom-avatar-lead {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0 0 1rem;
}

.custom-avatar-stats-pills {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}

.custom-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
}

.custom-stat-pill.exp {
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.custom-stat-pill.ss {
  background: rgba(250, 204, 21, 0.14);
  color: #fde047;
  border: 1px solid rgba(250, 204, 21, 0.35);
}

.custom-stat-pill.luck {
  background: rgba(52, 211, 153, 0.14);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.custom-avatar-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.custom-avatar-perks li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.custom-avatar-perks li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #c084fc;
  font-weight: 800;
}

.custom-avatar-perks strong {
  color: #fff;
}

.custom-avatar-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.custom-avatar-price-block {
  display: flex;
  flex-direction: column;
}

.custom-avatar-price-block .price-val {
  font-size: 1.85rem;
  font-weight: 900;
  color: #34d399;
  line-height: 1;
}

.custom-avatar-price-block .price-val small {
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 600;
}

.custom-avatar-price-block .price-hint {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.btn-donate-custom-avatar {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff;
  border: none;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.4);
}

.btn-donate-custom-avatar:hover {
  background: linear-gradient(135deg, #c084fc, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.6);
}

@media (max-width: 820px) {
  .custom-avatar-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .custom-avatar-preview-box {
    margin-bottom: 0.5rem;
  }
  .custom-avatar-header {
    justify-content: center;
  }
  .custom-avatar-stats-pills {
    justify-content: center;
  }
  .custom-avatar-perks li {
    text-align: left;
  }
  .custom-avatar-action-bar {
    flex-direction: column;
    text-align: center;
  }
  .btn-donate-custom-avatar {
    width: 100%;
  }
}


