    nav {
      background: #1C1C1C;
      background: linear-gradient(0deg, #141414 0%, #1F1F1F 100%);
      border-bottom: 1px solid #121212;
      display: flex;
      align-items: center;
      padding: 0px 20px;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      box-shadow: 0 4px 6px rgba(0,0,0,0.5);
      z-index: 9999999 !important;
    }
    

    .logo {
      font-weight: bold;
      font-size: 30px;
      color: #707070;
      padding: 10px;
      padding-right: 10px;
    }


    .logo_area{
    padding: 0px;
    padding-right: 35px;
    padding-left: 20px;
    display: flex;
    }

.search-box {
    background: #474747; /* Quase preto, mas não absoluto */
    display: flex;
    align-items: center;
    border-radius: 4px;
    border: 1px solid #363636; /* Cinza quase preto pra separar do fundo */
    box-shadow: inset 0 8px 8px -7px rgba(0, 0, 0, 0.644); /* Sombra interna clara no modo dark */
    margin-left: 20px;
    padding-right: 50px;
    margin-right: 20px;
    color: white;
}

.search-box:focus-within {
  border-color: #4A90E2;
  box-shadow: 0 0 10px rgba(74, 144, 226, 0.6);
}




.search-box input {
    border: none;
    outline: none;
    background: none;
    padding-top: 3px;
    padding-bottom: 2px;
    padding-left: 3px;
    width: 250px;
    font-size: 16px;
    color: white;
}

.search-box button {
    border: none;
    cursor: pointer;
    background-color: #00000000;
    padding-left: 3px;
    color: #8d8d8d;
}



    .nav-links {
      display: flex;
      gap: 20px;
    }

    .nav-links a {
      color: #fff;
      text-decoration: none;
      padding: 8px 12px;
      border-radius: 8px;
      transition: background 0.3s;
    }

    .nav-links a:hover {
      background-color: #111;
    }

        /* Navbar Bottom - Mobile */
    .navbar-bottom {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: #1C1C1C;
      background: linear-gradient(0deg, #141414 0%, #1F1F1F 100%);
      border-top: 1px solid #181818;
      padding: 10px 0;
      z-index: 1000;
      box-shadow: 0 -4px 6px rgba(0,0,0,0.5);
    }

    .navbar-bottom-content {
      display: flex;
      justify-content: space-around;
      align-items: center;
      max-width: 600px;
      margin: 0 auto;
    }

    .navbar-bottom a {
      color: #fafafa;
      text-decoration: none;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 8px;
      font-size: 20px;
      transition: color 0.3s;
    }

    .navbar-bottom a:hover {
      color: #4A90E2;
    }


    /* Sidebar Desktop */
    .sidebar {
      position: fixed;
      top: 50px;
      left: 0;
      width: 220px;
      height: calc(100% - 70px);
      background: #1C1C1C;
      background: linear-gradient(0deg, #141414 0%, #141414 100%);
      border: 1px solid #181818;
      padding-top: 20px;
      border-radius: 4px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.7);
      height: 100%;
      z-index: 999999 !important;


    }

    .sidebar a {
      color: #fafafa;
      text-decoration: none;
      padding: 15px 25px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 18px;
      margin-top: 8px;
    }

    .sidebar a:hover {
      background-color: #3b3b3b;
    }



/* MEDIA QUERIES PARA RESPONSIVIDADE */

/* Tablets */
@media (max-width: 1024px) {
  .sidebar {
    width: 180px;
  }
  
  .profile-container {
    margin-left: 180px;
    padding: 20px;
  }
  
  .logo {
    font-size: 24px;
  }
  
  .search-box input {
    width: 200px;
  }
  /* Ajustar galeria */
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 8px;
    padding: 10px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  body {
    margin-bottom: 70px; /* Espaço para navbar bottom */
  }
  
  /* Esconder sidebar lateral */
  .sidebar {
    display: none;
  }
  
  /* Mostrar navbar bottom */
  .navbar-bottom {
    display: block;
    padding-bottom: 20px;
  }
  
  /* Ajustar container principal */
  .profile-container {
    margin-left: 0;
    padding: 15px;
    margin-top: 20px;
  }
  
  /* Ajustar navbar superior */
  nav {
    padding: 8px 15px;
  }
  
  .logo {
    font-size: 26px;
  }
  
  .logo_area {
    padding-right: 15px;
    padding-left: 10px;
  }
  
  .search-box {
    margin-left: 5px;
    margin-right: 5px;
    padding-right: 200px;
  }
  
  .search-box input {
    width: 150px;
    font-size: 14px;
    padding-right: 200px;
  }

    nav {
    padding: 0 10px;
    height: 60px;
  }
  
  .logo {
    font-size: 28px;
    padding: 10px 5px;
    padding-right: 15px;
  }
  
  .logo_area {
    border-right: none;
    padding: 0 10px 0 0;
  }
  
  .search-box {
    margin: 0 10px;
    width: 230px;
    padding-right: 30px;
  }
  
  .search-box input {
    font-size: 14px;
    padding: 10px;
  }
  
  .nav-links {
    gap: 10px;
  }
  
  .nav-links a {
    padding: 6px 8px;
    font-size: 14px;
  }
  .marquee-container {
    display: none;
      visibility: hidden;
    }
/* Texto que vai animar */
.marquee {
  display:none;
  display: none !important;
}
.last-update p{
display: none;
}

.last-update {
display: none;
}
}


/* Container do texto com overflow escondido e fade nas pontas */
.marquee-container {
  flex: 1;
  overflow: hidden;
  position: relative;
  margin-right: 200px;

  /* Máscara para criar o efeito fade */
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* Texto que vai animar */
.marquee {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: marquee-scroll 15s linear infinite;
  font-size: 1rem;
  user-select: none;
}

/* Animação do texto da direita para esquerda */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.last-update p{
  padding: 0px 10px;
  font-size: 20px;
}

.last-update {
  position: relative;
  padding-left: 1rem; /* espaço entre o texto e a borda */
  height: 100%;        /* para crescer até o tamanho da navbar */
  border-left: 1px solid #2a2a2a;
}


.submenu {
  display: none;
  flex-direction: column;
  margin-left: 30px;
  gap: 8px;
}

.submenu a {
  padding: 10px 25px;
  font-size: 16px;
  background-color: #2a2a2a;
  border-radius: 6px;
}

#moreToggle .submenu-icon {
  margin-left: auto;
  transition: transform 0.3s ease;
}

/* Quando o submenu estiver aberto, rotaciona a setinha */
.submenu-open .submenu-icon {
  transform: rotate(180deg);
}





        /* Menu Mais com submenu flutuante */
        .more-menu {
            position: relative;
        }

        .more-toggle {
            cursor: pointer;
        }

        .more-toggle .arrow {
            margin-left: auto;
            transition: transform 0.3s ease;
            font-size: 12px;
        }

        .more-menu.active .arrow {
            transform: rotate(180deg);
        }

        /* Menu flutuante */
        .floating-menu {
            position: fixed;
            left: 230px;
            top: 68%;
            width: 250px;
            background: #2a2a2a;
            background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
            border: 1px solid #404040;
            border-radius: 12px;
            box-shadow: 
                0 20px 40px rgba(0, 0, 0, 0.9),
                0 0 30px rgba(74, 144, 226, 0.2);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-50%) translateX(-20px) scale(0.9);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 2000;
            backdrop-filter: blur(15px);
            z-index: 999999 !important;
            position: fixed;
        }

        .floating-menu::before {
            content: '';
            position: absolute;
            left: -12px;
            top: 90%;
            width: 0;
            height: 0;
            border-top: 12px solid transparent;
            border-bottom: 12px solid transparent;
            border-right: 12px solid #404040;
            transform: translateY(-50%);
        }

        .floating-menu::after {
            content: '';
            position: absolute;
            left: -10px;
            top: 90%;
            width: 0;
            height: 0;
            border-top: 12px solid transparent;
            border-bottom: 12px solid transparent;
            border-right: 12px solid #2a2a2a;
            transform: translateY(-50%);
        }

        .more-menu.active .floating-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(-50%) translateX(0) scale(1);
        }

        .floating-menu a {
            padding: 15px 25px;
            margin: 0;
            border-radius: 0;
            font-size: 16px;
            background: transparent;
            border-bottom: 1px solid #333;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .floating-menu a:first-child {
            border-radius: 12px 12px 0 0;
        }

        .floating-menu a:last-child {
            border-radius: 0 0 12px 12px;
            border-bottom: none;
        }

        .floating-menu a:hover {
            background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
            color: white;
            padding-left: 30px;
            box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
        }

        /* Overlay para fechar menu */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            z-index: 1999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            backdrop-filter: blur(2px);
        }

        .overlay.active {
            opacity: 1;
            visibility: visible;
        }


          /* Navbar bottom mobile */
