    /* === SIDEBAR === */
   .uph-sidebar {
  position: fixed;
  top: 80px;
  left: 0;
  width: 60px;
  height: calc(100vh - 80px);
  background: #146698;
  z-index: 1100;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 12px;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
}

/* Ocultar sidebar en móviles por defecto */
@media (max-width: 900px) {
  .uph-sidebar {
    width: 0; /* Ocultar completamente */
    overflow: hidden;
    transition: width 0.3s ease;
  }

  .uph-sidebar.expanded {
    width: 220px;
  }
}

    .uph-sidebar.expanded {
      width: 220px;
    }

    /* Botón con SVG */
   .uph-sidebar-toggle {
  width: 40px;
  height: 40px;
  padding: 0;
  background: #005a87;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

    .uph-sidebar-toggle svg {
      width: 28px;
      height: 28px;
      fill: #00c3ff;
      display: block;
    }

    .uph-sidebar-toggle:hover svg {
      fill: white;
    }

    .uph-sidebar-toggle:hover {
      background: #004a70;
      transform: scale(1.05);
    }

    /* Navegación con scroll */
    .uph-sidebar-nav {
      width: 100%;
      flex: 1;
      padding: 0 8px;
      overflow-y: auto; /* Habilitar scroll */
      scrollbar-width: thin;
      scrollbar-color: #005a87 #146698;
    }

    .uph-sidebar-nav::-webkit-scrollbar {
      width: 6px;
    }

    .uph-sidebar-nav::-webkit-scrollbar-track {
      background: #146698;
    }

    .uph-sidebar-nav::-webkit-scrollbar-thumb {
      background: #005a87;
      border-radius: 8px;
    }

    .uph-nav-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 20px;              /* Menos separación entre ítems */
      width: 100%;
      padding-bottom: 8px;  /* Espacio abajo para que no se corte */
    }

    .uph-nav-item {
      min-height: 40px;
      width: 100%;
    }

    .uph-nav-item a {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 6px 8px;
      text-decoration: none !important;
      color: #eaf4fb !important;
      text-decoration: none;
      border-radius: 6px;
      transition: all 0.2s ease;
      font-size: 0.92rem;
      gap: 12px;
      font-weight: 700;

    }

    .uph-nav-item a:hover {
      background: #00c3ff;
      color: white !important;
    }

    .uph-nav-item a.active {
      background: #00c3ff;
      font-weight: 600;
    }

    /* Íconos: que no se corten y se centren */
 .uph-nav-item i {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-size: 20px 20px;
  background-position: center;
  background-repeat: no-repeat;
  vertical-align: middle;
  border: 2px solid #00c3ff;
  border-radius: 8px;
  box-sizing: border-box;
  background-color: #eaf4fb;
}

/* Mostrar el texto "Home" siempre */
.uph-nav-item .uph-nav-text {
  display: inline;
  margin-left: 8px;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Sidebar cerrado: línea azul en hover y activo */
.uph-sidebar:not(.expanded) .uph-nav-item a:hover::before,
.uph-sidebar:not(.expanded) .uph-nav-item a.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 2px;
  background: #00c3ff;
}

/* Sidebar cerrada: color azul y fondo claro en activo */
.uph-sidebar:not(.expanded) .uph-nav-item a.active {
  color: #00c3ff !important;
  background: #eaf4fb !important;
  font-weight: 700;
}

/* Sidebar cerrado: posición relativa para el link */
.uph-sidebar:not(.expanded) .uph-nav-item a {
  position: relative;
}

/* Sidebar cerrado: color azul en activo */
.uph-sidebar:not(.expanded) .uph-nav-item a.active {
  color: #00c3ff !important;
}
    i.casino          { background-image: url('https://www.offidocs.com/images/plus/favicon.ico'); }
    i.action          { background-image: url('https://www.myvpnonline.com/images/vpnicon.svg'); }
    i.arcade          { background-image: url('https://www.offidocs.com/images/aiicon.svg?v=1'); }
    i.book-reference  { background-image: url('https://www.offidocs.com/images/docicon.svg?v=1'); }
    i.casual          { background-image: url('https://www.offidocs.com/images/aiicon.svg?v=1'); }
    i.puzzle          { background-image: url('https://www.offidocs.com/images/pdficon.svg?v=1'); }
    i.simulation      { background-image: url('https://www.myvpnonline.com/images/vpnicon.svg'); }
    i.game_sports     { background-image: url('https://www.offidocs.com/images/aiicon.svg?v=1'); }
    i.strategy        { background-image: url('https://www.offidocs.com/images/docicon.svg?v=1'); }
    i.personalization { background-image: url('https://www.offidocs.com/images/docicon.svg?v=1'); }
    i.lifestyle       { background-image: url('https://www.myvpnonline.com/images/vpnicon.svg'); }

    /* Solo ocultar el texto, no el ícono */
    .uph-nav-item .uph-nav-text,
    .uph-nav-item strong {
      display: none;
    }

    /* Mostrar texto al expandir y en blanco, con más separación y grueso */
    .uph-sidebar.expanded .uph-nav-item .uph-nav-text,
    .uph-sidebar.expanded .uph-nav-item strong {
      display: inline;
      margin-left: 8px;     /* Menos separación */
      font-weight: 500;      /* Letras más gruesas */
      color: #fff;
      font-size: 0.82rem;
      letter-spacing: 0.2px;
    }

    /* Solo sidebar expandida: letras más grandes y gruesas */
.uph-sidebar.expanded .uph-nav-item .uph-nav-text,
.uph-sidebar.expanded .uph-nav-item strong {
  display: inline;
  margin-left: 8px;
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.2px;
}

    .uph-sidebar.expanded .uph-nav-item a {
      justify-content: flex-start;
    }

    /* === HEADER COMPLETO === */
    /* Header: alineación mejorada */
