/* VR - regole comuni a escape.php, arcade.php, campagne.php (box dei giochi, sfondi parallasse, testata video).
   Ex style_2_3.css. */

/* =========================================
   VR games description (glass effect)
   ========================================= */

.vr_games_description {
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 7px 7px 14px 0 rgb(233 30 36 / 50%);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  padding-bottom: 1rem;
}

.vr_games_description h3,
.vr_games_description p,
.vr_games_description h6{
  color: #fff;
}

.vr_games_description p {
  text-align: justify;
}
.vr_games_description h6{
  text-align: center;
  margin-bottom: 1rem;
}

.vr_games_description a {
  color: red !important;
}

/* Parallax section: config “neutro” per Stellar */
.escape_bg_img,
.arcade_bg_img {
  background-position: 50% 0;  /* coerenza con lo script */
  background-size: cover;
  background-repeat: no-repeat;
  /* niente background-attachment: fixed quando usi Stellar */
  will-change: background-position; /* piccolo hint al browser */
  backface-visibility: hidden;
}

/* Se vuoi il fallback CSS-only (senza Stellar), allora usa QUESTO al posto di Stellar:
@media (min-width: 992px) and (hover: hover) {
  .escape_bg_img, .arcade_bg_img { background-attachment: fixed; }
}
@media (pointer: coarse) and (hover: none) {
  .escape_bg_img, .arcade_bg_img { background-attachment: scroll; }
}
*/

/* =========================================
   HERO HEADER (da HTML inline)
   ========================================= */
header {
  position: relative;
  background-color: black;
  height: 100vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
}

header .container {
  position: relative;
  z-index: 2;
}

header .overlay {
  position: absolute;
  inset: 0;
  background-color: black;
  opacity: 0.5;
  z-index: 1;
}

/* fallback immagine su mobile/touch */
@media (pointer: coarse) and (hover: none) {
  header {
    background: url('https://i.ibb.co/zZ2gT73/bg-4.jpg') black no-repeat center center scroll;
  }
  header video {
    display: none;
  }
}


/* --- Campagne/Avventure: titolo della testata e prezzi (prima erano style="") --- */
.titolo-campagne {
  line-height: 1.1;
}
.titolo-campagne__grande {
  font-size: 3.5rem;
}
.prezzo-campagna {
  font-size: 2rem;
  margin: 0;
}
