/* ============================================================
   DIAMOND SHOP — Tienda de Diamantes Premium
   Estilos para la ventana, paneles, tarjetas y métodos de pago
   ============================================================ */

/* ── Ventana principal ── */
#win-diamond-shop {
  font-family: 'Segoe UI', system-ui, sans-serif;
  z-index: 10000 !important;
  position: fixed !important;
  box-shadow: 0 16px 50px rgba(0,0,0,0.85), 0 0 35px rgba(56,189,248,0.25);
  border: 1.5px solid rgba(56,189,248,0.4);
  border-radius: 12px;
  background: rgba(5, 10, 25, 0.98);
  user-select: none;
  min-width: 760px;
  min-height: 560px;
  width: 980px;
  height: 780px;
}

#diamond-shop-body {
  display: flex !important;
  flex-direction: row !important;
  height: calc(100% - 38px);
  width: 100%;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
}

/* ── Panel Izquierdo ── */
.ds-left {
  width: 200px;
  min-width: 200px;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.98) 0%, rgba(10, 15, 40, 0.98) 100%);
  border-right: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 10px 12px;
  overflow-y: auto;
}

/* Balance de diamantes */
.ds-balance-box {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(99, 102, 241, 0.1));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  margin-bottom: 14px;
}
.ds-balance-icon {
  font-size: 28px;
  filter: drop-shadow(0 0 10px #38bdf8);
  display: block;
  margin-bottom: 4px;
}
.ds-balance-count {
  font-size: 20px;
  font-weight: 800;
  color: #38bdf8;
  display: block;
}
.ds-balance-label {
  font-size: 10px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Botones de métodos de pago */
.ds-payment-title {
  font-size: 9px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  padding-left: 2px;
}

.ds-pay-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.ds-pay-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: all 0.2s;
  font-family: inherit;
  width: 100%;
  text-align: left;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.ds-pay-btn.yape {
  background: rgba(120, 0, 200, 0.15);
  border-color: rgba(150, 50, 220, 0.4);
  color: #c084fc;
}
.ds-pay-btn.yape:hover {
  background: rgba(120, 0, 200, 0.3);
  border-color: #a855f7;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}
.ds-pay-btn.crypto {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}
.ds-pay-btn.crypto:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}
.ds-pay-btn.stripe {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  color: #818cf8;
}
.ds-pay-btn.stripe:hover {
  background: rgba(99, 102, 241, 0.28);
  border-color: #6366f1;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.3);
}

.ds-pay-btn-icon {
  font-size: 20px;
  width: 28px;
  text-align: center;
}

/* Separador */
.ds-sep {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 6px 0;
}

/* Navegación de categorías */
.ds-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  color: #94a3b8;
  transition: all 0.15s;
  border: 1px solid transparent;
  margin-bottom: 1px;
  font-family: inherit;
  background: none;
  width: 100%;
  text-align: left;
}
.ds-nav-item:hover {
  background: rgba(255,255,255,0.05);
  color: #e2e8f0;
}
.ds-nav-item.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(99, 102, 241, 0.15));
  border-color: rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-weight: 600;
}

/* Contenedor con scroll del contenido del panel derecho (el banner VIP queda
   fijo arriba y solo scrollea el catálogo, sin cortes ni desbordes). */
