/* Mwaby News - Custom Styles */

/* ==================== VARIABLES ==================== */
:root {
  /* Colors - African inspired palette */
  --primary: #D4AF37; /* Golden */
  --secondary: #8B0000; /* Deep Red */
  --accent: #4B0082; /* Royal Purple */
  --success: #228B22; /* Forest Green */
  --warning: #FF8C00; /* Dark Orange */
  --danger: #DC143C; /* Crimson */
  
  /* Background colors */
  --background: #0A0A0B;
  --surface: #1A1A1B;
  --surface-variant: #2A2A2B;
  
  /* Text colors */
  --text-primary: #FFFFFF;
  --text-secondary: #B0B0B0;
  --text-muted: #FFFFFF;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary), #FFD700);
  --gradient-secondary: linear-gradient(135deg, var(--secondary), #FF4500);
  --gradient-accent: linear-gradient(135deg, var(--accent), #9370DB);
  --gradient-surface: linear-gradient(145deg, var(--surface), var(--surface-variant));
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.3);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease-out;
}

/* ==================== BASE STYLES ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in {
  animation: slideInRight 0.6s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.4s ease-out;
}

/* ==================== CUSTOM COMPONENTS ==================== */

/* Gradient Text */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Custom Buttons */
.btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: var(--background);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 12px;
  transition: var(--transition);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  color: var(--background);
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 12px;
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--background);
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 12px;
  transition: var(--transition);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* ==================== HEADER ==================== */
.header-section {
  background: rgba(31, 41, 55, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  font-size: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
}

.nav-link:hover {
  color: var(--primary) !important;
  background: rgba(212, 175, 55, 0.1);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
}

.navbar-toggler {
  border: none;
  color: var(--text-primary);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(139, 0, 0, 0.3));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1rem 0;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #FFF;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.african-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(245, 158, 11, 0.1) 2px, transparent 2px), radial-gradient(circle at 75% 75%, rgba(245, 158, 11, 0.1) 2px, transparent 2px);
  background-size: 40px 40px;
  opacity: 0.3;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==================== SEARCH & FILTER ==================== */
.search-filter-section {
  padding: 0;
  top: 76px;
  z-index: 999;
  backdrop-filter: blur(20px);
}

.search-filter-card {
 
  border-radius: 16px;
  padding: 0.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-box {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  z-index: 2;
}

.search-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: 0.75rem 1rem 0.75rem 3rem;
  border-radius: 12px;
  font-size: 1rem;
  transition: var(--transition);
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
  color: var(--text-primary);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.clear-search {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  border: none;
  background: none;
  padding: 0.25rem;
}

.filter-toggle {
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--primary);
  background: rgba(212, 175, 55, 0.1);
}

.filters-panel {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-title {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.category-filter,
.genre-filter {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  transition: var(--transition);
}

.category-filter:hover,
.genre-filter:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.category-filter.active,
.genre-filter.active {
  background: var(--primary);
  color: var(--background);
  border-color: var(--primary);
}

.active-filters .badge {
  background: rgba(212, 175, 55, 0.2);
  color: var(--primary);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==================== SECTION STYLES ==================== */
.section-header {
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Featured Music */
.featured-music-section {
  padding: 5rem 0;
  background: rgba(26, 26, 27, 0.5);
}

/* Video Gallery */
.video-gallery-section {
  padding: 5rem 0;
  background: var(--background);
}

/* News & Events */
.news-events-section {
  padding: 5rem 0;
  background: rgba(26, 26, 27, 0.5);
}

/* Rising Artists */
.rising-artists-section {
  padding: 5rem 0;
  background: var(--background);
}

/* Submission */
.submission-section {
  padding: 5rem 0;
  background: rgba(26, 26, 27, 0.5);
}

/* ==================== CARD STYLES ==================== */
.card {
  background: var(--gradient-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.3);
}

.card-img-top {
  transition: var(--transition);
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

/* Music Cards */
.music-card {
  position: relative;
  overflow: hidden;
}

.music-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.music-card:hover .music-overlay {
  opacity: 1;
}

.badge {
  background: rgba(212, 175, 55, 0.2);
  color: var(--primary);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge.bg-danger {
  background: rgba(220, 20, 60, 0.2) !important;
  color: var(--danger);
  border-color: rgba(220, 20, 60, 0.3);
}

.badge.bg-success {
  background: rgba(34, 139, 34, 0.2) !important;
  color: var(--success);
  border-color: rgba(34, 139, 34, 0.3);
}

/* ==================== ARTIST CARDS ==================== */
.artist-card {
  background: var(--gradient-surface);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.artist-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.artist-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.artist-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.artist-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.artist-card:hover .artist-overlay {
  opacity: 1;
}

.artist-card:hover .artist-image img {
  transform: scale(1.1);
}

.artist-info {
  padding: 1.5rem;
}

.artist-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.artist-genre {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.artist-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.artist-stats span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ==================== SUBMISSION FORM ==================== */
.submission-card {
  background: var(--gradient-surface);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

.form-control,
.form-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
  color: var(--text-primary);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-label {
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-label {
  color: var(--text-secondary);
}

/* ==================== FOOTER ==================== */
.footer-section {
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main {
  padding: 3rem 0 2rem;
}

.footer-brand {
  margin-bottom: 2rem;
}

.footer-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: var(--background);
  transform: translateY(-2px);
}

.footer-title {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.newsletter-form .input-group {
  margin-top: 1rem;
}

.newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-radius: 12px 0 0 12px;
}

.newsletter-form .btn {
  border-radius: 0 12px 12px 0;
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  color: var(--text-muted);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--primary);
}

/* ==================== AUDIO PLAYER ==================== */
.audio-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 1rem 0;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.player-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  transition: var(--transition);
}

.player-btn.play-pause {
  width: 48px;
  height: 48px;
}

.player-track-info {
  padding: 0 1.5rem;
}

.track-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.track-title {
  font-weight: 600;
  color: var(--text-primary);
}

.track-artist {
  color: var(--text-secondary);
}

.progress-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.time-current,
.time-total {
  font-size: 0.875rem;
  color: var(--text-muted);
  min-width: 40px;
}

.progress {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.1s ease;
}

.player-extras {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .search-filter-section {
    position: relative;
    top: 0;
  }
  
  .filter-group {
    justify-content: center;
  }
  
  .navbar-actions {
    margin-left: 0;
    margin-top: 1rem;
    flex-direction: column;
    width: 100%;
  }
  
  .player-track-info {
    padding: 0 1rem;
  }
  
  .track-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .progress-container {
    width: 100%;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }
  
  .submission-card {
    padding: 1.5rem;
  }
  
  .filters-panel {
    padding: 1rem;
  }
  
  .player-extras {
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* ==================== UTILITY CLASSES ==================== */
.text-muted {
  color: var(--text-muted) !important;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

.bg-surface {
  background: var(--surface) !important;
}

.border-primary {
  border-color: var(--primary) !important;
}

.hover-scale {
  transition: transform 0.2s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.skeleton {
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.05) 25%, 
    rgba(255, 255, 255, 0.1) 50%, 
    rgba(255, 255, 255, 0.05) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 8px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}