/* ============================================================
   🔥 HOLO BUTTON STYLE (NO LAYOUT CHANGES)
============================================================ */

.holoBtn {
  position: relative;
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;

  color: #f5d76e;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(201,162,39,0.45);

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  transition: all 0.25s ease-out;
}

/* HOLO SWEEP */
.holoBtn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );
  transform: skewX(-25deg);
  transition: left 0.45s ease-out;
}

.holoBtn:hover::before {
  left: 120%;
}

/* HOVER GLOW */
.holoBtn:hover {
  border-color: #f5d76e;
  color: #fff;
  box-shadow: 0 0 12px rgba(245,215,110,0.7);
}

/* CLICK FLASH */
.holoBtn:active {
  transform: scale(0.95);
  box-shadow: 0 0 20px rgba(255,215,110,1);
}

/* ============================================================
   🔥 PAGER BUTTONS (Prev / Next)
============================================================ */

#prevBtn,
#nextBtn {
  position: relative;
  padding: 6px 14px;
  margin-right:5px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;

  color: #f5d76e;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(201,162,39,0.45);

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.25s ease-out;
}

/* HOLO SWEEP */
#prevBtn::before,
#nextBtn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );
  transform: skewX(-25deg);
  transition: left 0.45s ease-out;
}

#prevBtn:hover::before,
#nextBtn:hover::before {
  left: 120%;
}

/* HOVER GLOW */
#prevBtn:hover,
#nextBtn:hover {
  color: #fff;
  border-color: #f5d76e;
  box-shadow: 0 0 12px rgba(245,215,110,0.7);
}

/* CLICK FLASH */
#prevBtn:active,
#nextBtn:active {
  transform: scale(0.95);
  box-shadow: 0 0 20px rgba(255,215,110,1);
}

/* ============================================================
   🔥 PAGE INFO TEXT (NO SIZE CHANGE)
============================================================ */

#pageInfo {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
margin-left:40px;
margin-right:0px;

  color: #ff22ee;
  text-shadow:
    0 0 6px rgba(0,255,255,0.8),
    0 0 12px rgba(0,150,255,0.6),
    0 0 20px rgba(0,255,255,0.4);
}

/* ============================================================
   🔥 BLACK GLASS FLASH EFFECT (NO POSITION/SIZE CHANGES)
============================================================ */

.glass-flash::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle,
    rgba(255,255,255,0.22) 0%,
    rgba(255,255,255,0.10) 40%,
    rgba(255,255,255,0.00) 100%
  );
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
}

.flash-in::after {
  animation: flashIn .35s ease-out forwards;
}

.flash-out::after {
  animation: flashOut .35s ease-out forwards;
}

@keyframes flashIn {
  0%   { opacity: 0;    transform: scale(0.75); }
  100% { opacity: 0.32; transform: scale(1); }
}

@keyframes flashOut {
  0%   { opacity: 0.32; transform: scale(1); }
  100% { opacity: 0;    transform: scale(0.75); }
}
/* ===== VERSION BAR CONTAINER (BLACK GLASS) ===== */

h1 {
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 15px;

  background: linear-gradient(90deg, #aef, #6ff, #aef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow:
    0 0 6px rgba(0,255,255,0.6),
    0 0 14px rgba(0,150,255,0.4);

  animation: atomicBlip 8s ease-in-out infinite;
}

/* ============================================================
   FUTURISTIC + CLEAN VERSION BAR (NO LAYOUT CHANGES)
============================================================ */

#versionBar {
  position: relative;
  top: 0;
  left: 0;

  padding: 4px 6px;              /* slightly more padding */
  display: flex;
  align-items: center;
  gap: 6px;                      /* cleaner spacing */

  background: rgba(0,0,0,0.35);  /* deeper black glass */
  border: 1px solid rgba(0,255,255,0.18);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  box-shadow: 0 0 12px rgba(0,255,255,0.25);
  border-radius: 6px;

  font-family: "Orbitron", "Segoe UI", Tahoma, sans-serif; /* FUTURISTIC FONT */
  z-index: 9999;
}

