/* Afroblend Software Marketplace Custom Design Styles */
:root {
  --afro-gold: #d4af37;
  --afro-gold-glow: rgba(212, 175, 55, 0.35);
  --afro-gold-light: #f3c252;
  --afro-dark: #0a0c12;
  --afro-dark-card: #12151e;
  --afro-dark-card-hover: #171c28;
  --afro-border: rgba(255, 255, 255, 0.08);
  --afro-border-gold: rgba(212, 175, 55, 0.25);
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--afro-dark);
  color: #e4e4e7;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Syne', sans-serif;
}

/* Glassmorphism Card */
.sw-glass-card {
  background: rgba(18, 21, 30, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--afro-border);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sw-glass-card:hover {
  background: rgba(23, 28, 40, 0.9);
  border-color: var(--afro-border-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px var(--afro-gold-glow);
}

/* Gold Gradient Button */
.btn-gold {
  background: linear-gradient(135deg, #e5a93c 0%, #d4af37 50%, #c49520 100%);
  color: #0a0b10;
  font-weight: 700;
  box-shadow: 0 4px 18px var(--afro-gold-glow);
  transition: all 0.25s ease;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #f3c252 0%, #e5a93c 50%, #d4af37 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

/* Badge Styles */
.badge-gold {
  background: rgba(212, 175, 55, 0.12);
  color: #f3c252;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0d0f17;
}
::-webkit-scrollbar-thumb {
  background: #272d3f;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

/* Image Aspect and Overlay */
.sw-cover-ratio {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Animations */
@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.animate-glow {
  animation: pulseGlow 4s infinite ease-in-out;
}

/* Upload Progress Container */
.upload-progress-bar {
  transition: width 0.3s ease;
}

/* Mobile Optimization & Responsive Protection */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

img, video, iframe {
  max-width: 100%;
}

@media (max-width: 640px) {
  .sw-glass-card {
    border-radius: 1rem;
  }
}
.upload-progress-bar {
  transition: width 0.2s ease-out;
}
