/* ==========================================
   ONDE LIBRE RADIO - HISTOIRE DU ROCK
   DESIGN CSS
========================================== */


*,
*::before,
*::after{
box-sizing:border-box;
}


html,body{

position:static !important;

overflow:visible !important;

}


body{

margin:0;

background:#020308;

color:#ddd;

font-family:
"Segoe UI",
Arial,
sans-serif;

}


main{

scroll-behavior:smooth;

}





/* BARRE PROGRESSION */

#progress{

position:fixed;

top:0;

left:0;

height:5px;

width:0;

background:
linear-gradient(
90deg,
#00f6ff,
#8b5cff,
#ff00cc
);

z-index:9999;

box-shadow:
0 0 15px #00f6ff;

}





/* CANVAS */

#stars{

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

z-index:-1;

}






/* HERO */

.hero{

height:100vh;

min-height:650px;

display:flex;

align-items:center;

justify-content:center;

text-align:center;


background:

linear-gradient(
rgba(0,0,0,.65),
rgba(0,0,0,.9)
),

url("img/rock-stage.jpg")

center/cover fixed;


position:relative;

}



.hero::after{

content:"";

position:absolute;

inset:0;

background:

radial-gradient(
circle,
rgba(0,246,255,.2),
transparent 45%
);

}





.hero-content{

position:relative;

z-index:2;

padding:20px;

}





.back-btn{

display:inline-block;

padding:15px 35px;

border-radius:50px;

background:#111;

border:1px solid #00f6ff;

color:#00f6ff;

text-decoration:none;

font-size:16px;

cursor:pointer;

margin-bottom:40px;

transition:.3s;

}

.back-btn:hover{

background:#00f6ff;

color:#000;

}





h1{

font-size:

clamp(45px,8vw,90px);

margin:0;

letter-spacing:8px;

text-transform:uppercase;

}





.subtitle{

font-size:22px;

letter-spacing:4px;

color:#ccc;

}





#explore{

margin-top:40px;

padding:15px 35px;

border:none;

border-radius:50px;

background:#111;

border:1px solid #00f6ff;

color:#00f6ff;

font-size:16px;

cursor:pointer;

transition:.3s;

}



#explore:hover{

background:#00f6ff;

color:#000;

}







/* STATS */


.stats{

display:grid;

grid-template-columns:
repeat(4,1fr);

gap:20px;

max-width:1100px;

margin:-80px auto 80px;

position:relative;

z-index:5;

padding:20px;

}



.stat{


background:

rgba(255,255,255,.03);


backdrop-filter:blur(20px);


border-radius:20px;

padding:30px;

text-align:center;


position:relative;


overflow:hidden;


box-shadow:

0 20px 40px rgba(0,0,0,.5);


border:

1px solid rgba(0,246,255,.15);

transition:.3s;

}


.stat::before{

content:"";

position:absolute;

top:-2px;

left:-2px;

right:-2px;

bottom:-2px;

border-radius:22px;

background:

linear-gradient(
135deg,
rgba(0,246,255,.3),
transparent 40%,
transparent 60%,
rgba(139,92,255,.3)
);

z-index:-1;

opacity:0;

transition:.4s;

}


.stat:hover::before{

opacity:1;

}


.stat:hover{

transform:translateY(-5px);

border-color:rgba(0,246,255,.4);

box-shadow:

0 20px 50px rgba(0,0,0,.6),
0 0 30px rgba(0,246,255,.1);

}



.stat strong{

display:block;

font-size:45px;

color:#00f6ff;

text-shadow:

0 0 20px #00f6ff;

}



.stat span{

color:#aaa;

}







/* INTRO */


.intro{

max-width:900px;

margin:auto;

padding:40px 25px;

text-align:center;

position:relative;

}


.intro::after{

content:"◆ ◆ ◆";

display:block;

margin-top:40px;

color:rgba(0,246,255,.25);

letter-spacing:15px;

font-size:12px;

}



.intro h2{

font-size:35px;

color:#00f6ff;

}



.intro p{

font-size:18px;

line-height:1.8;

}



.quote{

margin-top:40px;

padding:30px;

font-size:22px;

font-style:italic;


border-left:

4px solid #00f6ff;


background:

rgba(0,246,255,.03);

border-radius:0 15px 15px 0;

position:relative;

box-shadow:

0 10px 30px rgba(0,0,0,.3);

}







/* TIMELINE */


.timeline{

max-width:1000px;

margin:auto;

position:relative;

padding:50px 20px;

}


.timeline::after{

content:"";

display:block;

width:200px;

height:1px;

margin:0 auto 30px;

background:

linear-gradient(
90deg,
transparent,
#00f6ff,
transparent
);

}



.timeline::before{

content:"";

position:absolute;

left:50%;

top:0;

bottom:0;

width:3px;

background:

linear-gradient(
#00f6ff,
#8b5cff,
#ff00cc
);

}




.era{

display:flex;

justify-content:flex-end;

width:50%;

padding:30px;

position:relative;

}


.era::before{

content:"";

position:absolute;

top:55px;

right:-10px;

width:20px;

height:20px;

border-radius:50%;

background:

radial-gradient(
circle,
#00f6ff,
#0066ff
);

box-shadow:

0 0 15px #00f6ff,
0 0 30px rgba(0,246,255,.4);

z-index:2;

transition:.3s;

}


.era:hover::before{

transform:scale(1.4);

box-shadow:

0 0 25px #00f6ff,
0 0 50px rgba(0,246,255,.6);

}


.era:nth-child(even){

margin-left:50%;

justify-content:flex-start;

}


.era:nth-child(even)::before{

right:auto;

left:-10px;

}





.year{

position:absolute;

top:50px;

right:-90px;

font-size:30px;

font-weight:900;

color:#00f6ff;

}



.era:nth-child(even) .year{

left:-90px;

right:auto;

}





.card{


width:100%;

background:

rgba(255,255,255,.04);


border-radius:25px;


padding:30px;


backdrop-filter:blur(20px);


transition:.4s;


position:relative;


overflow:hidden;


box-shadow:

0 20px 50px rgba(0,0,0,.5);


border:

1px solid transparent;


background-clip:padding-box;

}


.card::before{

content:"";

position:absolute;

inset:-2px;

border-radius:27px;

padding:2px;

background:

linear-gradient(
135deg,
rgba(0,246,255,.6),
rgba(139,92,255,.4),
rgba(255,0,204,.3),
rgba(0,246,255,.6)
);

-webkit-mask:

linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);

mask:

linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);

-webkit-mask-composite:xor;

mask-composite:exclude;

z-index:-1;

transition:.4s;

}


.card::after{

content:"";

position:absolute;

top:-50%;

left:-50%;

width:200%;

height:200%;

background:

radial-gradient(
circle at 30% 30%,
rgba(0,246,255,.08),
transparent 40%
);

z-index:-1;

transition:.5s;

pointer-events:none;

}



.card:hover{


transform:

translateY(-10px) scale(1.02);


box-shadow:

0 0 40px rgba(0,246,255,.3),
0 0 80px rgba(139,92,255,.15),
0 20px 60px rgba(0,0,0,.6);

}


.card:hover::before{

background:

linear-gradient(
135deg,
rgba(0,246,255,.9),
rgba(139,92,255,.7),
rgba(255,0,204,.6),
rgba(0,246,255,.9)
);

}


.card:hover::after{

background:

radial-gradient(
circle at 30% 30%,
rgba(0,246,255,.15),
transparent 50%
);

}




.card h2{

color:#00f6ff;

font-size:28px;

}



.tag{

display:inline-block;

padding:6px 15px;

border-radius:20px;

background:

rgba(0,246,255,.15);

color:#00f6ff;

margin-bottom:15px;

font-size:13px;

}



