  
 .rueda-section {
    padding: 2vw;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f5f5f5;
  }
  
  .info-circle-container {
    position: relative;
    width: 90vmin;
    height: 90vmin;
    max-width: 700px;
    max-height: 700px;
    margin: 2rem auto;
  }
  
  .central-circle {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;  /* Centrado automático */
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
  }
  
  #dynamic-info {
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
    min-width: 120px;
    max-width: 80%;
    display: block;
    text-align: center;
    line-height: 1.5;
    font-size: clamp(14px, 2vmin, 18px);
  }
  
  .central-image {
    position: absolute;
    width: 80vmin;
    height: 80vmin;
    max-width: 750px;
    max-height: 750px;
    border-radius: 50%;
    object-fit: cover;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: transform 1.5s ease-in-out;
    cursor: pointer;
  }
  
  .orb {
    --total-orbs: 5;
    
    position: absolute;
    width: 15vmin;
    height: 15vmin;
    min-width: 60px;
    min-height: 60px;
    
    /* Posicionamiento estático sin transformaciones complejas */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center;
    
    /* Estilos visuales */
    background: #f4f9e9;
    border-radius: 50%;
    opacity: 1; /* Visible por defecto */
    transition: opacity 0.5s ease;
    z-index: 10;

    transform: 
    translate(-50%, -50%)
    translateX(calc(var(--x) * 1%))
    translateY(calc(var(--y) * 1%));
}
  
  .orb:hover {
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .orb::after {
    content: "";
    position: absolute;
    top: -5%;
    left: -5%;
    right: -5%;
    bottom: -5%;
    border-radius: 50%;
    border: 2px solid transparent;
    background-image: url('../../../static/imgs/borde_orbe.png');
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 1;
  }
  
  .orb.active {
    opacity: 0;
    transform: 
      rotate(calc(360deg / var(--total-orbs) * var(--i))) 
      translateX(calc(var(--radius) * 0.6)) 
      rotate(calc(-360deg / var(--total-orbs) * var(--i)))
      scale(1.3);
  }
  
  .highlight {
    display: inline;
    color: #0c0c0c;
    font-size: clamp(1.2em, 3vmin, 1.5em);
  }
  
  /* Media Queries para ajustes específicos */
  @media (max-width: 768px) {
    .info-circle-container {
      width: 80vmin;
      height: 80vmin;
    }
    .orb {
        width: 12vmin;
        height: 12vmin;
    }
  }
  
  @media (max-width: 480px) {
    .info-circle-container {
      width: 90vmin;
      height: 90vmin;
    }     
    .orb {
        width: 10vmin;
        height: 10vmin;
      }
    
    #dynamic-info {
      font-size: 12px;
    }
  }

  @keyframes rotateAnimation {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  
  .rotate-on {
    animation: rotate 10s linear infinite;
  }







  /* svg {
    width: 100%;
    height: auto;
    display: block;
  } */
  
  #fondo-batalla {
    pointer-events: none; /* Permite clicks en elementos debajo */
  }

  .svg-container {
    width: 100%;
    /*max-width: 1200px;  Máximo ancho (opcional) */
    margin: 0 auto;
    overflow: hidden;
  }
  
  svg {
    width: 100%;
    height: auto; /* Mantiene la proporción */
    display: block;
  }

  @media (max-width: 768px) {
    .svg-container {
      padding-bottom: 75%; /* Más altura en móviles */
    }
  }




  #fondo-batalla {
    animation: desplazamiento 60s linear infinite;
    will-change: transform; /* Optimización de rendimiento */
  }

  @keyframes desplazamiento {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-1920px); } /* Mueve hasta la mitad */
  }

  @media (max-width: 768px) {
    #fondo-batalla {
      animation-duration: 15s;
      width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
    }
  }

  @media (max-width: 768px) {
    #guerreroIzq,
    #guerreroDer {
      display: none !important;
    }
    
    }
    
    /* Ajuste para el texto */
    .fondo-text-left {
      position: relative;
      width: 90%;
      margin: 20px auto 0;
      top: auto;
      left: auto;
      transform: none !important;
      background: rgba(0, 0, 0, 0.8);
    }
  

  @media (max-width: 480px) {
    #escena-batalla image {
      transform: scale(1.5);
      object-position: center 30%; /* Ajusta el encuadre vertical */
    }
  }

  @keyframes desplazamiento {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-1920px); }
  }
  
  #fondo-actual, #fondo-siguiente {
    transition: opacity 0.3s ease;
    will-change: transform, opacity;
  }
  
  .escena-container {
    position: relative;
  width: 100%;
  height: 70vh;
  min-height: 400px;
    background: #f4f4f4;
  }

  #contenedor-fondos {
    will-change: transform;
  }
  
  .fondo-duplicado {
    pointer-events: none;
  }
  
  @keyframes desplazamiento {
    0% { transform: translateX(0); }
    100% { transform: translateX(-1920px); }
  }

  #fondo-infinito {
    animation: desplazamiento 10s linear infinite;
    will-change: transform;
  }
  
  @keyframes desplazamiento {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-1920px); } /* Mueve exactamente una imagen */
  }

  #fondo-principal, #fondo-secundario {
    will-change: transform;
    pointer-events: none;
  }
  
  #escena-batalla {
    width: 100%;
    height: 100%;
   /*  aspect-ratio: 1920/640; */ /* Mantiene proporción 3:1 */
  }

  


  .fondo-container {
    position: relative;
    width: 100%;
    height: 640px; /* Altura igual que tu SVG */
    overflow: hidden;
  }
  
  .fondo-text-left {
    position: absolute;
  top: 10%;
  left: 5%;
  z-index: 10;
  width: 40%;
  max-width: 500px;
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 8px;
  backdrop-filter: blur(5px);
  }
  @media (max-width: 768px) {
    .fondo-text-left {
      position: relative; /* Cambia a flujo normal */
      width: 90%;
      max-width: 100%;
      top: auto;
      left: auto;
      margin: 20px auto 0; /* Espaciado superior */
      transform: none !important;
      padding: 15px; /* Reduce el padding */
    }
    
    /* Opcional: Ajusta la altura del contenedor si es necesario */
    .escena-container {
      height: auto;
      min-height: 640px;
      padding-bottom: 300px; /* Espacio para el texto */
    }
  }


