* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "DM Sans", sans-serif;
}

body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 1;
}

#homePage {
    transform: translateY(0);
}


/*------------------------------ PAGE WORLD -----------------------------*/

.secondary-page {
    transform: translateY(100vh);
    background: rgb(0,0,0);
    overflow-y: auto;
    border-radius: 2vw;
}

.secondary-page.active {
    transform: translateY(13vh);
    z-index: 2;
}

.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

header {
    position: fixed;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    margin-top: 1.5vw;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0vw 2.5vw;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 2.5vw;
    box-shadow: 0 8px 2.2vw 0 rgba(0, 0, 0, 0.2);
    position: relative;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1vw;
    margin: 0 2.5vw;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.8vw;
    font-weight: 500;
    margin-top: 0.1vw;
    position: relative;
    padding: 0.8vw 2vw;
    transition: color 0.3s ease;
    display: inline-block;
}

nav ul li a:hover { color: white; }

nav ul li a.active {
    color: rgb(168, 150, 31);
    font-weight: bold;
}


nav ul li a::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2vw;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
}

nav ul li a:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* MOVING INDICATOR */
.nav-indicator {
    position: absolute;
    top: 50%;
    left: 0;
    height: 3.6vw;
    width: 0;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2vw;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
    transition:
        left 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        width 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.2s ease;
}



.LOGO {
    height: 4vw;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.LOGO:hover { transform: scale(1.15); }

.ProfilePicture {
    height: 4vw; width: 4vw;
    margin-top: 0.2vw;
    border-radius: 70%;
    transition: transform 0.3s ease;
}

.ProfilePicture:hover { transform: scale(1.15); }

.home-content { position: relative; z-index: 5; }
p { position: relative; color: white; }

.p0 {
    font-family: "Playfair Display", serif;
    position: fixed;
    font-size: 4vw;
    left: 74vw;
    bottom: 10vw;
    color: rgb(230, 201, 19);
}

.p1 {
    font-family: "Playfair Display", serif;
    font-size: 4vw;
    position: fixed;
    margin-left: 81vw;
    bottom: 8.7vw;
    color: rgba(103, 103, 103, 0.7);
}

.p01 {
    margin-left: 74vw;
    margin-top: 1vw;
    color: rgba(106, 106, 106, 0.7);
    font-size: 1.15vw;
    position: fixed;
    bottom: 6.5vw;
}

/* .page-content, .page-title, .page-text — supprimées (ancienne structure inutilisée) */






/* ========== MUSIC PLAYER ========== */

.music-player {
    position: fixed;
    /* On l'ancre en haut dès le début */
    top: 1.5vw; 
    left: 2vw;
    z-index: 150;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vw;
    padding: 1.2vw;
    width: 18vw;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1.5vw;
    transform: translateY(calc(100vh - 30vw)); 
    transform-origin: top;
    transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1), 
                width 0.4s ease, 
                height 0.4s ease;
}

/* Mode compact sur la page World */
body.page-open .music-player {
    transform: translateY(0);
    width: 13vw;
    height: 4.5vw;
    padding: 0.5vw;
    left: 1.5vw;
    border-radius: 1vw;
    flex-direction: row;
    overflow: hidden;
}

/* Mode agrandi au clic sur la page World */
body.page-open .music-player.expanded {
    transform: translateY(0);
    height: 21.5vw;
    width: 13vw;
    flex-direction: column;
    padding: 1.2vw;
}




/* Vagues */
body.page-open .music-player.playing::before,
body.page-open .music-player.playing::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 1vw;
    opacity: 0;
    pointer-events: none;
}

body.page-open .music-player.playing::before {
    animation: wave-pulse 2.5s ease-out infinite;
}

body.page-open .music-player.playing::after {
    animation: wave-pulse 2.5s ease-out infinite 1.25s;
}

@keyframes wave-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.15); opacity: 0; }
}

.album-cover {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 1vw;
    overflow: hidden;
    box-shadow: 0 4px 1.5vw rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

body.page-open .album-cover {
    width: 3.5vw;
    height: 3.5vw;
    border-radius: 0.5vw;
    order: 1;
}

body.page-open .music-player.expanded .album-cover {
    width: 100%;
    height: auto;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.8vw;
}

body.page-open .player-content {
    width: auto;
    flex: 1;
    flex-direction: row;
    order: 2;
}

body.page-open .music-player.expanded .player-content {
    width: 100%;
    flex-direction: column;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8vw;
    order: 3;
}

body.page-open .player-controls {
    order: 1;
    gap: 0.4vw;
}

body.page-open .music-player.expanded .player-controls {
    order: 3;
    gap: 0.6vw;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 2.5vw;
    height: 2.5vw;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

body.page-open .control-btn { width: 1.8vw; height: 1.8vw; }
body.page-open .music-player.expanded .control-btn { width: 2.2vw; height: 2.2vw; }
.control-btn:hover { background: rgba(255, 255, 255, 0.2); transform: scale(1.1); }

.play-btn {
    width: 3.2vw;
    height: 3.2vw;
    background: rgba(255, 255, 255, 0.2);
}

body.page-open .play-btn { width: 2.2vw; height: 2.2vw; }
body.page-open .music-player.expanded .play-btn { width: 2.8vw; height: 2.8vw; }
.play-btn:hover { background: rgba(255, 255, 255, 0.3); }

body.page-open .control-btn svg { width: 10px; height: 10px; }
body.page-open .play-btn svg { width: 12px; height: 12px; }
body.page-open .music-player.expanded .control-btn svg { width: 12px; height: 12px; }
body.page-open .music-player.expanded .play-btn svg { width: 15px; height: 15px; }

.progress-container {
    display: flex;
    align-items: center;
    gap: 0.6vw;
    order: 1;
    width: 100%;
}

body.page-open .progress-container {
    order: 3;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    gap: 0;
}

body.page-open .music-player.expanded .progress-container {
    position: static;
    order: 2;
    gap: 0.6vw;
    width: 100%;
}

.time-current, .time-total {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7vw;
    min-width: 2.5vw;
    text-align: center;
}

body.page-open .time-current, body.page-open .time-total { display: none; }
body.page-open .music-player.expanded .time-current,
body.page-open .music-player.expanded .time-total { display: block; font-size: 0.65vw; }

.progress-bar {
    flex: 1;
    height: 0.4vw;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.2vw;
    position: relative;
    cursor: pointer;
}

body.page-open .progress-bar { height: 0.3vw; }

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(241, 225, 8, 0.8), rgba(255, 255, 255, 0.6));
    border-radius: 0.2vw;
    width: 0%;
    transition: width 0.1s linear;
    pointer-events: none;
}

.progress-slider {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
}

.progress-bar:hover .progress-fill {
    background: linear-gradient(90deg, rgba(241, 225, 8, 1), rgba(255, 255, 255, 0.8));
}

.track-info {
    display: flex;
    flex-direction: column;
    gap: 0.2vw;
    text-align: center;
    order: 2;
    width: 100%;
}

body.page-open .track-info { display: none; }
body.page-open .music-player.expanded .track-info { display: flex; order: 3; }


.track-title {
    color: white;
    font-size: 1.1vw;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* BOUTON  */
.button1 {
    color: #e1e1e1;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    border: none;
    background: none;
    text-transform: uppercase;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: color;

    z-index: 2;
    position: absolute;
    top: 120%;
    left: 75%;
    font-size: 2.2vh;
}

.button1:focus,
.button1:hover {
    color: #fff;
}

.button1:focus:after,
.button1:hover:after {
    width: 100%;
    left: 0%;
}

.button1:after {
    content: "";
    pointer-events: none;
    bottom: -2px;
    left: 50%;
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #fff;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: width, left;
}

/* Fin bouton1 */

/* ==================== PAGE NEWS - CARD STACK TIMELINE ==================== */

#newsPage {
    background: #000000;
    overflow: hidden;
}

.news-container {
    display: flex;
    height: 100vh;
    padding: 10vh 4vw 4vw;
    gap: 4vw;
}

/* ========== TIMELINE LEFT ========== */
.news-timeline {
    width: 20vw;
    position: relative;
    flex-shrink: 0;
}

.timeline-track {
    position: absolute;
    left: 2vw;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom,
        transparent 0%,
        #e6c913 10%,
        #e6c913 90%,
        transparent 100%);
    box-shadow: 0 0 20px rgba(230, 201, 19, 0.6);
}

.timeline-dates {
    position: relative;
    padding-left: 4vw;
}

.timeline-date-item {
    margin-bottom: 3vw;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.4;
    position: relative;
}

.timeline-date-item.active {
    opacity: 1;
}

.timeline-date-item::before {
    content: '';
    position: absolute;
    left: -2.5vw;
    top: 50%;
    transform: translateY(-50%);
    width: 1vw;
    height: 1vw;
    background: #e6c913;
    border-radius: 50%;
    box-shadow: 0 0 20px #e6c913;
    opacity: 0;
    transition: all 0.3s ease;
}

.timeline-date-item.active::before {
    opacity: 1;
    animation: pulse-dot 2s ease-in-out infinite;
}

.timeline-date-item:hover {
    opacity: 1;
}

.timeline-date-text {
    font-family: "Playfair Display", serif;
    font-size: 1.3vw;
    font-weight: 700;
    color: #e6c913;
}

/* ========== CARD STACK RIGHT ========== */
.news-stack {
    flex: 1;
    position: relative;
    height: 100%;
    perspective: 1000px;
}

.news-stack-card {
    position: absolute;
    width: 100%;
    height: 70vh;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 1.5vw;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
    cursor: pointer;
}

/* Positionnement des cards dans la pile */
.news-stack-card[data-index="0"] {
    z-index: 50;
    transform: translateY(0) scale(1);
    filter: blur(0px);
    opacity: 1;
}



.news-stack-card[data-index="1"] {
    z-index: 49;
    transform: translateY(68vh) scale(0.98);
    filter: blur(1px);
    opacity: 0.8;
}

.news-stack-card[data-index="2"] {
    z-index: 48;
    transform: translateY(69vh) scale(0.96);
    filter: blur(2px);
    opacity: 0.6;
}

.news-stack-card[data-index="3"] {
    z-index: 47;
    transform: translateY(70vh) scale(0.94);
    filter: blur(3px);
    opacity: 0.4;
}

.news-stack-card[data-index="4"] {
    z-index: 46;
    transform: translateY(71vh) scale(0.92);
    filter: blur(4px);
    opacity: 0.2;
}






/* Cards scrolled up (passées) */
.news-stack-card.scrolled-up {
    transform: translateY(-20vh) scale(0.9);
    opacity: 0.3;
    pointer-events: none;
    filter: blur(2px);
}

/* Border colorée selon catégorie */
.card-border {
    position: absolute;
    inset: 0;
    border-radius: 1.5vw;
    padding: 3px;
    background: linear-gradient(135deg, var(--border-color-1), var(--border-color-2));
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Couleurs des borders par catégorie */
.news-stack-card[data-category="album"] {
    --border-color-1: #667eea;
    --border-color-2: #764ba2;
}

.news-stack-card[data-category="interview"] {
    --border-color-1: #10d164;
    --border-color-2: #0a8f48;
}

.news-stack-card[data-category="festival"] {
    --border-color-1: #f093fb;
    --border-color-2: #f5576c;
}

.news-stack-card[data-category="streaming"] {
    --border-color-1: #ffecd2;
    --border-color-2: #fcb69f;
}

.news-stack-card[data-category="vinyl"] {
    --border-color-1: #ff9a9e;
    --border-color-2: #fecfef;
}

.news-stack-card[data-category="actualités"] {
    --border-color-1: #ffecd2;
    --border-color-2: #fcb69f;
}

.card-category.actualités {
    color: #fcb69f;
    border-color: rgba(252, 182, 159, 0.5);
}

/* Card Content */
.card-content {
    display: flex;
    height: 100%;
    gap: 3vw;
    padding: 3vw;
}

.card-image {
    flex: 1;
    border-radius: 1vw;
    overflow: hidden;
    position: relative;
}

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

.card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-category {
    display: inline-block;
    padding: 0.6vw 1.2vw;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 2vw;
    font-size: 0.9vw;
    font-weight: 600;
    margin-bottom: 2vw;
    width: fit-content;
    border: 2px solid;
}

.card-category.album { 
    color: #667eea; 
    border-color: rgba(102, 126, 234, 0.5);
}

.card-category.interview { 
    color: #10d164; 
    border-color: rgba(16, 209, 100, 0.5);
}

.card-category.festival { 
    color: #f093fb; 
    border-color: rgba(240, 147, 251, 0.5);
}


.card-title {
    font-family: "Playfair Display", serif;
    font-size: 2.5vw;
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5vw;
}

.card-description {
    font-size: 1.1vw;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2.5vw;
}

.card-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 1vw;
    padding: 1vw 2vw;
    background: linear-gradient(135deg, #e6c913 0%, #d4b410 100%);
    color: #000;
    font-weight: 700;
    font-size: 1vw;
    border: none;
    border-radius: 3vw;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(230, 201, 19, 0.3);
    width: fit-content;
}

.card-read-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(230, 201, 19, 0.5);
    gap: 1.5vw;
}

.card-read-btn svg {
    transition: transform 0.3s ease;
}

.card-read-btn:hover svg {
    transform: translateX(5px);
}

.auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.auth-overlay.open {
    pointer-events: all;
    opacity: 1;
}

/* Backdrop flou — laisse la navbar lisible via z-index */
.auth-backdrop {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(18px) brightness(0.45) saturate(140%);
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
}

/* La navbar reste au-dessus (z-index: 100 déjà défini) */

/* ============================================================
   MODALE SPLIT
   ============================================================ */

.auth-modal {
    position: relative;
    z-index: 10;
    display: flex;
    width: min(72vw, 960px);
    height: min(70vh, 620px);
    border-radius: 2vw;
    overflow: hidden;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    transform: translateY(30px) scale(0.97);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);

}

.auth-overlay.open .auth-modal {
    transform: translateY(0) scale(1);
}

/* ============================================================
   PANNEAU GAUCHE — Visuel
   ============================================================ */

.auth-visual {
    width: 42%;
    flex-shrink: 0;
    position: relative;
    background: #0a0a0a;
    overflow: hidden;
}

.auth-visual-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5vw;
}

/* Fond dégradé doré-sombre */
/* .auth-visual-gradient — supprimée (élément retiré du HTML) */

/* Grille décorative */
.auth-visual-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(230,201,19,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(230,201,19,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}


/* Vinyle décoratif */

.auth-picture {
    position : absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: auto;

}



/* ============================================================
   PANNEAU DROIT — Formulaire
   ============================================================ */

.auth-form-panel {
    flex: 1;
    background: rgba(8, 8, 8, 0.97);
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    padding: 3.5vw 3vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow-y: auto;
}

/* Bouton fermer */
.auth-close {
    position: absolute;
    top: 1.2vw;
    right: 1.2vw;
    width: 2.2vw;
    height: 2.2vw;
    min-width: 30px;
    min-height: 30px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.auth-close:hover {
    background: rgba(255,255,255,0.14);
    color: white;
    transform: rotate(90deg);
}

/* Vue switch */
.auth-view {
    display: flex;
    flex-direction: column;
    gap: 1.8vw;
    transition: opacity 0.3s ease, transform 0.35s ease;
}

.auth-view.hidden {
    display: none;
}

/* Header */
.auth-header { margin-bottom: 0.2vw; }

.auth-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.4rem, 2.2vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 0.3em;
}

.auth-title2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.4rem, 2.2vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 0.3em;
    margin-top: 20vh;
}

.auth-subtitle {
    font-size: clamp(0.75rem, 0.9vw, 1rem);
    color: rgba(255,255,255,0.4);
    position: static;
}

/* Champs */
.auth-fields {
    display: flex;
    flex-direction: column;
    gap: 1.2vw;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 0.4vw;
}

.field-label {
    font-size: clamp(0.7rem, 0.75vw, 0.85rem);
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.field-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.field-icon {
    position: absolute;
    left: 1vw;
    color: rgba(255,255,255,0.3);
    pointer-events: none;
    flex-shrink: 0;
}

.field-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.8vw;
    padding: 0.9vw 2.8vw 0.9vw 2.8vw;
    color: white;
    font-size: clamp(0.8rem, 0.9vw, 1rem);
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
    min-height: 42px;
}

