body {
  margin: 0;
  background-color: #000;
  color: #fef200;
  font-family: 'Special Elite', monospace;
  text-align: center;
  background-image: radial-gradient(#222 1px, transparent 1px);
  background-size: 20px 20px;
  animation: bgmove 20s linear infinite;
}

@keyframes bgmove {
  from { background-position: 0 0; }
  to { background-position: 100px 100px; }
}

.hero h1 {
  font-family: 'Rubik Glitch', sans-serif;
  font-size: 5rem;
  margin: 1rem 0;
  color: #fef200;
  text-shadow: 2px 2px #ff0000, -2px -2px #0000ff;
  animation: shakey 0.3s infinite;
}
h1, h2 {
  font-family: 'Rubik Glitch', 'Special Elite', monospace;
  letter-spacing: 2px;
  font-weight: bold;
  text-transform: uppercase;
  text-shadow: 2px 2px #000, -2px -2px #ff0000;
}


@keyframes shakey {
  0% { transform: translate(0, 0); }
  25% { transform: translate(1px, -2px); }
  50% { transform: translate(-2px, 1px); }
  75% { transform: translate(1px, 2px); }
  100% { transform: translate(-1px, -1px); }
}

.subtitle {
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: #ff00cc;
}

.video iframe {
  width: 90%;
  max-width: 720px;
  height: 405px;
  border: 5px dashed #fef200;
  background: #111;
  box-shadow: 0 0 20px #ff0000;
  margin-bottom: 2rem;
}

.infos {
  font-size: 1.2rem;
  margin: 2rem auto;
  padding: 1rem;
  max-width: 800px;
  background: #111;
  border: 4px dotted #ff00cc;
  transform: rotate(-1deg);
}

.badge {
  font-weight: bold;
  color: #00ffcc;
  font-size: 1.1em;
  display: inline-block;
  margin-bottom: 0.5rem;
  transform: rotate(-3deg);
}

a {
  color: #ff0000;
  text-decoration: none;
  font-weight: bold;
  background: #fff;
  padding: 0.3em 0.6em;
  border: 2px solid #000;
  display: inline-block;
  margin-top: 0.5rem;
  transition: transform 0.1s ease;
}

a:hover {
  transform: scale(1.1) rotate(-2deg);
}

footer {
  background: #222;
  padding: 1rem;
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 4rem;
}

.footer-glitch {
  font-family: 'Rubik Glitch', sans-serif;
  color: #ff00cc;
}
.glitch {
  position: relative;
  color: #fef200;
  font-family: 'Rubik Glitch', sans-serif;
  font-size: 5rem;
  animation: shakey 0.3s infinite;
  text-shadow: 2px 2px #ff0000, -2px -2px #00f;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  color: #ff00cc;
  clip: rect(0, 900px, 0, 0);
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 red;
  animation: glitchTop 2s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -2px 0 blue;
  animation: glitchBottom 2s infinite linear alternate-reverse;
}

@keyframes glitchTop {
  0% { clip: rect(0, 9999px, 0, 0); }
  10% { clip: rect(10px, 9999px, 25px, 0); }
  20% { clip: rect(85px, 9999px, 100px, 0); }
  30% { clip: rect(45px, 9999px, 65px, 0); }
  100% { clip: rect(0, 9999px, 0, 0); }
}

@keyframes glitchBottom {
  0% { clip: rect(0, 9999px, 0, 0); }
  10% { clip: rect(55px, 9999px, 80px, 0); }
  20% { clip: rect(15px, 9999px, 35px, 0); }
  30% { clip: rect(65px, 9999px, 95px, 0); }
  100% { clip: rect(0, 9999px, 0, 0); }
}
.tv-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.tv-frame {
  position: relative;
  width: 90%;
  max-width: 720px;
  aspect-ratio: 16/9;
  background: #000;
  border: 8px solid #fef200;
  box-shadow:
    0 0 10px #ff00cc,
    0 0 40px #ff00cc,
    inset 0 0 20px #fef200;
  transform: rotate(-0.5deg);
  animation: vhsWobble 0.2s infinite;
  overflow: hidden;
}


.tv-frame::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.02) 2px,
    transparent 2px,
    transparent 4px
  );
  pointer-events: none;
  animation: scanlines 1s linear infinite;
  z-index: 2;
}

