.navbar {
    position: fixed;
    width: 100%;
    height: 55px;
    padding: 0 1em;
    color: var(--color-text-primary);
    z-index: 100000;
    
}

.navbar:before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(30px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(120%) !important;
    border-bottom: 1px solid var(--color-border);
    z-index: -1;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    width: 100%;
}

/* ---------- LOGO ---------- */
.navbar-logo a {
    display: flex;
    align-items: center;
    color: inherit;
}

.logo-img {
    width: 120px;
    height: 40px;
    object-fit: cover;
}

/* ---------- HAMBURGER ---------- */
.hamburger-icon {
    display: none;
    cursor: pointer;
    color: #fff;
    font-size: 24px;
    line-height: 55px;
}

.hamburger-icon i {
    position: relative;
    top: 1.25px;
}

#hamburger-toggle {
    display: none;
}

/* ---------- NAV LINKS ---------- */
.navbar-links {
    display: flex;
    list-style: none;
     
}

.navbar-item {
    line-height: 55px;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.navbar-links a {
    color: #fff;
    padding: 1em;
    cursor: pointer;
}

.navbar-items .btn {
    
    line-height: 55px;
    margin-left: 80px;
}

.navbar-items .btn a {
        font-family: 'Gloria Hallelujah';

    padding: 5px 20px !important;
    background: var(--color-brand-bg);
    border-radius: 40px;
}

/* ---------- DROPDOWN (desktop) ---------- */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(20px) saturate(120%);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
    z-index: 999;
}

.dropdown-menu li {
    line-height: 1.5;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    color: var(--color-text-primary);
    white-space: nowrap;
}
.arrow-icon {
  font-size: 14px;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

/* Rotate arrow when dropdown is open */
.dropdown.open .arrow-icon {
  transform: rotate(180deg);
}

.navbar-items .btn.login-btn {
  margin-left: 20px;
}

.navbar-items .btn.login-btn a {
  font-family: 'Gloria Hallelujah';
  padding: 5px 20px !important;
  background: transparent;
  border: 2px solid var(--color-brand-bg);
  border-radius: 40px;
  color: var(--color-brand-bg);
  transition: all 0.3s ease;
}

.navbar-items .btn.login-btn a:hover {
  background: var(--color-brand-bg);
  color: white;
  box-shadow: 0 4px 12px rgba(123, 93, 227, 0.3);
  transform: translateY(-2px);
}






/* ---------- RESPONSIVE (≤ 805 px) ---------- */
@media (max-width:805px) {
     .navbar .container {
        max-width: 100%; /* prevent overflow */
    }

    /* hamburger shows */
    .hamburger-icon {
        display: block;
    }

    /* slide‑in menu */
    .navbar-links {
        position: fixed;
        top: 55px;
        left: 100%;
        width: 100%;
        height: calc(100vh - 55px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 20px;
        background: rgba(0, 2, 18, .35);
        backdrop-filter: blur(30px) saturate(120%) !important;
        border-top: 1px solid var(--color-border);
        text-align: center;
        transition: left .5s;
        z-index: 10000;
    }

    .navbar-items #hamburger-toggle:checked ~ .navbar-links {
    left: 0;
}

    /* remove extra margin for button */
    .navbar-items .btn {
        margin-left: 0;
        margin-top: 30px;
    }

    /* dropdown opens on tap */
    .dropdown.open .dropdown-menu {
        display: block;
        position: static;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .dropdown-menu li a {
        color: #fff;
        padding: 8px 0;
    }
}