/* Cinematic Dark (minimal) — MathiasCaers */
:root{
  --bg:#07070b;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.04);
  --text:#f2f3f7;
  --muted: rgba(242,243,247,.70);
  --line: rgba(255,255,255,.10);
  --accent:#8b5cf6;
  --accent2:#22c55e;
  --shadow: 0 18px 70px rgba(0,0,0,.45);
  --r:18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:
    radial-gradient(900px 650px at 15% -10%, rgba(139,92,246,.25), transparent 65%),
    radial-gradient(900px 650px at 85% 10%, rgba(34,197,94,.10), transparent 60%),
    radial-gradient(1200px 900px at 50% 100%, rgba(255,255,255,.05), transparent 70%),
    var(--bg);
  color:var(--text);
}

a{color:inherit}
.container{width:min(1100px, 92vw); margin:0 auto;}
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(7,7,11,.68);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.topbar__in{display:flex; justify-content:space-between; align-items:center; gap:14px; padding:14px 0;}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none;}
.brand__dot{width:10px;height:10px;border-radius:999px;background:linear-gradient(90deg,var(--accent),var(--accent2)); box-shadow:0 0 30px rgba(139,92,246,.45)}
.brand__name{font-weight:800; letter-spacing:1px; font-size:14px}
.nav{display:flex; gap:16px; align-items:center}
.nav a{color:var(--muted); text-decoration:none; font-weight:700; font-size:13px}
.nav a:hover{color:var(--text)}
.pill{
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  padding:8px 12px; border-radius:999px;
  text-decoration:none; font-weight:800; font-size:13px;
}
.pill:hover{background: rgba(255,255,255,.06)}

.hero{
  padding:90px 0 70px;
  position:relative; overflow:hidden;
}
.hero__bg{
  position:absolute; inset:-120px;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity:.22;
  filter: blur(0px) saturate(1.1);
  transform: scale(1.02);
}
.hero__overlay{
  position:absolute; inset:0;
  background: radial-gradient(900px 500px at 20% 20%, rgba(139,92,246,.18), transparent 60%),
              linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.75));
}
.hero__in{position:relative; text-align:center}
.kicker{margin:0 0 10px; color:rgba(242,243,247,.58); letter-spacing:3px; font-size:12px; text-transform:uppercase}
.h1{margin:0; font-size:64px; letter-spacing:2px; font-weight:300}
.tag{margin:10px 0 18px; color:var(--muted); font-size:16px}
.btnRow{display:flex; justify-content:center; flex-wrap:wrap; gap:10px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  text-decoration:none; font-weight:800; font-size:13px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22)}
.btn--primary{border-color: rgba(139,92,246,.55); background: linear-gradient(90deg, rgba(139,92,246,.34), rgba(34,197,94,.14))}
.stats{margin-top:14px; color:rgba(242,243,247,.62); font-size:13px}

.section{padding:72px 0}
.section--alt{background: linear-gradient(to bottom, transparent, rgba(255,255,255,.02), transparent)}
.head{margin-bottom:18px}
.head h2{margin:0 0 6px; font-size:28px}
.head p{margin:0; color:var(--muted)}

.card{
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding:18px;
}

.release{display:grid; grid-template-columns: 280px 1fr; gap:18px; align-items:center; position:relative}
.art{position:relative; width:280px; height:280px}
.art img{
  width:100%; height:100%; object-fit:cover; border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 70px rgba(0,0,0,.5);
}
.vinyl{
  position:absolute; inset:0; border-radius:999px;
  background: radial-gradient(circle at center, rgba(0,0,0,.2), rgba(0,0,0,.8) 60%);
  filter: blur(.2px);
  transform: translateX(-28px);
  opacity:.5;
}
.badge{
  display:inline-flex; gap:8px; align-items:center;
  padding:6px 10px; border-radius:999px;
  font-size:12px; letter-spacing:1px;
  background: rgba(139,92,246,.18);
  border:1px solid rgba(139,92,246,.34);
  width:fit-content;
}
.player{width:100%; margin:12px 0 10px}

.grid2{display:grid; grid-template-columns:1fr 1fr; gap:16px}
.tracklist{display:flex; flex-direction:column; gap:10px}
.track{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:12px 14px; border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
}
.tmeta{display:flex; gap:10px; align-items:baseline; flex-wrap:wrap}
.muted{color:var(--muted)}
.small{font-size:12px; color:rgba(242,243,247,.55)}
.link{color:var(--text); text-decoration:none; font-weight:800; opacity:.9}
.link:hover{opacity:1; text-decoration:underline}

