.nav {
    position: sticky;
    z-index: 30;
    top: 0;

    width: 100%;
    margin: 0;
    padding: 0;

    border-top: 1px solid rgba(201, 151, 62, .32);
    border-bottom: 1px solid rgba(201, 151, 62, .62);

    background:
        linear-gradient(
            180deg,
            rgba(31, 25, 21, .97),
            rgba(9, 10, 9, .985)
        );

    box-shadow:
        0 12px 28px rgba(0, 0, 0, .58),
        inset 0 1px rgba(255, 225, 154, .06),
        inset 0 -5px 15px rgba(0, 0, 0, .5);

    backdrop-filter: blur(10px);
}

.nav-frame {
    position: relative;
    width: 100%;
    margin: 0;

    background:
        radial-gradient(
            ellipse at 50% 100%,
            rgba(119, 202, 42, .065),
            transparent 52%
        );
}

.nav-frame::before,
.nav-frame::after {
    position: absolute;
    z-index: 2;
    top: 50%;

    width: 44px;
    height: 44px;

    content: "";
    pointer-events: none;

    border: 1px solid rgba(204, 157, 67, .58);

    background:
        linear-gradient(
            135deg,
            rgba(48, 34, 27, .98),
            rgba(12, 12, 11, .98)
        );

    box-shadow:
        inset 0 0 12px rgba(223, 174, 76, .08),
        0 0 12px rgba(0, 0, 0, .55);

    transform: translateY(-50%) rotate(45deg) scale(.56);
}

.nav-frame::before {
    left: 12px;
}

.nav-frame::after {
    right: 12px;
}

.nav-inner {
    display: flex;
    width: min(1280px, calc(100% - 92px));
    min-height: 70px;
    margin: 0 auto;
    justify-content: center;
}

.nav a {
    position: relative;

    display: flex;
    min-width: 0;
    padding: 0 clamp(18px, 2.4vw, 38px);
    align-items: center;
    justify-content: center;
    gap: 10px;

    border-right: 1px solid rgba(201, 151, 62, .13);
    border-bottom: 3px solid transparent;

    color: #d7c7a8;

    font: 700 13px Georgia, serif;
    letter-spacing: .6px;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        color .18s ease,
        background .18s ease,
        border-color .18s ease,
        text-shadow .18s ease,
        box-shadow .18s ease;
}

.nav a:first-child {
    border-left: 1px solid rgba(201, 151, 62, .13);
}

.nav a::before {
    position: absolute;
    right: 22%;
    bottom: -1px;
    left: 22%;

    height: 1px;

    content: "";

    opacity: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--fel-bright),
            transparent
        );

    box-shadow: 0 0 10px rgba(151, 238, 61, .72);

    transition: opacity .18s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--gold-light);
    border-bottom-color: var(--fel-bright);

    background:
        radial-gradient(
            ellipse at 50% 100%,
            rgba(137, 231, 51, .17),
            transparent 70%
        );

    text-shadow: 0 0 12px rgba(142, 236, 54, .28);

    box-shadow: inset 0 -18px 22px rgba(107, 188, 38, .035);
}

.nav a:hover::before,
.nav a.active::before {
    opacity: 1;
}

.nav a.account {
    color: var(--fel-bright);
}

.nav-icon {
    color: var(--gold);
    font-size: 21px;
    line-height: 1;
}

.nav a.active .nav-icon,
.nav a:hover .nav-icon {
    color: var(--fel-bright);
    filter: drop-shadow(0 0 7px rgba(151, 238, 61, .6));
}
