@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --green: #007847;
  --yellow: #FCD116;
  --red: #CE1126;
  --dark: #070707;
  --dark-2: #111;
  --dark-3: #1a1a1a;
  --gray: #f8f9fb;
  --gray-2: #e8eaed;
  --gray-3: #9aa0a6;
  --text: #1a1a1a;
  --text-light: #555;
  --white: #ffffff;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Figtree', sans-serif;
  --font-ui: 'DM Sans', sans-serif; 
  --radius: 18px;
  --radius-sm: 10px;
  --radius-full: 999px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  --transition: 0.3s cubic-bezier(.22,1,.36,1);
  --header-h: 70px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

body::-webkit-scrollbar { width: .6rem; }
body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--green), var(--yellow), var(--red));
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
  position: fixed; inset: 0;
  background: var(--dark);
  display: flex; justify-content: center; align-items: center; flex-direction: column;
  overflow: hidden; z-index: 9999;
  transition: opacity 0.7s ease;
}

canvas { position: absolute; inset: 0; }

.loader {
  position: relative; z-index: 2;
  display: flex; justify-content: center; align-items: center; flex-direction: column;
  text-align: center;
}

.loader-content {
  position: relative; width: 40px; height: 40px;
  transform: rotate(45deg); margin-bottom: 2rem;
}

.loader-content .box {
  position: absolute; width: 14px; height: 14px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
  opacity: 0.8; animation: ping 1.2s infinite;
}
.loader-content .box.top-left    { top:0; left:0;     animation-delay:0s; }
.loader-content .box.top-right   { top:0; right:0;    animation-delay:.15s; }
.loader-content .box.bottom-right{ bottom:0; right:0; animation-delay:.3s; }
.loader-content .box.bottom-left { bottom:0; left:0;  animation-delay:.45s; }

@keyframes ping {
  0%   { transform: scale(1); opacity:1; }
  70%  { transform: scale(1.5); opacity:0; }
  100% { transform: scale(1.5); opacity:0; }
}

.loader h2 {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  padding: 0 1.8rem;
  font-family: var(--font-body);
  font-weight: bold; letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(80deg, var(--green), var(--yellow), var(--red));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

#preloader.hidden { pointer-events: none; opacity: 0; }

/* ============================================
   MUSIC STRIP
   ============================================ */
.music-quote-strip {
  position: sticky; width: 100%; height: var(--header-h);
  background: linear-gradient(90deg, var(--green) 0%, var(--yellow) 50%, var(--red) 120%);
  display: flex; justify-content: center; align-items: center;
  overflow: hidden; z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3); top: 0;
}

.music-quote-strip::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,0.25);
}

.music-quote-strip .quote {
  position: relative;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  padding: 0 1.7rem;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 1px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6); color: white;
  animation: fadeIn 1.5s ease-in-out;
}

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

.music-icon { display: inline-flex; align-items: center; margin-right: 8px; }
.music-icon svg {
  width: 19px; height: 19px; fill: var(--green);
  background: white; border-radius: 10px; padding: 2px;
  animation: beninColors 4s ease-in-out infinite;
}

@keyframes beninColors {
  0%   { fill: var(--green); }
  33%  { fill: var(--yellow); }
  66%  { fill: var(--red); }
  100% { fill: var(--green); }
}

/* ============================================
   HEADER (RÉSEAU SOCIAL)
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 900;
  height: var(--header-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-2);
  display: flex; align-items: center;
  padding: 0 2rem; gap: 1.5rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.2rem; color: var(--dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-logo .logo-dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--yellow), var(--red));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.85rem; font-weight: 800;
}

.header-search {
  flex: 1; max-width: 420px;
  display: flex; align-items: center; gap: 8px;
  background: var(--gray); border-radius: var(--radius-full);
  padding: 8px 18px; border: 1.5px solid transparent;
  transition: var(--transition);
}

.header-search:focus-within {
  border-color: var(--yellow); background: white;
  box-shadow: 0 0 0 3px rgba(252,209,22,0.15);
}

.header-search i { color: var(--gray-3); font-size: 0.9rem; }
.header-search input {
  border: none; background: none; outline: none;
  font-size: 0.9rem; color: var(--text); width: 100%;
}

.header-nav {
  display: flex; align-items: center; gap: 0.5rem;
  margin-left: auto;
}

.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--radius-full);
  font-size: 0.88rem; font-weight: 500;
  color: var(--text-light); transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  background: var(--gray); color: var(--dark);
}

.nav-link.active { color: var(--green); }

.nav-btn {
  padding: 8px 20px; border-radius: var(--radius-full);
  font-size: 0.88rem; font-weight: 600;
  background: linear-gradient(90deg, var(--green), #00a35e);
  color: white; transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,120,71,0.3);
}

.nav-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,120,71,0.4); }

.nav-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; cursor: pointer;
  border: 2px solid var(--yellow);
  transition: var(--transition);
}

.nav-avatar:hover { border-color: var(--green); transform: scale(1.05); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); background: var(--gray);
  cursor: pointer; border: none; padding: 8px;
}
.hamburger span { display: block; width: 18px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

.mobile-menu {
  display: none; position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: white; z-index: 850;
  border-bottom: 1px solid var(--gray-2);
  padding: 1rem; flex-direction: column; gap: 0.5rem;
  box-shadow: var(--shadow-lg);
  animation: slideDown 0.25s ease;
}

.mobile-menu.open { display: flex; }

@keyframes slideDown {
  from { opacity:0; transform: translateY(-10px); }
  to   { opacity:1; transform: translateY(0); }
}

/* Notification badge */
.notif-badge {
  position: relative; display: inline-flex;
  align-items: center; justify-content: center;
}

.notif-badge .badge {
  position: absolute; top: -4px; right: -4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--red); color: white;
  font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid white;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative; display: flex;
  justify-content: center; align-items: center;
  height: 100vh;
  background-image:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75)),
    url("../image/amazone.jpg");
  background-size: cover; background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.06), transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 900px; padding: 0 1.5rem;
  animation: heroFadeUp 1s ease forwards;
}


