
  .navbar {
    background: rgba(59, 36, 12, 0.95);
    backdrop-filter: blur(1px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
  }

  .logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #c89c6a;
    box-shadow: 0 0 8px rgba(200, 156, 106, 0.3);
    animation: pulseRotate 5s infinite ease-in-out;
    transition: transform 0.3s ease;
  }

  .logo img:hover {
    transform: scale(1.1) rotate(5deg);
  }

  @keyframes pulseRotate {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(2deg); }
  }

  .logo h1 {
    font-size: 20px;
    font-weight: 600;
    color: #c89c6a;
    margin: 0;
  }

  .nav-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 0;
    padding: 0;
  }

  .nav-menu ul li a {
    font-size: 15px;
    color: #fdf2e9;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .nav-menu ul li a:hover {
    color: #c89c6a;
  }

  .avatar-menu {
    position: relative;
  }

  .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #c89c6a;
    object-fit: cover;
    cursor: pointer;
  }

  .greeting {
    margin-left: 8px;
    font-weight: 500;
    color: #c89c6a;
  }

  #avatar-toggle {
    display: none;
  }

  .avatar-menu .dropdown {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background: rgba(46, 25, 8, 0.95);
    border-radius: 10px;
    padding: 10px;
    list-style: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    width: 160px;
    z-index: 1001;
  }

  .avatar-menu:hover .dropdown,
  #avatar-toggle:checked ~ .dropdown {
    display: block;
  }

  .dropdown li a {
    color: #fdf2e9;
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
  }

  .dropdown li a:hover {
    background-color: #c89c6a;
    color: #332114;
  }

  .hamburger {
    display: none;
    font-size: 30px;
    color: #c89c6a;
    cursor: pointer;
  }

  #nav-toggle {
    display: none;
  }

  @media (max-width: 768px) {
    .nav-menu {
      position: absolute;
      top: 70px;
      right: 40px;
      background: rgba(46, 25, 8, 0.95);
      padding: 20px;
      border-radius: 12px;
      display: none;
      animation: fadeIn 0.3s ease;
    }

    .nav-menu ul {
      flex-direction: column;
      gap: 15px;
    }

    .hamburger {
      display: block;
    }

    #nav-toggle:checked ~ .nav-menu {
      display: block;
    }

    .dropdown {
      position: static;
      width: 100%;
      padding: 0;
      box-shadow: none;
      background: none;
    }

    .dropdown li a {
      padding: 10px 0;
    }
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }


