/* =========================================================
   CHERRY RADIO — Feuille de style
   Thème : Galactic / Cherry (sombre, élégant, immersif)
   ========================================================= */

/* ---------- Variables ---------- */
:root {
    /* Couleurs */
    --cherry-50:  #fff1f3;
    --cherry-200: #ffb8c4;
    --cherry-400: #ff4d6d;
    --cherry-500: #e63559;
    --cherry-600: #c81d45;
    --cherry-700: #8e1230;

    --galactic-900: #05030f;
    --galactic-800: #0b0820;
    --galactic-700: #140c33;
    --galactic-600: #241152;
    --plum-500:     #4b1e7a;

    --text-main:   #ffffff;
    --text-muted:  #b8b2cf;
    --text-dim:    #7a738f;

    --gold: #f6c667;

    /* Dégradés */
    --grad-cherry: linear-gradient(135deg, #ff4d6d 0%, #c81d45 60%, #7a1538 100%);
    --grad-galaxy: radial-gradient(ellipse at top, #2a1260 0%, #0b0820 45%, #05030f 100%);
    --grad-glass:  linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);

    /* Typographie */
    --font-title: 'Playfair Display', 'Cormorant Garamond', serif;
    --font-body:  'Outfit', 'Inter', system-ui, sans-serif;

    /* Divers */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    --shadow-soft: 0 10px 40px rgba(0,0,0,0.45);
    --shadow-cherry: 0 10px 40px rgba(230, 53, 89, 0.35);

    --nav-h: 82px;
    --player-h: 90px;

    --ease-smooth: cubic-bezier(.22, 1, .36, 1);
    --ease-back:   cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background: var(--grad-galaxy);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img { display: block; max-width: 100%; }
ul { list-style: none; }


/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--nav-h);
    transition: all .5s var(--ease-smooth);

    /* Glassmorphism */
    background: linear-gradient(180deg, rgba(11, 8, 32, 0.55) 0%, rgba(11, 8, 32, 0.25) 100%);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid rgba(255,255,255,0.06);

    animation: slideDown 1s var(--ease-smooth) both;
}

.site-header.scrolled {
    background: linear-gradient(180deg, rgba(5, 3, 15, 0.85) 0%, rgba(5, 3, 15, 0.7) 100%);
    box-shadow: 0 6px 24px rgba(0,0,0,.4);
    border-bottom-color: rgba(230, 53, 89, 0.15);
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

.nav-container {
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 24px;
}

/* --- Logo --- */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    transition: transform .35s var(--ease-smooth);
}
.logo-wrapper:hover { transform: translateY(-1px); }

.logo-img {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(230,53,89,.35));
    transition: filter .4s ease;
}
.logo-wrapper:hover .logo-img {
    filter: drop-shadow(0 4px 20px rgba(230,53,89,.7));
}

.logo-text {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: .5px;
    background: linear-gradient(135deg, #fff 0%, #ffd6de 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo-accent {
    font-style: italic;
    background: var(--grad-cherry);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 4px;
}

/* --- Navigation principale --- */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-item { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-size: .95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all .35s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: var(--grad-cherry);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .4s var(--ease-smooth);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: #fff;
    background: rgba(255,255,255,0.04);
    transform: translateY(-1px);
}

.nav-link:hover::before,
.nav-link.active::before { transform: scaleX(1); }

.nav-icon {
    font-size: .95rem;
    color: var(--cherry-400);
    transition: transform .4s var(--ease-back);
}
.nav-link:hover .nav-icon {
    transform: rotate(-8deg) scale(1.15);
}

.chevron {
    font-size: .7rem;
    margin-left: 2px;
    transition: transform .35s var(--ease-smooth);
}
.has-dropdown.open .chevron,
.has-dropdown:hover .chevron { transform: rotate(180deg); }


/* --- Dropdown menu --- */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 320px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;

    background: linear-gradient(160deg, rgba(20, 12, 51, 0.98) 0%, rgba(11, 8, 32, 0.98) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft), 0 0 0 1px rgba(230, 53, 89, 0.08);
    backdrop-filter: blur(20px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s var(--ease-smooth),
                transform .4s var(--ease-smooth),
                visibility 0s linear .35s;
}
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(20, 12, 51, 0.98);
    border-left: 1px solid rgba(255,255,255,0.08);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
}