/* ============================================================
   VERSION LINKS — CLEANER, SHARPER, MORE FUTURISTIC
============================================================ */

#versionBar a,
.holoLink {
  position: relative;
  display: inline-block;

  padding: 4px 8px;              /* slightly more padding */
  font-size: 10px;               /* still small, but readable */
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  color: #9ff;
  text-decoration: none;

  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(0,255,255,0.25);
  border-radius: 4px;

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  cursor: pointer;
  overflow: hidden;
  transition: all 0.25s ease-out;
}

/* HOVER GLOW */
#versionBar a:hover,
.holoLink:hover {
  color: #fff;
  border-color: #00eaff;
  box-shadow: 0 0 10px rgba(0,255,255,0.7);
}

/* HOLO SWEEP */
#versionBar a::before,
.holoLink::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );

  transform: skewX(-20deg);
  transition: left 0.45s ease-out;
}

#versionBar a:hover::before,
.holoLink:hover::before {
  left: 120%;
}

/* ACTIVE VERSION */
#versionBar a.active {
  background: rgba(0,255,255,0.25);
  border-color: #00eaff;
  color: #fff;
  box-shadow: 0 0 14px rgba(0,255,255,0.8);
}

/* ============================================================
   VERSION BUTTONS — MATCHED TO NEW STYLE
============================================================ */

#versionBar button {
  margin-left: 4px;
  padding: 4px 8px;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  color: #f5d76e;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(201,162,39,0.35);
  border-radius: 4px;

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  cursor: pointer;
  overflow: hidden;
  transition: all 0.25s ease-out;
}

/* HOVER */
#versionBar button:hover {
  color: #fff;
  border-color: #f5d76e;
  box-shadow: 0 0 12px rgba(245,215,110,0.7);
}

/* HOLO SWEEP */
#versionBar button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );

  transform: skewX(-25deg);
  transition: 0.45s;
}

#versionBar button:hover::before {
  left: 120%;
}

/* ACTIVE BUTTON */
#versionBar button.active {
  background: rgba(201,162,39,0.25);
  color: #fff;
  border-color: #f5d76e;
  box-shadow: 0 0 18px rgba(255,215,0,0.8);
}
#lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none; /* your JS toggles this */
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.85);
  z-index: 99999; /* stays above everything */
}

#lightboxInner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;      /* stretch full width */
  height: 100%;     /* stretch full height */
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* prevents blocking clicks */
}

#lbImg {
  max-width: 90vw;
  max-height: 90vh;
  pointer-events: auto; /* allow closing */
}
@keyframes atomicBlip {

  /* === 0% → 30% : FULL BRIGHTNESS HOLD === */
  0% {
    opacity: 1;
    transform: scale(1) translate(0,0);
    text-shadow:
      0 0 18px rgba(0,255,255,1),
      0 0 36px rgba(0,150,255,1);
  }

  30% {
    opacity: 1;
    transform: scale(1) translate(0,0);
  }

  45% {
    opacity: .2;
    transform: scale(0.45) translate(140px, -660px);
  }

  /* === 75% : FULL DISAPPEAR === */
  65% {
    opacity: 0;
    transform: scale(0.35) translate(195px, -210px);
  }

  /* === 90% : INVISIBLE HOLD (≈3 seconds depending on animation duration) === */
  85% {
    opacity: 0;
    transform: scale(0.75) translate(195px, -150px);
  }
  86% {
    opacity: .5;
    transform: scale(0.75) translate(195px, -150px);
  }
  /* === 100% : SWOOP BACK + FADE IN === */
  100% {
    opacity: 1;
    transform: scale(1) translate(0,0);
    text-shadow:
      0 0 14px rgba(0,255,255,0.9),
      0 0 28px rgba(0,150,255,0.7);
  }
}

/* POPUP IMAGE VIEWER ALWAYS ON TOP */

/* VERSION BAR BEHIND POPUP */
#versionBar {
    z-index: 10 !important;
    position: relative;
}

/* AVIS BUTTON BEHIND POPUP */
#pager{
    z-index: 10 !important;
    position: relative;
}