.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.2;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-cta {
  display: flex; gap: 1rem; justify-content: center;
  margin-top: 2.5rem; flex-wrap: wrap;
}

.hero-btn {
  padding: 14px 32px; border-radius: var(--radius-full);
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.95rem; letter-spacing: 0.5px;
  transition: var(--transition); display: inline-flex;
  align-items: center; gap: 8px;
}

.hero-btn-primary {
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
  color: white; box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.hero-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }

.hero-btn-secondary {
  background: rgba(255,255,255,0.15); color: white;
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
  font-family: 'Poppins', sans-serif;
}
.hero-btn-secondary:hover { background: rgba(255,255,255,0.25); transform: translateY(-3px); }

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

/* ============================================
   SECTION TITLE
   ============================================ */
.section { margin: 2rem auto; max-width: 1200px; padding: 0 1.7rem; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.5vw, 2.3rem);
  font-weight: 700; text-align: left;
  color: var(--dark); opacity: 0.8;
}

.section-title .highlight,
.newgen-title .highlight,
.new-artist-title .highlight {
  position: relative; display: inline-block;
  color: var(--dark); z-index: 1;
}

.section-title .highlight::after,
.newgen-title .highlight::after,
.new-artist-title .highlight::after {
  content: ''; position: absolute;
  bottom: 0.15em; left: 0; width: 100%; height: 0.35em;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
  transform: skewX(-12deg); z-index: -1;
}

/* ============================================
   ARTISTS GRID
   ============================================ */
.artists-section {
  background-color: var(--gray);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 40 L40 0' stroke='%23007847' stroke-width='1' opacity='0.11'/%3E%3C/svg%3E");
}

.artists-grid {
  max-width: 1200px; margin: 0 auto;
  padding: 2rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

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

.artist-card {
  position: relative; background: white;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.08), inset 0 0 0 1px rgba(0,0,0,0.05);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.artist-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 45px 90px rgba(0,0,0,0.12), inset 0 0 0 1px rgba(0,0,0,0.08);
}

.artist-image { position: relative; height: 230px; overflow: hidden; }
.artist-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform 0.8s ease;
}
.artist-card:hover .artist-image img { transform: scale(1.06); }

.artist-info { padding: 2rem 1.8rem 2.5rem; text-align: center; }

.artist-name {
  font-family: var(--font-display); font-size: 1.4rem;
  letter-spacing: 1px; margin-bottom: 0.6rem; text-transform: uppercase;
}

.artist-role {
  font-family: var(--font-body); font-size: 0.95rem;
  line-height: 1.6; color: var(--text-light); margin-bottom: 1.8rem;
}

.artist-link {
  position: relative; font-family: var(--font-display);
  font-size: 0.85rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--green); text-decoration: none;
  border: 2px solid var(--yellow); padding: 10px;
  border-radius: var(--radius-full);
  display: inline-flex; word-break: break-word;
  transition: var(--transition);
}

.artist-link:hover {
  color: var(--dark);
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
}

/* ============================================
   FEED PAGE
   ============================================ */
.feed-layout {
  display: grid;
  grid-template-columns: 260px 1fr 300px;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  min-height: calc(100vh - var(--header-h));
}

/* Left Sidebar */
.feed-sidebar-left {
  position: sticky; top: calc(var(--header-h) + 1rem);
  height: fit-content;
}

.sidebar-profile {
  background: white; border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
  text-align: center; margin-bottom: 1rem;
}

.sidebar-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 1rem;
  border: 3px solid var(--yellow);
  display: block;
}

.sidebar-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1rem; color: var(--dark); margin-bottom: 0.2rem;
}

.sidebar-username { font-size: 0.82rem; color: var(--gray-3); margin-bottom: 1rem; }

.sidebar-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0.5rem; border-top: 1px solid var(--gray-2); padding-top: 1rem;
}

.stat-item { text-align: center; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--dark); }
.stat-label { font-size: 0.72rem; color: var(--gray-3); }

.sidebar-nav {
  background: white; border-radius: var(--radius);
  padding: 1rem; box-shadow: var(--shadow);
}

.sidebar-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--text-light);
  transition: var(--transition); cursor: pointer;
}

.sidebar-nav-item:hover, .sidebar-nav-item.active {
  background: linear-gradient(90deg, rgba(0,120,71,0.08), rgba(252,209,22,0.08));
  color: var(--dark);
}

.sidebar-nav-item.active { color: var(--green); font-weight: 600; }
.sidebar-nav-item i { width: 20px; text-align: center; }

/* Feed Center */
.feed-center { min-width: 0; }

/* Create Post Box */
.create-post {
  background: white; border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.create-post-top {
  display: flex; gap: 12px; align-items: flex-start;
}

.create-post-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--yellow);
}

.create-post-input {
  flex: 1; background: var(--gray);
  border: 1.5px solid transparent; border-radius: var(--radius-full);
  padding: 12px 20px; font-size: 0.92rem;
  color: var(--text); outline: none; resize: none;
  transition: var(--transition); min-height: 48px;
  max-height: 200px; overflow-y: auto;
}

.create-post-input:focus {
  border-color: var(--yellow); background: white;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 3px rgba(252,209,22,0.15);
}

.create-post-actions {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid var(--gray-2);
  flex-wrap: wrap;
}

.post-action-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--radius-full);
  font-size: 0.82rem; font-weight: 500; color: var(--text-light);
  background: var(--gray); transition: var(--transition);
  border: 1.5px solid transparent;
}

.post-action-btn:hover { background: white; border-color: var(--gray-2); color: var(--dark); }
.post-action-btn.active { color: var(--green); border-color: var(--green); background: rgba(0,120,71,0.06); }

