/* Shared desktop shell for non-mobile Marimba Studio pages. */
.desktop-top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height, 60px);
    background: linear-gradient(135deg, rgba(0,0,0,0.9), rgba(102,126,234,0.2));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(102,126,234,0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 1000;
}

.desktop-top-nav .nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.desktop-top-nav .nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    filter: drop-shadow(0 2px 8px rgba(102,126,234,0.4));
}

.desktop-top-nav .nav-branding {
    display: flex;
    flex-direction: column;
}

.desktop-top-nav .nav-title {
    font-size: 1.18rem;
    font-weight: 700;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: gradientShift 3s ease infinite;
}

.desktop-top-nav .nav-tagline {
    font-size: 0.68rem;
    font-weight: 500;
    background: linear-gradient(90deg, #818cf8, #a78bfa, #e879f9);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.desktop-top-nav .nav-right {
    display: flex;
    align-items: center;
    gap: 5px;
}

.desktop-top-nav .nav-dropdown {
    position: relative;
}

.desktop-top-nav .nav-icon-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    height: 36px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: rgba(255,255,255,0.72);
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: inherit;
    text-decoration: none;
}

.desktop-top-nav .nav-icon-btn:hover {
    background: rgba(102,126,234,0.14);
    border-color: rgba(102,126,234,0.35);
    color: #fff;
}

.desktop-top-nav .nav-icon-btn:active {
    background: rgba(102,126,234,0.22);
    transform: scale(0.97);
}

.desktop-top-nav .nav-icon-btn .icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.desktop-top-nav .nav-icon-btn .label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.desktop-top-nav .nav-login-btn {
    background: linear-gradient(135deg, rgba(74,222,128,0.12), rgba(96,165,250,0.11));
    border-color: rgba(74,222,128,0.22);
    color: rgba(236,253,245,0.86);
}

.desktop-top-nav .nav-login-btn:hover {
    background: linear-gradient(135deg, rgba(74,222,128,0.2), rgba(96,165,250,0.17));
    border-color: rgba(74,222,128,0.38);
    box-shadow: 0 10px 28px rgba(34,197,94,0.12);
}

.desktop-top-nav .nav-profile-identity {
    max-width: 260px;
    padding-left: 8px;
}

.desktop-top-nav .nav-profile-identity .label {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.desktop-top-nav .nav-profile-avatar {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 24px;
    background: linear-gradient(135deg, rgba(129,140,248,0.35), rgba(74,222,128,0.22));
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0;
}

.desktop-top-nav .nav-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.desktop-top-nav .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(14, 12, 28, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 6px;
    display: none;
    flex-direction: column;
    gap: 2px;
    min-width: 230px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 0 1px rgba(102,126,234,0.08);
    z-index: 1001;
}

.desktop-top-nav .nav-dropdown-menu.show {
    display: flex;
}

.desktop-top-nav .nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    padding: 9px 12px;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
    font-size: 0.85rem;
    font-weight: 500;
}

.desktop-top-nav .nav-dropdown-menu a svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: 0.55;
    transition: opacity 0.15s ease;
}

.desktop-top-nav .nav-dropdown-menu a:hover {
    background: rgba(102,126,234,0.16);
    color: #fff;
}

.desktop-top-nav .nav-dropdown-menu a:hover svg {
    opacity: 1;
}

.desktop-top-nav .nav-dropdown-menu a.is-coming-soon {
    color: rgba(255,255,255,0.42);
    cursor: not-allowed;
    filter: grayscale(1);
    pointer-events: none;
}

.desktop-top-nav .coming-soon-label {
    margin-left: auto;
    padding: 2px 7px;
    border-radius: 7px;
    background: rgba(148,163,184,0.16);
    border: 1px solid rgba(148,163,184,0.24);
    color: rgba(255,255,255,0.55);
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.desktop-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--footer-height, 40px);
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(102,126,234,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    z-index: 999;
}

.desktop-footer .footer-link,
.desktop-footer.footer-link,
.footer-link {
    color: rgba(102,126,234,1);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.desktop-footer .footer-link:hover,
.footer-link:hover {
    color: #f093fb;
    transform: translateY(-1px);
}

.desktop-footer .footer-divider,
.footer-divider {
    opacity: 0.5;
}

.desktop-footer .footer-text,
.footer-text {
    font-size: 0.85rem;
}