.tv-frame iframe {
  width: 100%;
  height: 100%;
  z-index: 1;
  border: none;
  filter: contrast(1.1) saturate(1.4);
}

@keyframes vhsWobble {
  0% { transform: rotate(-0.5deg) scale(1.01); }
  50% { transform: rotate(0.5deg) scale(1); }
  100% { transform: rotate(-0.5deg) scale(1.01); }
}

@keyframes scanlines {
  0% { background-position: 0 0; }
  100% { background-position: 0 100%; }
}
.unmute-button {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: #fef200;
  color: #000;
  font-weight: bold;
  border: 2px solid #000;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-family: 'Special Elite', monospace;
  cursor: pointer;
  box-shadow: 2px 2px #ff00cc;
  animation: shakey 0.4s infinite;
}

.unmute-button:hover {
  background: #ff00cc;
  color: white;
  border-color: white;
}

.tv-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}
.tv-frame::after {
  content: "";
  position: absolute;
  left: 0;
  top: -20%;
  width: 100%;
  height: 15%;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 100%
  );
  z-index: 4;
  pointer-events: none;
  animation: vhs-scanline 5s infinite ease-in-out;
  mix-blend-mode: screen;
}

@keyframes vhs-scanline {
  0% { top: -20%; opacity: 0; }
  10% { opacity: 1; }
  50% { top: 90%; opacity: 0.4; }
  90% { opacity: 1; }
  100% { top: 120%; opacity: 0; }
}
.tv-frame::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.02) 0px,
    rgba(255,255,255,0.02) 1px,
    transparent 1px,
    transparent 2px
  );
  animation: flashGrain 8s infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes flashGrain {
  0%, 97%, 100% { opacity: 0; }
  98% { opacity: 0.4; transform: scale(1.01); }
  99% { opacity: 0.1; transform: scale(1.03); }
}
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-image: url('noise-texture.jpg');
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
body {
  background: linear-gradient(135deg, #000 50%, #8b0000 50%);
  background-size: 100% 100%;
  color: #fef200;
  font-family: 'Special Elite', monospace;
  text-align: center;
  overflow-x: hidden;
}

.dates {
  margin: 3rem auto;
  padding: 2rem;
  background: #111;
  border: 4px dashed #fef200;
  max-width: 700px;
  transform: rotate(1deg);
  box-shadow: 0 0 15px #ff00cc;
  font-family: 'Special Elite', monospace;
}

.dates h2 {
  font-size: 2.5rem;
  color: #ff00cc;
  text-shadow: 1px 1px #fef200;
  margin-bottom: 1rem;
  transform: rotate(-2deg);
  animation: shakey 0.4s infinite;
}

.dates ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #fef200;
  text-align: left;
}

.dates li {
  padding: 0.5rem;
  border-left: 4px solid #ff00cc;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  transform: rotate(-1deg);
  transition: all 0.2s ease-in-out;
}

.dates li:hover {
  background: #ff00cc;
  color: black;
  transform: rotate(1deg) scale(1.02);
}

.date {
  font-weight: bold;
  color: white;
  margin-right: 0.5rem;
}
.galerie {
  margin: 4rem auto;
  padding: 2rem;
  max-width: 1200px;
  background: #111;
  border: 4px dashed #ff00cc;
  box-shadow: 0 0 20px #ff00cc;
  transform: rotate(-1deg);
}

.galerie h2 {
  font-size: 2.5rem;
  color: #ff00cc;
  font-family: 'Rubik Glitch', 'Special Elite', monospace;
  text-shadow: 2px 2px #fef200;
  margin-bottom: 1.5rem;
  animation: shakey 0.3s infinite;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  padding: 0 1rem;
}

.photo-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 4px solid #fef200;
  box-shadow: 0 0 10px #000;
  transition: transform 0.3s ease, filter 0.2s ease;
  transform: rotate(var(--angle, -1deg));
}

.photo-grid img:hover {
  transform: scale(1.03) rotate(var(--angle, 2deg));
  filter: brightness(1.2) contrast(1.1) saturate(1.3);
  z-index: 10;
}
.galerie {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
  background: #111;
  border: 5px dashed #fef200;
  box-shadow: 0 0 15px #ff00cc;
  transform: rotate(-1deg);
}