.dropdown-menu li { opacity: 0; transform: translateY(8px); transition: all .4s var(--ease-smooth); }
.has-dropdown:hover .dropdown-menu li,
.has-dropdown.open .dropdown-menu li { opacity: 1; transform: translateY(0); }
.has-dropdown:hover .dropdown-menu li:nth-child(1),
.has-dropdown.open .dropdown-menu li:nth-child(1) { transition-delay: .08s; }
.has-dropdown:hover .dropdown-menu li:nth-child(2),
.has-dropdown.open .dropdown-menu li:nth-child(2) { transition-delay: .16s; }
.has-dropdown:hover .dropdown-menu li:nth-child(3),
.has-dropdown.open .dropdown-menu li:nth-child(3) { transition-delay: .24s; }

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    transition: all .3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}
.dropdown-menu a i {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(230,53,89,.15), rgba(230,53,89,.05));
    border: 1px solid rgba(230,53,89,.2);
    border-radius: 10px;
    color: var(--cherry-400);
    font-size: 1rem;
    flex-shrink: 0;
    transition: all .35s var(--ease-back);
}
.dropdown-menu a strong {
    display: block;
    font-size: .95rem;
    color: #fff;
    font-weight: 600;
}
.dropdown-menu a small {
    display: block;
    font-size: .78rem;
    color: var(--text-dim);
    margin-top: 2px;
}
.dropdown-menu a:hover {
    background: linear-gradient(90deg, rgba(230,53,89,.12), transparent);
    transform: translateX(4px);
}
.dropdown-menu a:hover i {
    background: var(--grad-cherry);
    color: #fff;
    transform: rotate(-8deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(230, 53, 89, .4);
}

/* --- Réseaux sociaux --- */
.social-links {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.social-link {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted);
    font-size: .95rem;
    position: relative;
    overflow: hidden;
    transition: all .4s var(--ease-smooth);
}
.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-cherry);
    border-radius: 50%;
    transform: scale(0);
    transition: transform .4s var(--ease-back);
    z-index: 0;
}
.social-link i { position: relative; z-index: 1; transition: transform .4s var(--ease-back); }
.social-link:hover {
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-cherry);
}
.social-link:hover::before { transform: scale(1); }
.social-link:hover i { transform: scale(1.15) rotate(-8deg); }


/* --- Burger mobile --- */
.burger {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 102;
    transition: all .3s ease;
}
.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all .4s var(--ease-smooth);
}
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    padding: calc(var(--nav-h) + 60px) 40px 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

/* --- Background --- */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: slowZoom 30s ease-in-out infinite alternate;
}
@keyframes slowZoom {
    from { transform: scale(1.05) translate(0, 0); }
    to   { transform: scale(1.15) translate(-2%, -1%); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(75, 30, 122, .45) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 70%, rgba(230, 53, 89, .25) 0%, transparent 55%),
        linear-gradient(180deg, rgba(5, 3, 15, .5) 0%, rgba(5, 3, 15, .85) 100%);
}
.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.6) 100%);
    pointer-events: none;
}

/* --- Particules --- */
.particles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--cherry-400);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--cherry-400), 0 0 24px rgba(230,53,89,.5);
    opacity: 0;
    animation: floatUp linear infinite;
}
.particle:nth-child(1) { left: 8%;  animation-duration: 14s; animation-delay: 0s;  }
.particle:nth-child(2) { left: 22%; animation-duration: 18s; animation-delay: 3s;  width: 3px; height: 3px; }
.particle:nth-child(3) { left: 35%; animation-duration: 12s; animation-delay: 6s;  }
.particle:nth-child(4) { left: 52%; animation-duration: 20s; animation-delay: 1s;  width: 2px; height: 2px; }
.particle:nth-child(5) { left: 68%; animation-duration: 16s; animation-delay: 5s;  }
.particle:nth-child(6) { left: 78%; animation-duration: 14s; animation-delay: 8s;  width: 3px; height: 3px; }
.particle:nth-child(7) { left: 88%; animation-duration: 22s; animation-delay: 2s;  }
.particle:nth-child(8) { left: 95%; animation-duration: 18s; animation-delay: 4s;  width: 2px; height: 2px; }
@keyframes floatUp {
    0%   { transform: translateY(110vh) scale(.6); opacity: 0; }
    10%  { opacity: .9; }
    90%  { opacity: .9; }
    100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

/* --- Cerises flottantes --- */
.cherries-wrapper {
    position: absolute;
    top: 50%;
    left: 150px;
    transform: translateY(-50%);
    width: 520px;
    max-width: 45vw;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    animation: cherriesReveal 1.8s var(--ease-smooth) .4s forwards,
               cherriesFloat 6s ease-in-out 2.2s infinite alternate;
    filter: drop-shadow(0 30px 60px rgba(230, 53, 89, .4));
    mix-blend-mode: screen;
}


/* --- Cerises flottantes --- */
.micro-wrapper {
    position: absolute;
        top: 50%;
        right: -350px;
    transform: translateY(-50%);
    width: 520px;
    max-width: 45vw;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    animation: cherriesReveal 1.8s var(--ease-smooth) .4s forwards,
               cherriesFloat 6s ease-in-out 2.2s infinite alternate;
    filter: drop-shadow(0 30px 60px rgba(230, 53, 89, .4));
    mix-blend-mode: screen;
}
.cherries-img { width: 100%; height: auto; opacity: .85; }
.cherries-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, rgba(230, 53, 89, .4) 0%, transparent 60%);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes cherriesReveal {
    from { opacity: 0; transform: translateY(-50%) translateX(40px) scale(.9); }
    to   { opacity: 1; transform: translateY(-50%) translateX(0) scale(1); }
}
@keyframes cherriesFloat {
    from { transform: translateY(-52%) rotate(-1.5deg); }
    to   { transform: translateY(-48%) rotate(1.5deg); }
}
@keyframes pulse {
    0%, 100% { opacity: .7; transform: scale(1); }
    50%      { opacity: 1;  transform: scale(1.1); }
}

