.nfts-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.nfts-hero {
  text-align: center;
  padding: 54px 28px;
  margin-bottom: 46px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(191,167,106,0.14), transparent 34%),
    linear-gradient(180deg, rgba(23,19,16,0.98), rgba(14,12,10,0.98));
}

.nfts-label {
  color: #bfa76a;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.nfts-intro {
  max-width: 560px;
  margin: 16px auto 0;
  color: #cfc6b6;
}

.nfts-hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.nfts-section {
  margin-top: 40px;
}

.nfts-section-head {
  text-align: center;
  margin-bottom: 20px;
}

.nfts-count {
  color: #a89f8c;
}

.nfts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.nft-card {
  background: linear-gradient(180deg, #191613 0%, #12100d 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nft-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.28);
}

.nft-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.nft-card-body {
  padding: 12px;
}

.nft-card-title {
  margin: 0;
  color: #f1eadf;
  font-size: 0.95rem;
  line-height: 1.4;
}

.nft-card-meta {
  margin: 6px 0 0;
  color: #a89f8c;
  font-size: 0.82rem;
}

/* Lightbox */
.nfts-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 2000;
}

.nfts-lightbox.open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  width: min(92vw, 900px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(20, 20, 20, 0.8);
  color: white;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

@media (max-width: 640px) {
  .nfts-lightbox.open {
    padding: 12px;
  }

  .lightbox-content {
    width: 100%;
    max-height: 92vh;
  }

  .lightbox-content img {
    max-height: 84vh;
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}