.post-submit-btn {
  margin-left: auto; padding: 10px 24px;
  background: linear-gradient(90deg, var(--green), #00a35e);
  color: white; border-radius: var(--radius-full);
  font-weight: 600; font-size: 0.88rem;
  box-shadow: 0 4px 15px rgba(0,120,71,0.3);
  transition: var(--transition); border: none; cursor: pointer;
}

.post-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,120,71,0.4); }
.post-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Media preview */
.media-preview {
  margin-top: 1rem; position: relative;
  border-radius: var(--radius-sm); overflow: hidden;
  display: none;
}
.media-preview.show { display: block; }
.media-preview img, .media-preview video {
  width: 100%; max-height: 300px; object-fit: cover;
  border-radius: var(--radius-sm);
}
.media-preview-close {
  position: absolute; top: 8px; right: 8px;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,0,0,0.6); color: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 0.8rem; transition: var(--transition);
}

/* Link preview */
.link-preview {
  margin-top: 1rem; border: 1.5px solid var(--gray-2);
  border-radius: var(--radius-sm); overflow: hidden;
  display: none;
}
.link-preview.show { display: block; }
.link-preview-img { width: 100%; height: 160px; object-fit: cover; }
.link-preview-info { padding: 12px; }
.link-preview-title { font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.link-preview-desc { font-size: 0.8rem; color: var(--text-light); }

/* Post Card */
.post-card {
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 1.5rem;
  overflow: hidden; transition: var(--transition);
}

.post-card:hover { box-shadow: var(--shadow-lg); }

.post-header {
  display: flex; align-items: center; gap: 12px;
  padding: 1.2rem 1.5rem 0;
}

.post-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--gray-2);
}

.post-meta { flex: 1; }
.post-author {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.95rem; color: var(--dark);
}
.post-author:hover { color: var(--green); }
.post-time { font-size: 0.78rem; color: var(--gray-3); }

.post-more {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-3); transition: var(--transition);
  cursor: pointer; position: relative;
}
.post-more:hover { background: var(--gray); color: var(--dark); }

.post-body { padding: 1rem 1.5rem; }
.post-text { font-size: 0.95rem; line-height: 1.7; color: var(--text); }

.post-text a { color: var(--green); }
.post-text a:hover { text-decoration: underline; }

.post-media { margin-top: 0.8rem; overflow: hidden; border-radius: var(--radius-sm); }
.post-media img { width: 100%; max-height: 500px; object-fit: cover; }
.post-media video { width: 100%; border-radius: var(--radius-sm); }
.post-media iframe { width: 100%; height: 315px; border: none; }

.post-link-preview {
  margin-top: 0.8rem; border: 1.5px solid var(--gray-2);
  border-radius: var(--radius-sm); overflow: hidden; text-decoration: none;
  display: block; transition: var(--transition);
}
.post-link-preview:hover { border-color: var(--yellow); }
.post-link-preview img { width: 100%; height: 180px; object-fit: cover; }
.post-link-info { padding: 12px; }
.post-link-title { font-weight: 600; font-size: 0.9rem; color: var(--dark); margin-bottom: 4px; }
.post-link-desc { font-size: 0.8rem; color: var(--text-light); }

.post-footer {
  padding: 0.8rem 1.5rem 1.2rem;
  border-top: 1px solid var(--gray-2);
  display: flex; align-items: center; gap: 0.5rem;
}

.post-action {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--radius-full);
  font-size: 0.85rem; color: var(--text-light);
  background: none; transition: var(--transition);
  cursor: pointer; border: none; font-family: var(--font-body);
}

.post-action:hover { background: var(--gray); color: var(--dark); }
.post-action.liked { color: var(--red); }
.post-action.liked i { animation: heartBeat 0.3s ease; }

@keyframes heartBeat {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Comments Section */
.comments-section {
  border-top: 1px solid var(--gray-2); padding: 0;
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.comments-section.open {
  max-height: 600px; padding: 1rem 1.5rem 1.5rem;
}

.comment-item {
  display: flex; gap: 10px; margin-bottom: 1rem;
}

.comment-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}

.comment-body {
  flex: 1; background: var(--gray); border-radius: 0 var(--radius-sm) var(--radius-sm) var(--radius-sm);
  padding: 10px 14px;
}

.comment-author { font-weight: 600; font-size: 0.82rem; color: var(--dark); }
.comment-text { font-size: 0.88rem; color: var(--text); margin-top: 2px; }
.comment-time { font-size: 0.74rem; color: var(--gray-3); margin-top: 4px; }

.comment-input-row {
  display: flex; gap: 10px; align-items: center; margin-top: 0.5rem;
}

.comment-input {
  flex: 1; background: var(--gray); border-radius: var(--radius-full);
  border: 1.5px solid transparent; padding: 10px 18px;
  font-size: 0.88rem; outline: none; transition: var(--transition);
}

.comment-input:focus {
  border-color: var(--yellow); background: white;
  box-shadow: 0 0 0 3px rgba(252,209,22,0.12);
}

.comment-submit {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--yellow));
  color: var(--dark); display: flex; align-items: center; justify-content: center;
  transition: var(--transition); flex-shrink: 0; cursor: pointer; border: none;
}
.comment-submit:hover { transform: scale(1.1); }

/* Right Sidebar */
.feed-sidebar-right {
  position: sticky; top: calc(var(--header-h) + 1rem);
  height: fit-content;
}

.sidebar-widget {
  background: white; border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.widget-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.9rem; text-transform: uppercase;
  letter-spacing: 1px; color: var(--dark);
  margin-bottom: 1rem; padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--yellow);
}

/* Trending */
.trending-item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--gray-2);
  cursor: pointer; transition: var(--transition);
}
.trending-item:last-child { border-bottom: none; }
.trending-item:hover { padding-left: 4px; }
.trending-num { font-family: var(--font-display); font-weight: 800; font-size: 0.8rem; color: var(--gray-3); width: 20px; }
.trending-info { flex: 1; }
.trending-tag { font-weight: 600; font-size: 0.88rem; color: var(--dark); }
.trending-count { font-size: 0.74rem; color: var(--gray-3); }