/* Efecto de transición para cambios de texto */
.texto-contenido {
  transition: opacity 0.8s ease-in-out;
}

.texto-cambiando {
  opacity: 0;
}

/* Animación de entrada principal */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Estilos básicos de texto */
.fondo-text-left h1 {
  font-size: 2.5em;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.fondo-text-left p {
  font-size: 1.2em;
  line-height: 1.5;
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Botón */
.cta-button {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1em;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #2980b9;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .fondo-text-left {
        left: 5%;
        max-width: 90%;
        padding: 15px;
    }
    .fondo-text-left h1 {
        font-size: 1.8rem;
    }
}













        /* Contenedor de preguntas */
        .pregunta-container {
          border: 1px solid #ddd;
          padding: 20px;
          border-radius: 8px;
          margin-bottom: 20px;
          background-color: #f9f9f9;
      }
      
      /* Alternativas de respuesta */
      .alternativa {
          display: block;
          margin: 10px 0;
          padding: 10px;
          border: 1px solid #ddd;
          border-radius: 4px;
          cursor: pointer;
      }
      
      .alternativa:hover {
          background-color: #f0f0f0;
      }
      
      /* Botones de navegación */
      .botones-navegacion {
          display: flex;
          justify-content: space-between;
          margin-top: 20px;
      }
      
      button {
          padding: 10px 15px;
          background-color: #4CAF50;
          color: white;
          border: none;
          border-radius: 4px;
          cursor: pointer;
      }
      
      button:disabled {
          background-color: #cccccc;
          cursor: not-allowed;
      }
      
      /* Contenedor de resultados (oculto inicialmente) */
      #resultado {
          display: none;
          margin-top: 20px;
          padding: 20px;
          border-radius: 8px;
          background-color: #e8f5e9;
      }
      
      /* Estilos para los niveles */
      .nivel-bajo { color: #f44336; }
      .nivel-medio { color: #ff9800; }
      .nivel-alto { color: #4CAF50; }


      .contenedor-principal {
        max-width: 800px;
        margin: 0 auto;
        padding: 20px;
    }
    
    /* Contenedor dinámico mantiene el mismo espacio */
    #contenedor-dinamico {
        min-height: 300px; /* Ajusta según necesidad */
        position: relative;
    }
    
    .pregunta-container, .resultado-container {
        border: 1px solid #ddd;
        padding: 20px;
        border-radius: 8px;
        margin-bottom: 20px;
        background-color: #f9f9f9;
        transition: all 0.3s ease;
    }
    
    /* Ocultar/mostrar con transición suave */
    .pregunta-container {
        display: block;
    }
    
    .resultado-container {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }