body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 20px;
  background: radial-gradient(circle at top right, #2b1055, #7597de);
  background-color: #1e1e2e;
  color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.container {
  width: 95%;
  max-width: 800px;
}

.header-shop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  padding: 15px 25px;
  border-radius: 15px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.coin-balance {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  color: #ffeb3b;
}
.btn-back {
  text-decoration: none;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 8px;
}

h1 {
  font-family: "Orbitron", sans-serif;
  color: #00f2ff;
  text-align: center;
  text-shadow: 0 0 10px #00f2ff;
}

/* GRID ITEM */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.shop-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}
.shop-card:hover {
  transform: translateY(-5px);
  border-color: #00f2ff;
}

/* PREVIEW AVATAR */
.preview-box {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: #000;
  position: relative;
}
.preview-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* GAYA BINGKAI (FRAME STYLES) */
.frame-default {
  border: 3px solid #555;
}
.frame-neon {
  border: 3px solid #00f2ff;
  box-shadow: 0 0 15px #00f2ff;
}
.frame-gold {
  border: 4px solid #ffd700;
  box-shadow: 0 0 15px #ffd700, inset 0 0 10px #ffd700;
}
.frame-fire {
  border: 4px solid #ff4500;
  box-shadow: 0 0 20px #ff4500;
  animation: burn 1s infinite alternate;
}
.frame-royal {
  border: 4px dashed #9900ff;
  box-shadow: 0 0 20px #9900ff;
}

@keyframes burn {
  from {
    box-shadow: 0 0 10px #ff4500;
  }
  to {
    box-shadow: 0 0 25px #ffeb3b;
  }
}

.item-name {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}
.item-price {
  color: #ffeb3b;
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: block;
}

/* TOMBOL */
button {
  width: 100%;
  padding: 10px;
  border-radius: 20px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}
.btn-buy {
  background: #38ef7d;
  color: #004d40;
}
.btn-equip {
  background: #00f2ff;
  color: #003366;
}
.btn-equipped {
  background: #555;
  color: #ccc;
  cursor: default;
}
.btn-poor {
  background: #444;
  color: #888;
  cursor: not-allowed;
}

/* --- TAMBAHAN DARI HTML (CLEANUP) --- */

/* Deskripsi di bawah Judul */
.shop-desc {
  text-align: center;
  color: #aaa;
  margin-bottom: 30px;
}

/* Teks Loading */
.loading-msg {
  text-align: center;
  font-style: italic;
  color: #ccc;
  margin-top: 20px;
}

/* Status Item Sudah Dimiliki (Hijau) */
.text-owned {
  color: #38ef7d !important;
  font-weight: bold;
}