/* Events Widget */
.event-widget-item {
  display: flex; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--gray-2);
  transition: var(--transition); cursor: pointer;
  text-decoration: none; color: inherit;
}
.event-widget-item:last-child { border-bottom: none; }
.event-widget-item:hover { padding-left: 4px; }
.event-date-box {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--green), var(--yellow));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.event-date-day { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--dark); line-height: 1; }
.event-date-month { font-size: 0.6rem; text-transform: uppercase; color: var(--dark); font-weight: 600; }
.event-widget-info { flex: 1; }
.event-widget-title { font-weight: 600; font-size: 0.88rem; color: var(--dark); line-height: 1.3; }
.event-widget-location { font-size: 0.74rem; color: var(--gray-3); margin-top: 2px; }

/* ============================================
   EVENTS PAGE
   ============================================ */
.events-page { max-width: 1100px; margin: 0 auto; padding: 2.5rem 1.5rem; }

.events-page-title {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800; margin-bottom: 0.5rem;
}

.events-filter {
  display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 8px 20px; border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 600;
  background: var(--gray); color: var(--text-light);
  border: 1.5px solid transparent; transition: var(--transition);
  cursor: pointer;
}

.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
  color: var(--dark); border-color: transparent;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.event-card {
  background: white; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.event-card-img {
  position: relative; height: 200px; overflow: hidden;
}
.event-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.event-card:hover .event-card-img img { transform: scale(1.05); }

.event-badge {
  position: absolute; top: 14px; left: 14px;
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px;
}
.event-badge.concert { background: var(--green); color: white; }
.event-badge.festival { background: var(--yellow); color: var(--dark); }
.event-badge.showcase { background: var(--red); color: white; }
.event-badge.album { background: var(--dark); color: white; }

.event-free-badge {
  position: absolute; top: 14px; right: 14px;
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 700;
  background: white; color: var(--green);
}

.event-card-body { padding: 1.5rem; }
.event-card-date {
  font-size: 0.8rem; font-weight: 600; color: var(--green);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem;
}
.event-card-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.1rem; color: var(--dark); margin-bottom: 0.6rem; line-height: 1.3;
}
.event-card-location {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.83rem; color: var(--text-light); margin-bottom: 1rem;
}
.event-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; border-top: 1px solid var(--gray-2);
}
.event-price { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--dark); }
.event-ticket-btn {
  padding: 8px 20px; border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--green), var(--yellow));
  color: var(--dark); font-weight: 700; font-size: 0.82rem;
  transition: var(--transition); display: inline-block;
}
.event-ticket-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,120,71,0.3); }

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-left {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--dark);
}

.auth-left-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)),
    url('../image/amazone.jpg');
  background-size: cover; background-position: center;
}

.auth-left-content {
  position: relative; z-index: 2;
  text-align: center; padding: 3rem;
  color: white;
}

.auth-left-logo {
  font-family: var(--font-display); font-weight: 800;
  font-size: 2.5rem;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.auth-left-tagline {
  font-size: 1rem; opacity: 0.8; line-height: 1.6;
}

.auth-right {
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 2rem; background: white;
}

.auth-box {
  width: 100%; max-width: 440px;
}

.auth-title {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 1.8rem; color: #005f38; margin-bottom: 0.5rem;
}

.auth-subtitle {
  font-size: 0.92rem; color: var(--text-light); margin-bottom: 2.5rem;
}

.form-group { margin-bottom: 1.2rem; }

.form-label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--dark); margin-bottom: 0.5rem;
}

.form-input {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--gray-2); border-radius: var(--radius-sm);
  font-size: 0.92rem; color: var(--text); outline: none;
  transition: var(--transition); background: white;
  caret-color:  var(--yellow);
}

.form-input:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(252, 209, 22, 0.15);
}

.form-input.error { border-color: var(--red); }

.form-error { font-size: 0.78rem; color: var(--red); margin-top: 4px; display: none; }
.form-error.show { display: block; }

.input-group { position: relative; }
.input-group .form-input { padding-right: 44px; }
.input-toggle {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  cursor: pointer; color: var(--gray-3); transition: var(--transition);
}
.input-toggle:hover { color: var(--dark); }

.auth-submit {
  width: 100%; padding: 14px;
  background: linear-gradient(90deg, var(--green), #00a35e);
  color: white; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  border: none; cursor: pointer; transition: var(--transition);
  box-shadow: 0 6px 20px rgba(0,120,71,0.3);
  margin-top: 0.5rem;
}
.auth-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,120,71,0.4); }
.auth-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.auth-divider {
  display: flex; align-items: center; gap: 1rem;
  margin: 1.5rem 0; color: var(--gray-3); font-size: 0.85rem;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--gray-2);
}

.social-auth {
  display: flex; gap: 0.8rem;
}

.social-btn {
  flex: 1; padding: 11px;
  border: 1.5px solid var(--gray-2); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.88rem; font-weight: 500; color: var(--text);
  transition: var(--transition); cursor: pointer; background: white;
}
.social-btn:hover { border-color: var(--yellow); background: var(--gray); }

.auth-switch {
  text-align: center; margin-top: 1.5rem;
  font-size: 0.88rem; color: var(--text-light);
}
.auth-switch a { color: var(--green); font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }


/* === BACKGROUND DESIGN AUTH RIGHT === */
.auth-right {
  position: relative;
  overflow: hidden;
}

/* Glow décoratif */
.auth-right::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,120,71,0.15), transparent 70%);
  top: -100px;
  right: -100px;
  z-index: 0;
}

/* Deuxième glow */
.auth-right::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(252,209,22,0.15), transparent 70%);
  bottom: -100px;
  left: -100px;
  z-index: 0;
}

/* Assure que le contenu reste au-dessus */
.auth-box {
  position: relative;
  z-index: 2;
}


/* === BACKGROUND DESIGN AUTH RIGHT === */
.auth-right {
  position: relative;
  overflow: hidden;
}

