/* ============================================
   MINT-PORTAL-CARDS.CSS
   NFT Collection Cards Grid (Mint Portal ONLY)
   All styles scoped to .nft-collections-section
   ============================================ */

/* ============================================
   COLLECTIONS SECTION
   ============================================ */

.nft-collections-section {
  padding: 0 0 0 0;
  max-width: 1600px;
  margin: 0 auto;
}

/* ============================================
   COLLECTIONS GRID
   ============================================ */

.nft-collections-section .collections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

/* ============================================
   COLLECTION CARD
   ============================================ */

.nft-collections-section .collection-card {
  background: linear-gradient(to bottom, #160d0b, #341e13);
  border: 2px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}

.nft-collections-section .collection-card:hover {
  transform: translateY(-8px);
  border-color: #864f22;
  box-shadow: var(--warm-glow);
}

/* ============================================
   CARD STRUCTURE (from JS)
   ============================================ */

.nft-collections-section .card-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  padding: 9px 24px 16px 12px;
  flex: 1;
}

.nft-collections-section .card-nft-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 3px solid #3d2817;
  overflow: hidden;
  background: linear-gradient(135deg, #FF8C00 0%, #FF6347 100%);
}

.nft-collections-section .card-nft-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nft-collections-section .placeholder-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 80px;
  background: linear-gradient(to bottom, #0d0806, #1a0f0a);
}

.nft-collections-section .card-quick-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ============================================
   CARD NAME/TITLE
   ============================================ */

.nft-collections-section .card-name {
  font-size: 20px;
  color: var(--text);
  margin: 0;
  margin-top: 6px;
  margin-bottom: 0px;
  text-transform: uppercase;
  line-height: 1.2;
}

/* Title color variants */
.nft-collections-section .card-name .subtitle-orange {
  color: var(--orange);
  font-size: 12px;
}

.nft-collections-section .card-name .big-orange {
  color: var(--orange);
}

.nft-collections-section .card-name .subtitle-muted {
  color: var(--muted);
  font-size: 12px;
  display: block;
  margin-bottom: -18px;
}

/* ============================================
   CARD INFO & STATS
   ============================================ */

.nft-collections-section .card-rental-info {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0px;
}

.nft-collections-section .card-stat-divider {
  border-top: 1px solid var(--border);
  margin: 7px 0;
}

.nft-collections-section .card-stat {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  padding: 2px 0;
}

.nft-collections-section .stat-label {
  color: var(--muted);
  font-size: 15px;
}

.nft-collections-section .stat-value {
  color: var(--orange);
  font-weight: 700;
}

/* ============================================
   CARD BOTTOM SECTION
   ============================================ */

.nft-collections-section .card-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 24px 24px 24px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border);
}

.nft-collections-section .card-extra-details {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}

.nft-collections-section .pricing-badge {
  font-weight: 700;
  font-size: 15px;
  color: var(--orange);  /* INDEPENDENT - only affects mint portal */
}

.nft-collections-section .pricing-badge .text-orange {
  color: var(--orange);  /* Same as pricing-badge */
  font-size: 15px;       /* Same as pricing-badge */
  font-weight: 700;      /* Same as pricing-badge */
}

.nft-collections-section .pricing-subtitle {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}

/* ============================================
   CARD ACTIONS & BUTTON
   ============================================ */

.nft-collections-section .card-actions {
  margin-top: 12px;
}

.nft-collections-section .btn-view-collection {
  width: 100%;
  max-width: 200px;
  background: linear-gradient(135deg, #ff6b00 0%, #cc4400 100%);
  color: white;
  border: 2px solid #ff9d26;
  border-radius: 12px;

  font-weight: 700;
  font-size: 15px;
  font-family: 'DIN Alternate', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.4);
  animation: pulseOrange 2s ease-in-out infinite;
}

@keyframes pulseOrange {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.8);
  }
}

.nft-collections-section .btn-view-collection:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #ff7d00 0%, #dd5500 100%);
  box-shadow: 0 0 20px rgba(255, 140, 0, .8);
  animation: none;
}

.nft-collections-section .btn-view-collection:active {
  transform: translateY(-1px);
}

.nft-collections-section .btn-view-collection:disabled {
  background: linear-gradient(135deg, #3d2817 0%, #2a1b0c 100%);
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: none;
  border-color: var(--border);
  transform: none;
  animation: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
  .nft-collections-section .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .nft-collections-section .card-top {
    grid-template-columns: 200px 1fr;
    padding: 10px 14px 24px 14px;
  }
  
  .nft-collections-section .card-nft-image {
    max-width: 300px;
  }
}

@media (max-width: 900px) {
  .nft-collections-section {
    padding: 40px 20px 80px 20px;
  }
  
  .nft-collections-section .collections-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .nft-collections-section .card-top {
    padding: 20px;
  }
  
  .nft-collections-section .card-name {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .nft-collections-section {
    padding: 30px 15px 60px 15px;
  }
  
  .nft-collections-section .collections-grid {
    gap: 20px;
  }
  
  .nft-collections-section .card-name {
    font-size: 16px;
  }
  
  .nft-collections-section .btn-view-collection {
    padding: 10px;
    font-size: 14px;
  }
}