:root {
  --NEW-media-width: 500px;
  --main-logo-blob: rgb(255, 255, 255);
}

#NEWbackground {
  position: fixed; top:0; left:0; width:100%; height:100%; z-index:-2;
  transition: background 1s ease;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: transparent;
  color: #fff;
}

h2 {
  text-align: center;
  margin: 20px 0;
  color: #fff;
  width: 100%;
}

/* cercle flou derrière background */
#NEWcircle-bg { position:fixed; inset:0; z-index:-1; overflow:hidden; pointer-events:none; }
#NEWcircle-bg canvas { position:absolute; top:-10%; left:-10%; width:120%; height:120%; filter:blur(80px); }

.NEW-main-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 60px;
  gap: 50px;
  max-width: 1800px;
  margin: 0 auto;
}

.NEWmedia-zone-wrapper {
  flex: 0 0 var(--NEW-media-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#NEWwebm-container {
  position: relative;
  width: 100%;
  border-radius: 16px;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 6px 24px rgba(0,0,0,0.45), inset 0 0 16px rgba(255,255,255,0.15);
}

.NEWgif-wrapper {
  perspective: 1000px;
  position: relative;
}

video.NEWgif-container {
  width: 100%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  display: block;
  mask-mode: alpha;
}

#NEWsvgCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  background: transparent;
  opacity: 0;
}

.NEWclick-animation {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 350px;
  height: 350px;
  transform: translate(-50%,-50%);
  pointer-events: none;
  display: none;
}

.NEWaudio-controller {
  position: relative !important;
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 16px;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 6px 24px rgba(0,0,0,0.45), inset 0 0 16px rgba(255,255,255,0.15);
  color: #fff;
  z-index: 9999;
  overflow: hidden;
}

.NEWaudio-controller::before,
.NEWaudio-controller::after {
  content: '';
  position: absolute;
  top: -50%;
  bottom: -50%;
  width: 120%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
  transform: rotate(45deg);
  pointer-events: none;
}

.NEWaudio-controller .NEWampli-bg {
  display: none;
}

.NEWbtn-play {
  font-size: 18px;
  padding: 12px 12px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  color: #fff;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: inset 0 0 10px rgba(255,255,255,0.25), 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}
.material-symbols-rounded {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 28px; /* Ajustez selon vos besoins */
  vertical-align: middle;
}

.NEWbtn-play:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.05);
  box-shadow: inset 0 0 12px rgba(255,255,255,0.35), 0 6px 14px rgba(0,0,0,0.3);
}

.NEWbtn-play:active {
  transform: scale(0.95);
  box-shadow: inset 0 0 14px rgba(255,255,255,0.4), 0 2px 8px rgba(0,0,0,0.2);
}

.NEWslider-progress, .NEWknob {
  width: 100%;
  height: 12px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 0 10px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.25);
  cursor: pointer;
}

.NEWcontrol-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 15px;
  width: 100%;
  margin-top: 10px;
}

.NEWknob-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  text-align: center;
}

.NEWslider-progress::-webkit-slider-runnable-track,
.NEWknob::-webkit-slider-runnable-track,
.NEWslider-progress::-moz-range-track,
.NEWknob::-moz-range-track {
  height: 12px;
  border-radius: 50px;
  background: rgba(255,255,255,0.05);
}

.NEWslider-progress::-webkit-slider-thumb,
.NEWknob::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(255,255,255,0.6), 0 0 6px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.NEWslider-progress:active::-webkit-slider-thumb,
.NEWknob:active::-webkit-slider-thumb {
  transform: scale(0.95);
}

.NEWslider-progress:hover::-webkit-slider-thumb,
.NEWknob:hover::-webkit-slider-thumb {
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(255,255,255,0.7), 0 0 10px rgba(0,0,0,0.6);
}

#NEWalbums-container {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 15px;
  align-content: flex-start;
}

.NEWalbum {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
}

.NEWalbum-thumb {
  position: relative;
  width: 200px;
  height: 300px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border-radius: 10px;
  transition: transform .18s ease;
}

.NEWalbum-thumb:hover {
  transform: scale(1.06);
}

.NEWalbum video.NEWconfirm {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  mask-mode: alpha;
}

.NEWalbum-title {
  margin-top: 8px;
  margin-bottom: 8px;
  color: #000;
  font-size: 16px;
  text-align: center;
  line-height: 1.1;
}

@media (max-width: 1024px) {
  .NEW-main-layout {
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 30px;
  }
  .NEWmedia-zone-wrapper {
    flex: none;
    width: 100%;
  }
  #NEWalbums-container {
    justify-content: center;
    width: 100%;
    gap:0px;
  }
  .NEWalbum {
    width:50%;
    height:50%;
  }
}

:root {
  --side-margin: -3vw;
  --main-bg: rgba(28,31,34,1);
  --neon: rgb(255,255,255);
  --shadow: 
    0 0 5px rgba(255,0,0,0.7),
    0 0 10px rgba(255,0,0,0.5),
    0 0 20px rgba(255,0,0,0.4),
    0 0 40px rgba(255,0,0,0.3),
    0 0 80px rgba(255,0,0,0.2);
  --font: rgb(255,255,255);
  --card-t: rgb(0,0,0);
  --txt-back: rgba(255,255,255,0.05);
  --txt-back-r: rgba(0,0,0,0.05);
  --main-bg-a: rgba(28,31,34,0);
}


@media (max-width: 480px) {
  .header-spacer {
    height: 100px; !important
  }
}