/* Glow décoratif */
.auth-right::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,120,71,0.15), transparent 70%);
  top: -100px;
  right: -100px;
  z-index: 0;
}

/* Deuxième glow */
.auth-right::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(252,209,22,0.15), transparent 70%);
  bottom: -100px;
  left: -100px;
  z-index: 0;
}

/* Assure que le contenu reste au-dessus */
.auth-box {
  position: relative;
  z-index: 2;
}

/* === TITLE ANIMATION === */
.auth-title {
  position: relative;
}

/* Ligne animée sous le titre */
.auth-title::after {
  content: '';
  display: block;
  width: 40%;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--yellow));
  margin-top: 6px;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.auth-title:hover::after {
  width: 80%;
}

/* === INPUT ENHANCEMENT === */
.form-input {
  transition: all 0.25s ease;
}

.form-input:focus {
  transform: scale(1.01);
}

/* === BUTTON GLOW EFFECT === */
.auth-submit {
  position: relative;
  overflow: hidden;
}

.auth-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: 0.5s;
}

.auth-submit:hover::before {
  left: 100%;
}

/* === FADE IN === */
.auth-box {
  animation: fadeInUp 0.6s ease;
}

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

/* ============================================
   PROFILE PAGE
   ============================================ */
.profile-cover {
  height: 280px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--dark), var(--dark-3));
}
.profile-cover img { width: 100%; height: 100%; object-fit: cover; }
.profile-cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.profile-main {
  max-width: 900px; margin: 0 auto; padding: 0 1.5rem;
}

.profile-info-bar {
  display: flex; align-items: flex-end; gap: 1.5rem;
  margin-top: -60px; margin-bottom: 1.5rem; flex-wrap: wrap;
}

.profile-big-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; border: 4px solid white;
  box-shadow: var(--shadow-lg); flex-shrink: 0;
}

.profile-info { flex: 1; padding-bottom: 0.5rem; }
.profile-display-name {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.6rem; color: var(--dark);
}
.profile-username { font-size: 0.9rem; color: var(--gray-3); margin-bottom: 0.5rem; }
.profile-bio { font-size: 0.92rem; color: var(--text-light); max-width: 500px; }

.profile-actions { display: flex; gap: 0.8rem; align-items: flex-end; }

.follow-btn {
  padding: 10px 28px; border-radius: var(--radius-full);
  font-weight: 700; font-size: 0.9rem; transition: var(--transition);
  cursor: pointer;
}
.follow-btn.follow {
  background: linear-gradient(90deg, var(--green), #00a35e);
  color: white; border: none;
  box-shadow: 0 4px 15px rgba(0,120,71,0.3);
}
.follow-btn.follow:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,120,71,0.4); }
.follow-btn.following {
  background: white; color: var(--text);
  border: 1.5px solid var(--gray-2);
}
.follow-btn.following:hover { border-color: var(--red); color: var(--red); }

.profile-stats {
  display: flex; gap: 2.5rem; margin-bottom: 2rem; flex-wrap: wrap;
}
.profile-stat { cursor: pointer; }
.profile-stat:hover .stat-num { color: var(--green); }

.profile-tabs {
  display: flex; gap: 0; border-bottom: 2px solid var(--gray-2);
  margin-bottom: 2rem;
}
.profile-tab {
  padding: 12px 24px; font-family: var(--font-display);
  font-weight: 600; font-size: 0.9rem; color: var(--text-light);
  cursor: pointer; transition: var(--transition); border: none;
  background: none; border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.profile-tab:hover { color: var(--dark); }
.profile-tab.active { color: var(--green); border-bottom-color: var(--green); }

/* ============================================
   ARTIST PROFILE PAGE
   ============================================ */
.artist-profile-hero {
  position: relative; height: 380px;
  overflow: hidden; background: var(--dark);
}
.artist-profile-hero img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.artist-profile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 40%, transparent);
  display: flex; align-items: flex-end;
  padding: 2rem; gap: 1.5rem;
}
.artist-profile-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  object-fit: cover; border: 4px solid var(--yellow);
  flex-shrink: 0;
}
.artist-profile-info { color: white; }
.artist-profile-name {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}
.artist-profile-genre {
  display: inline-block; padding: 3px 12px;
  border-radius: var(--radius-full);
  background: rgba(252,209,22,0.2); color: var(--yellow);
  font-size: 0.8rem; font-weight: 600; margin-top: 6px;
}

.artist-profile-body {
  max-width: 1000px; margin: 0 auto; padding: 2rem 1.5rem;
}

.artist-social-links {
  display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 2rem;
}
.artist-social-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 600; transition: var(--transition);
  border: 1.5px solid var(--gray-2); color: var(--text);
}
.artist-social-btn:hover { border-color: var(--yellow); color: var(--dark); background: var(--gray); }

/* Discography */
.discography-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.5rem;
}
.album-card { text-align: center; cursor: pointer; }
.album-cover {
  width: 100%; aspect-ratio: 1;
  border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow); margin-bottom: 0.8rem;
  transition: var(--transition);
}
.album-cover img { width: 100%; height: 100%; object-fit: cover; }
.album-card:hover .album-cover { transform: scale(1.04); box-shadow: var(--shadow-lg); }
.album-title { font-weight: 600; font-size: 0.9rem; color: var(--dark); }
.album-year { font-size: 0.78rem; color: var(--gray-3); }

/* Songs list */
.songs-list { display: flex; flex-direction: column; gap: 0; }
.song-row {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  transition: var(--transition); cursor: pointer;
}
.song-row:hover { background: var(--gray); }
.song-num { font-family: var(--font-display); font-size: 0.85rem; color: var(--gray-3); width: 24px; text-align: center; }
.song-cover { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; }
.song-info { flex: 1; }
.song-title { font-weight: 600; font-size: 0.9rem; color: var(--dark); }
.song-album { font-size: 0.78rem; color: var(--gray-3); }
.song-duration { font-size: 0.82rem; color: var(--gray-3); }
.song-play-btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green); color: white;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); border: none; cursor: pointer;
  opacity: 0;
}
.song-row:hover .song-play-btn { opacity: 1; }
.song-play-btn:hover { background: var(--yellow); color: var(--dark); transform: scale(1.1); }

