/* ------------------------------------------------------ */
/* -------------------- VIDEOS SECTION ------------------- */
/* ------------------------------------------------------ */

/* --- FOND NOIR DE LA PAGE VIDEOS --- */
body.main {
  margin: 0;
  background-color: #000000;
  color: #ffffff;
  font-family: "Michroma", sans-serif;
}


/* --- MOSAÏQUE DE GIFS (VIDEOS) --- */
.gif-mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 20px;
  padding: 10px;
}

/* Réduction automatique des posts dans la mosaïque */
.gif-mosaic .post-box-waveform {
  max-width: 100%;
  margin: 0;
}

/* --- POST BOX (cadre autour de chaque GIF) --- */
.post-box-waveform {
  background: #111;
  border: 2px solid #444;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 25px;
  text-align: center;
  box-shadow: 0 0 8px #00FFF7;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- GIF card + hover overlay --- */
.gif-card {
  position: relative;
  display: block;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

/* image */
.gif-card .gif-display {
  display: block;
  width: 100%;
  height: auto;
  transition:
    transform 0.25s ease,
    filter 0.25s ease,
    opacity 0.25s ease;
  will-change:
    transform,
    filter,
    opacity;
}

/* overlay (hidden by default) */
.gif-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.62);
  color: #888;
  text-align: center;
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none; /* non cliquable */
}

/* overlay text style (HUD color) */
.gif-overlay-text {
  font-family: "Michroma", sans-serif;
  font-size: 0.98rem;
  color: #888;
  text-shadow: 0 0 10px rgba(0,255,255,0.18);
  margin: 0;
  line-height: 1.3;
}

/* apparition uniquement au hover */
.gif-card:hover .gif-overlay {
  opacity: 1;
}

/* effet visuel sur l'image pendant le hover */
.gif-card:hover .gif-display {
  transform: scale(1.02);
  filter: blur(0.6px) brightness(0.6);
  opacity: 0.95;
}
/* ------------------------------------------------------ */
/* -------------------- VIDEOS HUD ----------------------- */
/* ------------------------------------------------------ */

/* PAGE FRAME (vert HUD) */
.page-frame {
  border: 3px solid #66ffcc;
  border-radius: 18px;
  padding: 30px;
  margin: 30px auto;
  max-width: 1100px;
  box-shadow: 0 0 20px #66ffcc;
  position: relative;
}

/* HUD FRAME (cadre interne) */
.hud-frame {
  border: 2px solid #ffb3d9;
  box-shadow: 0 0 15px #ffb3d9;
  padding: 80px;
  margin: 0px auto;
  max-width: 900px;
  border-radius: 12px;
}

/* ALIGNEMENT MENU + CONTENU */
.flex-row {
  display: flex;
  gap: 40px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
}

/* MENU VERTICAL */
.menu-box {
  border: 2px solid #66ffcc;
  border-radius: 10px;
  box-shadow: 0 0 12px #66ffcc;
  padding: 20px;
  width: 200px;
  font-family: "Michroma", sans-serif;
  height: fit-content;
}

/* LISTE MENU */
.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-list li {
  margin-bottom: 12px;
}

.menu-list a {
  color: #66ffcc;
  text-decoration: none;
  font-size: 15px;
  display: block;
  padding: 6px 10px;
  border: 1px solid #66ffcc;
  border-radius: 6px;
  transition: 0.3s;
  box-shadow: 0 0 6px #66ffcc;
}

.menu-list a:hover {
  background-color: #66ffcc;
  color: #000000;
  box-shadow: 0 0 12px #66ffcc;
}

/* LIEN ACTIF */
.menu-list a.active {
  background-color: #66ffcc;
  color: #000;
  font-weight: bold;
  box-shadow: 0 0 12px #66ffcc;
}
