#benefits-section {
    padding: 60px 40px;
    background: var(--news-shop-bg, #fff);
    color: var(--news-shop-color, #111);
    text-align: center;
  }

  #benefits-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 750px;
    margin: 0 auto;
  }

  .benefit-box {
    background: #1a1a1a;
    color: white;
    padding: 30px 20px;
    border-radius: 12px;
    transition: transform 0.3s ease, background 0.3s;
  }

  body.light .benefit-box {
    background: #eee;
    color: #111;
  }

  .benefit-box:hover {
    transform: translateY(-5px);
    background: orange;
    color: white;
  }

  .benefit-box img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }

  .benefit-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .benefit-box p {
    font-size: 0.95rem;
  }

/* Variables para scrollbar track según modo */
body.light {
  --scrollbar-track-bg: #ddd;
}

body.dark {
  --scrollbar-track-bg: #222;
}

/* Scrollbar para la sección de noticias */
.news {
  /* Firefox */
  padding-right: 16px;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: orange var(--scrollbar-track-bg);
}

/* Scrollbar para Chrome, Edge y Safari */
.news::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.news::-webkit-scrollbar-track {
  background: var(--scrollbar-track-bg);
}

.news::-webkit-scrollbar-thumb {
  background-color: orange;
  border-radius: 10px;
  border: 2px solid var(--scrollbar-track-bg);
}


body.light #gallery-section {
  background-color: #ddd;
  color: #111; /* para el texto, por ejemplo el título */
}

body.dark #gallery-section {
  background-color: #222; /* fondo oscuro */
  color: #eee; /* texto claro */
}

body.light #gallery-section h4 {
  color: #222;
}

body.dark #gallery-section h4 {
  color: #eee; /* o cualquier color cálido para que resalte */
}

#gallery-section h4 {
  text-align: center;
}

#gallery-section {
  background-color: #ddd;
  padding: 40px 20px 40px 20px; /* más padding abajo para separación */
  width: 100%;
  box-sizing: border-box;
}

#gallery-section h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: orange;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 240px); /* 4 columnas de 240px fijas */
  gap: 25px;
  max-width: calc(4 * 240px + 3 * 15px); /* 4 imágenes + 3 gaps */
  width: 100%;
  margin: 40px auto; /* margen para separar y centrar */
  padding: 0 20px; /* un poco de espacio lateral */
  justify-content: center; /* centra las columnas dentro del contenedor si sobra espacio */
}

.gallery-item {
  width: 240px;
  height: 180px;
  border-radius: 8px;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  overflow: hidden;
  /* quitá transform: scale(1.1); de acá */
}

.gallery-item:hover {
  transform: scale(1.5);
}


.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px; /* importante para que la imagen respete el borde redondeado */
  display: block;
  transition: transform 0.4s ease;
}

/* Opcional: hover para agrandar suavemente */
.gallery-item:hover img {
  z-index: 10; /* que quede arriba */
}

#privacy-policy {
  max-width: 700px;
  margin: 40px auto;
  padding: 20px;
  background-color: var(--policy-bg, #fff);
  color: var(--policy-color, #111);
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
  font-family: 'Rubik', sans-serif;
  line-height: 1.6;
  user-select: text;
}

#privacy-policy h1 {
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 20px;
  text-align: center;
}

#privacy-policy h2 {
  font-weight: 600;
  font-size: 1.4rem;
  margin-top: 25px;
  margin-bottom: 12px;
}

#privacy-policy p,
#privacy-policy ul {
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 16px;
}

#privacy-policy ul {
  padding-left: 20px;
  list-style-type: disc;
}

#privacy-policy a {
  color: orange;
  text-decoration: underline;
}

body.light {
  --policy-bg: #ddd;
  --policy-color: #111;
}

body.dark {
  --policy-bg: #222;
  --policy-color: #eee;
}


#control-box {
  display: flex;
  align-items: center;
  padding: 0px 8px;
  background: #ddd; /* fondo oscuro fijo */
  border-radius: 30px; /* forma ovalada */
  backdrop-filter: blur(5px);
}

/* Para dark mode */
body.dark #control-box {
  background: #121212;
}

#volumeSlider {
  width: 50px;       /* Largo */
  height: 17px;       /* Grosor de la barra */
  cursor: pointer;
  accent-color: orange; /* si querés un color personalizado en navegadores modernos */
}

#playBtn {
  border: none;
  outline: none;
  background: transparent;
  cursor: pointer;
width: 30px; /* fijá un ancho que funcione para los emojis */
margin-top: -5px;
  text-align: center;
  transition: transform 0.2s ease;
}
#playBtn:hover {
  transform: scale(1.1);
}

