/* Cohérence FunBox : noir profond + accents cyan / bleu + ombres douces */

.section-title {
  text-align: center;
  font-size: clamp(24px, 3.2vw, 36px);
  margin: 26px 3px 18px;
}

/* ---------- HERO ---------- */
.info-hero {
  position: relative;
  min-height: 46vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 2px solid #00ccff44;
}
.info-hero h2 span { color: #00ccff; }
.info-hero .hero-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1.2s ease;
}
.info-hero .heroA { opacity: 1; }
.info-hero .heroB { opacity: 0; }

.info-hero .hero-inner {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 26px 28px;
  max-width: 920px;
  text-align: center;
  color: #e9eef5;
  box-shadow: 0 0 26px rgba(0, 204, 255, .20);
}

.info-hero .tagline { opacity: .9; }

/* ---------- VERSIONS ---------- */
.versions .cards-2 {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  max-width: 1160px;
  margin: auto;
  padding: 0 16px 8px;
}
@media (min-width: 980px) {
  .versions .cards-2 { grid-template-columns: 1fr 1fr; }
}

.version-card {
  background: rgba(15, 15, 20, .88);
  border: 1px solid rgba(0, 204, 255, .12);
  border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow: 0 0 20px rgba(0, 204, 255, .14);
}
.version-card h3 {
  color: #00ccff;
  margin: 8px 0 8px;
}

.v-media {
  border-radius: 12px;
  overflow: hidden;
  background: #0b0f16;
}
.v-media img {
  margin: auto;
  width: 75%;
  height: 75%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: auto;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(135deg, #07d0ff, #0098d8);
  color: #081018;
  font-weight: 700;
  border: 0;
  box-shadow: 0 5px 20px rgba(0, 204, 255, .35);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 9px 30px rgba(0, 204, 255, .45);
}
.btn.ghost {
  background: transparent;
  color: #8cd7ea;
  border: 1px solid #0ea7d9;
}

/* ---------- CHANGELOG ---------- */
.changelog { width: 100%; }
.changelog summary {
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 10px;
  background: #0d141c;
  border: 1px solid #103846;
  color: #bfe7f3;
}
.chg-body {
  padding: 10px 12px 6px;
  color: #d8e8f2;
}

/* ---------- ZONES ---------- */
#zonesGrid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 980px) {
  #zonesGrid { grid-template-columns: 1fr 1fr; }
}

/* --- ZONES: cadre media doit être 'relative' sinon les <img> absolus partent ailleurs --- */
.zone-media {
  position: relative;            /* <-- clé */
  margin: 0 12px 12px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0b0f16;
  box-shadow: 0 0 16px rgba(0, 0, 0, .4) inset;
}

/* Les images alternent via .active */
.zone-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  filter: brightness(0.95) contrast(1.05);
}
.zone-media img.active { opacity: 1; }

.zone-card {
  opacity: 1 !important;
  margin: auto;
}
.zone-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(0, 204, 255, .3);
}

.zone-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 0;
}
.zone-head h3 {
  margin: auto;
  color: #00ccff;
  text-shadow: 0 0 10px rgba(0, 204, 255, .4);
}

.zone-desc {
  margin: 4px 14px 12px;
  color: #cfe3ef;
  font-size: 0.95rem;
  text-align: center;
}

.zone-media {
  position: relative;
  margin: 0 12px 12px;
  border-radius: 12px;
  overflow: hidden;
  background: #0b0f16;
  box-shadow: 0 0 16px rgba(0, 0, 0, .4) inset;
}
.zone-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  filter: brightness(0.95) contrast(1.05);
}
.zone-media img.active {
  opacity: 1;
}

/* ---------- ADDONS ---------- */
.addons { padding: 8px 16px 6px; }