.footer{padding:26px 0 44px; border-top:1px solid rgba(255,255,255,.06)}
.footer__in{display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap}

/* Reveal */
.reveal{opacity:0; transform: translateY(18px); transition: all .8s ease}
.reveal.on{opacity:1; transform: translateY(0)}

/* Admin */
.adminWrap{padding:28px 0 60px}
.adminGrid{display:grid; grid-template-columns: 280px 1fr; gap:16px}
.sidebar{position:sticky; top:86px; align-self:start}
.side a{display:block; padding:10px 12px; border-radius:12px; text-decoration:none; color:var(--muted); font-weight:800; border:1px solid transparent}
.side a:hover{background: rgba(255,255,255,.04); color:var(--text); border-color: rgba(255,255,255,.08)}
.side a.active{background: rgba(139,92,246,.12); border-color: rgba(139,92,246,.25); color:var(--text)}
.field label{display:block; font-size:12px; color:rgba(242,243,247,.65); margin:12px 0 6px}
.field input,.field textarea,.field select{
  width:100%; padding:10px 12px; border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18); color:var(--text);
  outline:none;
}
.field input:focus,.field textarea:focus,.field select:focus{border-color: rgba(139,92,246,.55)}
.row{display:flex; gap:10px; flex-wrap:wrap}
.row > *{flex:1}
.danger{border-color: rgba(239,68,68,.5)!important}
.danger:hover{background: rgba(239,68,68,.12)!important}

@media (max-width: 860px){
  .nav{display:none}
  .h1{font-size:44px}
  .release{grid-template-columns:1fr; text-align:center}
  .art{margin:0 auto}
  .grid2{grid-template-columns:1fr}
  .adminGrid{grid-template-columns:1fr}
  .sidebar{position:relative; top:auto}
}

/* --- CINEMATIC EXTRA EFFECTS --- */

/* Film grain overlay */
body::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:url('https://grainy-gradients.vercel.app/noise.svg');
  opacity:0.04;
  mix-blend-mode:overlay;
}

/* Light sweep animation */
.light-sweep{
  position:absolute;
  top:0; left:-50%;
  width:50%; height:100%;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,0.08), transparent);
  transform:skewX(-20deg);
  animation:sweep 6s infinite;
}
@keyframes sweep{
  0%{left:-50%}
  100%{left:150%}
}

/* Hero intro fade */
body{
  animation:introFade 1.2s ease forwards;
  opacity:0;
}
@keyframes introFade{
  to{opacity:1}
}

/* Vinyl reflection glow */
.vinyl{
  box-shadow:0 0 60px rgba(139,92,246,0.35);
}

/* Slight floating effect */
.card{
  transition:transform .4s ease;
}
.card:hover{
  transform:translateY(-6px);
}

/* Parallax subtle effect */
.hero__bg{
  background-attachment:fixed;
}



/* === RED CINEMATIC THEME (High-end minimal) === */
:root{
  --accent:#ff2a2a;
  --accent2:#ff7a00;
  --panel: rgba(255,255,255,.055);
  --panel2: rgba(255,255,255,.032);
  --line: rgba(255,255,255,.085);
  --shadow: 0 22px 90px rgba(0,0,0,.55);
}

body{
  background:
    radial-gradient(900px 650px at 15% -10%, rgba(255,42,42,.18), transparent 65%),
    radial-gradient(900px 650px at 85% 10%, rgba(255,122,0,.10), transparent 60%),
    radial-gradient(1200px 900px at 50% 100%, rgba(255,255,255,.05), transparent 70%),
    var(--bg);
}

/* Typography refinement */
.h1{font-weight:250; letter-spacing:3px}
.head h2{letter-spacing:.4px}
.btn{letter-spacing:.4px}
.btn--primary{border-color: rgba(255,42,42,.55); background: linear-gradient(90deg, rgba(255,42,42,.34), rgba(255,122,0,.16))}
.badge{background: rgba(255,42,42,.16); border-color: rgba(255,42,42,.35)}

