.weapons-page {
  position: relative;
  z-index: 2;
  padding: 20px 0 60px;
}

.weapons-title {
  color: rgb(230, 230, 230);
  font-size: 2rem;
  margin-bottom: 12px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.weapons-intro {
  color: #d1d1d1;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.weapons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.weapon-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease;
}

.weapon-card:hover {
  border-color: rgba(122, 90, 248, 0.3);
}

.weapon-card-icon {
  flex-shrink: 0;
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.weapon-card-icon.rarity-ssr {
  background: linear-gradient(160deg, #6e4c42 0%, #e0c870 65%);
}

.weapon-card-icon.rarity-sr {
  background: linear-gradient(160deg, #2d2f4d 0%, #7a5af8 65%);
}

.weapon-card-icon img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.weapon-card-body {
  flex: 1;
  min-width: 0;
}

.weapon-card-name {
  color: rgb(230, 230, 230);
  font-size: 1.1rem;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.weapon-card-type {
  display: inline-block;
  color: #b0b0b0;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.weapon-card-bonus {
  color: #c0c0c0;
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0 0 12px 0;
}

.weapon-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.weapon-stat {
  display: flex;
  gap: 6px;
  font-size: 0.85rem;
}

.weapon-stat .stat-label {
  color: #a0a0a0;
}

.weapon-stat .stat-value {
  color: #e0e0e0;
  font-weight: 600;
}

.weapons-empty {
  text-align: center;
  padding: 60px 20px;
  color: #d1d1d1;
}

.weapons-empty h2 {
  color: rgb(230, 230, 230);
  margin-bottom: 16px;
}

.weapons-empty pre {
  text-align: left;
  max-width: 400px;
  margin: 20px auto;
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .weapons-grid {
    grid-template-columns: 1fr;
  }
}