.field-input::placeholder { color: rgba(255,255,255,0.2); }

.field-input:focus {
    border-color: rgba(230, 201, 19, 0.6);
    background: rgba(230, 201, 19, 0.04);
    box-shadow: 0 0 0 3px rgba(230, 201, 19, 0.08), inset 0 0 20px rgba(230,201,19,0.03);
}

.field-input.error {
    border-color: rgba(255, 80, 80, 0.6);
    background: rgba(255,80,80,0.04);
}

.field-eye {
    position: absolute;
    right: 0.8vw;
    background: none;
    border: none;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
    padding: 0.4vw;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.field-eye:hover { color: rgba(255,255,255,0.7); }

.field-forgot {
    font-size: clamp(0.65rem, 0.7vw, 0.8rem);
    color: rgba(230, 201, 19, 0.6);
    text-decoration: none;
    align-self: flex-end;
    transition: color 0.2s;
}

.field-forgot:hover { color: rgb(230, 201, 19); }

.field-error {
    font-size: clamp(0.65rem, 0.7vw, 0.78rem);
    color: rgba(255, 90, 90, 0.9);
    min-height: 1em;
    position: static;
}

/* Force des mots de passe */
.password-strength {
    display: flex;
    align-items: center;
    gap: 0.8vw;
    margin-top: 0.3vw;
}

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

.strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    transition: width 0.4s ease, background 0.4s ease;
}

.strength-label {
    font-size: 0.65vw;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
}

/* Bouton soumettre */
.auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8vw;
    width: 100%;
    padding: 1.1vw 2vw;
    min-height: 48px;
    background: linear-gradient(135deg, #e6c913 0%, #c8a800 100%);
    color: #000;
    font-family: inherit;
    font-weight: 700;
    font-size: clamp(0.8rem, 0.95vw, 1.05rem);
    letter-spacing: 0.04em;
    border: none;
    border-radius: 0.9vw;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(230, 201, 19, 0.25);
    position: relative;
    overflow: hidden;
}

.auth-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(230, 201, 19, 0.4);
}

.auth-submit:hover::before { opacity: 1; }

.auth-submit:active {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(230, 201, 19, 0.25);
}

.auth-submit svg {
    transition: transform 0.3s ease;
}

.auth-submit:hover svg {
    transform: translateX(4px);
}

/* Lien switch */
.auth-switch {
    text-align: center;
    font-size: clamp(0.72rem, 0.78vw, 0.9rem);
    color: rgba(255,255,255,0.35);
    position: static;
}

.auth-switch-btn {
    background: none;
    border: none;
    color: rgb(230, 201, 19);
    font-family: inherit;
    font-size: inherit;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.auth-switch-btn:hover { color: #fff; }

/* Animation entrée des champs */
.auth-overlay.open .field-group {
    animation: fieldSlideIn 0.4s ease both;
}
.auth-overlay.open .field-group:nth-child(1) { animation-delay: 0.05s; }
.auth-overlay.open .field-group:nth-child(2) { animation-delay: 0.10s; }
.auth-overlay.open .field-group:nth-child(3) { animation-delay: 0.15s; }
.auth-overlay.open .field-group:nth-child(4) { animation-delay: 0.20s; }

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


/*--------------------------------------------------------PAGE ABOUT -----------------------------------------------------------*/

/* ============================================================
   FOND VIDÉO + VOILE
   ============================================================ */

#aboutPage {
    overflow-y: auto;
    overflow-x: hidden;
    background: #000;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgba(230,201,19,0.3) transparent;
}

/* Conteneur du fond — fixe derrière tout */
.about-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* Vidéo identique à .video de l'accueil */
.about-bg-video {
    position: absolute;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    object-fit: cover;
}

/* Voile noir à 95% d'opacité — laisse 5% de la vidéo transparaître */
.about-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
}

/* Contenu par-dessus le fond */
.about-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* ============================================================
   HERO
   ============================================================ */

.about-hero {
    position: relative;
    height: 35vh;
    display: flex;
    align-items: flex-end;
    padding: 0 4vw 3vw;
    flex-shrink: 0;
}

.about-hero-content { position: relative; z-index: 2; }

.about-eyebrow {
    font-size: clamp(0.7rem, 0.85vw, 0.95rem);
    color: rgba(230,201,19,0.7);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 0.5em;
    position: static;
}

.about-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.5rem, 6vw, 7rem);
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 0.2em;
}

.about-subtitle {
    font-size: clamp(0.85rem, 1.1vw, 1.3rem);
    color: rgba(255,255,255,0.4);
    font-style: italic;
    position: static;
}

/* Vinyle décoratif dans le hero */
.about-vinyl {
    position: absolute;
    right: 6vw; top: 50%;
    transform: translateY(-50%);
    width: 22vw; height: 22vw;
    opacity: 0.15;
    animation: vinyl-spin 20s linear infinite;
    pointer-events: none;
}
.av-ring {
    position: absolute; border-radius: 50%;
    border: 1px solid rgba(230,201,19,0.8);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
}
.av-ring.r1 { width:100%; height:100%; }
.av-ring.r2 { width:68%;  height:68%; }
.av-ring.r3 { width:38%;  height:38%; }
.av-center {
    position: absolute; top:50%; left:50%;
    transform: translate(-50%,-50%);
    width:10%; height:10%;
    background: rgb(230,201,19); border-radius:50%;
}

/* ============================================================
   3 CARTES — STYLE MAGAZINE
   ============================================================ */

.about-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;                          /* pas d'espace, séparés par la bordure */
    padding: 0 4vw;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin: 0 0 3vw;
}

.about-card {
    padding: 3vw 2.5vw;
    display: flex;
    flex-direction: column;
    gap: 1.2vw;
    border-right: 1px solid rgba(255,255,255,0.08);
    transition: background 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Pas de bordure à droite sur la dernière carte */
.about-card:last-child { border-right: none; }

/* Reflet doré très subtil au survol */
.about-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgb(230,201,19), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-card:hover::before { transform: scaleX(1); }
.about-card:hover { background: rgba(230,201,19,0.03); }

/* Numéro — style éditorial */
.about-card-number {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.5rem, 5vw, 6rem);
    font-weight: 900;
    color: rgba(230,201,19,0.12);
    line-height: 1;
    letter-spacing: -0.02em;
    transition: color 0.4s ease;
}

.about-card:hover .about-card-number {
    color: rgba(230,201,19,0.25);
}

/* Titre — Playfair Display grand */
.about-card-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.1rem, 1.6vw, 2rem);
    font-weight: 700;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* Ligne de séparation dorée */
.about-card-divider {
    width: 2.5vw;
    height: 2px;
    background: rgb(230,201,19);
    min-width: 30px;
    transition: width 0.4s ease;
}

.about-card:hover .about-card-divider { width: 4vw; }

/* Texte */
.about-card-text {
    font-size: clamp(0.78rem, 0.88vw, 1rem);
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
    position: static;
}

/* ============================================================
   SECTION ÉQUIPE
   ============================================================ */

.about-contact-section { padding: 0 4vw 3vw; }

.about-section-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(0.75rem, 1vw, 1.1rem);
    font-weight: 700;
    color: rgba(230,201,19,0.8);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 1.5vw;
    margin-bottom: 1.5vw;
}

.about-title-line {
    flex: 1; height: 1px;
    background: linear-gradient(to right, transparent, rgba(230,201,19,0.3), transparent);
}

.about-contact-intro {
    font-size: clamp(0.8rem, 1vw, 1.1rem);
    color: rgba(255,255,255,0.4);
    margin-bottom: 2vw;
    position: static;
}

.about-team {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2vw;
    max-width: 50vw;
    margin: 0 auto;
}

.about-team-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 1.2vw;
    padding: 2vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8vw;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-team-card:hover {
    border-color: rgba(230,201,19,0.4);
    background: rgba(230,201,19,0.05);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(230,201,19,0.1);
}