#playBtn:focus {
  outline: none;
}

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    html,
    body {
      font-family: "Rubik", sans-serif;
      transition: background-color 0.3s, color 0.3s;
    }
    body.light {
      background-color: #f9f9f9;
      color: #111;
    }
    body.dark {
      background-color: #121212;
      color: #eee;
    }
    a {
      color: inherit;
      text-decoration: none;
      transition: color 0.3s;
      cursor: pointer;
    }
    a:hover {
      color: orange;
    }

    /* Header 1 */
    header#top-bar {
      height: 42px;
      position: fixed;
      width: 100%;
      top: 0;
      background: var(--top-bar-bg, #333);
      color: var(--top-bar-color, #fff);
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 20px;
      z-index: 9999;
      font-size: 14px;
    }

    /* Header 2 */
    header#main-bar {
  height: 75px;
  position: fixed;
  top: 42px;
  width: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.5); /* versión clara */
  color: var(--main-bar-color, #111);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  z-index: 9998;
}

body.dark header#main-bar {
  background-color: rgba(0, 0, 0, 0.5); /* versión oscura */
  color: var(--main-bar-color, #fff);
}

header#main-bar nav a {
  position: relative;
  margin-left: 20px;
  color: inherit;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

header#main-bar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -28px;
  width: 0;
  height: 2px;
  background-color: orange;
  transition: width 0.3s ease;
}

header#main-bar nav a:hover::after {
  width: 100%;
}

header#main-bar nav a:hover {
  color: var(--clr-orange);
}

    nav a {
      margin-left: 20px;
      font-weight: 500;
    }

    #slider-section {
      margin-top: 42px;
      height: calc(100vh - 110px);
      overflow: hidden;
      position: relative;
    }

    .slider-container {
  position: relative;
  background-color: #111; /* o el color oscuro que tenga el diseño */
  overflow: hidden;
      width: 100%;
      height: 80%;
      position: relative;
    }

    .slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none; /* que no interfiera en clicks */
}

.slider-image.active {
  opacity: 1;
  pointer-events: auto; /* la activa sí responde */
  z-index: 1;
}

.slide-text {
  position: absolute;
  bottom: 50px;
  left: 50px;
  color: white;
  text-shadow: 0 0 5px black;
  z-index: 2;
}

.slide-text h2 {
  font-size: 36px;
  margin: 0;
}

.slide-text p {
  font-size: 18px;
}

    .thumbnails {
      display: flex;
      justify-content: center;
      height: 20%;
    }

    .thumbnail {
      flex: 1;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #222;
      color: white;
      cursor: pointer;
      padding: 10px 75px;
      transition: background 0.3s, color 0.3s;
      user-select: none;
    }
    body.light .thumbnail {
      background: #ddd;
      color: #111;
    }
    body.light .thumbnail:hover {
      background: orange;
      color: white;
    }
    body.dark .thumbnail:hover {
      background: orange;
      color: white;
    }

    .thumbnail span {
      flex: 1;
      text-align: left;
      font-weight: 600;
    }

    .thumbnail img {
      width: 40px;
      height: 40px;
      object-fit: contain;
      margin-left: 10px;
      user-select: none;
    }

    .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  user-select: none;
  transition: background-color 0.3s ease;
  z-index: 10; /* asegurate que sea más alto que el slider */
}
.arrow:hover {
  background: orange;
  transition: background-color 0.3s ease;
}
    .arrow.left {
      left: 10px;
    }
    .arrow.right {
      right: 10px;
    }

.shop-box .shop-icon {
  transition: transform 0.3s ease;
}

.shop-box:hover .shop-icon {
  transform: scale(1.6);
}

    #news-shop {
      display: flex;
      height: 64vh;
      padding: 50px;
      gap: 20px;
      background: var(--news-shop-bg, #fff);
      color: var(--news-shop-color, #000);
      user-select: none;
    }

    /* Noticias izquierda */
    .news {
      flex: 2;
      display: flex;
      flex-direction: column;
      gap: 14px;
      overflow-y: auto;
      border-right: 2px solid orange;
      padding-right: 20px;
    }

    .news-item {
      padding: 12px 10px;
      border-radius: 6px;
      background: var(--news-item-bg, #222);
      cursor: pointer;
      box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
      transition: background-color 0.3s;
    }
    body.light .news-item {
      background: #ddd;
      color: #222;
    }

    body.light .news-item:hover {
      background: orange;
      color: white;
    }
    body.dark .news-item {
      background: #222;
      color: #eee;
    }
    body.dark .news-item:hover {
      background: orange;
      color: white;
    }

#popup {
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* para que no interfiera al estar oculto */
  transition: opacity 0.3s ease;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  padding: 20px;
  display: flex; /* lo mantenemos para centrar contenido */
}

#popup.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
    #popup-content {
      background: white;
      color: #111;
      padding: 25px;
      border-radius: 8px;
      max-width: 600px;
      max-height: 70vh;
      overflow-y: auto;
      position: relative;
    }
    body.dark #popup-content {
      background: #222;
      color: #eee;
      box-shadow: 0 0 15px orange;
    }
    #popup-close {
      position: absolute;
      top: 10px;
      right: 15px;
      cursor: pointer;
      font-size: 22px;
      font-weight: bold;
      user-select: none;
      color: #444;
    }
    body.dark #popup-close {
      color: #ddd;
    }
    #popup-close:hover {
      color: orange;
    }