.galerie h2 {
  font-family: 'Rubik Glitch', 'Special Elite', monospace;
  font-size: 2.5rem;
  color: #ff00cc;
  text-shadow: 2px 2px #fef200;
  animation: shakey 0.3s infinite;
  margin-bottom: 1rem;
}

.galerie {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
  background: #111;
  border: 5px dashed #fef200;
  box-shadow: 0 0 15px #ff00cc;
  transform: rotate(-1deg);
}

.galerie h2 {
  font-family: 'Rubik Glitch', 'Special Elite', monospace;
  font-size: 2.5rem;
  color: #ff00cc;
  text-shadow: 2px 2px #fef200;
  animation: shakey 0.3s infinite;
  margin-bottom: 1rem;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  max-width: 100%;
  height: auto;
  border: 4px solid #fef200;
  box-shadow: 0 0 10px #000;
  transform: rotate(-1deg);
  transition: transform 0.3s ease;
}

.swiper-slide img:hover {
  transform: scale(1.03) rotate(1deg);
}

/* Flèches */
.swiper-button-next,
.swiper-button-prev {
  color: #ff00cc;
}

/* Points */
.swiper-pagination-bullet {
  background: #ff00cc;
}
.soundcloud {
  margin: 4rem auto;
  padding: 2rem;
  background: #111;
  border: 4px dashed #ff00cc;
  max-width: 700px;
  box-shadow: 0 0 15px #fef200;
  transform: rotate(-1deg);
}

.soundcloud h2 {
  font-family: 'Rubik Glitch', 'Special Elite', monospace;
  font-size: 2.3rem;
  color: #ff00cc;
  text-shadow: 2px 2px #fef200;
  margin-bottom: 1rem;
  animation: shakey 0.4s infinite;
}

.soundcloud-player {
  border: 5px solid #fef200;
  box-shadow: 0 0 10px #000;
  transform: rotate(1deg);
  overflow: hidden;
}
.tv-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.tv-frame {
  position: relative;
  width: 90%;
  max-width: 720px;
  background: #000;
  border: 8px solid #fef200;
  box-shadow:
    0 0 10px #ff00cc,
    0 0 40px #ff00cc,
    inset 0 0 20px #fef200;
  transform: rotate(-0.5deg);
  animation: vhsWobble 0.3s infinite;
  overflow: hidden;
}

.tv-frame iframe {
  width: 100%;
  height: 100%;
  z-index: 1;
  border: none;
  filter: contrast(1.1) saturate(1.2);
}

.tv-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.contact {
  max-width: 700px;
  margin: 4rem auto;
  padding: 2rem;
  background: #111;
  border: 4px dashed #00ffcc;
  transform: rotate(1deg);
  box-shadow: 0 0 20px #00ffcc;
  text-align: center;
}

.contact h2 {
  font-family: 'Rubik Glitch', 'Special Elite', monospace;
  font-size: 2.4rem;
  color: #00ffcc;
  text-shadow: 2px 2px #fef200;
  margin-bottom: 1rem;
  animation: shakey 0.4s infinite;
}

.contact p {
  font-size: 1.2rem;
  color: #fef200;
  margin-bottom: 1rem;
}

.contact ul {
  list-style: none;
  padding: 0;
  font-size: 1.1rem;
}

.contact li {
  margin: 0.5rem 0;
  color: #fff;
}

.contact a {
  color: #ff00cc;
  text-decoration: underline;
}

.contact a:hover {
  color: #fef200;
  text-decoration: none;
}
#crazyColorsBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  background: #fef200;
  color: #000;
  border: 2px solid #000;
  font-family: 'Special Elite', monospace;
  cursor: pointer;
  box-shadow: 2px 2px #ff00cc;
  animation: shakey 0.4s infinite;
  transition: background 0.2s ease, transform 0.2s ease;
}

#crazyColorsBtn:hover {
  background: #ff00cc;
  color: #fff;
  transform: rotate(-2deg) scale(1.05);
}
.boite-gras {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
}

.menu-toggle {
  font-family: 'Rubik Glitch', sans-serif;
  font-size: 1rem;
  background: #ff00cc;
  color: #000;
  padding: 0.6rem 1.2rem;
  border: 3px dashed #fef200;
  cursor: pointer;
  box-shadow: 2px 2px #000;
  animation: shakey 0.5s infinite;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  display: none;
  background: #111;
  border: 3px dashed #fef200;
  box-shadow: 0 0 10px #ff00cc;
  transform: rotate(-1deg);
}

