.header-overlay {
    position: fixed;
    top: 1.5rem;
    left: 50%; /* Centrar horizontalmente */
    transform: translateX(-50%); /* Ajuste para centrar */
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: calc(100vw - 2rem);
  }

  .brand-section {
    display: flex;
    align-items: center;
  }

  .brand-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
  }

  .brand-link:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
  }

  .nav-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    letter-spacing: 0.01em;
  }

  .nav-link:hover {
    transform: translateY(-2px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: #ffffff;
  }

  /* Colores específicos para cada enlace */
  .nav-item:nth-child(1) .nav-link:hover {
    background: linear-gradient(135deg, #ff3434 25%,#ffdf60 50%, #6cc7fe 75%,  #05c065 100%);; /* Mezcla colores principal */
    color: white;
  }

  .nav-item:nth-child(2) .nav-link:hover {
    background: #ff3434; /* Rojo */
    color: white;
  }

  .nav-item:nth-child(3) .nav-link:hover {
    background: #ffdf60; /* Amarillo */
    color: white;
  }

  .nav-item:nth-child(4) .nav-link:hover {
    background: #6cc7fe; /* Azul claro */
    color: white;
  }

  .nav-item:nth-child(5) .nav-link:hover {
    background: #05c065; /* Verde */
    color: white;
  }

  /* Tooltip */
  .tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 10000;
    left: 50%;
    top: 80px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .tooltip::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: rgba(0, 0, 0, 0.9);
  }

  .tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  /* Responsive */
  @media (max-width: 1024px) {
    .header-overlay {
      gap: 1.5rem;
      padding: 0.875rem 1.5rem;
    }

    .nav-section {
      gap: 1rem;
    }

    .nav-link {
      padding: 0.625rem 1rem;
      font-size: 0.9rem;
    }

    .brand-link {
      font-size: 1.35rem;
    }
  }

  @media (max-width: 768px) {
    .header-overlay {
      gap: 1rem;
      padding: 0.75rem 1.25rem;
      top: 1rem;
      flex-direction: column;
      border-radius: 20px;
    }

    .brand-section {
      width: 100%;
    }

    .nav-section {
      gap: 0.75rem;
      flex-wrap: wrap;
      justify-content: center;
    }

    .nav-link {
      padding: 0.5rem 0.875rem;
      font-size: 0.85rem;
    }

    .brand-link {
      font-size: 1.25rem;
    }

    .tooltip {
      font-size: 12px;
      padding: 6px 10px;
      top: 70px;
    }
  }

  @media (max-width: 480px) {
    .header-overlay {
      left: 0.5rem !important;
      right: 0.5rem;
      transform: none !important;
      max-width: calc(100vw - 1rem);
    }

    .nav-section {
      gap: 0.5rem;
    }

    .nav-link {
      padding: 0.4rem 0.75rem;
      font-size: 0.8rem;
    }
  }

  /* Adaptación para modo oscuro */
  @media (prefers-color-scheme: dark) {
    .header-overlay {
      background: rgba(255, 255, 255, 0.05);
      border-color: rgba(255, 255, 255, 0.1);
    }

    .nav-link {
      background: rgba(255, 255, 255, 0.1);
      border-color: rgba(255, 255, 255, 0.15);
    }

    .nav-link:hover {
      background: rgba(255, 255, 255, 0.2);
      border-color: rgba(255, 255, 255, 0.3);
    }

    .brand-link {
      background: linear-gradient(135deg, #8B9CFE 0%, #9B7FC7 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
  }

  /* Animación de entrada */
  .header-overlay {
    animation: slideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-100%) translateX(-50%);
    }
    to {
      opacity: 1;
      transform: translateY(0) translateX(-50%);
    }
  }

  /* Ajuste para posición izquierda */
  .header-overlay.left-4 {
    animation: slideDownLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  @keyframes slideDownLeft {
    from {
      opacity: 0;
      transform: translateY(-100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Ajuste para posición derecha */
  .header-overlay.right-4 {
    animation: slideDownRight 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  @keyframes slideDownRight {
    from {
      opacity: 0;
      transform: translateY(-100%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Efecto de scroll - header más compacto */
  .header-overlay.scrolled {
    padding: 0.5rem 1.5rem;
    backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.2);
  }

  .header-overlay.scrolled .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .header-overlay.scrolled .brand-link {
    font-size: 1.25rem;
  }

          .carousel-container {
            position: relative;
            width: 100vw;
            height: 100vh;
            overflow: hidden;
        }

        .carousel-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
            transform: scale(1.1);
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .carousel-slide.active {
            opacity: 1;
            transform: scale(1);
        }

        .carousel-slide.next {
            transform: translateX(100%) scale(1.1);
        }

        .carousel-slide.prev {
            transform: translateX(-100%) scale(1.1);
        }

        .slide-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                135deg,
                rgba(0, 0, 0, 0.4) 0%,
                rgba(0, 0, 0, 0.1) 50%,
                rgba(0, 0, 0, 0.7) 100%
            );
            backdrop-filter: blur(1px);
        }

        .slide-content {
            position: relative;
            z-index: 2;
            text-align: center;
            color: white;
            max-width: 800px;
            padding: 0 2rem;
            transform: translateY(50px);
            opacity: 0;
            transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.3s;
        }

        .active .slide-content {
            transform: translateY(0);
            opacity: 1;
        }

        .slide-title {
            font-size: clamp(2.5rem, 6vw, 5rem);
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
            letter-spacing: -0.02em;
        }

        .slide-description {
            font-size: clamp(1rem, 2vw, 1.3rem);
            line-height: 1.6;
            opacity: 0.9;
            font-weight: 300;
            max-width: 600px;
            margin: 0 auto 2rem auto;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        }

        .slide-cta {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem 2rem;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50px;
            color: white;
            text-decoration: none;
            font-weight: 500;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }

        .slide-cta:hover {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
            transform: translateY(-2px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
        }

        .carousel-nav {
            position: absolute;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 0.5rem;
            z-index: 10;
        }

        .nav-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            outline: none;
        }

        .nav-dot.active {
            background: white;
            transform: scale(1.5);
            box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
        }

        .carousel-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            color: white;
            font-size: 1.5rem;
        }

        .carousel-arrow:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-50%) scale(1.1);
        }

        .carousel-arrow.prev {
            left: 2rem;
        }

        .carousel-arrow.next {
            right: 2rem;
        }

        .progress-bar {
            position: absolute;
            bottom: 0;
            left: 0;
            height: 3px;
            background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7);
            transform-origin: left;
            transform: scaleX(0);
            transition: transform 5s linear;
            z-index: 10;
        }

        .progress-bar.active {
            transform: scaleX(1);
        }

        @media (max-width: 768px) {
            .carousel-arrow {
                width: 50px;
                height: 50px;
                font-size: 1.2rem;
            }
            
            .carousel-arrow.prev {
                left: 1rem;
            }
            
            .carousel-arrow.next {
                right: 1rem;
            }
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            overflow-x: hidden;
        }

        /* Contenedor principal con scroll snap */
        .scroll-container {
            height: 100vh;
            overflow-y: scroll;
            scroll-snap-type: y mandatory;
            scroll-behavior: smooth;
        }

        /* Cada sección */
        .section {
            height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            scroll-snap-align: center;
            scroll-snap-stop: always;
            position: relative;
            text-align: center;
        }

        /* Estilos para las secciones */
        .section:nth-child(1) {
            background: linear-gradient(135deg, #ff3434 25%,#ffdf60 50%, #6cc7fe 75%,  #05c065 100%);
            color: white;
        }

        .section:nth-child(2) {
            background: linear-gradient(135deg, #ff6464 0%, #ff3434 100%);
            color: white;
        }

        .section:nth-child(3), .section:nth-child(4) {
            background: linear-gradient(135deg, #ffec89 0%, #ffdf60 100%);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .section:nth-child(4) {
            background: linear-gradient(135deg, #0ed976 0%, #05c065 100%);
            color: white;
        }

        .section:nth-child(5) {
            background: linear-gradient(135deg, #b9e2fe 0%, #6cc7fe 100%);
            color: white;
        }
        .section:nth-child(6) {
            background: linear-gradient(135deg,  #05c065 25%,#6cc7fe 50%, #ffdf60 75%,  #ff3434 100%);
            color: white;
        }

html,
body {
    height: 100%;
    margin: 0;
    overflow: hidden; /* Para controlar el scroll con JS */
}

body {
    display: flex;
    justify-content: center; /* Centra horizontalmente el contenido del body */
    align-items: center; /* Centra verticalmente el contenido del body */
}

.scroll-container {
    width: 100%;
    height: 100%;
    overflow-y: scroll; /* Permite el scroll vertical */
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
}

        .section-content .container {
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .section h2 {
            font-size: 3rem;
            margin-bottom: 1rem;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease forwards;
        }

        .section p {
            font-size: 1.2rem;
            line-height: 1.6;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.3s forwards;
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Indicador de scroll */
        .scroll-indicator {
            position: fixed;
            right: 2rem;
            top: 50%;
            transform: translateY(-50%);
            z-index: 100;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            margin: 8px 0;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .dot.active {
            background: white;
            transform: scale(1.3);
        }

        /* Navegación suave mejorada */
        @media (prefers-reduced-motion: no-preference) {
            .scroll-container {
                scroll-behavior: smooth;
            }
        }
        .share-widget {
          position: relative;
          background: rgba(255, 255, 255, 0.1);
          backdrop-filter: blur(20px);
          border-radius: 25px;
          border: 1px solid rgba(255, 255, 255, 0.2);
          box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
          padding: 2rem;
          text-align: center;
          max-width: 450px;
          width: 100%;
          margin: 0 auto;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
      }

      .share-title {
          color: white;
          font-size: 1.5rem;
          font-weight: 700;
          margin-bottom: 0.5rem;
          background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          background-clip: text;
          letter-spacing: -0.01em;
      }

      .share-subtitle {
          color: rgba(255, 255, 255, 0.8);
          font-size: 0.9rem;
          margin-bottom: 2rem;
          font-weight: 300;
      }

      .url-preview {
          background: rgba(255, 255, 255, 0.05);
          backdrop-filter: blur(10px);
          border: 1px solid rgba(255, 255, 255, 0.15);
          border-radius: 15px;
          padding: 1rem;
          margin-bottom: 2rem;
          color: rgba(255, 255, 255, 0.9);
          font-family: monospace;
          font-size: 0.9rem;
          word-break: break-all;
          box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
      }

      .social-buttons {
          display: flex;
          justify-content: center;
          align-items: center;
          gap: 1.2rem;
          margin: 0 auto;
          flex-wrap: wrap;
          width: 100%;
      }

      .social-btn {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 60px;
          height: 60px;
          background: rgba(255, 255, 255, 0.1);
          backdrop-filter: blur(15px);
          border: 1px solid rgba(255, 255, 255, 0.2);
          border-radius: 15px;
          color: white;
          text-decoration: none;
          font-size: 1.3rem;
          transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
          box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
          position: relative;
          overflow: hidden;
          margin: 0.5rem;
      }

      .social-btn::before {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
          bottom: 0;
          background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
          opacity: 0;
          transition: opacity 0.3s ease;
      }

      .social-btn:hover::before {
          opacity: 1;
      }

      .social-btn:hover {
          transform: translateY(-5px) scale(1.05);
          box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
          border-color: rgba(255, 255, 255, 0.4);
      }

      .social-btn:active {
          transform: translateY(-2px) scale(1.02);
      }

      /* Colores específicos para cada red social */
      .twitter:hover {
          background: #1DA1F2;
          border-color: #1DA1F2;
      }

      .facebook:hover {
          background: #1877F2;
          border-color: #1877F2;
      }

      .linkedin:hover {
          background: #0A66C2;
          border-color: #0A66C2;
      }

      .whatsapp:hover {
          background: #25D366;
          border-color: #25D366;
      }

      .telegram:hover {
          background: #0088CC;
          border-color: #0088CC;
      }

      .copy-url-btn {
          display: flex;
          align-items: center;
          justify-content: center;
          gap: 0.5rem;
          width: 100%;
          padding: 1rem;
          background: rgba(255, 255, 255, 0.15);
          backdrop-filter: blur(10px);
          border: 1px solid rgba(255, 255, 255, 0.25);
          border-radius: 15px;
          color: white;
          font-weight: 500;
          font-size: 0.95rem;
          cursor: pointer;
          transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      }

      .copy-url-btn:hover {
          background: rgba(255, 255, 255, 0.25);
          transform: translateY(-2px);
          box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
      }

      .tooltip {
          position: absolute;
          top: -40px;
          left: 50%;
          transform: translateX(-50%);
          background: rgba(0, 0, 0, 0.8);
          color: white;
          padding: 0.5rem 1rem;
          border-radius: 8px;
          font-size: 0.8rem;
          white-space: nowrap;
          opacity: 0;
          visibility: hidden;
          transition: all 0.3s ease;
          backdrop-filter: blur(10px);
          border: 1px solid rgba(255, 255, 255, 0.1);
          z-index: 100;
      }

      .tooltip.show {
          opacity: 1;
          visibility: visible;
          transform: translateX(-50%) translateY(-5px);
      }

      @keyframes slideUp {
          from {
              opacity: 0;
              transform: translateY(50px) scale(0.9);
          }
          to {
              opacity: 1;
              transform: translateY(0) scale(1);
          }
      }

      @keyframes pulse {
          0%, 100% { transform: scale(1); }
          50% { transform: scale(1.05); }
      }

      .copied {
          animation: pulse 0.6s ease;
          background: rgba(5, 192, 101, 0.3) !important;
          border-color: #05c065 !important;
      }

      /* Responsive */
      @media (max-width: 480px) {
          .share-widget {
              padding: 1.5rem;
              margin: 1rem auto;
              max-width: 600px;
              text-align: center;
          }

          .social-buttons {
              display: flex;
              flex-wrap: wrap;
              justify-content: center;
              align-items: center;
              gap: 1rem;
              margin: 2rem auto;
              max-width: 400px;
          }

          .social-btn {
              width: 50px;
              height: 50px;
              font-size: 1.2rem;
              margin: 0.5rem;
          }

          .share-title {
              font-size: 1.3rem;
          }
      }

      /* Iconos SVG reales */
      .social-btn svg {
          width: 24px;
          height: 24px;
          fill: currentColor;
      }

.footer {
    background: rgba(0, 0, 0, 0.1); /* Fondo semitransparente */
    backdrop-filter: blur(15px); /* Efecto de desenfoque */
    color: #fff;
    padding: 60px 20px;  /* Increased top and bottom padding */
    min-height: 500px;   /* Added minimum height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

a {
  color: white;
}