.shop-items {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  user-select: none;
}

.shop-box {
  position: relative; /* para que funcione el absolute interno */
  overflow: hidden;
  padding: 33px;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
  background-image: url('media/promo/background.png');
}

.shop-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
  transition: filter 0.3s ease;
  border-radius: 8px;
}

.shop-box:hover::before {
  filter: blur(9px);
}

.shop-box:hover {
  transform: scale(1.1);
  background-blend-mode: overlay;
}

#news-shop > div.shop-items > div:nth-child(1) > div,
#news-shop > div.shop-items > div:nth-child(2) > div,
#news-shop > div.shop-items > div:nth-child(3) > div,
#news-shop > div.shop-items > div:nth-child(4) > div {
  margin-top: 100%;
}

.shop-box img {
  width: 135px;
  height: 135px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}


    /* Sección 3 - texto y botón CTA */
    #video-section {
      height: 100vh;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 0 20px;
      user-select: none;
      color: var(--video-section-color, #fff);
      transition: background-color 0.3s, color 0.3s;
      flex-direction: column;
    }
    #video-section video {
      position: absolute;
      width: 100%;
      height: 100%;
      object-fit: cover;
      top: 0;
      left: 0;
      z-index: -1;
    }
    #video-section .content {
      z-index: 1;
      max-width: 700px;
    }
    #video-section p {
      margin-top: 12px;
      font-weight: 600;
      font-size: 18px;
      user-select: text;
    }
    .cta-button {
      margin-top: 20px;
      padding: 12px 28px;
      background: orange;
      color: white;
      border: none;
      cursor: pointer;
      font-size: 18px;
      border-radius: 6px;
      font-weight: 700;
      transition: background-color 0.3s;
      user-select: none;
    }
    .cta-button:hover {
      background: darkorange;
    }

    /* Footer */
    footer {
      background: var(--footer-bg, #111);
      color: var(--footer-color, white);
      padding: 40px 20px 25px 20px;
      text-align: center;
      user-select: none;
      transition: background-color 0.3s, color 0.3s;
    }
    .footer-container {
      display: flex;
      justify-content: center;
      gap: 85px;
      flex-wrap: wrap;
      max-width: 960px;
      margin: 0 auto;
    }
    .footer-section {
      min-width: 150px;
      text-align: left;
    }
    .footer-section h4 {
      font-weight: 700;
      font-size: 18px;
      margin-bottom: 15px;
      user-select: text;
    }
    .footer-section a {
      display: block;
      margin-bottom: 12px;
      font-weight: 500;
      cursor: pointer;
      transition: color 0.3s;
    }
    .footer-section a:hover {
      color: orange;
    }

.footer-section a {
  position: relative;
  padding-left: 12px; /* espacio para la línea */
  transition: color 0.3s;
}

.footer-section a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background-color: orange;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.footer-section a:hover::before {
  width: 2px;
}

.footer-section a:hover {
  color: orange;
}
    .copyright {
      margin-top: 25px;
      font-size: 13px;
      color: #aaa;
      user-select: none;
    }

#mode-toggle img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
  transform: translateY(2px);
}

#mode-toggle:hover img {
  transform: scale(1.1);
}


    /* Botón modo día/noche */
    #mode-toggle {
      background: transparent;
      border: 1px solid currentColor;
      border-radius: 15px;
      padding: 2px 10px;
      font-size: 12px;
      cursor: pointer;
      transition: all 0.3s ease;
      user-select: none;
      color: inherit;
    }
    #mode-toggle:hover {
      transform: scale(1.1);
      background: rgba(255 165 0 / 0.2);
  transform: translateY(3px);
    }
    #mode-toggle:active {
      transform: scale(0.95);
    }

.register-link {
  border: 1px solid orange;
  color: orange;
  padding: 4px 12px;
  border-radius: 5px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.register-link:hover {
  background-color: orange;
  color: white;
}