.about-team-avatar {
    width: 4vw; height: 4vw;
    min-width: 50px; min-height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e6c913, #c8a800);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Playfair Display", serif;
    font-size: clamp(1rem, 1.5vw, 1.8rem);
    font-weight: 900;
    box-shadow: 0 0 20px rgba(230,201,19,0.3);
    transition: transform 0.3s ease;
}

.about-team-card:hover .about-team-avatar { transform: scale(1.1); }

.about-team-name {
    font-family: "Playfair Display", serif;
    font-size: clamp(0.85rem, 1.1vw, 1.3rem);
    font-weight: 700;
    color: white;
    position: static;
}

.about-team-email {
    font-size: clamp(0.65rem, 0.75vw, 0.85rem);
    color: rgba(230,201,19,0.6);
}

.about-team-cta {
    font-size: clamp(0.62rem, 0.7vw, 0.8rem);
    color: rgba(255,255,255,0.25);
    margin-top: 0.3vw;
    transition: color 0.2s;
}

.about-team-card:hover .about-team-cta { color: rgba(230,201,19,0.5); }

/* ============================================================
                                FOOTER
   ============================================================ */

.about-footer-zone {
    margin-top: auto;
    left: 0%; width: 100%;
    position: relative; z-index: 9;
    background-color: rgba(0,0,0,0.85);
    border-top: 1px solid rgba(255, 254, 254, 0.571);
    height: 20vw;
    font-size: larger;
    text-decoration: none;
    border-radius: 2vw;
    flex-shrink: 0;
}

.about-LOGOfooter {
    position: absolute;
    left: 4vw; top: 2.2vh;
    height: 6.5vh; width: auto;
    margin-left: 4%;
}

.about-titrefooter {
    font-family: "Playfair Display", serif;
    text-align: left;
    position: absolute;
    top: 7%; margin-left: 12%;
    font-size: 4vh;
    color: rgb(230, 201, 19);
}

.about-footer-content a {
    position: absolute;
    display: inline-block;
    margin: 1.5% 4.25%;
    text-decoration: none;
    color: rgba(220,220,220,0.8);
    left: 30vw; top: 0px;
    font-size: 2.9vh;
    transition: color 0.2s;
}
.about-footer-content a:hover { color: rgb(230,201,19); }
.about-fc2 { left: 45.6vw !important; }

.about-footer-content p {
    width: 31vw;
    position: absolute;
    margin-top: 12vh;
    font-size: 2.1vh;
    text-align: center;
    color: rgba(175,175,175,0.6);
}

.about-footer-content-l1 {
    position: absolute;
    margin: 1.5% 4.25%;
    left: 31%;
    font-size: 2.35vh;
    color: #000;
}

.about-footer-c1 {
    position: absolute;
    display: flex; flex-direction: column;
    margin-top: 4.5vh;
    text-decoration: none;
    color: rgba(175,175,175,0.8);
    padding-right: 4.25%;
    width: 20vw;
    transition: color 0.2s;
}
.about-footer-c1:hover { color: rgb(230,201,19); }

.about-footer-c2 {
    position: absolute;
    left: 15vw; margin-top: 4.5vh;
    width: 15vw;
    text-decoration: none;
    color: rgba(175,175,175,0.8);
    transition: color 0.2s;
}
.about-footer-c2:hover { color: rgb(230,201,19); }

.about-newsletter-card {
    position: relative;
    margin-left: 65.5vw; width: 30vw;
    top: 3vh; padding: 1.1%;
    display: flex; flex-direction: column;
    background: #111;
    border-radius: 20px;
    border: 1px solid rgb(230, 201, 19);
}

.about-newsletter-header { text-align: center; margin-bottom: 3vh; }

.about-newsletter-title {
    position: relative;
    font-family: "Playfair Display", serif;
    font-size: 3.3vh; font-weight: 900;
    color: rgb(230, 201, 19);
    z-index: 5; display: block;
}

.about-newsletter-desc {
    font-size: 1.65vh; line-height: 2.2vh;
    color: rgb(175, 175, 175);
    position: static;
}

.about-newsletter-form { display: flex; gap: 0.5vw; }

.about-newsletter-input {
    flex: 1; padding: 0.6vw;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: white; font-family: inherit;
    font-size: clamp(0.75rem, 0.85vw, 0.95rem);
    outline: none; transition: border-color 0.2s;
}
.about-newsletter-input:focus { border-color: rgba(230,201,19,0.5); }
.about-newsletter-input::placeholder { color: rgba(255,255,255,0.25); }

.about-newsletter-btn {
    border: 0;
    background: rgb(230, 201, 19); color: #000;
    padding: 0.68vw 1vh; border-radius: 14px;
    font-weight: bold;
    font-family: "Playfair Display", serif;
    cursor: pointer; transition: opacity 0.2s;
    white-space: nowrap;
}
.about-newsletter-btn:hover { opacity: 0.85; }



/*--------------------------------------------------------PAGE PROFIL -----------------------------------------------------------*/

#profilePage {
    background: #000;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(230,201,19,0.3) transparent;
}

.profile-wrapper {
    min-height: 100%;
    padding-bottom: 4vw;
}

/* -- Bannière -- */
.profile-banner-zone {
    position: relative;
    width: 100%;
    height: 28vh;
    flex-shrink: 0;
}

.profile-banner {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1500 0%, #0a0a0a 50%, #1a1200 100%);
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease;
}

.profile-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(230,201,19,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(230,201,19,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

.profile-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, #000 100%);
}

/* -- Avatar -- */
.profile-avatar-wrap {
    position: absolute;
    bottom: -4vw;
    left: 4vw;
    z-index: 10;
}

.profile-avatar {
    width: 8vw; height: 8vw;
    min-width: 80px; min-height: 80px;
    border-radius: 50%;
    border: 3px solid rgb(230,201,19);
    background: linear-gradient(135deg, #2a2000, #1a1000);
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 30px rgba(230,201,19,0.25), 0 8px 30px rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Playfair Display", serif;
    font-size: 3vw;
    font-weight: 700;
    color: rgb(230,201,19);
}

/* -- Identité -- */
.profile-identity {
    padding: 5.5vw 4vw 2vw;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.profile-username {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.6rem, 3vw, 3.5rem);
    font-weight: 900;
    color: white;
    margin-bottom: 0.4em;
}

.profile-bio {
    font-size: clamp(0.8rem, 1vw, 1.1rem);
    color: rgba(255,255,255,0.5);
    font-style: italic;
    margin-bottom: 0.5em;
    position: static;
}

.profile-email-display {
    font-size: clamp(0.7rem, 0.8vw, 0.9rem);
    color: rgba(230,201,19,0.5);
    letter-spacing: 0.05em;
    position: static;
}

/* -- Corps -- */
.profile-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2vw;
    padding: 2vw 4vw;
}

.profile-stats-panel,
.profile-settings-panel {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 1.5vw;
    padding: 2vw;
    position: relative;
    overflow: hidden;
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 0.6vw;
    font-family: "Playfair Display", serif;
    font-size: clamp(0.9rem, 1.1vw, 1.3rem);
    font-weight: 700;
    color: rgb(230,201,19);
    margin-bottom: 1.8vw;
    letter-spacing: 0.04em;
}

/* -- Stats -- */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1vw;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: rgba(230,201,19,0.05);
    border: 1px solid rgba(230,201,19,0.12);
    border-radius: 1vw;
    padding: 1.2vw;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(230,201,19,0.09);
    border-color: rgba(230,201,19,0.25);
    transform: translateY(-2px);
}

.stat-wide { grid-column: span 2; }

.stat-value {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.4rem, 2.5vw, 3rem);
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 0.3em;
}

.stat-track { font-size: clamp(0.9rem, 1.3vw, 1.6rem); }

