/* ==========================================================
   VELVET COIN SHOP (LoL-inspired Premium UI)
   ========================================================== */

   .model-coinshop {
    padding: 40px;
    color: #f5f5f5;
    border-radius: 14px;
    font-family: "Poppins", sans-serif;
    animation: fadeIn 0.4s ease;
  }
  
  /* ===== Header ===== */
  .coinshop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
  }
  
  .coinshop-header h2 {
    font-size: 1.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f1d27a;
  }
  
  .coin-balance {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 215, 0, 0.12);
    padding: 10px 18px;
    border-radius: 10px;
    box-shadow: inset 0 0 8px rgba(255, 215, 0, 0.08);
  }
  
  .coin-balance strong {
    font-size: 1.2em;
    color: #ffd700;
  }
  .balance-label {
    font-size: 0.85em;
    opacity: 0.7;
  }
  
  /* ===== Grid ===== */
  .coinshop-packs {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .coinshop-packs h3 {
    color: #f1d27a;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .coinpack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 74px;
    justify-items: center;
  }
  
  /* ===== Card ===== */
  .coinpack-card {
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: 14px;
    text-align: center;
    padding: 20px 16px;
    transition: all 0.25s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
    width: 180px;
  }
  
  .coinpack-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
    border-color: #f1d27a;
  }
  
  .coinpack-card.tagged .pack-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f1d27a;
    color: #111;
    font-size: 0.7em;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  

  
  .pack-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  
  .pack-icon svg {
    width: 42px;
    height: 42px;
  }
  
  .coinpack-card h4 {
    font-size: 1.1rem;
    color: #fff;
    margin: 6px 0;
  }
  
  .pack-bonus {
    font-size: 0.9rem;
    color: #c9c9c9;
  }
  .pack-bonus span {
    color: #f1d27a;
    font-size: 0.8em;
    margin-left: 4px;
  }
  
  /* ===== Price Button ===== */
  .btn-buy {
    background: linear-gradient(180deg, #3a2c00, #b38b2b);
    color: #fff;
    border: 1px solid #d4b14e;
    border-radius: 6px;
    padding: 8px 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    width: 100%;
  }
  .btn-buy:hover {
    background: linear-gradient(180deg, #5c4600, #f2d675);
    color: #111;
  }
  
  /* ===== History ===== */
  .coinshop-history {
    border-top: 1px solid rgba(255,215,0,0.1);
    padding-top: 25px;
  }
  
  .coinshop-history h3 {
    color: #f1d27a;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 1rem;
  }
  
  .coin-history-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .coin-history-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,215,0,0.05);
    font-size: 0.9em;
  }
  .coin-history-list i {
    color: #ffd700;
    margin-right: 5px;
  }
  
  .empty {
    text-align: center;
    opacity: 0.7;
    font-size: 0.9em;
    color: #999;
    margin-top: 20px;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* ===== Responsivo ===== */
  @media (max-width: 768px) {
    .model-coinshop {
      padding: 20px;
    }
    .coinpack-grid {
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
  }
  
  /* ===== Header ===== */
.coinshop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 12px;
  }
  
  .coinshop-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f1d27a;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .coin-balance {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 215, 0, 0.12);
    padding: 10px 18px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.08);
    min-width: 180px;
    justify-content: center;
  }
  
  .coin-balance strong {
    color: #ffd700;
    font-size: 1.3em;
    font-weight: 700;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
  }
  
  .coin-balance svg {
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.3));
  }
  
  .coin-balance span {
    color: #bbb;
    font-size: 0.85em;
    margin-left: 4px;
    font-weight: 500;
    opacity: 0.8;
  }
  
  /* ==========================================================
   HEADER (VELVET COIN SHOP — REFINED PREMIUM VERSION)
   ========================================================== */


/* subtle ambient glow effect */
.coinshop-header::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  width: 600px;
  height: 400px;
  transform: translateX(-50%);
  z-index: 0;
}

.coinshop-header h2 {
  position: relative;
  z-index: 1;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #f1d27a;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
  margin-bottom: 25px;
}

.coin-balance {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 215, 0, 0.25);
  padding: 12px 24px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.15);
  min-width: 220px;
}

.coin-balance svg {
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.4));
}

.coin-balance strong {
  color: #ffd700;
  font-size: 1.4em;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.coin-balance span {
  color: #bbb;
  font-size: 0.9em;
  font-weight: 500;
  opacity: 0.9;
}

/* Mobile layout: balance below title */
@media (max-width: 768px) {
  .coinshop-header {
    padding: 30px 15px 40px;
    margin: -20px -20px 20px;
  }
  .coin-balance {
    flex-direction: row;
    margin-top: 10px;
  }
  .coinshop-header h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }
}