/* ============================================
   SEARCH PAGE
   ============================================ */
.search-page { max-width: 900px; margin: 0 auto; padding: 2rem 1.5rem; }
.search-hero {
  text-align: center; padding: 3rem 0 2rem;
}
.search-input-big {
  width: 100%; max-width: 600px;
  padding: 16px 24px; border-radius: var(--radius-full);
  border: 2px solid var(--gray-2); font-size: 1rem;
  outline: none; transition: var(--transition);
  margin: 1.5rem auto 0; display: block;
}
.search-input-big:focus {
  border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(252,209,22,0.15);
}
.search-categories {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  margin: 1.5rem 0;
}
.search-results-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

/* ============================================
   DASHBOARD PAGE
   ============================================ */
.dashboard-layout {
  display: grid; grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.dashboard-sidebar {
  background: var(--dark); padding: 2rem 1rem;
  position: sticky; top: 0; height: 100vh;
  overflow-y: auto;
}

.dashboard-logo {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.2rem; color: white; padding: 0 1rem;
  margin-bottom: 2.5rem; display: flex; align-items: center; gap: 10px;
}

.dash-nav { display: flex; flex-direction: column; gap: 4px; }

.dash-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 0.9rem; color: rgba(255,255,255,0.6);
  cursor: pointer; transition: var(--transition);
  border: none; background: none; width: 100%; text-align: left;
  font-family: var(--font-body);
}
.dash-nav-item:hover { background: rgba(255,255,255,0.08); color: white; }
.dash-nav-item.active {
  background: linear-gradient(90deg, rgba(0,120,71,0.5), rgba(252,209,22,0.2));
  color: var(--yellow);
}

.dashboard-main { padding: 2.5rem; background: var(--gray); overflow-y: auto; }

.dash-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem;
}
.dash-page-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.6rem; color: var(--dark);
}

.dash-stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem; margin-bottom: 2.5rem;
}

.dash-stat-card {
  background: white; border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.dash-stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
}
.dash-stat-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 2rem; color: var(--dark);
}
.dash-stat-label { font-size: 0.85rem; color: var(--text-light); margin-top: 4px; }
.dash-stat-icon {
  position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%);
  font-size: 2.5rem; opacity: 0.07; color: var(--green);
}

/* Dash Table */
.dash-table-wrap {
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}

.dash-table {
  width: 100%; border-collapse: collapse;
}
.dash-table th {
  background: var(--gray); text-align: left;
  padding: 14px 20px; font-family: var(--font-display);
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-light);
  border-bottom: 1px solid var(--gray-2);
}
.dash-table td {
  padding: 14px 20px; font-size: 0.88rem;
  border-bottom: 1px solid var(--gray-2); vertical-align: middle;
}
.dash-table tr:last-child td { border-bottom: none; }
.dash-table tr:hover td { background: var(--gray); }

.dash-action-btn {
  padding: 5px 12px; border-radius: var(--radius-full);
  font-size: 0.78rem; font-weight: 600; cursor: pointer;
  transition: var(--transition); border: none;
}
.dash-action-btn.edit { background: rgba(252,209,22,0.2); color: #9a7a00; }
.dash-action-btn.edit:hover { background: var(--yellow); color: var(--dark); }
.dash-action-btn.delete { background: rgba(206,17,38,0.1); color: var(--red); }
.dash-action-btn.delete:hover { background: var(--red); color: white; }
.dash-action-btn.publish { background: rgba(0,120,71,0.1); color: var(--green); }
.dash-action-btn.publish:hover { background: var(--green); color: white; }

/* Dash Form */
.dash-form { background: white; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.dash-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  position: relative; padding: 3.4rem 1.5rem;
  background-color: var(--dark); overflow: hidden;
}

.site-footer::before {
  content: ""; position: absolute; top:0; left:50%;
  width: 150px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  transform: translateX(-50%); opacity: 0.6;
}

.site-footer::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at top center, rgba(252,209,22,0.08), transparent 65%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02), rgba(255,255,255,0.02) 1px, transparent 1px, transparent 6px);
  opacity: 0.9; pointer-events: none; z-index: 0;
}

.site-footer > * { position: relative; z-index: 1; }

/* Pro Footer */
.footer-pro {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem; margin-bottom: 3rem;
}

.footer-brand { }
.footer-brand-logo {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.5rem;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 0.8rem;
}
.footer-brand-desc {
  font-size: 0.85rem; line-height: 1.7;
  color: rgba(255,255,255,0.45); max-width: 260px;
}
.footer-socials {
  display: flex; gap: 10px; margin-top: 1.2rem;
}
.footer-social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; transition: var(--transition);
}
.footer-social-btn:hover {
  background: var(--yellow); color: var(--dark); transform: translateY(-3px);
}

.footer-col-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 1.5px; color: rgba(255,255,255,0.5);
  margin-bottom: 1.2rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-link {
  font-size: 0.85rem; color: rgba(255,255,255,0.45);
  transition: var(--transition);
}
.footer-link:hover { color: var(--yellow); padding-left: 4px; }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 0.78rem; color: rgba(255,255,255,0.3);
}

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

.footer-legal-link {
  font-size: 0.78rem; color: rgba(255,255,255,0.35);
  transition: var(--transition);
}
.footer-legal-link:hover { color: var(--yellow); }

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed; bottom: -200px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 3rem); max-width: 700px;
  background: var(--dark-2); border-radius: var(--radius);
  padding: 1.5rem 2rem; z-index: 10000;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
  transition: bottom 0.5s cubic-bezier(.22,1,.36,1);
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}