.card p{

line-height:1.7;

}





.artists{

display:flex;

flex-wrap:wrap;

gap:10px;

margin-top:20px;

}



.artists span{

background:#111;

padding:8px 14px;

border-radius:20px;

font-size:13px;

border:1px solid #333;

}








/* (playlist retirée) */











/* FOOTER */


footer{

text-align:center;

padding:40px 40px 30px;

border-top:

1px solid rgba(0,246,255,.1);

background:

linear-gradient(
180deg,
rgba(0,246,255,.03),
rgba(0,0,0,.5)
);

position:relative;

}


footer::before{

content:"";

position:absolute;

top:0;

left:50%;

transform:translateX(-50%);

width:150px;

height:1px;

background:

linear-gradient(
90deg,
transparent,
#00f6ff,
transparent
);

}



footer img{

height:60px;

filter:

drop-shadow(0 0 10px rgba(0,246,255,.4));

transition:.3s;

border-radius:12px;

}


footer img:hover{

filter:

drop-shadow(0 0 20px rgba(0,246,255,.7));

transform:scale(1.05);

}



footer p{

color:#888;

}








/* ANIMATIONS */


.fade{

opacity:0;

transform:translateY(50px);

transition:

1s;

}



.fade.visible{

opacity:1;

transform:none;

}


@keyframes pulse-glow{

0%,100%{box-shadow:0 0 15px #00f6ff;}

50%{box-shadow:0 0 35px #00f6ff,0 0 60px rgba(139,92,255,.3);}

}


@keyframes float{

0%,100%{transform:translateY(0);}

50%{transform:translateY(-8px);}

}


@keyframes shimmer{

0%{background-position:-200% center;}

100%{background-position:200% center;}

}


#explore{

animation:pulse-glow 3s ease-in-out infinite;

}


h1{

background:

linear-gradient(
90deg,
#00f6ff,
#8b5cff,
#ff00cc,
#00f6ff
);

background-size:200% auto;

-webkit-background-clip:text;

background-clip:text;

-webkit-text-fill-color:transparent;

animation:shimmer 6s linear infinite;

}








#top{

position:fixed;

bottom:30px;

right:30px;


width:55px;

height:55px;

border-radius:50%;


background:#00f6ff;

border:none;

font-size:22px;

cursor:pointer;

display:none;


box-shadow:

0 0 25px #00f6ff;

}








/* RESPONSIVE */


@media(max-width:900px){


.stats{

grid-template-columns:
repeat(2,1fr);

}


.timeline::before{

left:20px;

}



.era,
.era:nth-child(even){

width:100%;

margin:0;

padding-left:60px;

justify-content:flex-start;

}

.deco-side{

display:none;

}



.year,
.era:nth-child(even) .year{

left:-5px;

right:auto;

font-size:22px;

}



h1{

letter-spacing:3px;

}


}




@media(max-width:600px){


.stats{

grid-template-columns:1fr;

}



.card{

padding:20px;

}



.card h2{

font-size:22px;

}


.subtitle{

font-size:15px;

}



}
/* SCROLLBAR */


::-webkit-scrollbar{

width:8px;

}


::-webkit-scrollbar-track{

background:#020308;

}


::-webkit-scrollbar-thumb{

background:

linear-gradient(
180deg,
#00f6ff,
#8b5cff
);

border-radius:10px;

}


::-webkit-scrollbar-thumb:hover{

background:

linear-gradient(
180deg,
#00f6ff,
#ff00cc
);

}


/* SELECTION */


::selection{

background:rgba(0,246,255,.3);

color:#fff;

}

/* SECTION DIVIDER */

.section-divider{

text-align:center;

padding:30px 0;

}

.section-divider span{

display:inline-block;

font-size:28px;

animation:float 3s ease-in-out infinite;

filter:drop-shadow(0 0 15px rgba(0,246,255,.5));

}

/* INTRO IMAGE */