/* --- Contenu du hero --- */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 99px;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp .8s var(--ease-smooth) .3s forwards;
}
.kicker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cherry-400);
    box-shadow: 0 0 0 4px rgba(230,53,89,.3);
    animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(230,53,89,.35); }
    50%      { box-shadow: 0 0 0 10px rgba(230,53,89,0); }
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.02em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .3em;
}
.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(-15deg);
    animation: titleReveal 1.1s var(--ease-smooth) forwards;
    transform-origin: center bottom;
    color: #fff;
    text-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.title-word[data-delay="0"] { animation-delay: .5s; }
.title-word[data-delay="1"] { animation-delay: .75s; }

.title-word.accent {
    font-style: italic;
    background: linear-gradient(135deg, #ff4d6d 0%, #ffb8c4 50%, #ff4d6d 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleReveal 1.1s var(--ease-smooth) .75s forwards,
               shimmer 6s ease-in-out 1.8s infinite;
}
@keyframes titleReveal {
    to { opacity: 1; transform: translateY(0) rotateX(0); }
}
@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.hero-subtitle {
    font-family: var(--font-title);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(1.2rem, 2.3vw, 1.75rem);
    color: var(--text-muted);
    letter-spacing: .02em;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--ease-smooth) 1.2s forwards;
}

.hero-desc {
    max-width: 580px;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--ease-smooth) 1.4s forwards;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* --- Boutons CTA --- */
.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 14px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--ease-smooth) 1.6s forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 30px;
    border-radius: 99px;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all .4s var(--ease-smooth);
}

.btn-primary {
    background: var(--grad-cherry);
    color: #fff;
    box-shadow: var(--shadow-cherry), inset 0 1px 0 rgba(255,255,255,.3);
    border: 1px solid rgba(255,255,255,.15);
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,.25);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width .6s ease, height .6s ease;
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 50px rgba(230, 53, 89, .55);
}
.btn-primary:hover::before { width: 400px; height: 400px; }
.btn-primary:active { transform: translateY(-1px) scale(.98); }

.btn-icon {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,.2);
    border-radius: 50%;
    margin-left: -10px;
}

.btn-ghost {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}
.btn-ghost i { transition: transform .35s var(--ease-back); }
.btn-ghost:hover i { transform: translateX(4px); }

/* --- Stats --- */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 40px;
    padding: 18px 28px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--ease-smooth) 1.8s forwards;
}
.stat { text-align: center; }
.stat strong {
    display: block;
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #ffd6de 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}
.stat span {
    font-size: .78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dim);
}
.stat-divider {
    width: 1px;
    height: 34px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,.2), transparent);
}

/* --- Scroll indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: calc(var(--player-h) + 30px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeUp 1s var(--ease-smooth) 2s forwards;
}
.scroll-label {
    font-size: .7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-dim);
    writing-mode: vertical-rl;
}
.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, var(--cherry-400), transparent);
    background-size: 100% 200%;
    animation: scrollGlow 2s ease-in-out infinite;
}
@keyframes scrollGlow {
    0%, 100% { background-position: 0% 0%; }
    50%      { background-position: 0% 100%; }
}


/* =========================================================
   PLAYER BAR
   ========================================================= */
