.hero {
    background: url('assets/hero-bg.jpg') center/cover no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card img {
    filter: invert(10%);
}



.video-thumbnail {
  cursor: pointer;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}

.video-thumbnail:hover .play-button {
  transform: translate(-50%, -50%) scale(1.5);
  background: rgba(0, 0, 0, 0.8);
}

.screenshots-strip {
  scroll-snap-type: x mandatory;
}

.screenshot-item {
  height: 320px;
  border-radius: 16px;
  flex-shrink: 0;
  scroll-snap-align: center;
  transition: transform 0.3s ease;
}

.screenshot-item:hover {
  transform: scale(1.05);
}

.screenshot-item {
  width: 150px;
  height: auto;
  margin: 0 auto; /* centra la imagen */
}


.rotate-hint i {
  font-size: 48px;
  color: #888;
  animation: rotatePhone 2s ease-in-out infinite;
}

@keyframes rotatePhone {
  0%   { transform: rotate(0deg); }
  50%  { transform: rotate(90deg); }
  100% { transform: rotate(0deg); }
}



  .star-rating span {
    cursor: pointer;
    color: #ccc;
    transition: color 0.2s;
  }

  .star-rating span.active {
    color: #ffc107; /* Bootstrap warning yellow */
  }

 /* .star-rating span:hover,*/
  .star-rating span.hovered{ /*~ span {*/
    color: #ffc107;
  }

  /* con imagenes fontawesome*/

  /*.star-rating i:hover {
    transform: scale(1.2);
  }

  .star-rating i {
    cursor: pointer;
    color: #ccc;
    transition: 0.2s;
  }
  
  .star-rating i.active,
  .star-rating i.hovered {
    color: #ffc107;

  }
*/

  /* con imagenes de google material */

  .star-rating {
  display: flex;
  gap: 20px;
  
}

.star {
  font-size: 128px;
  cursor: pointer;
  color: #ccc;
  transition: 0.2s ease;
  
  /* Outline por defecto */
  font-variation-settings:
    'FILL' 0,
    'wght' 800,
    'GRAD' 0,
    'opsz' 100;
}

.star.active,
.star.hovered {
  color: #ffc107;

  /* Activar relleno */
  font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 100;
}

.star:hover {
  transform: scale(1.3);
}


.material-symbols-outlined.star {
  font-size: 48px !important;
}

#averageStars {
  display: flex;
  justify-content: center;
  gap: 4px;
}

#averageStars .material-symbols-outlined {
  font-size: 36px;
  color: #ffc107;

  font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48;
}

.qr-icon {
  font-size: 48px;
  cursor: pointer;
  transition: 0.3s ease;
}

.qr-icon:hover {
  color: #198754; /* verde bootstrap */
}

 .qr-popup {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  display: none;
  z-index: 1000;
}

.qr-wrapper:hover .qr-popup {
  display: block;
} 


.qr-popup {
  opacity: 0;
  transform: translateX(-50%) scale(0.9);
  transition: 0.3s ease;
  pointer-events: none;
}

.qr-wrapper:hover .qr-popup {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  pointer-events: auto;
}


 /* @media (max-width: 991px) {

  .navbar {
    background: rgba(0, 0, 0, 0.8);
  }
  .navbar-nav {
    gap: 8px;
  }

  .navbar-nav .nav-link {
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 12px 18px;
  }

}  */


/* @media (max-width: 991px) {

  .navbar-collapse {
    background: transparent;
  }

  .navbar-nav .nav-link {
    background-color: #212529; 
    margin-bottom: 6px;
    padding: 10px 16px;
    border-radius: 8px;
  }

} */
.navbar-brand {
  border-radius: 15px;
  padding: 8px 16px;
}

@media (max-width: 991px) {

  .navbar-nav {
    width: auto;
    /* background: rgba(0, 0, 0, 0.8); */
  }

  .navbar-nav .nav-item {
    width: auto;
  }

  .navbar-nav .nav-link {
    display: inline-block;   /* 👈 clave */
    width: auto;             /* 👈 clave */
    background-color: #212529; 
    padding: 8px 16px;
    border-radius: 8px;
  }

}

/* SOLO DESKTOP */
@media (min-width: 992px) {

  .navbar {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

}


@media (min-width: 992px) {

  section {
    scroll-margin-top: 50px; /* ajustá según altura real de tu navbar */
  }

}