.menu-list li {
  margin: 0;
}

.menu-list li a {
  display: block;
  padding: 0.8rem 1rem;
  text-decoration: none;
  color: #fef200;
  font-family: 'Special Elite';
  border-bottom: 1px dotted #ff00cc;
}

.menu-list li a:hover {
  background: #ff00cc;
  color: #000;
}

.menu-glitch {
  animation: glitchFlash 0.25s linear 2;
}

@keyframes glitchFlash {
  0% {
    transform: rotate(0deg) scale(1);
    filter: hue-rotate(0deg) contrast(1.5);
  }
  25% {
    transform: rotate(-1deg) scale(1.02);
    filter: hue-rotate(30deg) brightness(1.2);
  }
  50% {
    transform: rotate(1deg) scale(0.98);
    filter: hue-rotate(-30deg) contrast(1.2);
  }
  75% {
    transform: rotate(-1.5deg) scale(1.05);
    filter: hue-rotate(60deg) brightness(1.3);
  }
  100% {
    transform: rotate(0deg) scale(1);
    filter: hue-rotate(0deg);
  }
}
html {
  scroll-behavior: smooth;
}
.menu-list {
  display: none;
  list-style: none;
  padding: 1rem;
  background: #111;
  border: 4px dashed #fef200;
  position: absolute;
  top: 60px;
  right: 10px;
  z-index: 1000;
}

.menu-list.active {
  display: block;
}

.menu-toggle {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 1001;
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  background: #fef200;
  border: 2px solid #000;
  font-family: 'Special Elite', monospace;
  cursor: pointer;
  box-shadow: 2px 2px #ff00cc;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.sparkle {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.2) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: sparkle 2s infinite ease-in-out;
  z-index: 0;
  mix-blend-mode: screen;
}
body::after {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: radial-gradient(circle at center, transparent 60%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: multiply;
  animation: tunnelSpin 20s linear infinite;
}

@keyframes tunnelSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
body::before {
  background-image: radial-gradient(circle, #ff00cc 1px, transparent 1px),
                    radial-gradient(circle, #fef200 1px, transparent 1px),
                    radial-gradient(circle, #00ffff 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: 0 0, 40px 40px, 20px 60px;
  animation: sparkleShift 10s linear infinite;
}

@keyframes sparkleShift {
  0% { background-position: 0 0, 40px 40px, 20px 60px; }
  100% { background-position: 100px 100px, 140px 140px, 120px 160px; }
}

.date-prochaine {
  color: #ff00cc; /* même couleur que le hover */
  font-weight: bold;
}
.dates li.next-date {
  background: #ff00cc;
  color: black;
  transform: rotate(1deg) scale(1.02);
}
@keyframes bounceHighlight {
  0%,100% { transform: rotate(1deg) scale(1); }
  50% { transform: rotate(1deg) scale(1.05); }
}

.dates li.next-date {
  animation: bounceHighlight 1s ease-in-out infinite;
}


.tech {
  margin: 4rem auto;
  padding: 2rem;
  background: #111;
  border: 4px dashed #fef200;
  max-width: 700px;
  box-shadow: 0 0 15px #ff00cc;
  transform: rotate(-1deg);
}

.tech ul {
  list-style: none;
  padding: 0;
  text-align: left;
  line-height: 1.7;
}

.tech li {
  padding: 0.4rem 0;
  border-bottom: 1px dotted rgba(255,255,255,0.15);
}

.section-bounce {
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0% { transform: translateY(-15px); }
  50% { transform: translateY(5px); }
  100% { transform: translateY(0); }
}

/* --- Fix menu button / dropdown positioning after backend integration --- */
.boite-gras {
  position: fixed;
  left: 20px;
  bottom: 20px;
  right: auto;
  top: auto;
  z-index: 10050;
}

.boite-gras .menu-toggle {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  display: inline-block;
}

.boite-gras .menu-list {
  position: absolute;
  left: 0;
  right: auto;
  top: auto;
  bottom: calc(100% + 12px);
  margin-top: 0;
  min-width: min(88vw, 420px);
  max-height: 70vh;
  overflow-y: auto;
}

.boite-gras .menu-list.active {
  display: block;
}