.stat-label {
    font-size: clamp(0.62rem, 0.7vw, 0.8rem);
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Vinyle décoratif */
.vinyl-stat {
    position: absolute;
    bottom: -3vw; right: -3vw;
    width: 12vw; height: 12vw;
    opacity: 0.07;
    animation: vinyl-spin 25s linear infinite;
    pointer-events: none;
}

.vinyl-stat-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgb(230,201,19);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.vinyl-stat-ring.r1 { width: 100%; height: 100%; }
.vinyl-stat-ring.r2 { width: 65%;  height: 65%; }
.vinyl-stat-ring.r3 { width: 35%;  height: 35%; }
.vinyl-stat-center {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 12%; height: 12%;
    background: rgb(230,201,19); border-radius: 50%;
}

/* -- Onglets paramètres -- */
.settings-tabs {
    display: flex;
    gap: 0.5vw;
    margin-bottom: 1.5vw;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding-bottom: 1vw;
}

.settings-tab {
    background: none;
    border: 1px solid transparent;
    color: rgba(255,255,255,0.4);
    font-family: inherit;
    font-size: clamp(0.7rem, 0.8vw, 0.9rem);
    font-weight: 600;
    padding: 0.5vw 1.2vw;
    border-radius: 2vw;
    cursor: pointer;
    transition: all 0.25s ease;
    min-height: 30px;
}

.settings-tab:hover { color: white; background: rgba(255,255,255,0.06); }
.settings-tab.active { color: rgb(230,201,19); border-color: rgba(230,201,19,0.35); background: rgba(230,201,19,0.06); }
.settings-tab-danger { color: rgba(255,90,90,0.5) !important; }
.settings-tab-danger:hover { color: rgba(255,90,90,0.9) !important; background: rgba(255,90,90,0.06) !important; }
.settings-tab-danger.active { color: rgba(255,90,90,0.9) !important; border-color: rgba(255,90,90,0.35) !important; background: rgba(255,90,90,0.06) !important; }

.settings-content { display: none; flex-direction: column; gap: 1vw; animation: fadeInSettings 0.25s ease; }
.settings-content.active { display: flex; }

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

/* -- Champs paramètres -- */
.setting-field { display: flex; flex-direction: column; gap: 0.4vw; }

.setting-label {
    font-size: clamp(0.63rem, 0.72vw, 0.82rem);
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.setting-optional { font-weight: 400; color: rgba(255,255,255,0.25); }
.setting-required { color: rgba(255,90,90,0.7); }

.setting-input {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.7vw;
    padding: 0.7vw 1vw;
    color: white;
    font-size: clamp(0.75rem, 0.85vw, 0.95rem);
    font-family: inherit;
    outline: none;
    transition: all 0.25s ease;
    min-height: 36px;
}

.setting-input:focus {
    border-color: rgba(230,201,19,0.5);
    background: rgba(230,201,19,0.03);
    box-shadow: 0 0 0 3px rgba(230,201,19,0.07);
}

.setting-input::placeholder { color: rgba(255,255,255,0.18); }
.setting-input.error { border-color: rgba(255,90,90,0.5); }
.setting-textarea { min-height: 70px; resize: vertical; }
.setting-input-danger:focus { border-color: rgba(255,90,90,0.5) !important; box-shadow: 0 0 0 3px rgba(255,90,90,0.07) !important; }

.setting-error {
    font-size: clamp(0.62rem, 0.68vw, 0.78rem);
    color: rgba(255,90,90,0.85);
    min-height: 1em;
    position: static;
}

.setting-save-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.6vw;
    padding: 0.8vw 1.5vw; min-height: 40px;
    background: linear-gradient(135deg, #e6c913, #c8a800);
    color: #000; font-family: inherit; font-weight: 700;
    font-size: clamp(0.75rem, 0.85vw, 0.95rem);
    border: none; border-radius: 0.7vw; cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(230,201,19,0.2);
    margin-top: 0.5vw;
}
.setting-save-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(230,201,19,0.35); }

/* -- Zone danger -- */
.danger-zone {
    display: flex; flex-direction: column; align-items: center; gap: 1.2vw;
    padding: 1.5vw;
    background: rgba(255,50,50,0.04);
    border: 1px solid rgba(255,50,50,0.12);
    border-radius: 1vw;
}

.danger-icon { font-size: 2.5vw; }

.danger-text {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: clamp(0.72rem, 0.8vw, 0.9rem);
    line-height: 1.6;
    position: static;
}

.danger-text strong { color: rgba(255,90,90,0.8); }

.setting-delete-btn {
    padding: 0.8vw 2vw; min-height: 40px;
    background: rgba(255,50,50,0.1);
    border: 1px solid rgba(255,50,50,0.4);
    color: rgba(255,90,90,0.9);
    font-family: inherit; font-weight: 700;
    font-size: clamp(0.72rem, 0.82vw, 0.92rem);
    border-radius: 0.7vw; cursor: pointer;
    transition: all 0.3s ease;
}
.setting-delete-btn:hover { background: rgba(255,50,50,0.18); border-color: rgba(255,50,50,0.7); color: rgb(255,90,90); }

.settings-logout-btn {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    padding: 0.8vw 1.8vw;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    font-family: inherit;
    font-size: clamp(0.72rem, 0.82vw, 0.92rem);
    font-weight: 600;
    border-radius: 0.8vw;
    cursor: pointer;
    transition: all 0.3s ease;
}

.settings-logout-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    color: white;
}

@keyframes filterBadgeIn {
    from { opacity: 0; transform: translateX(-50%) scale(0.85); }
    to   { opacity: 1; transform: translateX(-50%) scale(1); }
}

.charts-page {
    background: #000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header */
.charts-header {
    display: flex;
    align-items: center;
    gap: 2vw;
    padding: 1.8vw 3vw 1.2vw;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    flex-shrink: 0;
}

.charts-back-btn {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7);
    font-family: inherit;
    font-size: 0.85vw;
    padding: 0.6vw 1.2vw;
    border-radius: 3vw;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}
.charts-back-btn:hover {
    background: rgba(255,255,255,0.12);
    color: white;
}

.charts-header-title {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.charts-title {
    font-family: "Playfair Display", serif;
    font-size: 2.2vw;
    font-weight: 900;
    color: rgb(230,201,19);
    line-height: 1;
    margin: 0;
}

.charts-subtitle {
    font-size: 0.75vw;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.08em;
    margin-top: 0.2vw;
}

/* Barre de recherche */
.charts-search-wrap {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.charts-search-box {
    display: flex;
    align-items: center;
    gap: 0.6vw;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 3vw;
    padding: 0.5vw 0.5vw 0.5vw 1.2vw;
    width: 22vw;
    transition: border-color 0.3s ease;
}
.charts-search-box:focus-within {
    border-color: rgba(230,201,19,0.5);
    background: rgba(230,201,19,0.03);
}

.charts-search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: white;
    font-family: inherit;
    font-size: 0.9vw;
}
.charts-search-input::placeholder { color: rgba(255,255,255,0.25); }

.charts-search-btn {
    background: linear-gradient(135deg, #e6c913, #c8a800);
    border: none;
    border-radius: 2vw;
    color: #000;
    width: 2.2vw;
    height: 2.2vw;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}
.charts-search-btn:hover { opacity: 0.85; }

/* Filtres genre */
.charts-genres {
    display: flex;
    gap: 0.6vw;
    padding: 1vw 3vw;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0;
}

.genre-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-family: inherit;
    font-size: 0.82vw;
    font-weight: 600;
    padding: 0.45vw 1.2vw;
    border-radius: 3vw;
    cursor: pointer;
    transition: all 0.25s ease;
}
.genre-btn:hover {
    color: white;
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.25);
}
.genre-btn.active {
    background: rgba(230,201,19,0.12);
    border-color: rgba(230,201,19,0.5);
    color: rgb(230,201,19);
}

/* Corps */
.charts-body {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(230,201,19,0.3) transparent;
}

/* Tableau */
.charts-table-wrap {
    padding: 0 3vw 3vw;
}

.charts-table {
    width: 100%;
    border-collapse: collapse;
}

.charts-table thead th {
    font-size: 0.72vw;
    font-weight: 600;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1vw 1vw;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    text-align: left;
}

.th-rank     { width: 3vw;  text-align: center !important; }
.th-cover    { width: 4vw; }
.th-album    { width: 22vw; }
.th-duration { width: 5vw;  text-align: right !important; }

.charts-row {
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s ease;
}
.charts-row:hover { background: rgba(255,255,255,0.03); }