.ds-content-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* VIP Banner (compacto, arriba del contenido) */
.ds-vip-hero {
  margin: 0 16px 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, rgba(251,191,36,0.16), rgba(245,158,11,0.06), rgba(251,191,36,0.12));
  border: 1.5px solid rgba(251,191,36,0.45);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 0 18px rgba(251,191,36,0.12), inset 0 1px 0 rgba(255,255,255,0.08);
}
.ds-vip-hero-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.ds-vip-hero-title {
  font-size: 15px;
  font-weight: 900;
  color: #fbbf24;
  letter-spacing: 0.3px;
  text-shadow: 0 0 12px rgba(251,191,36,0.4);
  white-space: nowrap;
}
.ds-vip-hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.ds-vip-hero-perk {
  font-size: 10px;
  font-weight: 700;
  color: #fde68a;
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.28);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}
.ds-vip-hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  flex-shrink: 0;
}
/* Fila de skins VIP del banner (sprites caminando hacia abajo, estilo atuendos) */
.ds-vip-skins {
  display: flex;
  align-items: flex-end;
  gap: 3px;
}
.ds-vip-skin {
  width: 48px;
  height: 48px;
  background-size: 192px 192px;
  background-position: 0px 0px;
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 7px;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 7px rgba(251, 191, 36, 0.45));
  cursor: help;
  animation: dsWalkDown 0.9s steps(1) infinite, vipSpriteFloat 3s ease-in-out infinite;
}
.ds-vip-more {
  width: 34px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.1);
  border: 1px dashed rgba(251, 191, 36, 0.5);
  border-radius: 7px;
  cursor: help;
  white-space: nowrap;
}
@keyframes dsWalkDown {
  0% { background-position: 0px 0px; }
  25% { background-position: -48px 0px; }
  50% { background-position: -96px 0px; }
  75% { background-position: -144px 0px; }
  100% { background-position: 0px 0px; }
}
.ds-vip-hero-btn {
  padding: 8px 16px;
  background: linear-gradient(135deg, #d97706, #b45309);
  border: 1px solid #f59e0b;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 0 10px rgba(245,158,11,0.35);
}
.ds-vip-hero-btn:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 0 16px rgba(245,158,11,0.6);
  transform: translateY(-1px);
}
@keyframes vipSpriteFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.ds-vip-badge-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle, #38bdf8 0%, #1e40af 70%, #0f172a 100%);
  border: 2px solid #60a5fa;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.6), inset 0 0 8px rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 1px;
  margin: 0 auto;
  text-shadow: 0 0 6px #000;
}

.ds-vip-btn {
  margin-top: 4px;
  width: 100%;
  padding: 6px;
  background: linear-gradient(135deg, #d97706, #b45309);
  border: 1px solid #f59e0b;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.ds-vip-btn:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 0 12px rgba(245,158,11,0.5);
}

/* ── Panel Derecho ── */
.ds-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(5, 10, 25, 0.95);
}

/* Barra superior derecha */
.ds-right-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ds-search {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 7px 12px;
  color: #e2e8f0;
  font-size: 12px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}