.cookie-banner.show { bottom: 1.5rem; }

.cookie-text {
  flex: 1; font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.6;
  min-width: 200px;
}
.cookie-text a { color: var(--yellow); }
.cookie-text a:hover { text-decoration: underline; }

.cookie-btns { display: flex; gap: 0.8rem; flex-shrink: 0; }

.cookie-accept {
  padding: 10px 22px; border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--green), var(--yellow));
  color: var(--dark); font-weight: 700; font-size: 0.85rem;
  cursor: pointer; border: none; transition: var(--transition);
}
.cookie-accept:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,120,71,0.4); }

.cookie-reject {
  padding: 10px 22px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6);
  font-size: 0.85rem; cursor: pointer; border: 1.5px solid rgba(255,255,255,0.12);
  transition: var(--transition);
}
.cookie-reject:hover { border-color: rgba(255,255,255,0.3); color: white; }

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast {
  position: fixed; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--dark-2); color: white;
  padding: 12px 24px; border-radius: var(--radius-full);
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  z-index: 10001; transition: transform 0.4s cubic-bezier(.22,1,.36,1), opacity 0.4s;
  opacity: 0;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast-icon {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
}
.toast-success .toast-icon { background: var(--green); }
.toast-error .toast-icon { background: var(--red); }
.toast-info .toast-icon { background: var(--yellow); color: var(--dark); }

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: white; border-radius: var(--radius);
  padding: 2rem; width: 90%; max-width: 500px;
  max-height: 90vh; overflow-y: auto;
  transform: scale(0.95) translateY(20px);
  transition: var(--transition);
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }

.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem;
}
.modal-title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.modal-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gray); color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none; font-size: 1rem;
  transition: var(--transition);
}
.modal-close:hover { background: var(--gray-2); }

/* ============================================
   SCROLL BUTTON
   ============================================ */
.scroll {
  position: fixed; bottom: 30px; right: -70px;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green), var(--yellow), var(--red));
  color: var(--dark); font-size: 1.1rem;
  border-radius: 50%; cursor: pointer; z-index: 999;
  opacity: 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(255,255,255,0.25);
  transition: right 0.6s cubic-bezier(.22,1,.36,1), opacity 0.6s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.scroll.show { right: 17px; opacity: 1; }
.scroll:hover { transform: translateY(-6px) scale(1.05); box-shadow: 0 18px 40px rgba(0,0,0,0.35), 0 0 0 8px rgba(252,209,22,0.15); }
.scroll:active { transform: translateY(-2px) scale(0.98); }

/* ============================================
   LEGAL / PRIVACY PAGES
   ============================================ */
.legal-page {
  max-width: 800px; margin: 0 auto;
  padding: 4rem 1.5rem;
}
.legal-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 0.5rem;
}
.legal-date { font-size: 0.85rem; color: var(--text-light); margin-bottom: 3rem; }
.legal-content h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.2rem; margin: 2.5rem 0 0.8rem; color: var(--dark);
}
.legal-content p { font-size: 0.92rem; color: var(--text-light); line-height: 1.8; margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { font-size: 0.92rem; color: var(--text-light); line-height: 1.8; }
.legal-accent { color: var(--green); font-weight: 600; }

/* ============================================
   TRANSITION SECTION
   ============================================ */
.transition {
  padding: 4rem 1.5rem;
  background-color: var(--gray);
}

.transition-content {
  max-width: 900px; margin: 0 auto; text-align: center; position: relative;
}

.transition-content h3 {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 600; margin-bottom: 1rem; letter-spacing: 0.4px;
}

.transition-content h3::after {
  content: ""; display: block; width: 72px; height: 3px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
  border-radius: 2px;
}

.transition-content p {
  font-family: var(--font-body);
  max-width: 600px; margin: 1.5rem auto 2.5rem;
  font-size: 1rem; line-height: 1.6; color: #444;
}

.transition-btn {
  font-family: var(--font-body);
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 2.4rem; font-size: 0.95rem; font-weight: bold;
  text-decoration: none; color: var(--dark); border-radius: var(--radius-full);
  position: relative; overflow: hidden;
  border: 1.5px solid transparent; z-index: 0;
  transition: color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.transition-btn::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
  opacity: 0.85; transition: opacity 0.35s ease; z-index: -1;
}

.transition-btn:hover { color: var(--dark); border-color: var(--yellow); transform: translateY(-2px); }
.transition-btn:hover::before { opacity: 0; }
.transition-btn span { transition: transform 0.3s ease; }
.transition-btn:hover span { transform: translateX(4px); }

/* ============================================
   NEWGEN SECTION
   ============================================ */
.newgen-section { margin: 3rem auto; max-width: 1200px; padding: 0 1.7rem; }
.newgen-link {
  display: inline-block; margin-bottom: 1.8rem; font-size: 0.9rem;
  font-family: var(--font-display); font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--yellow);
}
.newgen-link:hover { color: var(--dark); opacity: 0.8; }
.newgen-title {
  margin-top: 1rem; font-family: var(--font-body); color: var(--dark);
  opacity: 0.7; letter-spacing: 1px; font-size: clamp(1.2rem, 3vw, 1.3rem);
}

.all { background: var(--dark); padding: 3rem 1.5rem; }
.all-artist { position: relative; text-align: center; }
.all-link {
  font-family: var(--font-body);
  display: inline-flex; word-break: break-word; align-items: center;
  gap: 0.6rem; padding: 0.9rem 2.4rem;
  font-size: 0.95rem; font-weight: bold; text-decoration: none;
  color: var(--dark); border-radius: var(--radius-full);
  position: relative; overflow: hidden;
  border: 1.5px solid transparent; z-index: 0;
  transition: color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35), 0 0 0 8px rgba(252,209,22,0.15);
}
.all-link::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
  opacity: 0.85; transition: opacity 0.35s ease; z-index: -1; border-radius: 4rem;
}
.all-link:hover { color: white; border-color: var(--yellow); transform: translateY(-2px); }
.all-link:hover::before { opacity: 0; }