.player-bar {
    position: fixed;
    bottom: 18px;
    left: 18px;
    right: 18px;
    height: var(--player-h);
    z-index: 99;

    background: linear-gradient(135deg, rgba(20, 12, 51, 0.88) 0%, rgba(5, 3, 15, 0.92) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    box-shadow:
        0 20px 60px rgba(0,0,0,.5),
        0 0 0 1px rgba(230, 53, 89, 0.08),
        inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);

    animation: playerSlide 1s var(--ease-back) 2.2s both;
    overflow: hidden;
}
.player-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at left, rgba(230, 53, 89, .18) 0%, transparent 40%);
    pointer-events: none;
}
@keyframes playerSlide {
    from { transform: translateY(130%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.player-inner {
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Gauche : play + disque */
.player-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.play-btn {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--grad-cherry);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: var(--shadow-cherry), inset 0 1px 0 rgba(255,255,255,.25);
    transition: all .4s var(--ease-back);
    flex-shrink: 0;
}
.play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(230, 53, 89, .6);
}
.play-btn:active { transform: scale(.96); }

.play-ring {
    position: absolute;
    inset: -6px;
    border: 2px solid var(--cherry-400);
    border-radius: 50%;
    opacity: 0;
    animation: ringPulse 2.2s ease-out infinite;
}
.play-btn.playing .play-ring { animation-play-state: running; }
@keyframes ringPulse {
    0%   { transform: scale(.85); opacity: .8; }
    100% { transform: scale(1.4); opacity: 0; }
}

.play-btn .icon-play  { display: block; margin-left: 3px; }
.play-btn .icon-pause { display: none; }
.play-btn.playing .icon-play  { display: none; }
.play-btn.playing .icon-pause { display: block; }

.disc {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #3a1452, #0b0820);
    display: grid;
    place-items: center;
    border: 2px solid rgba(230, 53, 89, .3);
    flex-shrink: 0;
    animation: spin 8s linear infinite;
    animation-play-state: paused;
}
.play-btn.playing ~ .disc,
.playing .disc { animation-play-state: running; }
.disc-inner {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--cherry-400);
    box-shadow: 0 0 0 4px rgba(230, 53, 89, .2);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Centre : track info */
.player-center {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.live-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(230, 53, 89, .15);
    border: 1px solid rgba(230, 53, 89, .35);
    border-radius: 99px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--cherry-400);
    flex-shrink: 0;
}
.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cherry-400);
    animation: livePulse 1.4s ease-in-out infinite;
}

.track-info {
    min-width: 0;
    flex: 0 1 auto;
    overflow: hidden;
}
.track-title {
    font-size: .98rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.track-artist {
    font-size: .82rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-waves {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 28px;
    margin-left: auto;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
}
.player-waves span {
    width: 3px;
    height: 100%;
    background: linear-gradient(to top, var(--cherry-600), var(--cherry-400));
    border-radius: 2px;
    animation: waveBounce 1.2s ease-in-out infinite;
    animation-play-state: paused;
    opacity: .6;
}
.playing .player-waves span { animation-play-state: running; opacity: 1; }
.player-waves span:nth-child(1)  { animation-delay: -0.1s; }
.player-waves span:nth-child(2)  { animation-delay: -0.3s; }
.player-waves span:nth-child(3)  { animation-delay: -0.5s; }
.player-waves span:nth-child(4)  { animation-delay: -0.7s; }
.player-waves span:nth-child(5)  { animation-delay: -0.2s; }
.player-waves span:nth-child(6)  { animation-delay: -0.4s; }
.player-waves span:nth-child(7)  { animation-delay: -0.6s; }
.player-waves span:nth-child(8)  { animation-delay: -0.8s; }
.player-waves span:nth-child(9)  { animation-delay: -0.15s; }
.player-waves span:nth-child(10) { animation-delay: -0.35s; }
.player-waves span:nth-child(11) { animation-delay: -0.55s; }
.player-waves span:nth-child(12) { animation-delay: -0.75s; }
.player-waves span:nth-child(13) { animation-delay: -0.25s; }
.player-waves span:nth-child(14) { animation-delay: -0.45s; }
.player-waves span:nth-child(15) { animation-delay: -0.65s; }
.player-waves span:nth-child(16) { animation-delay: -0.85s; }
.player-waves span:nth-child(17) { animation-delay: -0.2s;  }
.player-waves span:nth-child(18) { animation-delay: -0.4s;  }
.player-waves span:nth-child(19) { animation-delay: -0.6s;  }
.player-waves span:nth-child(20) { animation-delay: -0.8s;  }

@keyframes waveBounce {
    0%, 100% { transform: scaleY(.25); }
    50%      { transform: scaleY(1); }
}

/* Droite : contrôles */
.player-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--text-muted);
    font-size: .95rem;
    transition: all .3s var(--ease-smooth);
}
.icon-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
    transform: scale(1.08);
}

