@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root{
    --bg:#08060d;
    --bg2:#0e0a18;
    --card:rgba(255,255,255,.055);
    --line:rgba(255,255,255,.11);
    --text:#fff;
    --muted:#aaa4b5;
    --purple:#9146ff;
    --purple2:#b56cff;
    --pink:#ff62cf;
    --cyan:#67e8f9;
    --radius:26px;
    --shadow:0 30px 90px rgba(0,0,0,.45);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    color:var(--text);
    background:
      radial-gradient(circle at 80% 8%, rgba(145,70,255,.17), transparent 26rem),
      radial-gradient(circle at 10% 42%, rgba(255,98,207,.08), transparent 28rem),
      linear-gradient(145deg,var(--bg),var(--bg2));
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    min-height:100vh;
    overflow-x:hidden;
}
body:before{
    content:"";
    position:fixed; inset:0; pointer-events:none;
    background:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
               linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
    background-size:70px 70px;
    mask-image:linear-gradient(to bottom,black,transparent 85%);
}
.noise{position:fixed;inset:0;pointer-events:none;opacity:.035;z-index:20;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E")}
a{color:inherit;text-decoration:none}
button{font:inherit}
.topbar{
    position:fixed;z-index:50;top:0;left:0;right:0;
    height:78px;padding:0 clamp(18px,4vw,70px);
    display:flex;align-items:center;justify-content:space-between;
    background:linear-gradient(180deg,rgba(8,6,13,.88),rgba(8,6,13,.35));
    backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
    border-bottom:1px solid rgba(255,255,255,.06);
}
.brand{display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:.04em}
.brand small{font-size:9px;color:#aaa;margin-left:1px;letter-spacing:.18em}
.brand-dot{width:10px;height:10px;border-radius:50%;background:var(--purple);box-shadow:0 0 18px var(--purple);animation:pulse 1.8s infinite}
.topbar nav{display:flex;gap:28px;font-size:11px;font-weight:800;letter-spacing:.14em;color:#b9b3c3}
.topbar nav a{transition:.25s}
.topbar nav a:hover{color:white}
.section{width:min(1180px,calc(100% - 36px));margin:auto}
.hero{
    min-height:100vh;padding-top:110px;
    display:grid;grid-template-columns:.82fr 1.18fr;
    align-items:center;gap:20px;
}
.hero-copy{padding-left:clamp(0px,3vw,42px);position:relative;z-index:2}
.eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:10px;font-weight:900;letter-spacing:.2em;color:#bdb6ca}
.eyebrow span{width:7px;height:7px;border-radius:50%;background:var(--purple);box-shadow:0 0 15px var(--purple)}
h1,h2,h3,p{margin-top:0}
h1{font-size:clamp(44px,6vw,86px);line-height:.96;letter-spacing:-.065em;margin:22px 0 24px;max-width:700px}
h1 em{font-style:normal;background:linear-gradient(90deg,#fff 5%,#c89dff 48%,#ff86dc);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-copy p{font-size:clamp(14px,1.5vw,18px);line-height:1.7;color:var(--muted);max-width:520px}
.portrait-stage{height:min(760px,80vh);min-height:520px;position:relative;display:grid;place-items:center}
.portrait-frame{width:min(540px,75vw);aspect-ratio:1.05/1;position:relative;padding:12px;border:1px solid rgba(255,255,255,.2);background:linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.025));box-shadow:var(--shadow),0 0 100px rgba(145,70,255,.12);transform:rotate(2deg);animation:float 6s ease-in-out infinite;z-index:5}
.portrait-inner{height:100%;overflow:hidden;background:#151019}
.portrait-inner img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(1.04) contrast(1.03)}
.frame-corner{position:absolute;width:42px;height:42px;border-color:#fff;border-style:solid;opacity:.9}
.corner-tl{left:-7px;top:-7px;border-width:2px 0 0 2px}.corner-br{right:-7px;bottom:-7px;border-width:0 2px 2px 0}
.glow{position:absolute;border-radius:50%;filter:blur(40px);pointer-events:none}
.glow-a{width:240px;height:240px;background:rgba(145,70,255,.32);right:8%;top:14%}
.glow-b{width:200px;height:200px;background:rgba(255,98,207,.18);left:10%;bottom:12%}
.orbit-ring{position:absolute;border:1px solid rgba(255,255,255,.11);border-radius:50%;z-index:2;animation:spin 20s linear infinite}
.ring-one{width:76%;aspect-ratio:1}.ring-two{width:94%;aspect-ratio:1;border-style:dashed;animation-duration:30s;animation-direction:reverse}.ring-three{width:108%;aspect-ratio:1;opacity:.4;animation-duration:42s}
.orbit{position:absolute;z-index:8;width:100px;height:100px;filter:drop-shadow(0 15px 30px rgba(0,0,0,.35));pointer-events:none}
.orbit img{width:100%;height:100%;object-fit:contain}
.orbit--1{top:8%;right:4%;animation:orbitOne 8s ease-in-out infinite}
.orbit--2{left:0;top:42%;animation:orbitTwo 9s ease-in-out infinite}
.orbit--3{right:9%;bottom:5%;animation:orbitThree 10s ease-in-out infinite}
.floating-pill{position:absolute;z-index:10;border:1px solid var(--line);background:rgba(8,6,13,.65);backdrop-filter:blur(12px);padding:9px 12px;border-radius:99px;font-size:9px;font-weight:900;letter-spacing:.14em;box-shadow:0 12px 30px rgba(0,0,0,.25)}
.pill-live{left:7%;top:18%;color:#d8ffd9}.pill-live i{display:inline-block;width:6px;height:6px;background:#55ff77;border-radius:50%;box-shadow:0 0 10px #55ff77;margin-right:7px}.pill-scroll{right:4%;bottom:16%;color:#aaa}
.content-section{padding:120px 0}
.section-heading{max-width:700px;margin-bottom:34px}
.section-heading h2{font-size:clamp(38px,5vw,68px);letter-spacing:-.055em;line-height:1;margin:15px 0}
.section-heading h2 span{color:var(--purple)}
.section-heading p{color:var(--muted);line-height:1.7;max-width:620px}
.clip-card{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.65fr);overflow:hidden;border:1px solid var(--line);background:linear-gradient(135deg,rgba(255,255,255,.065),rgba(255,255,255,.025));border-radius:var(--radius);box-shadow:var(--shadow)}
.clip-player-wrap{background:#000;min-width:0}
.clip-player{width:100%;aspect-ratio:16/9;min-height:300px;display:grid;place-items:center}
.clip-player iframe{width:100%;height:100%;border:0;display:block}
.clip-info{padding:clamp(25px,4vw,45px);display:flex;flex-direction:column;justify-content:center}
.clip-kicker{font-size:9px;font-weight:900;letter-spacing:.18em;color:#a9a1b4;display:flex;align-items:center;gap:8px}
.twitch-mark{font-size:9px;background:var(--purple);padding:5px 6px;border-radius:6px;color:#fff}
.clip-info h3{font-size:clamp(22px,2.6vw,36px);line-height:1.12;letter-spacing:-.04em;margin:18px 0}
.clip-meta{display:flex;align-items:center;gap:12px;color:#aaa4b5;font-size:12px}.clip-meta strong{color:white}.meta-separator{width:4px;height:4px;background:#615a6c;border-radius:50%}
.clip-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.btn{border:0;cursor:pointer;border-radius:12px;padding:14px 17px;font-size:10px;font-weight:900;letter-spacing:.1em;transition:transform .25s,box-shadow .25s,background .25s}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:linear-gradient(135deg,var(--purple),#a866ff);color:#fff;box-shadow:0 12px 30px rgba(145,70,255,.27)}
.btn-primary:hover{box-shadow:0 17px 40px rgba(145,70,255,.38)}
.btn-ghost{border:1px solid var(--line);background:rgba(255,255,255,.035);color:#c9c2d0}
.clip-error{margin-top:18px;padding:12px;border-radius:10px;background:rgba(255,70,100,.08);border:1px solid rgba(255,70,100,.18);color:#ffb3c0;font-size:11px;line-height:1.5}
.loader{display:flex;gap:6px}.loader span{width:8px;height:8px;background:var(--purple);border-radius:50%;animation:load .8s infinite alternate}.loader span:nth-child(2){animation-delay:.2s}.loader span:nth-child(3){animation-delay:.4s}
.music-section{padding-top:40px}
.playlist{display:grid;gap:10px}
.track{display:grid;grid-template-columns:46px 42px minmax(150px,1fr) minmax(150px,260px) 45px;gap:14px;align-items:center;padding:12px 14px;border:1px solid rgba(255,255,255,.08);border-radius:17px;background:rgba(255,255,255,.035);transition:.25s}
.track:hover,.track.active{background:rgba(145,70,255,.08);border-color:rgba(145,70,255,.25);transform:translateX(4px)}
.track-play{width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:rgba(255,255,255,.05);color:#fff;cursor:pointer;display:grid;place-items:center}
.play-icon{font-size:11px;margin-left:2px}.track-number{font-size:10px;color:#625c69;font-weight:800}.track-title{display:flex;flex-direction:column;gap:4px;min-width:0}.track-title strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.track-title span{font-size:10px;color:#777180}.visualizer{width:100%;height:54px}.track-duration{font-size:9px;color:#777180;text-align:right;font-weight:800}
.track audio{display:none}
.community-card{margin-bottom:100px;padding:clamp(25px,5vw,60px);border-radius:var(--radius);border:1px solid rgba(145,70,255,.22);background:radial-gradient(circle at 80% 20%,rgba(145,70,255,.16),transparent 35%),rgba(255,255,255,.035);display:flex;align-items:center;justify-content:space-between;gap:30px}
.community-card h2{font-size:clamp(28px,4vw,52px);letter-spacing:-.05em;margin:14px 0}.community-card p{color:var(--muted);max-width:650px;line-height:1.7;margin:0}
footer{padding:28px 20px 45px;text-align:center;color:#6e6877;font-size:10px;letter-spacing:.1em;font-weight:800}footer span{display:block;margin-top:8px;font-weight:500;letter-spacing:0;color:#514c59}
.reveal{opacity:0;transform:translateY(22px);transition:opacity .8s ease,transform .8s ease}.reveal.visible{opacity:1;transform:none}
@keyframes pulse{50%{transform:scale(.7);opacity:.55}}
@keyframes float{50%{transform:rotate(2deg) translateY(-10px)}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes orbitOne{0%,100%{transform:translate(0,0) rotate(0)}50%{transform:translate(-25px,22px) rotate(12deg)}}
@keyframes orbitTwo{0%,100%{transform:translate(0,0) rotate(0)}50%{transform:translate(22px,-20px) rotate(-14deg)}}
@keyframes orbitThree{0%,100%{transform:translate(0,0) rotate(0)}50%{transform:translate(-18px,-25px) rotate(10deg)}}
@keyframes load{to{transform:translateY(-7px);opacity:.45}}
@media (max-width:900px){
    .hero{grid-template-columns:1fr;padding-top:125px;gap:30px}.hero-copy{text-align:center;padding:0}.hero-copy p{margin-inline:auto}.hero .eyebrow{justify-content:center}.portrait-stage{height:74vw;min-height:430px}.portrait-frame{width:min(580px,78vw)}
    .clip-card{grid-template-columns:1fr}.clip-info{padding:28px}.clip-player{min-height:0}
}
@media (max-width:620px){
    .topbar{height:64px}.topbar nav{gap:14px;font-size:9px}.brand{font-size:12px}.brand small{display:none}
    .section{width:min(100% - 24px,1180px)}.hero{min-height:auto;padding-top:105px}.portrait-stage{height:92vw;min-height:360px}.portrait-frame{width:76vw;padding:7px}.orbit{width:62px;height:62px}.pill-live{left:0;top:8%;font-size:7px}.pill-scroll{right:0;bottom:8%;font-size:7px}
    .content-section{padding:90px 0}.clip-info h3{font-size:25px}.clip-actions .btn{width:100%;text-align:center}.track{grid-template-columns:40px minmax(0,1fr) 38px;gap:10px}.track-number,.track-duration{display:none}.visualizer{grid-column:2/4;width:100%;height:42px;margin-top:-4px}.track-title{grid-column:2}.track-play{grid-row:1/3}
    .community-card{flex-direction:column;align-items:flex-start}.community-card .btn{width:100%;text-align:center}
}
@media (prefers-reduced-motion:reduce){
    *,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}

/* =========================================================
   SECTION VIDÉOS YOUTUBE
   ========================================================= */

.youtube-section {
    position: relative;
    width: min(1180px, calc(100% - 40px));
    margin: 100px auto 0;
    padding: 80px 0 40px;
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.youtube-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 45px;
}

.youtube-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;

    background: linear-gradient(
        90deg,
        #ff4fd8,
        #a66cff,
        #8b5cf6
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.youtube-section-header h2 {
    margin: 0;

    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;

    color: #ffffff;
}

.youtube-section-header p {
    margin: 20px auto 0;

    max-width: 650px;

    font-size: 1rem;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.65);
}

.youtube-section-header strong {
    color: #ffffff;
}


/* ---------------------------------------------------------
   GRILLE
   --------------------------------------------------------- */

.youtube-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 28px;

    width: 100%;
}


/* ---------------------------------------------------------
   CARTE VIDÉO
   --------------------------------------------------------- */

.youtube-card {
    position: relative;

    overflow: hidden;

    border-radius: 26px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.025)
        );

    border: 1px solid rgba(255, 255, 255, 0.09);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.30),
        0 0 0 rgba(176, 92, 255, 0);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        transform 0.45s cubic-bezier(.2,.8,.2,1),
        border-color 0.45s ease,
        box-shadow 0.45s ease;
}

.youtube-card::before {
    content: "";

    position: absolute;

    top: -120px;
    left: -120px;

    width: 260px;
    height: 260px;

    border-radius: 50%;

    background: rgba(255, 69, 211, 0.16);

    filter: blur(70px);

    pointer-events: none;

    transition: opacity 0.4s ease;
}

.youtube-card::after {
    content: "";

    position: absolute;

    right: -120px;
    bottom: -120px;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    background: rgba(124, 92, 255, 0.18);

    filter: blur(75px);

    pointer-events: none;
}

.youtube-card:hover {
    transform: translateY(-8px);

    border-color: rgba(214, 112, 255, 0.40);

    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.38),
        0 0 55px rgba(176, 92, 255, 0.12);
}


/* ---------------------------------------------------------
   VIDEO
   --------------------------------------------------------- */

.youtube-video-wrapper {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #08070c;
}

.youtube-video-wrapper iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;

    display: block;
}


/* ---------------------------------------------------------
   CONTENU DE LA CARTE
   --------------------------------------------------------- */

.youtube-card-content {
    position: relative;

    z-index: 2;

    padding: 25px 26px 28px;
}

.youtube-card-label {
    display: inline-block;

    margin-bottom: 10px;

    font-size: 0.68rem;
    font-weight: 800;

    letter-spacing: 0.16em;

    color: rgba(255, 255, 255, 0.45);
}

.youtube-card-content h3 {
    margin: 0;

    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.2;

    color: #ffffff;

    font-weight: 800;
}

.youtube-card-content p {
    margin: 12px 0 20px;

    font-size: 0.92rem;
    line-height: 1.6;

    color: rgba(255, 255, 255, 0.55);
}


/* ---------------------------------------------------------
   BOUTON YOUTUBE
   --------------------------------------------------------- */

.youtube-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 44px;

    padding: 0 18px;

    border-radius: 999px;

    text-decoration: none;

    font-size: 0.85rem;
    font-weight: 800;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #ff3fc8,
            #9b5cff
        );

    box-shadow:
        0 8px 25px rgba(181, 73, 255, 0.20);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        filter 0.3s ease;
}

.youtube-button span {
    font-size: 0.78rem;
}

.youtube-button:hover {
    transform: translateY(-2px);

    filter: brightness(1.08);

    box-shadow:
        0 12px 35px rgba(181, 73, 255, 0.34);
}

.youtube-button:active {
    transform: translateY(0);
}


/* ---------------------------------------------------------
   ANIMATION D'APPARITION
   Compatible avec ton système .reveal existant
   --------------------------------------------------------- */

.youtube-section.reveal {
    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(.2,.8,.2,1);
}

.youtube-section.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ---------------------------------------------------------
   RESPONSIVE TABLETTE
   --------------------------------------------------------- */

@media (max-width: 850px) {

    .youtube-section {
        width: min(100% - 30px, 700px);

        margin-top: 80px;

        padding-top: 60px;
    }

    .youtube-grid {
        grid-template-columns: 1fr;

        gap: 24px;
    }

    .youtube-card {
        border-radius: 22px;
    }

}


/* ---------------------------------------------------------
   RESPONSIVE MOBILE
   --------------------------------------------------------- */

@media (max-width: 520px) {

    .youtube-section {
        width: calc(100% - 24px);

        margin-top: 65px;

        padding-top: 45px;
    }

    .youtube-section-header {
        margin-bottom: 30px;
    }

    .youtube-section-header h2 {
        font-size: 2rem;
    }

    .youtube-section-header p {
        font-size: 0.9rem;

        line-height: 1.6;
    }

    .youtube-grid {
        gap: 18px;
    }

    .youtube-card {
        border-radius: 19px;
    }

    .youtube-card-content {
        padding: 20px 19px 22px;
    }

    .youtube-card-content h3 {
        font-size: 1.2rem;
    }

    .youtube-card-content p {
        font-size: 0.86rem;
    }

    .youtube-button {
        width: 100%;
    }

}