.new-artist { margin: 3rem auto; max-width: 1200px; padding: 0 1.7rem; }
.new-link {
  display: inline-block; margin-bottom: 1.8rem; font-size: 0.9rem;
  font-family: var(--font-display); font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--yellow);
}
.new-link:hover { color: var(--dark); opacity: 0.8; }
.new-artist-title {
  margin-top: 1rem; color: var(--dark);
  font-family: var(--font-display); letter-spacing: 1px;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
}

/* ============================================
   LOADING STATES
   ============================================ */
.skeleton {
  background: linear-gradient(90deg, var(--gray) 25%, var(--gray-2) 50%, var(--gray) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-sm);
}

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

.loading-spinner {
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid var(--gray-2);
  border-top-color: var(--green);
  animation: spin 0.8s linear infinite;
  margin: 2rem auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
  text-align: center; padding: 4rem 2rem;
  color: var(--text-light);
}
.empty-state-icon {
  font-size: 3rem; margin-bottom: 1rem; opacity: 0.4;
}
.empty-state-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.1rem; color: var(--dark); margin-bottom: 0.5rem;
}
.empty-state-text { font-size: 0.9rem; }

/* ============================================
   DROPDOWN MENU
   ============================================ */
.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: white; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); border: 1px solid var(--gray-2);
  min-width: 180px; overflow: hidden;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: var(--transition); z-index: 100;
}
.dropdown-menu.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; font-size: 0.88rem; color: var(--text);
  cursor: pointer; transition: var(--transition);
  border: none; background: none; width: 100%; text-align: left;
  font-family: var(--font-body);
}
.dropdown-item:hover { background: var(--gray); color: var(--dark); }
.dropdown-item.danger { color: var(--red); }
.dropdown-item.danger:hover { background: rgba(206,17,38,0.06); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .feed-layout { grid-template-columns: 1fr; }
  .feed-sidebar-left, .feed-sidebar-right { display: none; }
  .footer-pro { grid-template-columns: 1fr 1fr; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .header-search { display: none; }
  .hamburger { display: flex; }
  .header-nav { display: none; }
  .hero { height: 80vh; }
  .footer-pro { grid-template-columns: 1fr; gap: 2rem; }
  .profile-info-bar { flex-direction: column; align-items: flex-start; margin-top: -40px; }
  .profile-big-avatar { width: 80px; height: 80px; }
  .dash-form-grid { grid-template-columns: 1fr; }
  .scroll.show { right: 0; opacity: 1; }
  .scroll {
    width: 40px; height: 40px;
    border-top-left-radius: 10px; border-top-right-radius: 0;
    border-bottom-left-radius: 10px; border-bottom-right-radius: 0;
  }
}

@media (max-width: 480px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .post-action span { display: none; }
  .cookie-banner { padding: 1.2rem; }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-gradient {
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  font-family: 'Poppins', sans-serif;
}

.btn-gradient {
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
  color: var(--dark); font-weight: 700;
  border: none; cursor: pointer; transition: var(--transition);
}
.btn-gradient:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.verified-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green); color: white; font-size: 0.6rem;
  margin-left: 4px; flex-shrink: 0;
}

.tag {
  display: inline-block; padding: 3px 10px;
  border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600;
}
.tag-green { background: rgba(0,120,71,0.1); color: var(--green); }
.tag-yellow { background: rgba(252,209,22,0.2); color: #9a7a00; }
.tag-red { background: rgba(206,17,38,0.1); color: var(--red); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.hidden { display: none !important; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.w-full { width: 100%; }



/* ── Supprime la bande et header prend toute la position sticky ── */
    .music-quote-strip { display: none !important; }

    /* ── Boutons uniformes : couleur du bouton "Se connecter" ── */
    .hero-btn-primary {
      background: var(--green) !important;
      background-image: none !important;
      color: #fff !important;
      box-shadow: 0 4px 15px rgba(0,120,71,0.35) !important;
    }
    .hero-btn-primary:hover {
      background: #005f38 !important;
      transform: translateY(-2px);
    }
    .hero-btn-secondary {
      background: transparent !important;
      color: #fff !important;
      border: 1.5px solid rgba(255,255,255,0.5) !important;
    }
    .hero-btn-secondary:hover {
      background: rgba(255,255,255,0.12) !important;
      transform: translateY(-2px);
    }
    .btn-outline-green {
      background: transparent;
      color: var(--green);
      border: 1.5px solid var(--green);
      padding: 14px 32px; border-radius: var(--radius-full);
      font-family: var(--font-display); font-weight: 700;
      font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px;
      transition: all 0.25s; text-decoration: none;
    }
    .btn-outline-green:hover {
      background: var(--green); color: #fff;
      transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,120,71,0.3);
    }

    /* ── Cards artistes responsive mobile ── */
    @media (max-width: 640px) {
      .artists-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        padding: 1rem !important;
      }
      .artist-image { height: 140px !important; }
      .artist-info { padding: 1.3rem !important; }
      .artist-name { font-size: 1.2rem !important; letter-spacing: 0 !important; }
      .artist-role { font-size: 0.78rem !important; margin-bottom: 0.8rem !important; }
      .artist-link { font-size: 0.80rem !important; padding: 6px 10px !important; letter-spacing: 0 !important; }
    }
    @media (max-width: 380px) {
      .artists-grid { grid-template-columns: 1fr !important; }
      .artist-image { height: 200px !important; }
    }

    /* ── Section CTA uniformisée ── */
    .cta-btn-primary {
      padding: 14px 32px; border-radius: var(--radius-full);
      font-family: var(--font-display); font-weight: 700;
      font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px;
      background: var(--green); color: #fff;
      box-shadow: 0 4px 15px rgba(0,120,71,0.35);
      transition: all 0.25s; text-decoration: none;
    }
    .cta-btn-primary:hover { background: #005f38; transform: translateY(-2px); }