/* ===== HEADER REFINADO PARA VELVET COIN SHOP ===== */


.coinshop-header::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  width: 600px;
  height: 400px;
  transform: translateX(-50%);
  z-index: 0;
}

.coinshop-header h2 {
  position: relative;
  z-index: 1;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #f1d27a;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
  margin-bottom: 25px;
}

.coin-balance {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 215, 0, 0.25);
  padding: 12px 24px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.15);
  min-width: 220px;
}

.coin-balance svg {
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.4));
}

.coin-balance strong {
  color: #ffd700;
  font-size: 1.4em;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.coin-balance span {
  color: #bbb;
  font-size: 0.9em;
  font-weight: 500;
  opacity: 0.9;
}

/* layout mobile */
@media (max-width: 768px) {
  .coinshop-header {
    padding: 30px 15px 40px;
    margin: -20px -20px 20px;
  }
  .coinshop-header h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }
  .coin-balance {
    flex-direction: row;
    margin-top: 10px;
  }
}

/* ==========================================================
   VELVET COIN SHOP — Unified Section Layout (LoL-inspired)
   ========================================================== */

   .model-coinshop {
    color: #f5f5f5;
    border-radius: 16px;
    font-family: "Poppins", sans-serif;
    animation: fadeIn 0.4s ease;
    padding: 60px 40px 80px;
    margin: 0;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.04);
  }
  
  /* ===== Header unified into section ===== */
  .coinshop-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
  }
  
  .coinshop-header::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    z-index: 0;
  }
  
  .coinshop-header h2 {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    font-weight: 700;
    color: #f1d27a;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
    margin-bottom: 20px;
  }
  
  /* ===== Balance unified visually ===== */
  .coin-balance {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255, 215, 0, 0.25);
    padding: 12px 24px;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.12);
    min-width: 220px;
    margin-bottom: 40px;
  }
  
  .coin-balance svg {
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4));
  }
  
  .coin-balance strong {
    color: #ffd700;
    font-size: 1.5em;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
  }
  
  .coin-balance span {
    color: #bbb;
    font-size: 0.9em;
    font-weight: 500;
    opacity: 0.85;
  }
  
  /* ===== Coin Packs grid (same visual section) ===== */
  .coinshop-packs {
    margin: 0 auto;
    max-width: 1100px;
  }
  
  .coinpack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 74px;
    justify-items: center;
  }
  
  /* ===== Cards ===== */
  .coinpack-card {
    position: relative;
    border: 1px solid rgba(255,215,0,0.12);
    border-radius: 14px;
    text-align: center;
    padding: 25px 18px;
    transition: all 0.3s ease;
    box-shadow: 0 0 12px rgba(0,0,0,0.4);
    width: auto;
  }
  
  .coinpack-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 22px rgba(255,215,0,0.2);
    border-color: #f1d27a;
  }
  
  .coinpack-card.tagged .pack-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f1d27a;
    color: #111;
    font-size: 0.75em;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
  }
  
  .coinpack-card.tagged::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
    pointer-events: none;
  }
  
  @keyframes shimmer {
    100% { transform: translateX(100%); }
  }
  
  .pack-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  
  .pack-icon svg {
    width: 46px;
    height: 46px;
  }
  
  .coinpack-card h4 {
    font-size: 1.2rem;
    color: #fff;
    margin: 8px 0;
  }
  
  .pack-bonus {
    font-size: 0.9rem;
    color: #ccc;
  }
  
  .pack-bonus span {
    color: #f1d27a;
    font-size: 0.85em;
    margin-left: 4px;
  }
  
  /* ===== Price Button ===== */
  .btn-buy {
    background: linear-gradient(180deg, #3a2c00, #b38b2b);
    color: #fff;
    border: 1px solid #d4b14e;
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    width: 100%;
    margin-top: 6px;
  }
  
  .btn-buy:hover {
    background: linear-gradient(180deg, #5c4600, #f2d675);
    color: #111;
  }
  
  /* ===== Fade & Responsive ===== */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @media (max-width: 768px) {
    .model-coinshop {
      padding: 40px 20px 60px;
    }
    .coinpack-grid {
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 74px;
    }
    .coinshop-header h2 {
      font-size: 1.5rem;
    }
    .coin-balance {
      flex-direction: row;
      margin-bottom: 30px;
    }
  }
  