.charts-row td { padding: 0.7vw 1vw; vertical-align: middle; }

/* Rang */
.charts-rank { text-align: center; }
.rank-num {
    font-family: "Playfair Display", serif;
    font-size: 1.1vw;
    font-weight: 700;
    color: rgba(255,255,255,0.25);
    display: block;
}
.charts-row:nth-child(1) .rank-num { color: rgb(230,201,19); }
.charts-row:nth-child(2) .rank-num { color: rgba(200,200,200,0.8); }
.charts-row:nth-child(3) .rank-num { color: rgba(180,120,60,0.8); }

/* Pochette */
.charts-cover-wrap {
    position: relative;
    width: 3vw;
    height: 3vw;
    border-radius: 0.4vw;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    flex-shrink: 0;
}
.charts-cover-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Bouton preview */
.preview-btn {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: 0.4vw;
}
.charts-cover-wrap:hover .preview-btn,
.preview-btn.playing { opacity: 1; }
.preview-btn.playing { background: rgba(230,201,19,0.35); }

/* Infos titre */
.charts-track-name {
    font-size: 0.95vw;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 20vw;
}
.charts-artist-name {
    font-size: 0.78vw;
    color: rgba(255,255,255,0.45);
    margin-top: 0.2vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 20vw;
}

/* Album */
.charts-album-name {
    font-size: 0.8vw;
    color: rgba(255,255,255,0.35);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 20vw;
}

/* Durée */
.charts-duration {
    font-size: 0.8vw;
    color: rgba(255,255,255,0.35);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Vide / erreur */
.charts-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 40vh;
    gap: 0.5vw;
    color: rgba(255,255,255,0.4);
    font-size: 1.1vw;
}

/* Skeletons */

@keyframes skeleton-pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.9; }
}

.charts-meta-cell { text-align: right; }
.charts-listeners { font-size: 0.78vw; color: rgba(255,255,255,0.3); }
.rank-top { color: white !important; }
.rank-1   { color: rgb(230,201,19) !important; }
.rank-2   { color: rgba(200,200,200,0.9) !important; }
.rank-3   { color: rgba(180,120,60,0.9) !important; }

.search-page {
    background: #000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header */
/* .search-header, .search-back-btn — supprimées (ancienne nav Search inutilisée) */

/* Hero barre de recherche */
.search-hero {
    padding: 1.2vw 6vw 1vw;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 10;
    background: #000;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.search-hero.scrolled {
    padding: 0.7vw 6vw 0.7vw;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.search-hero-title {
    font-family: "Playfair Display", serif;
    font-size: 2vw;
    font-weight: 900;
    color: white;
    margin-bottom: 0.8vw;
    line-height: 1;
    transition: font-size 0.3s ease, margin 0.3s ease, opacity 0.3s ease;
}

.search-hero.scrolled .search-hero-title {
    font-size: 0;
    margin-bottom: 0;
    opacity: 0;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 1vw;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 1vw;
    padding: 0.8vw 1.2vw;
    transition: all 0.3s ease;
}

.search-hero.scrolled .search-input-wrap {
    padding: 0.6vw 1.2vw;
}

.search-input-wrap:focus-within {
    border-color: rgba(230,201,19,0.6);
    background: rgba(230,201,19,0.04);
    box-shadow: 0 0 0 4px rgba(230,201,19,0.06);
}

.search-input-icon { flex-shrink: 0; opacity: 0.4; color: white; }

.search-main-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: white;
    font-family: "Playfair Display", serif;
    font-size: 1.2vw;
    font-weight: 400;
}
.search-main-input::placeholder { color: rgba(255,255,255,0.2); }

.search-clear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: rgba(255,255,255,0.6);
    width: 2vw; height: 2vw;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.search-clear-btn:hover { background: rgba(255,255,255,0.2); color: white; }

/* Corps */
.search-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 6vw 4vw;
    scrollbar-width: thin;
    scrollbar-color: rgba(230,201,19,0.3) transparent;
}

/* Sections */
.search-section { margin-bottom: 2.5vw; }

.search-section-title {
    font-family: "Playfair Display", serif;
    font-size: 1.3vw;
    font-weight: 700;
    color: white;
    margin-bottom: 1vw;
}

/* Historique chips */
.history-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6vw;
}

.history-chip {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-family: inherit;
    font-size: 0.85vw;
    padding: 0.45vw 0.9vw;
    border-radius: 3vw;
    cursor: pointer;
    transition: all 0.2s ease;
}
.history-chip:hover { background: rgba(255,255,255,0.12); color: white; }
.history-chip-remove {
    font-size: 0.75vw;
    opacity: 0.4;
    margin-left: 0.2vw;
    transition: opacity 0.2s;
}
.history-chip:hover .history-chip-remove { opacity: 0.8; }

/* Grille artistes */
.artists-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.2vw;
}

.artist-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5vw;
    padding: 1vw 0.5vw;
    border-radius: 1vw;
    cursor: pointer;
    transition: background 0.25s ease;
    text-align: center;
}
.artist-card:hover { background: rgba(255,255,255,0.05); }

.artist-card-img {
    width: 5.5vw; height: 5.5vw;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(230,201,19,0.2), rgba(168,150,31,0.1));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.3vw;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.07);
    transition: border-color 0.25s ease;
}
.artist-card:hover .artist-card-img { border-color: rgba(230,201,19,0.4); }

.artist-card-initial {
    font-family: "Playfair Display", serif;
    font-size: 1.8vw;
    font-weight: 700;
    color: rgb(230,201,19);
}

.artist-card-name {
    font-size: 0.85vw;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.artist-card-listeners {
    font-size: 0.72vw;
    color: rgba(255,255,255,0.35);
}

.skeleton-card .artist-card-img { background: rgba(255,255,255,0.06); }

/* Liste de titres */
.tracks-list {
    display: flex;
    flex-direction: column;
    gap: 0.3vw;
}

.search-track-row {
    display: flex;
    align-items: center;
    gap: 1vw;
    padding: 0.7vw 1vw;
    border-radius: 0.8vw;
    cursor: pointer;
    transition: background 0.2s ease;
    position: relative;
}
.search-track-row:hover { background: rgba(255,255,255,0.05); }
.search-track-row.playing { background: rgba(230,201,19,0.08); }

.search-track-cover {
    width: 2.8vw; height: 2.8vw;
    border-radius: 0.4vw;
    background: rgba(255,255,255,0.06);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.search-track-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: 0.4vw;
}
.search-track-row:hover .search-track-play-overlay { opacity: 1; }

.search-track-info { flex: 1; min-width: 0; }

.search-track-title {
    font-size: 0.92vw;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-track-row.playing .search-track-title { color: rgb(230,201,19); }

.search-track-artist {
    font-size: 0.78vw;
    color: rgba(255,255,255,0.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    transition: color 0.2s;
}
.search-track-artist:hover { color: rgba(230,201,19,0.8); text-decoration: underline; }

.search-track-duration {
    font-size: 0.78vw;
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

/* Panneau fiche artiste */
.artist-panel {
    position: absolute;
    top: 0; right: 0;
    width: 35vw;
    height: 100%;
    background: rgba(10,10,10,0.98);
    border-left: 1px solid rgba(255,255,255,0.08);
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    z-index: 10;
    backdrop-filter: blur(20px);
}
.artist-panel.active { transform: translateX(0); }

.artist-panel-header {
    display: flex;
    justify-content: flex-end;
    padding: 1.2vw 1.2vw 0;
    flex-shrink: 0;
}

.artist-panel-close {
    width: 2.2vw; height: 2.2vw;
    min-width: 30px; min-height: 30px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}
.artist-panel-close:hover { background: rgba(255,255,255,0.14); color: white; transform: rotate(90deg); }

.artist-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 1vw 2vw 3vw;
    scrollbar-width: thin;
    scrollbar-color: rgba(230,201,19,0.2) transparent;
}

.artist-panel-hero {
    display: flex;
    align-items: center;
    gap: 1.2vw;
    margin-bottom: 1.5vw;
}

.artist-panel-avatar {
    width: 6vw; height: 6vw;
    min-width: 70px; min-height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(230,201,19,0.2), rgba(0,0,0,0.5));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Playfair Display", serif;
    font-size: 2vw;
    font-weight: 700;
    color: rgb(230,201,19);
    flex-shrink: 0;
    border: 2px solid rgba(230,201,19,0.2);
}

.artist-panel-name {
    font-family: "Playfair Display", serif;
    font-size: 1.6vw;
    font-weight: 900;
    color: white;
    margin: 0 0 0.3vw;
}

.artist-panel-listeners {
    font-size: 0.82vw;
    color: rgba(255,255,255,0.35);
    position: static;
}

.artist-panel-bio {
    font-size: 0.85vw;
    color: rgba(255,255,255,0.5);
    line-height: 1.75;
    margin-bottom: 1.5vw;
    position: static;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.artist-panel-section-title {
    font-family: "Playfair Display", serif;
    font-size: 1vw;
    font-weight: 700;
    color: rgba(230,201,19,0.8);
    margin-bottom: 0.8vw;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.artist-panel-tracks { display: flex; flex-direction: column; gap: 0.2vw; }

.artist-track-rank {
    font-family: "Playfair Display", serif;
    font-size: 1vw;
    font-weight: 700;
    color: rgba(255,255,255,0.2);
    min-width: 1.5vw;
    text-align: center;
    flex-shrink: 0;
}

/* ============================================================
   SOCIAL PAGE — À ajouter à la fin de style.css
   ============================================================ */

/* ── Wrapper général ── */
#socialPage {
    background: #000;
    overflow: hidden;
}

.social-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* ── Hero ── */
.social-hero {
    flex-shrink: 0;
    padding: 9vh 4vw 0;
    display: flex;
    align-items: flex-end;
    gap: 3vw;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 1.8vw;
}

.social-hero-text {
    flex-shrink: 0;
}

.social-eyebrow {
    font-size: clamp(0.65rem, 0.8vw, 0.9rem);
    color: rgba(230,201,19,0.6);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 0.3em;
    position: static;
}

.social-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4.5vw, 5.5rem);
    font-weight: 900;
    color: white;
    line-height: 1;
}

/* ── Barre de recherche ── */
.social-search-bar {
    flex: 1;
    max-width: 38vw;
    position: relative;
    display: flex;
    align-items: center;
}

.social-search-icon {
    position: absolute;
    left: 1.2vw;
    color: rgba(255,255,255,0.3);
    pointer-events: none;
    flex-shrink: 0;
}

.social-search-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 3vw;
    padding: 0.85vw 3vw 0.85vw 3vw;
    color: white;
    font-size: clamp(0.8rem, 0.95vw, 1.1rem);
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
    min-height: 44px;
}