/* Hero slow zoom + subtle vignette */
.hero__bg{
  animation: heroZoom 18s ease-in-out infinite alternate;
  transform-origin: center;
  opacity:.20;
}
@keyframes heroZoom{
  from{ transform: scale(1.02) }
  to{ transform: scale(1.12) }
}
.hero__overlay{
  background:
    radial-gradient(circle at 50% 18%, rgba(255,42,42,.24), transparent 60%),
    radial-gradient(circle at 75% 30%, rgba(255,122,0,.12), transparent 65%),
    linear-gradient(to bottom, rgba(0,0,0,.60), rgba(0,0,0,.88));
}

/* Release spotlight: stronger cinematic glow */
.release::before{
  content:"";
  position:absolute;
  inset:-50px;
  background: radial-gradient(circle at 30% 40%, rgba(255,42,42,.35), transparent 60%);
  z-index:-2;
  filter: blur(70px);
  opacity:.75;
}
.art img{
  box-shadow:
    0 40px 140px rgba(0,0,0,.85),
    0 0 110px rgba(255,42,42,.28);
}

/* Moving mist under cover */
.art::after{
  content:"";
  position:absolute;
  left:-10%;
  bottom:-18%;
  width:120%;
  height:55%;
  background:
    radial-gradient(closest-side at 25% 65%, rgba(255,255,255,.10), transparent 70%),
    radial-gradient(closest-side at 55% 55%, rgba(255,42,42,.10), transparent 72%),
    radial-gradient(closest-side at 80% 60%, rgba(255,122,0,.08), transparent 70%);
  filter: blur(22px);
  opacity:.55;
  z-index:3;
  pointer-events:none;
  animation: mistMove 10s ease-in-out infinite alternate;
}
@keyframes mistMove{
  from{ transform: translateX(-16px) translateY(6px) scale(1.02); opacity:.45 }
  to{ transform: translateX(18px) translateY(-6px) scale(1.08); opacity:.65 }
}

/* Ultra minimal card borders */
.card{border-color: rgba(255,255,255,.075)}
.track{border-color: rgba(255,255,255,.075)}

/* Premium focus ring */
.field input:focus,.field textarea:focus,.field select:focus{border-color: rgba(255,42,42,.55)}


/* Intro overlay */
.introOverlay{
  position:fixed; inset:0; z-index:9999;
  display:none;
  place-items:center;
  background: radial-gradient(900px 700px at 50% 20%, rgba(255,42,42,.22), transparent 60%),
              linear-gradient(to bottom, rgba(0,0,0,.82), rgba(0,0,0,.92));
  backdrop-filter: blur(10px);
}
.introOverlay.show{display:grid;}
.introCard{
  width:min(520px, 92vw);
  text-align:center;
  padding:26px 22px;
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: 0 30px 120px rgba(0,0,0,.7);
}
.introKicker{
  letter-spacing:4px;
  font-size:12px;
  color: rgba(242,243,247,.60);
  text-transform:uppercase;
}
.introTitle{
  margin:12px 0 16px;
  font-size:38px;
  font-weight:250;
  letter-spacing:2px;
}

#demoNote.on{opacity:1}


/* Light beam sweep over hero */
.hero::after{
  content:"";
  position:absolute;
  top:-20%;
  left:-30%;
  width:60%;
  height:160%;
  background: linear-gradient(120deg, transparent, rgba(255,42,42,.18), transparent);
  transform: rotate(15deg);
  animation: beamMove 8s linear infinite;
  pointer-events:none;
  filter: blur(40px);
}

@keyframes beamMove{
  from{ left:-40%; }
  to{ left:120%; }
}


/* Vinyl reflection shimmer */
.art::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background: radial-gradient(circle at 40% 30%, rgba(255,255,255,.25), transparent 60%);
  opacity:.25;
  animation: vinylShine 6s ease-in-out infinite;
  pointer-events:none;
}

@keyframes vinylShine{
  0%{ transform: translateX(-10px) rotate(0deg); opacity:.15; }
  50%{ transform: translateX(10px) rotate(3deg); opacity:.35; }
  100%{ transform: translateX(-10px) rotate(0deg); opacity:.15; }
}


/* Hide default audio */
audio{ display:none; }

.custom-player{
  margin-top:16px;
  display:flex;
  align-items:center;
  gap:14px;
}

.play-btn{
  width:46px;
  height:46px;
  border-radius:50%;
  border:1px solid rgba(255,42,42,.6);
  background: rgba(255,42,42,.15);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:.3s;
}

.play-btn:hover{
  background: rgba(255,42,42,.35);
}

.player-bar{
  flex:1;
  height:4px;
  background: rgba(255,255,255,.15);
  border-radius:10px;
  overflow:hidden;
}