.addons-row {
  display: grid;
  gap: 25px;
  grid-template-columns: 1fr;
  max-width: 1280px;
  margin: 0 auto;
}
@media (min-width: 1100px) {
  .addons-row { grid-template-columns: 3fr 2fr; }
}
.addons-list {
  padding: 0px 15px 50px;
  color: #dfe7ef;
}
.addons-list li { margin: 3px 0; }
.addons-list .muted { color: #9fb8c6; opacity: .9; }

.addons-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* ---------- GALERIE ---------- */
.gallery {
  padding: 10px 16px 6px;
}
.gallery-sub {
  text-align: center;
  color: #9fb8c6;
  margin: auto;
  padding: 15px;
}
.funbox-grid {
  --cols: 4;
  --gap: 10px;
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(var(--cols), 1fr);
  max-width: 1280px;
  margin: 0 auto 8px;
  padding: 0 2px;
}
@media (max-width: 1020px) { .funbox-grid { --cols: 3; } }
@media (max-width: 760px) { .funbox-grid { --cols: 2; } }

.funbox-grid .cell {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #0b0f16;
  box-shadow: 0 0 14px rgba(0, 0, 0, .5);
}
.funbox-grid .cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .9s ease;
}
.funbox-grid .cell img.active { opacity: 1; }

/* ---------- ONBOARD / VR / RULES ---------- */
.cards-2 {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 980px) {
  .cards-2 { grid-template-columns: 1fr 1fr; }
}
.info-card {
  background: rgba(15, 15, 20, .88);
  border: 1px solid rgba(0, 204, 255, .12);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 0 20px rgba(0, 204, 255, .14);
}
.info-card h3 {
  color: #00ccff;
  margin: 0 0 8px;
}
.mini { margin: 0; padding-left: 18px; }

/* ---------- DIVERS ---------- */
.zones-note {
  text-align: center;
  color: #9fb8c6;
  margin: 8px auto 2px;
}

/* reveal (compatibilité site_fx.js) */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

.cards-2 > * {
  width: 100%;          /* force les cartes à prendre toute la colonne */
  justify-self: center; /* centre bien si un max-width s'applique */
}


.about-avatars {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin: 25px auto 20px;
}

.avatar-card {
  text-align: center;
  color: #d8e8f2;
}

.avatar-card img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 3px solid rgba(0, 204, 255, 0.4);
  box-shadow: 0 0 20px rgba(0, 204, 255, 0.35);
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar-card p {
  margin-top: 8px;
  font-weight: 600;
  font-size: 1rem;
}

/* Positionnement et inclinaison */
.avatar-card.left img {
  transform: rotate(-6deg);
}
.avatar-card.right img {
  transform: rotate(6deg);
}
.avatar-card.center img {
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 25px rgba(0, 204, 255, 0.5);
}

/* Effets hover */
.avatar-card img:hover {
  transform: scale(1.15) rotate(0deg);
  box-shadow: 0 0 35px rgba(0, 204, 255, 0.8);
}

/* Responsive */
@media (max-width: 700px) {
  .about-avatars {
    gap: 20px;
  }
  .avatar-card img {
    width: 100px;
    height: 100px;
  }
}


.about-lumastor {
  background: rgba(15, 15, 20, 0.9);
  border-top: 2px solid rgba(0, 204, 255, 0.25);
  padding: 40px 20px;
  text-align: center;
  color: #e3eef7;
}

.about-inner {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(10, 15, 20, 0.55);
  border-radius: 16px;
  padding: 30px 24px 36px;
  box-shadow: 0 0 25px rgba(0, 204, 255, 0.25);
  backdrop-filter: blur(6px);
}

.about-logo {
  width: 110px;
  height: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 10px rgba(0, 204, 255, 0.4));
}

.about-inner h2 {
  color: #00ccff;
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 14px;
}

.about-desc {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 auto 20px;
  color: #d5e8f4;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.about-links .btn {
  background: linear-gradient(135deg, #07d0ff, #0098d8);
  color: #081018;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 18px;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0, 204, 255, .35);
  transition: all .2s ease;
}

.about-links .btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 9px 30px rgba(0, 204, 255, .45);
}

.about-links .btn.ghost {
  background: transparent;
  color: #8cd7ea;
  border: 1px solid #0ea7d9;
}

.about-credits {
  font-size: 0.95rem;
  color: #bcd9e7;
  margin-top: 10px;
}