@media (max-width: 768px) {

  .navbar-bottom {
    display: block !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(0, 0, 0, 0.815);
    backdrop-filter: blur(20px);
      bottom: 0 !important;
  top: auto !important;  /* garante que não vai colar no topo */
  background: #1C1C1C;
      background: linear-gradient(0deg, #141414 0%, #1F1F1F 100%);
      background: rgba(0, 0, 0, 0.637) !important;
  backdrop-filter: blur(20px) !important;
  }

  .navbar-bottom-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
  }

  .navbar-bottom a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #aaa;
    font-size: 20px;
    padding: 8px;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 44px;
  }

  .navbar-bottom i {
    font-size: 24px;
    margin-bottom: 4px;
  }
}

    /* Navbar Bottom */
    .navbar-bottom {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      height: 80px;
      background: rgba(0, 0, 0, 0.712);
      backdrop-filter: blur(20px);
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      z-index: 9999;
      box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.4);
    }

.navbar-bottom-content svg {
  width: 28px;  /* ou o tamanho que você usa nos outros ícones */
  height: 26px;
  fill: currentColor; /* pega a cor do texto do link */
}

    .navbar-bottom-content {
      display: flex;
      justify-content: space-around;
      align-items: center;
      height: 100%;
      padding-bottom: 20px;
    }

    .navbar-bottom a {
      display: flex;
      flex-direction: column;
      align-items: center;
      color: #f8f9f9;
      font-size: 26px;
      padding: 8px;
      border-radius: 12px;
      transition: all 0.3s ease;
      text-decoration: none;
    }

    .navbar-bottom a:hover {
      color: #4A90E2;
    }

    .profile-mini {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      object-fit: cover;
    }



        /* Menu Mais com submenu flutuante */
        .more-friend-menu {
            position: relative;
        }

        .more-friend-toggle {
            cursor: pointer;
        }

        .more-friend-toggle .arrow {
            margin-left: auto;
            transition: transform 0.3s ease;
            font-size: 12px;
        }

        .more-friend-menu.active .arrow {
            transform: rotate(180deg);
        }

        /* Menu flutuante */
        .floating-friend-menu {
            position: fixed;
            left: 230px;
            top: 28%;
            width: 250px;
            background: #2a2a2a;
            background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
            border: 1px solid #404040;
            border-radius: 12px;
            box-shadow: 
                0 20px 40px rgba(0, 0, 0, 0.9),
                0 0 30px rgba(74, 144, 226, 0.2);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-50%) translateX(-20px) scale(0.9);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 2000;
            backdrop-filter: blur(15px);
            z-index: 999999 !important;
            position: fixed;
        }

        .floating-friend-menu::before {
            content: '';
            position: absolute;
            left: -12px;
            top: 50%;
            width: 0;
            height: 0;
            border-top: 12px solid transparent;
            border-bottom: 12px solid transparent;
            border-right: 12px solid #404040;
            transform: translateY(-50%);
        }
        .floating-friend-menu::after {
            content: '';
            position: absolute;
            left: -10px;
            top: 50%;
            width: 0;
            height: 0;
            border-top: 12px solid transparent;
            border-bottom: 12px solid transparent;
            border-right: 12px solid #2a2a2a;
            transform: translateY(-50%);
        }


    .more-friend-menu.active .floating-friend-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(-50%) translateX(0) scale(1);
    }

        .floating-friend-menu a {
            padding: 15px 25px;
            margin: 0;
            border-radius: 0;
            font-size: 16px;
            background: transparent;
            border-bottom: 1px solid #333;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .floating-friend-menu a:first-child {
            border-radius: 12px 12px 0 0;
        }

        .floating-friend-menu a:last-child {
            border-radius: 0 0 12px 12px;
            border-bottom: none;
        }

        .floating-friend-menu a:hover {
            background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
            color: white;
            padding-left: 30px;
            box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
        }

        /* Overlay para fechar menu */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            z-index: 1999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            backdrop-filter: blur(2px);
        }

        .overlay.active {
            opacity: 1;
            visibility: visible;
        }


            /* Navbar Bottom */
    .navbar-bottom {
      position: fixed !important;
      bottom: 0!important;
      left: 0 !important;
      right: 0 !important;
      height: 80px !important;
      background: rgba(0, 0, 0, 0.712) !important;
      backdrop-filter: blur(20px) !important;
      border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
      z-index: 9999 !important;
      box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.4) !important;
    }

.navbar-bottom-content svg {
  width: 28px;  /* ou o tamanho que você usa nos outros ícones */
  height: 26px;
  fill: currentColor; /* pega a cor do texto do link */
}

    .navbar-bottom-content {
      display: flex !important;
      justify-content: space-around !important;
      align-items: center !important;
      height: 100% !important;
      padding-bottom: 20px !important;
    }

    .navbar-bottom a {
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      color: #f8f9f9 !important;
      font-size: 26px !important;
      padding: 8px;
      border-radius: 12px;
      transition: all 0.3s ease;
      text-decoration: none;
    }

    .navbar-bottom a:hover {
      color: #4A90E2;
    }

    .profile-mini {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      object-fit: cover;
    }
