/***********************************
 * Fondo con degradado animado
 ***********************************/
 body {
    background: linear-gradient(-45deg, #0d47a1, #1976d2, #42a5f5, #90caf9);
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite;
    color: white; /* Para que el texto resalte */
  }
  
  /* Animación del degradado */
  @keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  /***********************************
   * Contenedor principal
   ***********************************/
  .custom-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: Arial, sans-serif;
    background-color: rgba(0, 0, 0, 0.7); /* Fondo oscuro translúcido */
    border-radius: 10px;
    color: white;
  }
  
  /***********************************
   * Título principal (h1) centrado
   ***********************************/
  .custom-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
  }
  
  /***********************************
   * Video cuadrado centrado
   ***********************************/
  .custom-video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
  }
  
  .custom-video-container {
    position: relative;
    width: 110%;
    max-width: 550px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .custom-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
  
  /***********************************
   * Sección de contenido
   ***********************************/
  .custom-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
  }
  
  .custom-subtitle {
    font-size: 26px;
    color: #ffeb3b; /* Amarillo para resaltar */
    margin-top: 30px;
    margin-bottom: 15px;
  }
  
  .custom-content p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  
  /***********************************
   * Botón de llamada a la acción
   ***********************************/
  .custom-cta-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  
  .custom-cta-button {
    display: inline-block;
    padding: 16px 30px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    background-color: #ff9800; /* Naranja vibrante */
    border: none;
    border-radius: 40px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    animation: pulse 2s infinite;
  }
  
  /* Hover para el botón */
  .custom-cta-button:hover {
    background-color: #e68900;
    transform: scale(1.08);
  }
  
  /* Animación de latido (pulse) */
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
  
  /***********************************
   * Responsivo para móviles
   ***********************************/
  @media (max-width: 768px) {
    .custom-title { font-size: 28px; margin-bottom: 30px; }
    .custom-subtitle { font-size: 22px; }
    .custom-content p { font-size: 18px; }
    .custom-video-container { max-width: 90%; }
    .custom-cta-button { font-size: 18px; padding: 12px 24px; }
  }
  
          /* Estilos específicos para el video */
          .video-dinamicas {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            max-width: 400px; /* Ajustado para formato 9:16 */
            margin: 20px auto;
            position: relative;
            background: #000; /* Fondo para evitar parpadeo */
            border-radius: 10px;
            overflow: hidden;
        }

        .video-dinamicas video {
            width: 100%;
            height: auto;
            aspect-ratio: 9 / 16;
            border-radius: 10px;
        }