.favorite-btn.active {
    color: var(--cherry-400);
}
.favorite-btn.active i::before { content: "\f004"; font-weight: 900; }

.volume-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 6px;
}
.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 90px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(to right, var(--cherry-400) 0%, var(--cherry-400) 70%, rgba(255,255,255,0.15) 70%);
    outline: none;
    cursor: pointer;
    transition: all .3s ease;
}
.volume-slider:hover { height: 6px; }
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--cherry-400);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.5);
    transition: transform .25s ease;
}
.volume-slider::-webkit-slider-thumb:hover { transform: scale(1.25); }
.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--cherry-400);
    cursor: pointer;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablette */
@media (max-width: 1100px) {
    .nav-container { padding: 0 24px; gap: 16px; }
    .nav-link { padding: 10px 12px; font-size: .88rem; }
    .nav-link span { display: inline; }
    .logo-text { font-size: 1.2rem; }
    .social-link { width: 36px; height: 36px; }
    .hero-stats { gap: 20px; padding: 14px 20px; }
    .stat strong { font-size: 1.5rem; }
}

/* Mobile */
@media (max-width: 860px) {
    :root { --nav-h: 70px; --player-h: 80px; }

    .burger { display: flex; }
    .social-links { display: none; }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(360px, 86vw);
        height: 100vh;
        padding: calc(var(--nav-h) + 20px) 24px 40px;

        background: linear-gradient(160deg, rgba(11, 8, 32, 0.98) 0%, rgba(5, 3, 15, 0.98) 100%);
        border-left: 1px solid rgba(255,255,255,0.08);
        backdrop-filter: blur(24px);

        transform: translateX(100%);
        transition: transform .5s var(--ease-smooth);
        overflow-y: auto;
    }
    .main-nav.open { transform: translateX(0); box-shadow: -20px 0 60px rgba(0,0,0,.6); }

    .nav-list { flex-direction: column; gap: 6px; align-items: stretch; }

    .nav-link {
        padding: 16px 18px;
        font-size: 1rem;
        justify-content: flex-start;
    }

    .nav-item.has-dropdown { display: flex; flex-direction: column; }

    .dropdown-menu {
        position: static;
        transform: none !important;
        width: 100%;
        margin-top: 4px;
        background: rgba(255,255,255,0.02);
        border: 1px solid rgba(255,255,255,0.06);
        box-shadow: none;
        max-height: 0;
        padding: 0 10px;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: max-height .5s var(--ease-smooth), padding .3s ease;
    }
    .dropdown-menu::before { display: none; }
    .has-dropdown.open .dropdown-menu { max-height: 500px; padding: 10px; }
    .dropdown-menu li { opacity: 1; transform: none; }

    .hero { padding: calc(var(--nav-h) + 40px) 20px 160px; }
    .hero-title { font-size: clamp(2.8rem, 14vw, 5rem); }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-desc { font-size: .95rem; padding: 0 10px; }
    .hero-cta { flex-direction: column; width: 100%; max-width: 320px; }
    .btn { width: 100%; justify-content: center; }

    .cherries-wrapper {
        width: 70vw;
        right: -15vw;
        top: 30%;
        opacity: .6 !important;
    }

    .hero-stats { gap: 14px; padding: 12px 16px; flex-wrap: wrap; justify-content: center; }
    .stat strong { font-size: 1.3rem; }
    .stat span { font-size: .68rem; }

    .scroll-indicator { display: none; }

    /* Player mobile */
    .player-bar {
        left: 10px;
        right: 10px;
        bottom: 10px;
        height: auto;
        border-radius: 20px;
    }
    .player-inner {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        padding: 12px 14px;
        gap: 12px 14px;
    }
    .player-left { grid-row: 1; grid-column: 1; }
    .player-center { grid-row: 1; grid-column: 2; gap: 10px; }
    .player-waves { display: none; }
    .player-right {
        grid-row: 2;
        grid-column: 1 / -1;
        justify-content: space-between;
        padding-top: 10px;
        border-top: 1px solid rgba(255,255,255,.06);
    }
    .volume-slider { width: 100px; }
    .live-tag { padding: 4px 8px; font-size: .62rem; }
    .disc { display: none; }
}

@media (max-width: 480px) {
    .logo-text { display: none; }
    .hero-title { font-size: 2.8rem; }
    .volume-slider { width: 70px; }
}

.track-cover {
    width: 50px;       /* Ajuste selon tes besoins */
    height: 50px;
    object-fit: cover;
    border-radius: 4px; /* Un léger arrondi pour le look moderne */
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    margin-left: 15px;  /* Espace par rapport au bouton play */
}
/* =========================================================
   ACCESSIBILITÉ : reduce motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}