.social-search-input::placeholder {
    color: rgba(255,255,255,0.2);
}

.social-search-input:focus {
    border-color: rgba(230,201,19,0.5);
    background: rgba(230,201,19,0.04);
    box-shadow: 0 0 0 3px rgba(230,201,19,0.07);
}

.social-search-clear {
    position: absolute;
    right: 1vw;
    background: none;
    border: none;
    color: rgba(255,255,255,0.35);
    cursor: pointer;
    font-size: 0.9vw;
    padding: 0.3vw;
    transition: color 0.2s;
}

.social-search-clear:hover { color: white; }

/* ── Corps scrollable ── */
.social-body {
    flex: 1;
    overflow-y: auto;
    padding: 2vw 4vw 3vw;
    scrollbar-width: thin;
    scrollbar-color: rgba(230,201,19,0.25) transparent;
}

/* ── Titres de section ── */
.social-section-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(0.72rem, 0.9vw, 1rem);
    font-weight: 700;
    color: rgba(230,201,19,0.7);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 1.5vw;
    margin-bottom: 1.6vw;
}

.social-section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(230,201,19,0.25), transparent);
}

/* ── Rangée abonnements ── */
.social-following-section {
    margin-bottom: 2.5vw;
}

.social-following-row {
    display: flex;
    gap: 1.5vw;
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 1.2vw;
    padding-top: 0.6vw;
    scrollbar-width: none;
}

.social-following-row::-webkit-scrollbar { display: none; }

.social-following-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5vw;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.social-following-chip:hover { transform: translateY(-3px); }

.social-following-avatar {
    width: 4vw; height: 4vw;
    min-width: 48px; min-height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(230,201,19,0.4);
    background: linear-gradient(135deg, #2a2000, #1a1000);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Playfair Display", serif;
    font-size: 1.3vw;
    font-weight: 700;
    color: rgb(230,201,19);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.social-following-chip:hover .social-following-avatar {
    border-color: rgba(230,201,19,0.9);
    box-shadow: 0 0 16px rgba(230,201,19,0.25);
}

.social-following-name {
    font-size: clamp(0.6rem, 0.7vw, 0.8rem);
    color: rgba(255,255,255,0.55);
    text-align: center;
    max-width: 5vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Grille de suggestions ── */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(18vw, 220px), 1fr));
    gap: 1.3vw;
}

/* ── Carte utilisateur ── */
.social-user-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 1.3vw;
    padding: 1.8vw 1.5vw 1.4vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7vw;
    cursor: pointer;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.social-user-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgb(230,201,19), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.social-user-card:hover::before { transform: scaleX(1); }

.social-user-card:hover {
    border-color: rgba(230,201,19,0.2);
    background: rgba(230,201,19,0.04);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

/* Badge de suggestion en haut à droite */
.social-card-badge {
    position: absolute;
    top: 0.8vw;
    right: 0.8vw;
    font-size: clamp(0.55rem, 0.62vw, 0.72rem);
    padding: 0.25vw 0.7vw;
    border-radius: 2vw;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.social-card-badge.similar-artist {
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.35);
    border-right: none;
    color: #a0aef7;
}
 
.social-card-badge.similar-track {
    background: rgba(29, 158, 117, 0.13);
    border: 1px solid rgba(29, 158, 117, 0.35);
    border-right: none;
    color: #5dcaa5;
}
 
.social-card-badge.friend-of-friend {
    background: rgba(16, 209, 100, 0.12);
    border: 1px solid rgba(16, 209, 100, 0.3);
    border-right: none;
    color: #5de89c;
}
 
.social-card-badge.new-member {
    background: rgba(230,201,19,0.10);
    border: 1px solid rgba(230,201,19,0.30);
    border-right: none;
    color: rgba(230,201,19,0.85);
}

/* Avatar carte */
.social-card-avatar {
    width: 5vw; height: 5vw;
    min-width: 56px; min-height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(230,201,19,0.25);
    background: linear-gradient(135deg, #2a2000, #111);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Playfair Display", serif;
    font-size: 1.6vw;
    font-weight: 700;
    color: rgb(230,201,19);
    flex-shrink: 0;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.social-user-card:hover .social-card-avatar {
    border-color: rgba(230,201,19,0.6);
    box-shadow: 0 0 20px rgba(230,201,19,0.15);
}

.social-card-name {
    font-family: "Playfair Display", serif;
    font-size: clamp(0.85rem, 1.1vw, 1.3rem);
    font-weight: 700;
    color: white;
    text-align: center;
    line-height: 1.2;
}

.social-card-artist {
    font-size: clamp(0.62rem, 0.72vw, 0.82rem);
    color: rgba(230,201,19,0.6);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.social-card-reason {
    font-size: clamp(0.58rem, 0.66vw, 0.76rem);
    color: rgba(255,255,255,0.28);
    text-align: center;
    font-style: italic;
    line-height: 1.4;
}

/* Bouton Suivre */
.social-follow-btn {
    margin-top: 0.3vw;
    padding: 0.5vw 1.6vw;
    min-height: 30px;
    border-radius: 3vw;
    font-family: inherit;
    font-size: clamp(0.65rem, 0.75vw, 0.85rem);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(230,201,19,0.5);
    background: transparent;
    color: rgba(230,201,19,0.9);
}

.social-follow-btn:hover {
    background: rgba(230,201,19,0.1);
    border-color: rgb(230,201,19);
    color: rgb(230,201,19);
}

.social-follow-btn.following {
    background: rgba(230,201,19,0.12);
    border-color: rgba(230,201,19,0.4);
    color: rgba(255,255,255,0.5);
}

.social-follow-btn.following:hover {
    background: rgba(255,50,50,0.08);
    border-color: rgba(255,90,90,0.4);
    color: rgba(255,100,100,0.8);
}

/* ── Skeleton loading ── */
.social-skeleton-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 1.3vw;
    padding: 1.8vw 1.5vw 1.4vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8vw;
}

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

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

/* ── Vide ── */
.social-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1vw;
    padding: 4vw;
    color: rgba(255,255,255,0.3);
    text-align: center;
}

.social-empty span { font-size: 3vw; }
.social-empty p    { font-size: clamp(0.8rem, 1vw, 1.1rem); }

/* ── Panneau latéral utilisateur ── */
.social-user-panel {
    position: absolute;
    top: 13vh;
    right: 0;
    width: 22vw;
    min-width: 260px;
    height: calc(100% - 13vh);
    background: rgba(8,8,8,0.97);
    border-left: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    z-index: 60;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.social-user-panel.active {
    transform: translateX(0);
}

.social-panel-close {
    position: absolute;
    top: 1.2vw;
    right: 1.2vw;
    width: 2vw; height: 2vw;
    min-width: 28px; min-height: 28px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 5;
}

.social-panel-close:hover {
    background: rgba(255,255,255,0.12);
    color: white;
    transform: rotate(90deg);
}

.social-panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 2.5vw 1.8vw;
    scrollbar-width: thin;
    scrollbar-color: rgba(230,201,19,0.2) transparent;
}

/* Hero du panneau */
.social-panel-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8vw;
    margin-bottom: 1.8vw;
    padding-top: 1vw;
}

.social-panel-avatar {
    width: 7vw; height: 7vw;
    min-width: 70px; min-height: 70px;
    border-radius: 50%;
    border: 3px solid rgba(230,201,19,0.4);
    background: linear-gradient(135deg, #2a2000, #111);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Playfair Display", serif;
    font-size: 2.5vw;
    font-weight: 700;
    color: rgb(230,201,19);
    box-shadow: 0 0 30px rgba(230,201,19,0.12);
}

.social-panel-name {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.1rem, 1.6vw, 2rem);
    font-weight: 700;
    color: white;
    text-align: center;
}

.social-panel-email {
    font-size: clamp(0.62rem, 0.72vw, 0.82rem);
    color: rgba(230,201,19,0.5);
    text-align: center;
}

.social-panel-bio {
    font-size: clamp(0.72rem, 0.82vw, 0.92rem);
    color: rgba(255,255,255,0.4);
    text-align: center;
    font-style: italic;
    line-height: 1.6;
    position: static;
}

/* Stats communes */
.social-panel-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8vw;
    margin-bottom: 1.6vw;
}

