   .dropdown {
      position: absolute;
      top: 65px; 
      right: 0;
      width: 280px; 
      background-color: var(--muted);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 10px 0;
      box-shadow: var(--shadow-m);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px) scale(0.98);
      transform-origin: top right;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      overflow: hidden;
    }
    
    .menu-container.active .dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
    }
    
    .dropdown-content {
      display: flex;
      flex-direction: column;
    }
    
    .dropdown-content a {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 24px;
      text-decoration: none;
      font-family: var(--font-serif);
      font-size: 16px;
      color: var(--ink);
      border-bottom: 1px solid var(--hairline);
      transition: background-color 0.3s ease, padding-left 0.3s ease;
      opacity: 0;
      transform: translateY(10px);
    }
    
    .dropdown-content a:last-child {
      border-bottom: none; 
    }
    
    .dropdown-content a:hover {
      background-color: var(--muted-3);
      padding-left: 28px; 
      color: var(--ink); 
    }
    
    .arrow-menu {
      font-family: sans-serif;
      font-size: 14px;
      opacity: 0;
      transform: translateX(-10px);
      transition: all 0.3s ease;
      color: var(--text-3);
    }
    
    .dropdown-content a:hover .arrow-menu {
      opacity: 1;
      transform: translateX(0);
    }
    
    .menu-container.active .dropdown-content a {
      animation: slideInText 0.5s forwards;
    }
    
    .menu-container.active .dropdown-content a:nth-child(1) { animation-delay: 0.05s; }
    .menu-container.active .dropdown-content a:nth-child(2) { animation-delay: 0.1s; }
    .menu-container.active .dropdown-content a:nth-child(3) { animation-delay: 0.15s; }
    .menu-container.active .dropdown-content a:nth-child(4) { animation-delay: 0.2s; }
    .menu-container.active .dropdown-content a:nth-child(5) { animation-delay: 0.25s; }
    .menu-container.active .dropdown-content a:nth-child(6) { animation-delay: 0.3s; }
    .menu-container.active .dropdown-content a:nth-child(7) { animation-delay: 0.35s; }
    .menu-container.active .dropdown-content a:nth-child(8) { animation-delay: 0.4s; }
    
    @keyframes slideInText {
      from {
        opacity: 0;
        transform: translateY(15px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .dropdown-footer {
      display: flex;
      justify-content: space-evenly;
      align-items: center;
      padding: 18px 20px;
      background-color: var(--muted-2); 
      border-top: 1px solid var(--border);
      opacity: 0;
      transition: opacity 0.5s ease 0.45s;
    }
    
    .menu-container.active .dropdown-footer {
      opacity: 1;
    }
    
    .dropdown-footer a, 
    .dropdown-footer .theme-toggle {
      font-size: 20px;
      color: var(--text-3);
      transition: all 0.3s ease;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
    }
    
    .dropdown-footer a:hover, 
    .dropdown-footer .theme-toggle:hover {
      color: var(--ink);
      background-color: var(--muted-4);
      transform: translateY(-2px);
    }

    @media (max-width: 768px) {
      .dropdown {
        width: 240px;
        right: -10px; 
      }
      
      .dropdown-content a {
        padding: 14px 20px;
        font-size: 15px;
      }
    }
  