.intro-img{

display:block;

max-width:350px;

margin:35px auto 0;

border-radius:20px;

border:2px solid rgba(0,246,255,.2);

box-shadow:

0 15px 40px rgba(0,0,0,.5),
0 0 30px rgba(0,246,255,.1);

transition:.4s;

}


.intro-img:hover{

border-color:rgba(0,246,255,.5);

box-shadow:

0 15px 50px rgba(0,0,0,.6),
0 0 40px rgba(0,246,255,.2);

transform:scale(1.02);

}

/* TIMELINE DECORATIONS */

.deco-side{

position:absolute;

top:50%;

transform:translateY(-50%);

width:353px;

height:353px;

pointer-events:none;

opacity:0.35;

z-index:0;

transition:opacity .5s;

}

.era:hover .deco-side{

opacity:0.85;

}

.era:hover .deco-img{

filter:grayscale(10%) brightness(1);

}

.era:nth-child(odd) .deco-side{

left:calc(100% + 30px);

}

.era:nth-child(even) .deco-side{

right:calc(100% + 30px);

left:auto;

}

.deco-img{

width:100%;

height:100%;

object-fit:cover;

border-radius:50%;

filter:grayscale(60%) brightness(.7);

border:2px solid rgba(0,246,255,.2);

box-shadow:0 0 30px rgba(0,246,255,.15);

animation:float 4s ease-in-out infinite;

}

.deco-img:nth-child(2n){

animation-delay:1s;

}

/* CAROUSEL */

.carousel{

overflow:hidden;

margin-top:20px;

border-radius:15px;

border:1px solid rgba(0,246,255,.15);

position:relative;

height:180px;

}


.carousel::before{

content:"";

position:absolute;

top:0;

left:0;

width:40px;

height:100%;

background:

linear-gradient(90deg,rgba(0,0,0,.8),transparent);

z-index:2;

pointer-events:none;

}


.carousel::after{

content:"";

position:absolute;

top:0;

right:0;

width:40px;

height:100%;

background:

linear-gradient(-90deg,rgba(0,0,0,.8),transparent);

z-index:2;

pointer-events:none;

}


.carousel-track{

display:flex;

gap:8px;

height:100%;

animation:carousel-scroll 25s linear infinite;

width:max-content;

}


.carousel:hover .carousel-track{

animation-play-state:paused;

}


.carousel-track img{

height:100%;

width:auto;

object-fit:cover;

border-radius:10px;

border:1px solid rgba(0,246,255,.1);

transition:.3s;

flex-shrink:0;

filter:brightness(.8);

}


.carousel-track img:hover{

filter:brightness(1.1);

border-color:rgba(0,246,255,.5);

box-shadow:0 0 20px rgba(0,246,255,.3);

}


@keyframes carousel-scroll{

0%{transform:translateX(0);}

100%{transform:translateX(-50%);}

}

/* BANDEAU D�FILANT */

.ticker{

overflow:hidden;

background:

linear-gradient(
90deg,
rgba(0,246,255,.08),
rgba(139,92,255,.08),
rgba(255,0,204,.08),
rgba(0,246,255,.08)
);

border-top:1px solid rgba(0,246,255,.2);

border-bottom:1px solid rgba(0,246,255,.2);

padding:14px 0;

position:relative;

}


.ticker::before{

content:"";

position:absolute;

top:0;

left:0;

width:80px;

height:100%;

background:linear-gradient(90deg,#020308,transparent);

z-index:2;

}


.ticker::after{

content:"";

position:absolute;

top:0;

right:0;

width:80px;

height:100%;

background:linear-gradient(-90deg,#020308,transparent);

z-index:2;

}


.ticker-track{

display:flex;

gap:0;

white-space:nowrap;

animation:ticker-scroll 60s linear infinite;

width:max-content;

}


.ticker-track span{

font-size:15px;

font-weight:700;

text-transform:uppercase;

letter-spacing:2px;

color:rgba(0,246,255,.6);

padding:0 6px;

transition:.3s;

}


.ticker-track .dot{

color:rgba(139,92,255,.35);

font-size:8px;

vertical-align:middle;

padding:0 10px;

}


.ticker-track span:not(.dot):hover{

color:#00f6ff;

text-shadow:0 0 15px #00f6ff;

cursor:default;

}


@keyframes ticker-scroll{

0%{transform:translateX(0);}

100%{transform:translateX(-50%);}

}

/* RADIO PLAYER */

.radio-player{

position:relative;

top:auto;

left:auto;

right:auto;

margin:0 auto 20px;

width:830px;

max-width:95%;

padding:4px;

border-radius:20px;

background:
linear-gradient(
135deg,
rgba(0,246,255,.4),
rgba(139,92,255,.3),
rgba(255,0,204,.3),
rgba(0,246,255,.4)
);

z-index:999999;

}


.radio-glow{

position:absolute;

inset:-2px;

border-radius:22px;

background:

linear-gradient(
135deg,
#00f6ff,
#8b5cff,
#ff00cc,
#00f6ff
);

background-size:300% 300%;

animation:gradient-shift 4s ease infinite;

filter:blur(8px);

opacity:.35;

z-index:-1;

}


@keyframes gradient-shift{

0%{background-position:0% 50%;}

50%{background-position:100% 50%;}

100%{background-position:0% 50%;}

}


.radio-inner{

display:flex;

align-items:center;

justify-content:space-between;

padding:16px 20px;

border-radius:17px;

background:

rgba(2,3,8,.9);

backdrop-filter:blur(15px);

}


.radio-left{

display:flex;

align-items:center;

gap:14px;

}


.radio-icon{

font-size:28px;

filter:drop-shadow(0 0 8px rgba(0,246,255,.5));

animation:float 3s ease-in-out infinite;

}


.radio-text strong{

display:block;

color:#00f6ff;

font-size:15px;

letter-spacing:1px;

}


.radio-text small{

color:#888;

font-size:12px;

}


.radio-controls{

display:flex;

align-items:center;

gap:16px;

}


.radio-play{

width:48px;

height:48px;

border-radius:50%;

border:2px solid #00f6ff;

background:

rgba(0,246,255,.1);

color:#00f6ff;

font-size:18px;

cursor:pointer;

transition:.3s;

}


.radio-play:hover{

background:rgba(0,246,255,.25);

box-shadow:

0 0 25px rgba(0,246,255,.4);

transform:scale(1.08);

}


.radio-player.on .radio-play{

background:#00f6ff;

color:#000;

box-shadow:

0 0 30px rgba(0,246,255,.5);

animation:pulse-glow 2s ease-in-out infinite;

}


.radio-viz{

display:flex;

align-items:flex-end;

gap:3px;

height:30px;

opacity:.3;

transition:.3s;

}


.radio-player.on .radio-viz{

opacity:1;

}


.radio-viz span{

width:4px;

background:#00f6ff;

border-radius:2px;

height:4px;

transition:.1s;

}


.radio-player.on .radio-viz span:nth-child(1){

animation:bar1 .6s ease-in-out infinite;

}


.radio-player.on .radio-viz span:nth-child(2){

animation:bar2 .5s ease-in-out infinite .1s;

}


.radio-player.on .radio-viz span:nth-child(3){

animation:bar3 .7s ease-in-out infinite .05s;

}


.radio-player.on .radio-viz span:nth-child(4){

animation:bar2 .55s ease-in-out infinite .15s;

}


.radio-player.on .radio-viz span:nth-child(5){

animation:bar1 .65s ease-in-out infinite .08s;

}


@keyframes bar1{

0%,100%{height:4px;}

50%{height:28px;}

}


@keyframes bar2{

0%,100%{height:6px;}

50%{height:22px;}

}


@keyframes bar3{

0%,100%{height:8px;}

50%{height:30px;}

}