.ds-search:focus {
  border-color: rgba(56,189,248,0.5);
}
.ds-search::placeholder { color: #475569; }

/* Sub-pestañas de Boosts */
.ds-subtabs-bar {
  display: flex;
  gap: 8px;
  padding: 10px 16px 4px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ds-subtabs-bar::-webkit-scrollbar { height: 3px; }
.ds-subtabs-bar::-webkit-scrollbar-thumb { background: rgba(56,189,248,0.3); border-radius: 2px; }

.ds-subtab-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: all 0.15s;
}
.ds-subtab-btn:hover {
  background: rgba(56,189,248,0.1);
  border-color: rgba(56,189,248,0.4);
  color: #e2e8f0;
}
.ds-subtab-btn.active {
  background: linear-gradient(135deg, rgba(251,191,36,0.15), rgba(245,158,11,0.25));
  border-color: #fbbf24;
  color: #fbbf24;
  box-shadow: 0 0 10px rgba(251,191,36,0.2);
}

/* Grid de ítems (el scroll lo maneja .ds-content-scroll) */
.ds-grid {
  padding: 14px 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-content: start;
}

/* Tarjeta de ítem */
.ds-item-card {
  position: relative;
  background: linear-gradient(145deg, rgba(15,23,42,0.9), rgba(20,28,55,0.9));
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 10px;
  padding: 14px 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
}
.ds-item-card:hover {
  border-color: rgba(56,189,248,0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 16px rgba(56,189,248,0.15);
}
.ds-item-card.best {
  border-color: rgba(251,191,36,0.6);
  box-shadow: 0 0 16px rgba(251,191,36,0.2);
}
.ds-item-card.best:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 20px rgba(251,191,36,0.35);
}

.ds-item-card.disabled {
  opacity: 0.55;
  filter: grayscale(0.4);
}
.ds-item-card.disabled:hover {
  transform: none;
  border-color: rgba(255,255,255,0.1);
  box-shadow: none;
}

/* Tag de la tarjeta */
.ds-item-tag {
  position: absolute;
  top: -9px;
  right: 10px;
  background: linear-gradient(90deg, #10b981, #34d399);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}  .ds-item-card.best .ds-item-tag {
    background: linear-gradient(90deg, #10b981, #34d399);
  }
  .ds-item-tag.vip {
    background: linear-gradient(90deg, #7c3aed, #db2777);
  }

.ds-item-emoji {
  font-size: 30px;
  filter: drop-shadow(0 0 8px rgba(56,189,248,0.5));
  margin-top: 4px;
}
.ds-item-name {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  text-align: center;
  line-height: 1.3;
}
.ds-item-desc {
  font-size: 10px;
  color: #94a3b8;
  text-align: center;
  line-height: 1.4;
  white-space: pre-line;
  flex: 1;
}

.ds-item-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.ds-item-cost {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 800;
  color: #38bdf8;
}
.ds-item-buy-btn {
  padding: 5px 16px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border: 1px solid rgba(96,165,250,0.6);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.ds-item-buy-btn:hover {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  box-shadow: 0 4px 12px rgba(59,130,246,0.5);
}
.ds-item-buy-btn.disabled {
  background: #334155;
  border-color: #475569;
  color: #94a3b8;
  cursor: not-allowed;
  padding: 5px 10px;
}

/* Banner Inferior */
.ds-bottom-banner {
  background: linear-gradient(180deg, rgba(15,23,42,0.8), rgba(2,6,23,0.95)),
              url('https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/132.png') no-repeat center right / contain;
  border-top: 1.5px solid rgba(56,189,248,0.25);
  padding: 16px;
  text-align: center;
  position: relative;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ds-bottom-banner span {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #d97706, #fbbf24, #fef08a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(245,158,11,0.4);
}

/* ── Paquetes de diamantes (4 por fila — 2 filas cuadradas perfectas) ── */
.ds-packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 18px 20px;
  align-content: start;
}

.ds-pkg-card {
  position: relative;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(24, 20, 56, 0.98));
  border: 1.5px solid rgba(56, 189, 248, 0.28);
  border-radius: 14px;
  padding: 22px 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin-top: 10px;
}

.ds-pkg-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #38bdf8;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65), 0 0 20px rgba(56, 189, 248, 0.3);
  background: linear-gradient(145deg, rgba(22, 34, 60, 0.98), rgba(34, 28, 76, 0.98));
}

.ds-pkg-card.popular {
  border-color: rgba(251, 191, 36, 0.7);
  box-shadow: 0 4px 18px rgba(251, 191, 36, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ds-pkg-card.popular:hover {
  border-color: #fbbf24;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7), 0 0 22px rgba(251, 191, 36, 0.4);
}

.ds-pkg-tag {
  position: absolute;
  top: -11px;
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.ds-pkg-card.popular .ds-pkg-tag {
  background: linear-gradient(90deg, #d97706, #fbbf24);
  color: #0f172a;
}

.ds-pkg-emoji {
  font-size: 34px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.6));
  transition: transform 0.2s ease;
}

.ds-pkg-card:hover .ds-pkg-emoji {
  transform: scale(1.1);
}

.ds-pkg-name {
  font-size: 12.5px;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.25;
  letter-spacing: 0.3px;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.ds-pkg-diamonds {
  font-size: 17px;
  font-weight: 900;
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
  height: 24px;
}

.ds-pkg-price {
  font-size: 13.5px;
  font-weight: 800;
  color: #fbbf24;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.3);
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ds-pkg-buy-btn {
  width: 100%;
  padding: 8px 0;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  border: 1px solid rgba(56, 189, 248, 0.6);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  margin-top: auto;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.3);
}

.ds-pkg-buy-btn:hover {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  box-shadow: 0 5px 16px rgba(56, 189, 248, 0.5);
  transform: translateY(-1px);
}

/* ── Modal de pago ── */
.ds-pay-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ds-fade-in 0.15s ease;
}
@keyframes ds-fade-in { from { opacity: 0; } to { opacity: 1; } }

.ds-pay-modal {
  background: linear-gradient(145deg, #0f172a, #1e1b4b);
  border: 1.5px solid rgba(56,189,248,0.4);
  border-radius: 16px;
  padding: 28px 32px;
  width: 520px;
  max-width: calc(100vw - 40px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.8), 0 0 40px rgba(56,189,248,0.1);
  animation: ds-slide-up 0.2s ease;
  position: relative;
}
@keyframes ds-slide-up { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.ds-pay-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: #64748b;
  font-size: 20px;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s;
}
.ds-pay-modal-close:hover { color: #f1f5f9; }

.ds-pay-modal-title {
  font-size: 16px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ds-pay-modal-sub {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 18px;
}

/* Pestañas de método de pago en modal — grandes y llamativas */
.ds-pay-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.ds-pay-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 15px 8px;
  border-radius: 13px;
  border: 2px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: #a5b4c4;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.ds-pay-tab:hover {
  background: rgba(255,255,255,0.1);
  color: #f1f5f9;
  transform: translateY(-1px);
}
.ds-pay-tab.active.yape {
  border-color: #c084fc;
  background: linear-gradient(135deg, rgba(168,85,247,0.4), rgba(168,85,247,0.12));
  color: #f3e8ff;
  box-shadow: 0 0 20px rgba(168,85,247,0.5), inset 0 0 14px rgba(168,85,247,0.18);
  transform: translateY(-1px);
}
.ds-pay-tab.active.crypto {
  border-color: #fbbf24;
  background: linear-gradient(135deg, rgba(245,158,11,0.4), rgba(245,158,11,0.12));
  color: #fef3c7;
  box-shadow: 0 0 20px rgba(245,158,11,0.5), inset 0 0 14px rgba(245,158,11,0.18);
  transform: translateY(-1px);
}
.ds-pay-tab.active.stripe {
  border-color: #818cf8;
  background: linear-gradient(135deg, rgba(99,102,241,0.4), rgba(99,102,241,0.12));
  color: #e0e7ff;
  box-shadow: 0 0 20px rgba(99,102,241,0.5), inset 0 0 14px rgba(99,102,241,0.18);
  transform: translateY(-1px);
}

/* Contenido del panel de pago en modal */
.ds-pay-panel { display: flex; flex-direction: column; gap: 12px; }

/* Yape QR */
.ds-yape-qr-box {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.ds-yape-qr-img {
  width: 220px;
  height: 220px;
  border-radius: 10px;
  object-fit: contain;
  border: 3px solid #a855f7;
  box-shadow: 0 0 18px rgba(168,85,247,0.35);
}
.ds-yape-qr-placeholder {
  width: 220px;
  height: 220px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
}
.ds-yape-instructions {
  font-size: 14px;
  color: #cbd5e1;
  text-align: center;
  line-height: 1.7;
  background: rgba(168,85,247,0.08);
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: 10px;
  padding: 14px;
}
.ds-concept-input {
  width: 100%;
  padding: 13px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(168,85,247,0.4);
  border-radius: 9px;
  color: #e2e8f0;
  font-size: 15px;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
}
.ds-concept-input:focus { border-color: #a855f7; }
.ds-confirm-btn {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  border: none;
}
.ds-confirm-btn.yape   { background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; }
.ds-confirm-btn.yape:hover { box-shadow: 0 4px 16px rgba(168,85,247,0.5); }
.ds-confirm-btn.crypto { background: linear-gradient(135deg, #b45309, #f59e0b); color: #fff; }
.ds-confirm-btn.crypto:hover { box-shadow: 0 4px 16px rgba(245,158,11,0.5); }
.ds-confirm-btn.stripe { background: linear-gradient(135deg, #4338ca, #6366f1); color: #fff; }
.ds-confirm-btn.stripe:hover { box-shadow: 0 4px 16px rgba(99,102,241,0.5); }

/* Crypto */
.ds-crypto-address {
  background: rgba(245,158,11,0.07);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: monospace;
  font-size: 14px;
  color: #fbbf24;
  word-break: break-all;
}

/* Historial */
.ds-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.ds-history-table th {
  background: rgba(30,27,75,0.8);
  color: #fbbf24;
  padding: 9px 10px;
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ds-history-table td {
  padding: 8px 10px;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ds-history-badge {
  background: rgba(34,197,94,0.2);
  color: #4ade80;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
}

/* ── Modal de Confirmación de Compra ── */
.ds-confirm-modal {
  background: linear-gradient(180deg, #0d1527 0%, #070a14 100%);
  border: 2px solid #38bdf8;
  border-radius: 16px;
  padding: 24px 28px;
  width: 360px;
  max-width: 90vw;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 30px rgba(56, 189, 248, 0.25);
  animation: dsModalPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ds-confirm-modal.insufficient {
  border-color: #f59e0b;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 30px rgba(245, 158, 11, 0.25);
}

.ds-confirm-icon-box {
  width: 80px;
  height: 80px;
  margin: 0 auto 14px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
}

.ds-confirm-icon-img {
  max-width: 64px;
  max-height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.6));
}

.ds-confirm-title {
  font-size: 15px;
  color: #f8fafc;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.45;
}

.ds-confirm-title strong {
  color: #ffffff;
  font-weight: 900;
}

.ds-confirm-cost {
  color: #38bdf8;
  font-weight: 800;
  white-space: nowrap;
}

.ds-confirm-balance {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 22px;
}

.ds-confirm-balance strong {
  color: #38bdf8;
  font-weight: 700;
}

.ds-confirm-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.ds-confirm-btn-cancel {
  flex: 1;
  padding: 10px 16px;
  background: rgba(30, 41, 59, 0.9);
  border: 1.5px solid rgba(148, 163, 184, 0.35);
  border-radius: 9px;
  color: #e2e8f0;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.ds-confirm-btn-cancel:hover {
  background: rgba(51, 65, 85, 0.9);
  border-color: #94a3b8;
}

.ds-confirm-btn-buy {
  flex: 1;
  padding: 10px 16px;
  background: linear-gradient(135deg, #059669, #047857);
  border: 1.5px solid #10b981;
  border-radius: 9px;
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.ds-confirm-btn-buy:hover {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
  transform: translateY(-1px);
}

.ds-confirm-btn-no-diamonds {
  flex: 1;
  padding: 10px 16px;
  background: linear-gradient(135deg, #854d0e, #713f12);
  border: 1.5px solid #ca8a04;
  border-radius: 9px;
  color: #fef08a;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.ds-confirm-btn-no-diamonds:hover {
  background: linear-gradient(135deg, #a16207, #854d0e);
  box-shadow: 0 0 15px rgba(234, 179, 8, 0.4);
}
.ds-empty {
  text-align: center;
  padding: 40px;
  color: #475569;
  font-size: 13px;
}
.ds-empty i { font-size: 32px; display: block; margin-bottom: 10px; }

/* ── Botón +Diamantes en barra superior ── */
@keyframes diamond-btn-pulse {
  0%   { box-shadow: 0 0 8px rgba(56,189,248,0.7), 0 0 18px rgba(99,102,241,0.4); }
  50%  { box-shadow: 0 0 18px rgba(56,189,248,1),   0 0 35px rgba(99,102,241,0.7), 0 0 50px rgba(139,92,246,0.3); }
  100% { box-shadow: 0 0 8px rgba(56,189,248,0.7), 0 0 18px rgba(99,102,241,0.4); }
}
@keyframes diamond-btn-shine {
  0%   { transform: translateX(-100%) skewX(-15deg); opacity: 0; }
  20%  { opacity: 1; }
  60%  { transform: translateX(200%) skewX(-15deg); opacity: 1; }
  61%  { opacity: 0; }
  100% { transform: translateX(200%) skewX(-15deg); opacity: 0; }
}
#btn-open-diamond-shop:hover {
  transform: scale(1.06);
  box-shadow: 0 0 22px rgba(56,189,248,1), 0 0 40px rgba(99,102,241,0.8), 0 4px 12px rgba(0,0,0,0.6) !important;
}
#btn-open-diamond-shop:active {
  transform: scale(0.97);
}

/* ── Grid y Tarjetas de Clanes (el scroll lo maneja .ds-content-scroll) ── */
.ds-clans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 14px 16px;
  align-content: start;
}

.ds-clan-card {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.95) 0%, rgba(10, 15, 26, 0.98) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.25);
  border-radius: 10px;
  padding: 18px 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ds-clan-card:hover {
  border-color: #38bdf8;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.65), 0 0 18px rgba(56, 189, 248, 0.35);
  background: linear-gradient(180deg, rgba(24, 34, 56, 0.98) 0%, rgba(14, 20, 36, 0.99) 100%);
}

.ds-clan-card:active {
  transform: translateY(0) scale(0.98);
}

.ds-clan-icon-box {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.ds-clan-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 0.5px;
}

.ds-clan-price-tag {
  font-size: 0.82rem;
  font-weight: 700;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Vista Detalle de Clan ── */
.ds-clan-detail-view {
  flex: 1;
  display: flex;
  gap: 18px;
  padding: 16px;
  overflow: hidden;
  align-items: stretch;
  height: 100%;
  box-sizing: border-box;
}

.ds-clan-leader-art-box {
  width: 220px;
  height: 100%;
  max-height: 480px;
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.15) 0%, rgba(10, 16, 28, 0.98) 80%);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.8), 0 6px 18px rgba(0, 0, 0, 0.5);
  padding: 12px;
  box-sizing: border-box;
}

.ds-clan-leader-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.85));
}

.ds-clan-detail-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  height: 100%;
  justify-content: flex-start;
}

.ds-clan-detail-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ds-clan-detail-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: #38bdf8;
  letter-spacing: 0.5px;
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.5);
  line-height: 1.1;
  margin: 0;
}

.ds-clan-desc-box {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.83rem;
  color: #cbd5e1;
  line-height: 1.5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ds-clan-bonus-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px dashed rgba(251, 191, 36, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
}

.ds-clan-bonus-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: #fbbf24;
}

.ds-clan-bonus-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ds-clan-bonus-pill {
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fde68a;
}

.ds-clan-ranks-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ds-clan-ranks-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ds-clan-ranks-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ds-clan-rank-pill {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(71, 85, 105, 0.6);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #e2e8f0;
}

.ds-clan-buy-card {
  margin-top: auto;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 15, 30, 0.98) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.ds-clan-buy-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 0.3px;
}

.ds-clan-buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.ds-clan-buy-options {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.ds-clan-rank-btn {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  font-family: inherit;
  outline: none;
}

.ds-clan-rank-btn.active {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  border: 1.5px solid #fef08a;
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(251, 191, 36, 0.45);
}

.ds-clan-rank-btn.active:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.65);
}

.ds-clan-rank-btn.locked {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(71, 85, 105, 0.6);
  color: #94a3b8;
  cursor: pointer;
}

.ds-clan-rank-btn.locked:hover {
  border-color: rgba(56, 189, 248, 0.4);
  color: #e2e8f0;
}

.ds-clan-rank-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.ds-clan-rank-btn.locked:disabled:hover {
  border-color: rgba(71, 85, 105, 0.6);
  color: #94a3b8;
  transform: none;
  box-shadow: none;
}

.ds-clan-back-btn {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: 1.5px solid #60a5fa;
  color: #ffffff;
  padding: 8px 22px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  outline: none;
  font-family: inherit;
}

/* ── Insignia Potenciador EXP 3 Triángulos ── */
.ds-boost-icon-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 14px 4px;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.9) 0%, rgba(8, 12, 22, 0.98) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  gap: 2px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.04);
  transition: all 0.25s ease;
  margin-top: 2px;
  margin-bottom: 4px;
}

.ds-item-card:hover .ds-boost-icon-badge {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7), inset 0 0 20px rgba(255, 255, 255, 0.08);
}

.ds-boost-triangles {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ds-boost-label {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.5px;
  line-height: 1;
}


/* ══════════════════════════════════════════════════
   MOBILE RESPONSIVE (.device-mobile)
   ══════════════════════════════════════════════════ */
.device-mobile #win-diamond-shop {
  width: min(94vw, 420px) !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: var(--mob-avail-h, 80vh) !important;
}
.device-mobile #diamond-shop-body {
  flex-direction: column !important;
  height: auto !important;
  overflow-y: auto !important;
}
.device-mobile .ds-left {
  width: 100% !important;
  min-width: 0 !important;
  flex-direction: row !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 6px 8px !important;
  gap: 4px !important;
  flex-shrink: 0 !important;
  border-bottom: 1px solid rgba(168, 85, 247, 0.25);
  border-right: none !important;
}
.device-mobile .ds-nav-item {
  white-space: nowrap !important;
  padding: 6px 12px !important;
  font-size: 0.68rem !important;
  flex-shrink: 0 !important;
}
.device-mobile .ds-right {
  min-height: 0 !important;
}
.device-mobile .ds-packages-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 8px !important;
  padding: 10px 8px !important;
}
.device-mobile .ds-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 8px !important;
  padding: 10px 8px !important;
}
.device-mobile .ds-clans-grid {
  grid-template-columns: 1fr !important;
  padding: 10px 8px !important;
}
.device-mobile .ds-clan-detail-view {
  flex-direction: column !important;
  padding: 10px 8px !important;
  gap: 10px !important;
  overflow-y: auto !important;
}
.device-mobile .ds-clan-leader-art-box {
  width: 100% !important;
  height: 180px !important;
  max-height: 180px !important;
}
.device-mobile .ds-vip-hero {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin: 0 8px 8px !important;
}
.device-mobile .ds-item-card {
  padding: 8px 6px !important;
}
.device-mobile .ds-item-name {
  font-size: 0.7rem !important;
}
.device-mobile .ds-item-desc {
  font-size: 0.6rem !important;
}
.device-mobile .ds-pkg-card {
  padding: 10px 8px !important;
}
.device-mobile .ds-pkg-name {
  font-size: 0.72rem !important;
}
.device-mobile .ds-pkg-price {
  font-size: 0.68rem !important;
}
.device-mobile .ds-pay-modal {
  width: calc(100vw - 24px) !important;
  max-width: 400px !important;
}
.device-mobile .ds-confirm-modal {
  width: calc(100vw - 24px) !important;
  max-width: 340px !important;
}
.device-mobile .ds-subtabs-bar {
  overflow-x: auto !important;
  flex-wrap: nowrap !important;
}
.device-mobile .ds-subtab-btn {
  white-space: nowrap !important;
  font-size: 0.65rem !important;
  flex-shrink: 0 !important;
}
