.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.site-nav-sticky {
    position: sticky;
    top: 20px;
    z-index: 200;
    width: 100%;
    margin-bottom: 40px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.site-nav__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.navbar {
    background: #1e1e1e;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(2, 181, 165, 0.2);
    border-radius: 12px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: calc(3 * (300px + 30px) - 30px);
    gap: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 6px;
}

.nav-brand__logo {
    width: 32px;
    height: 32px;
    display: block;
    flex-shrink: 0;
}

.nav-brand__name {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #02b5a5;
    white-space: nowrap;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b5b5c3;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
    padding: 8px 0;
}

.nav-item:hover {
    color: #ffffff;
}

.nav-item.active {
    color: #ffffff;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #02b5a5;
}

.nav-item i {
    font-size: 1.1rem;
}

.nav-item.has-dropdown {
    cursor: pointer;
    position: relative;
}

.nav-item.has-dropdown::before {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    margin-left: 5px;
}

.dropdown-overlay {
    display: none;
}

.dropdown-overlay-content {
    display: none;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(2, 181, 165, 0.3);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
}

.nav-item.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    z-index: 99;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #b5b5c3;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background: rgba(2, 181, 165, 0.1);
    color: #02b5a5;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(2, 181, 165, 0.1);
    border: 1px solid rgba(2, 181, 165, 0.3);
    color: #02b5a5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    line-height: 0;
    padding: 0;
    flex-shrink: 0;
}

.nav-icon-btn:hover {
    background: rgba(2, 181, 165, 0.2);
    border-color: #02b5a5;
    transform: translateY(-2px);
}

.nav-icon-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.15em;
    height: 1.15em;
    font-size: 1.1rem;
    line-height: 1;
}

.nav-icon-btn i::before {
    display: block;
    line-height: 1;
}

.category-filter-wrapper {
    padding: 0;
}

.category-filter-wrapper .dropdown-menu {
    min-width: 180px;
}

.category-filter-wrapper .dropdown-item.active {
    background: rgba(2, 181, 165, 0.2);
    color: #02b5a5;
    font-weight: 500;
}

.mobile-menu-toggle {
    display: none;
}

.mobile-nav-overlay {
    display: none;
}

.mobile-nav-drawer {
    display: none;
}

.mobile-navbar {
    display: none;
}

@media (max-width: 1024px) {
    .navbar {
        flex-wrap: wrap;
        padding: 15px 20px;
        max-width: 100%;
    }

    .nav-brand__name {
        display: none;
    }

    .nav-left {
        gap: 20px;
    }

    .nav-right {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .site-nav-sticky {
        display: none;
    }

    .navbar {
        display: none;
    }

    .mobile-navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 15px 20px;
        background: rgba(30, 30, 30, 0.75);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(2, 181, 165, 0.2);
        z-index: 10000;
        transition: background-color 0.3s ease;
    }

    .mobile-navbar-brand {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        min-width: 0;
    }

    .mobile-navbar-brand__logo {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
        display: block;
    }

    .mobile-navbar-brand__name {
        font-size: 0.9rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #02b5a5;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(2, 181, 165, 0.1);
        border: 1px solid rgba(2, 181, 165, 0.3);
        border-radius: 8px;
        color: #02b5a5;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.3s;
        line-height: 0;
        padding: 0;
    }

    .mobile-menu-toggle:hover {
        background: rgba(2, 181, 165, 0.2);
        border-color: #02b5a5;
    }

    .mobile-menu-toggle.active {
        display: none;
    }

    body {
        padding-top: calc(72px + env(safe-area-inset-top, 0px));
    }

    html {
        scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px));
    }

    .mobile-nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.8);
        z-index: 9998;
        backdrop-filter: blur(5px);
    }

    .mobile-nav-overlay.active {
        display: block;
    }

    .mobile-nav-drawer {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: #1e1e1e;
        border-left: 1px solid rgba(2, 181, 165, 0.3);
        z-index: 10001;
        overflow-y: auto;
        overflow-x: hidden;
        transition: right 0.3s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }

    .mobile-nav-drawer.active {
        right: 0;
    }

    .mobile-nav-header {
        padding: 20px;
        border-bottom: 1px solid rgba(2, 181, 165, 0.3);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        position: relative;
        z-index: 10001;
    }

    .mobile-nav-header h3 {
        margin: 0;
        color: #02b5a5;
        font-size: 1.2rem;
        flex: 1;
    }

    .mobile-nav-close {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(2, 181, 165, 0.2);
        border: 1px solid rgba(2, 181, 165, 0.4);
        border-radius: 8px;
        color: #02b5a5;
        font-size: 1.3rem;
        cursor: pointer;
        transition: all 0.3s;
        flex-shrink: 0;
    }

    .mobile-nav-close:hover {
        background: rgba(2, 181, 165, 0.3);
        border-color: #02b5a5;
        transform: scale(1.1);
    }

    .mobile-nav-content {
        padding: 20px;
    }

    .mobile-nav-section {
        margin-bottom: 25px;
    }

    .mobile-nav-section-title {
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 12px;
        padding: 0 5px;
    }

    .mobile-nav-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 15px;
        margin-bottom: 8px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        color: #ffffff;
        text-decoration: none;
        transition: all 0.3s;
        font-size: 0.95rem;
    }

    .mobile-nav-item i {
        width: 20px;
        text-align: center;
        color: #02b5a5;
    }

    .mobile-nav-item:hover,
    .mobile-nav-item.active {
        background: rgba(2, 181, 165, 0.15);
        border-color: rgba(2, 181, 165, 0.4);
        color: #02b5a5;
    }

    .mobile-nav-item.active {
        background: rgba(2, 181, 165, 0.2);
    }

    .mobile-nav-select {
        width: 100%;
        padding: 12px 15px;
        margin-bottom: 8px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        color: #ffffff;
        font-size: 0.95rem;
        cursor: pointer;
    }

    .mobile-nav-select:focus {
        outline: none;
        border-color: rgba(2, 181, 165, 0.4);
        background: rgba(2, 181, 165, 0.1);
    }

    .mobile-nav-select option {
        background: #1a1d21;
        color: #ffffff;
    }

    .mobile-nav-icons {
        display: flex;
        gap: 10px;
        margin-top: 15px;
    }

    .mobile-nav-icon-btn {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 12px;
        background: rgba(2, 181, 165, 0.1);
        border: 1px solid rgba(2, 181, 165, 0.3);
        border-radius: 8px;
        color: #02b5a5;
        font-size: 1.2rem;
        text-decoration: none;
        transition: all 0.3s;
        line-height: 0;
    }

    .mobile-nav-icon-btn i {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 1.15em;
        height: 1.15em;
        line-height: 1;
    }

    .mobile-nav-icon-btn i::before {
        display: block;
        line-height: 1;
    }

    .mobile-nav-icon-btn:hover {
        background: rgba(2, 181, 165, 0.2);
        border-color: #02b5a5;
    }

    .mobile-nav-divider {
        height: 1px;
        background: rgba(2, 181, 165, 0.2);
        margin: 20px 0;
    }

    .nav-item.has-dropdown::after {
        display: none;
    }

    .navbar,
    .mobile-nav-drawer,
    .dropdown-overlay {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}