.uph-header {
  background: #146698;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between; 
  gap: 0;
  padding: 0 24px 0 10px; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1200;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.uph-header-left {
  display: flex;
  align-items: center;
  gap: 0;
}

.uph-header-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.uph-header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Logo */
    .uph-logo {
      display: flex;
      align-items: center;
      margin-right: 20px;
      margin-left: 40px;
    }

    .uph-logo-img {
      height: 58px;
      width: 58px;
      border-radius: 12px;
      border: 2px solid #00c3ff;
      background: #eaf4fb;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    /* Agrupa búsqueda, select y apps */
    .uph-header-center-group {
      display: flex;
      align-items: center;
      gap: 18px;
    }

    /* Búsqueda más ancha y centrada */
.uph-search-container {
  position: relative;
  width: 340px;
  min-width: 180px;
  max-width: 100%;
}
.uph-search-input-modern {
  width: 100%;
  padding: 14px 56px 14px 20px;
  border: 2px solid #00c3ff;
  border-radius: 32px;
  font-size: 1.08rem;
  background: #f6fbff;
  color: #146698;
  box-shadow: 0 4px 16px rgba(0,195,255,0.12);
  transition: box-shadow 0.2s, border 0.2s;
}
.uph-search-input-modern:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0,195,255,0.18);
  border: 2px solid #00c3ff;
}
.uph-search-input-modern::placeholder {
  color: #14669899;
  font-weight: 500;
  letter-spacing: 0.5px;
}
 .uph-search-btn {
  position: absolute;
  right: 10px;
  top: 38%;
  transform: translateY(-50%);
  background: #00c3ff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 2px 8px rgba(0,195,255,0.18);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 2; /* Asegura que esté sobre el input */
}
.uph-search-btn:hover,
.uph-search-btn:active,
.uph-search-btn:focus {
  background: #146698;
  color: #fff;
  
}

    /* Selector de idioma en línea */
    .uph-language-dropdown {
      padding: 8px 12px;
      border-radius: 32px;
      border: 1px solid #005a87;
      background: #eaf4fb;
      color: #146698;
      font-size: 0.9rem;
      outline: none;
      min-width: 140px;
    }

    .uph-language-dropdown:focus {
      border-color: #00c3ff;
      box-shadow: 0 0 0 3px rgba(0, 195, 255, 0.2);
    }

    /* Botones apps */
    .uph-quick-apps {
       display: flex;
  gap: 18px;
  margin-left: 18px;
  align-items: center;
}

    .uph-quick-apps a {
       display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: none;
  border: none;
  box-shadow: none;
  transition: transform 0.2s;
}

    .uph-quick-apps a:hover {
      transform: scale(1.18);
    }

    .uph-quick-apps img {
       width: 35px;
  height: 35px;
  opacity: 1;
  transition: filter 0.2s;
  filter: drop-shadow(0 2px 6px #00c3ff33);
    }

      .index-category li a i {  
        width: 35px;
        height: 35px;
       
    }
.uph-sidebar:not(.expanded) .uph-nav-item a:hover {
  position: relative;
  background: none;
  color: #00c3ff !important;
}
.uph-sidebar:not(.expanded) .uph-nav-item a:hover::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 2px;
  background: #00c3ff;
}

    /* Responsive */
   

    @media (min-width: 100px) {
  .index-category li {
    height: 40px;             
    padding: 8px 0;
    position: relative;
    /* Quita overflow y text-overflow para que no corte el contenido */
    overflow: visible;
    text-overflow: unset;
    white-space: nowrap;
  }
}

    /* ============= RESPONSIVE (LO QUE QUIERES) ============= */
@media (max-width: 768px) {
  .uph-header {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0 12px;
    height: 100px;
    gap: 30px;
  }
  .uph-header-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  .uph-header-right-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .uph-header-top-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
  }
  .uph-header-bottom-row {
    display: flex;
    align-items: center;
    margin-top: 4px;
    width: 100%;
  }
  .uph-search-container {
    min-width: 0;
    width: 100%;
    max-width: 80%;
  }
  .uph-search-input-modern {
    padding: 7px 34px 7px 10px;
    font-size: 0.88rem;
    border-radius: 18px;
  }
  .uph-search-btn {
    width: 20px;
    font-size: 0.95rem;
    right: 5px;
  }
  .uph-language-dropdown {
    min-width: 70px;
    font-size: 0.78rem;
    padding: 5px 7px;
    border-radius: 14px;
  }
  .uph-quick-apps {
    gap: 10px;
    margin-left: 8px;
  }
  .uph-quick-apps a,
  .uph-quick-apps img {
    width: 26px;
    height: 26px;
  }
  .uph-logo {
    display: none !important;
  }
}

@media (max-width: 900px) and (min-width: 769px) {
  .uph-header {
    padding: 0 8px 0 4px;
    height: 70px;
  }
  .uph-logo-img {
    height: 40px;
    width: 40px;
  }
  .uph-logo {
    margin-right: 10px;
    margin-left: 10px;
  }
  .uph-search-container {
    width: 220px;
    min-width: 120px;
  }
  .uph-language-dropdown {
    min-width: 90px;
    font-size: 0.82rem;
    padding: 6px 8px;
  }
  .uph-quick-apps a,
  .uph-quick-apps img {
    width: 28px;
    height: 28px;
  }
  .uph-header-right {
    gap: 10px;
  }
  .uph-sidebar{
       top: 70px;
  }
  .uph-header-left {
   gap: 10px
  }
 
}

.uph-header-center.desktop-only {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.uph-header-right.desktop-only {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ...existing code... */
.desktop-only {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-only { display: none; }

@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: flex !important; }
}


