/* ==========================================================================
   100 POPULAR BOYBANDS WORLDWIDE - MASTER STYLESHEET
   Design Language: Neo-Editorial Glassmorphic Pop Magazine
   Features: Dark/Light Mode, RTL Support (Arabic), Responsive Bento Grid
   ========================================================================== */

:root {
  /* Color Palette - Vibrant Music Aura */
  --bg-primary: #0b0f19;
  --bg-secondary: #121826;
  --bg-card: rgba(22, 30, 49, 0.75);
  --bg-card-hover: rgba(30, 41, 68, 0.85);
  --bg-glass: rgba(18, 24, 38, 0.7);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.35);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-primary: #6366f1; /* Electric Indigo */
  --accent-secondary: #ec4899; /* Pop Pink */
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #ec4899 50%, #f59e0b 100%);
  --accent-gradient-hover: linear-gradient(135deg, #4f46e5 0%, #db2777 50%, #d97706 100%);
  
  --tag-active-bg: rgba(99, 102, 241, 0.2);
  --tag-active-text: #a5b4fc;
  
  --status-active: #10b981;
  --status-hiatus: #f59e0b;
  --status-disbanded: #64748b;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Variables */
body.light-theme {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(99, 102, 241, 0.25);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --tag-active-bg: rgba(99, 102, 241, 0.12);
  --tag-active-text: #4f46e5;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.15);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

/* Background Ambient Glow */
body::before {
  content: '';
  position: fixed;
  top: -15%;
  left: 20%;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(236, 72, 153, 0.04) 60%, transparent 80%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* RTL Support (Arabic) */
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .brand-logo {
  margin-right: 0;
  margin-left: auto;
}

html[dir="rtl"] .search-input {
  padding: 14px 48px 14px 20px;
}

html[dir="rtl"] .search-icon {
  left: auto;
  right: 18px;
}

html[dir="rtl"] .card-flag {
  margin-right: 0;
  margin-left: 8px;
}

/* Container */
.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-icon {
  font-size: 1.6rem;
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
}

.logo-text strong {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Selector Dropdown */
.lang-selector-wrapper {
  position: relative;
}

.lang-select {
  appearance: none;
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 8px 34px 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.lang-select:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.lang-icon-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.75rem;
  color: var(--text-muted);
}

html[dir="rtl"] .lang-select {
  padding: 8px 14px 8px 34px;
}

html[dir="rtl"] .lang-icon-arrow {
  right: auto;
  left: 12px;
}

/* Header Action Buttons */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.icon-btn:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.bookmark-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-secondary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 2px 6px;
  min-width: 18px;
  text-align: center;
}

/* ==========================================================================
   ADSENSE CONTAINER SYSTEM (VALUABLE INVENTORY COMPLIANT)
   ========================================================================== */
.ad-slot-wrapper {
  margin: 28px 0;
  padding: 12px;
  background: rgba(18, 24, 38, 0.4);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ad-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.ad-placeholder {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #c7d2fe;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* Quick Statistics Grid */
.stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
  padding: 20px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.stat-item {
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   SEARCH & FILTERS CONTROL BAR
   ========================================================================== */
.controls-section {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}

.search-bar-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 16px 20px 16px 52px;
  font-size: 1.05rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

/* Region Filter Chips / Pills */
.region-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 18px;
  scrollbar-width: thin;
}

.region-filter-bar::-webkit-scrollbar {
  height: 4px;
}

.region-filter-bar::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-full);
}

.filter-chip {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-chip:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--accent-primary);
}

.filter-chip.active {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

/* Secondary Filter Selects */
.secondary-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.select-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-select {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.filter-select:focus {
  border-color: var(--accent-primary);
}

.results-counter {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.results-counter strong {
  color: var(--text-primary);
}

/* ==========================================================================
   BOYBAND 100 CARDS GRID
   ========================================================================== */
.boybands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 50px;
}

.band-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative;
}

.band-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Card Header & Poster Image */
.card-media {
  position: relative;
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.band-card:hover .card-img {
  transform: scale(1.08);
}

.card-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 15, 25, 0.95) 0%, rgba(11, 15, 25, 0.2) 50%, transparent 100%);
}

.rank-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

html[dir="rtl"] .rank-badge {
  left: auto;
  right: 14px;
}

.bookmark-toggle-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(11, 15, 25, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 2;
}

html[dir="rtl"] .bookmark-toggle-btn {
  right: auto;
  left: 14px;
}

.bookmark-toggle-btn:hover {
  background: var(--accent-secondary);
  border-color: var(--accent-secondary);
  transform: scale(1.1);
}

.bookmark-toggle-btn.bookmarked {
  background: var(--accent-secondary);
  color: #fff;
}

/* Card Body */
.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.82rem;
}

.card-country {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-weight: 600;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.status-badge.active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.status-badge.hiatus {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.status-badge.disbanded {
  background: rgba(100, 116, 139, 0.15);
  color: #94a3b8;
}

.band-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.band-native-name {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.band-summary {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Specs Micro-List */
.specs-quick-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.spec-quick-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.spec-quick-item .label {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-quick-item .val {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
  max-width: 60%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html[dir="rtl"] .spec-quick-item .val {
  text-align: left;
}

/* Card Footer Actions */
.card-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  flex-grow: 1;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  background: var(--accent-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

.btn-outline-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-outline-icon:hover {
  color: var(--text-primary);
  border-color: var(--accent-primary);
}

/* ==========================================================================
   DETAIL MODAL SYSTEM (TABS, BIO, SPECS, DISCOGRAPHY)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  visibility: visible;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.detail-modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 0, 0, 0.8);
  animation: modalEnter 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalEnter {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-hero {
  position: relative;
  height: 240px;
  background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
  display: flex;
  align-items: flex-end;
  padding: 28px;
}

.modal-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.modal-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-secondary) 5%, transparent 70%);
}

.modal-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.modal-hero-content h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}

.modal-hero-content .subtitle {
  color: #c7d2fe;
  font-size: 0.95rem;
  margin-top: 4px;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

html[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 18px;
}

.modal-close-btn:hover {
  background: var(--accent-secondary);
  transform: rotate(90deg);
}

/* Modal Navigation Tabs */
.modal-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-primary);
  padding: 0 24px;
  overflow-x: auto;
}

.tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 14px 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
}

.modal-body-scroll {
  padding: 28px;
  overflow-y: auto;
  flex-grow: 1;
}

/* Modal Tab Contents */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Specs Table Grid */
.specs-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.spec-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
}

.spec-box-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.spec-box-value {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

/* Members Chips */
.members-list-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.member-chip {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--text-primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

/* History 4-Phases Accordion / Cards */
.history-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.history-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  border-left: 4px solid var(--accent-primary);
}

html[dir="rtl"] .history-card {
  border-left: 1px solid var(--border-color);
  border-right: 4px solid var(--accent-primary);
}

.history-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.history-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Discography Badges */
.discography-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.disco-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.disco-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.disco-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.disco-item {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.disco-item::before {
  content: '✦';
  color: var(--accent-secondary);
}

/* External Media Links */
.media-links-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.btn-youtube {
  background: #ff0000;
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-youtube:hover {
  background: #cc0000;
  transform: translateY(-2px);
}

.btn-spotify {
  background: #1db954;
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-spotify:hover {
  background: #1aa34a;
  transform: translateY(-2px);
}

/* ==========================================================================
   COOKIE CONSENT MANAGEMENT BANNER & PREFERENCES (CMP COMPLIANCE)
   ========================================================================== */
.consent-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(18, 24, 38, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  z-index: 999;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

.consent-banner.hidden {
  display: none;
}

.consent-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.consent-text strong {
  color: var(--text-primary);
}

.consent-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-sm-primary {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-sm-primary:hover {
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-sm-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-sm-outline:hover {
  border-color: var(--accent-primary);
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 48px 0 32px;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
}

.footer-disclaimer {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 800px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a, .footer-privacy-btn {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.footer-links a:hover, .footer-privacy-btn:hover {
  color: var(--accent-primary);
  text-decoration: underline;
}

/* Privacy Page Specifics */
.privacy-page {
  background-color: var(--bg-primary);
}

.privacy-container {
  padding: 50px 24px;
}

.privacy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(14px);
}

.privacy-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 30px;
}

.privacy-header h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  margin: 12px 0 6px;
}

.last-updated {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.privacy-content section {
  margin-bottom: 30px;
}

.privacy-content h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.privacy-content p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}

.callout-box {
  background: rgba(99, 102, 241, 0.1);
  border-left: 4px solid var(--accent-primary);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 18px 0;
}

.callout-box h3 {
  font-size: 1.05rem;
  color: #c7d2fe;
  margin-bottom: 6px;
}

.privacy-footer-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }

  .consent-banner {
    flex-direction: column;
    align-items: stretch;
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 18px;
  }

  .consent-buttons {
    flex-direction: column;
  }

  .btn-sm-primary, .btn-sm-outline {
    width: 100%;
    text-align: center;
  }

  .privacy-card {
    padding: 24px 18px;
  }
}
