/* ========================================= */
/* QUEST NAVBAR COMPONENT (Universal)        */
/* ========================================= */
.quest-nav {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%;
    height: 56px; 
    background-color: var(--ts-stone);
    /* High-fidelity stone texture via SVG data-uri */
    background-image: 
        url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="rock"><feTurbulence type="fractalNoise" baseFrequency="0.05" numOctaves="2" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23rock)" opacity="0.15"/></svg>'),
        radial-gradient(circle at center, transparent 10%, rgba(37, 51, 66, 0.4) 120%);
    border-bottom: 4px solid var(--ts-outline); 
    display: flex;
    justify-content: space-between; /* ✅ Pushes Brand left, Actions right */
    align-items: center;
    padding: 0 40px; 
    box-sizing: border-box;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); 
}

/* --- LAYOUT WRAPPERS --- */
.nav-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.quest-nav .brand-link {
    display: flex; 
    align-items: center; 
    text-decoration: none; 
    gap: 12px; 
}

.quest-nav .nav-logo {
    max-height: 32px; 
    filter: drop-shadow(2px 2px 0px rgba(37, 51, 66, 0.6));
    image-rendering: pixelated; /* ✅ Keeps logo crisp */
}

.quest-nav .nav-title {
    font-family: 'Chelsea Market', cursive;
    font-size: var(--fz-md); 
    color: var(--ts-white);
    text-shadow: var(--ts-header-shadow);
    margin: 0;
    letter-spacing: 1px;
}

.nav-main-actions, .nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* ========================================= */
/* INTERACTIVE ELEMENTS                      */
/* ========================================= */
.nav-link-simple {
    font-family: 'Chelsea Market', cursive;
    font-size: var(--fz-md);
    color: var(--ts-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 12px;
    transition: all 0.2s ease;
    text-shadow: 1px n1px 0px var(--ts-outline), 2px 2px 4px rgba(0,0,0,0.5);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-link-simple:hover {
    color: #ffd700; /* Gold glow on hover */
    transform: translateY(-2px);
    text-shadow: 2px 2px 0px var(--ts-outline), 0 0 10px rgba(255, 215, 0, 0.4);
}

.nav-divider {
    width: 2px;
    height: 18px; 
    background-color: var(--ts-outline);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 5px;
    display: inline-block;
    opacity: 0.6;
}

/* Hero Profile Snippet Styles */
.hero-profile-snippet {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 15px;
}

.hero-profile-snippet span {
    font-family: 'VT323';
    color: white;
    text-align: right;
    line-height: 1;
}

.hero-avatar-box {
    width: 30px;
    height: 30px;
    background: var(--ts-stone-dark);
    border: 2px solid var(--ts-outline);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ========================================= */
/* RESPONSIVE SCALING                        */
/* ========================================= */
@media (max-width: 900px) {
    .quest-nav {
        padding: 0 15px;
    }
    .nav-main-actions {
        display: none; /* Hide middle links on small screens */
    }
}