.social-panel-stat {
    background: rgba(230,201,19,0.05);
    border: 1px solid rgba(230,201,19,0.1);
    border-radius: 0.8vw;
    padding: 0.9vw;
    text-align: center;
}

.social-panel-stat-val {
    font-family: "Playfair Display", serif;
    font-size: clamp(1rem, 1.5vw, 1.8rem);
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 0.2em;
}

.social-panel-stat-label {
    font-size: clamp(0.58rem, 0.66vw, 0.76rem);
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Artiste favori commun */
.social-panel-section-title {
    font-size: clamp(0.62rem, 0.72vw, 0.8rem);
    color: rgba(230,201,19,0.6);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.8vw;
    font-weight: 700;
    position: static;
}

.social-panel-common-row {
    display: flex;
    align-items: center;
    gap: 0.8vw;
    padding: 0.8vw;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 0.8vw;
    margin-bottom: 0.5vw;
}

.social-panel-common-icon {
    font-size: 1.2vw;
    flex-shrink: 0;
}

.social-panel-common-text {
    font-size: clamp(0.68rem, 0.78vw, 0.88rem);
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
}

.social-panel-common-text strong {
    color: white;
    font-weight: 600;
}

/* Bouton Suivre dans le panneau */
.social-panel-follow-btn {
    width: 100%;
    padding: 0.9vw 0;
    min-height: 40px;
    border-radius: 0.8vw;
    font-family: inherit;
    font-size: clamp(0.75rem, 0.88vw, 1rem);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.2vw;
    background: linear-gradient(135deg, #e6c913, #c8a800);
    border: none;
    color: #000;
    box-shadow: 0 6px 20px rgba(230,201,19,0.2);
}

.social-panel-follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(230,201,19,0.35);
}

.social-panel-follow-btn.following {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.5);
    box-shadow: none;
}

.social-panel-follow-btn.following:hover {
    background: rgba(255,50,50,0.08);
    border-color: rgba(255,90,90,0.4);
    color: rgba(255,100,100,0.8);
}

/* Animation d'entrée des cartes */
@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.social-user-card {
    animation: cardFadeIn 0.4s ease both;
}

/* ============================================================
   WORLD PAGE — Articles in quinconce (add at end of style.css)
   Matches the visual style of the existing .fond block
   ============================================================ */

.world-articles {
    width: 100%;
    background: #000;
}

/* ── One article block — same structure as .fond ── */
.wa-block {
    position: relative;          /* Needed for absolute children like .fond */
    width: 100%;
    height: 70vh;
    background: #000;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.6);
}

/* ── Image — same behaviour as .micro ── */
.wa-img {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 90%;
    z-index: 1;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* On reversed blocks, image goes to the right */
.wa-block--reverse .wa-img {
    left: auto;
    right: 0;
}

/* ── Text content — mirrors .worldp10 / .worldp11 positioning ── */
.wa-content {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    left: 38%;                   /* Right side when image is left */
    max-width: 55%;
    display: flex;
    flex-direction: column;
    gap: 1.4vh;
}

/* On reversed blocks, text goes to the left */
.wa-block--reverse .wa-content {
    left: 5%;
}

/* Category tag — same yellow as brand colour */
.wa-tag {
    font-size: 1.1vh;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgb(230, 201, 19);
}

/* Big title — same font-size as .worldp10 */
.wa-title {
    color: white;
    font-size: 3.7vh;
    line-height: 1.2;
}

/* Description — same font-size as .worldp11 */
.wa-desc {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.9vh;
    line-height: 1.7;
    max-width: 90%;
}
/* ============================================================
   CLASSES MANQUANTES — ajoutées après audit
   ============================================================ */

/* vinyl-deco : conteneur image auth (auth-visual) */
.vinyl-deco {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* artist-panel-meta : groupe nom + listeners dans le panel artiste */
.artist-panel-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2vw;
    min-width: 0;
}

/* th-info : colonne "Track" du tableau charts */
.th-info {
    width: auto;
}

/* settings-group : bloc de groupe dans les paramètres */
.settings-group {
    display: flex;
    flex-direction: column;
    gap: 0.6vw;
    padding: 1vw 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* settings-group-title : titre d'un groupe de paramètres */
.settings-group-title {
    font-size: clamp(0.7rem, 0.8vw, 0.9rem);
    font-weight: 700;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: static;
}

/* danger-desc : texte descriptif dans la danger zone */
.danger-desc {
    font-size: clamp(0.72rem, 0.8vw, 0.9rem);
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
    position: static;
}

/* social-suggestions-section : section suggestions (miroir de social-following-section) */
.social-suggestions-section {
    margin-bottom: 2.5vw;
}

/* card-category-filter : classe utilitaire pour querySelector (pas de style visuel propre) */
.card-category-filter { /* styles portés par .card-category */ }

/* charts-cover-cell : cellule td de la pochette */
.charts-cover-cell {
    width: 4vw;
    padding: 0.7vw 1vw;
    vertical-align: middle;
}

/* charts-info-cell : cellule td du titre/artiste */
.charts-info-cell {
    vertical-align: middle;
    padding: 0.7vw 1vw;
}

/* charts-album-cell : cellule td de l'album */
.charts-album-cell {
    vertical-align: middle;
    padding: 0.7vw 1vw;
}

/* charts-cover-placeholder : placeholder quand pas de pochette */
.charts-cover-placeholder {
    width: 3vw;
    height: 3vw;
    border-radius: 0.4vw;
    background: rgba(255,255,255,0.06);
}