.player-progress{
  width:0%;
  height:100%;
  background: linear-gradient(90deg,#ff2a2a,#ff7a00);
}


/* Hero cinematic fade-in */
.hero__in{opacity:0; transform: translateY(10px); transition: opacity 1.0s ease, transform 1.0s ease;}
body.loaded .hero__in{opacity:1; transform: translateY(0);}


/* Glow when playing */
.release.playing{
  box-shadow: 0 0 120px rgba(255,0,0,.35);
  transition: box-shadow .6s ease;
}


/* Vinyl slide out effect */
.art{
  position:relative;
  overflow:hidden;
}

.art::after{
  content:"";
  position:absolute;
  width:90%;
  height:90%;
  border-radius:50%;
  background: radial-gradient(circle, #111 40%, #000 70%);
  top:5%;
  left:-60%;
  transition: left .6s ease;
  z-index:-1;
}

.art:hover::after{
  left:-20%;
}


/* --- FILM GRAIN OVERLAY --- */
body::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:url('assets/noise.png');
  background-size:220px 220px;
  opacity:0.05;
  mix-blend-mode:overlay;
  animation: grainShift 4.5s steps(6) infinite;
}
@keyframes grainShift{
  0%{ transform:translate3d(0,0,0) }
  20%{ transform:translate3d(-2%,1%,0) }
  40%{ transform:translate3d(2%,-1%,0) }
  60%{ transform:translate3d(-1%,-2%,0) }
  80%{ transform:translate3d(1%,2%,0) }
  100%{ transform:translate3d(0,0,0) }
}


/* --- SMOKE BEHIND COVER --- */
.art{
  position:relative;
}
.art .smoke{
  position:absolute;
  inset:-18%;
  z-index:2;
  pointer-events:none;
  filter: blur(22px) saturate(1.05);
  opacity:0.55;
  mix-blend-mode:screen;
  background:
    radial-gradient(closest-side at 20% 60%, rgba(255,42,42,.16), transparent 70%),
    radial-gradient(closest-side at 55% 50%, rgba(255,122,0,.10), transparent 72%),
    radial-gradient(closest-side at 85% 62%, rgba(255,255,255,.08), transparent 75%);
  animation: smokeDrift 10s ease-in-out infinite alternate;
}
@keyframes smokeDrift{
  from{ transform: translateX(-16px) translateY(8px) scale(1.02); opacity:.42; }
  to{ transform: translateX(18px) translateY(-8px) scale(1.10); opacity:.62; }
}


/* --- 3D VINYL (rotating + reflection) --- */
.vinyl{
  position:absolute;
  top:14px;
  left:-40px;
  width:255px;
  height:255px;
  border-radius:999px;
  z-index:1;
  background:
    radial-gradient(circle at center, rgba(0,0,0,.10) 0 16%, rgba(0,0,0,.85) 18% 100%),
    repeating-radial-gradient(circle at center,
      rgba(255,255,255,.06) 0 2px,
      rgba(0,0,0,.0) 2px 10px
    );
  border:1px solid rgba(255,255,255,.10);
  box-shadow: 0 30px 120px rgba(0,0,0,.75), 0 0 90px rgba(255,42,42,.18);
  transform-style:preserve-3d;
  transform: translateX(-20px) rotateY(14deg) rotateX(6deg);
  animation: vinylSpin 10s linear infinite;
  overflow:hidden;
}
.vinyl::before{
  content:"";
  position:absolute;
  inset:-30%;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%);
  transform: translateX(-30%) rotate(18deg);
  opacity:.22;
  animation: vinylShimmer 5.8s ease-in-out infinite;
}
.vinyl::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:999px;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.25), transparent 55%);
  opacity:.18;
}
@keyframes vinylSpin{
  from{ transform: translateX(-20px) rotateY(14deg) rotateX(6deg) rotateZ(0deg); }
  to{ transform: translateX(-20px) rotateY(14deg) rotateX(6deg) rotateZ(360deg); }
}
@keyframes vinylShimmer{
  0%{ transform: translateX(-40%) rotate(18deg); opacity:.16; }
  50%{ transform: translateX(10%) rotate(18deg); opacity:.28; }
  100%{ transform: translateX(-40%) rotate(18deg); opacity:.16; }
}

/* Slight 3D tilt on hover */
.art:hover .vinyl{
  animation-duration: 6.5s;
  transform: translateX(-10px) rotateY(20deg) rotateX(10deg);
}
