.glass-nav {
    background: rgba(255, 255, 255, 0.66);
    border-bottom: 1px solid var(--border);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    backdrop-filter: blur(30px) saturate(180%);
}

[data-appearance="dark"] .glass-nav {
    background: rgba(18, 18, 21, 0.7);
}

.glass-panel,
.glass-card {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    backdrop-filter: blur(28px) saturate(160%);
}

.ambient-background {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.ambient-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.42;
    animation: ambientFloat 18s ease-in-out infinite alternate;
}

.ambient-orb-one {
    width: 460px;
    height: 460px;
    top: -180px;
    left: 24%;
    background: rgba(var(--accent-rgb), 0.32);
}

.ambient-orb-two {
    width: 340px;
    height: 340px;
    right: -120px;
    top: 28%;
    background: rgba(175, 139, 255, 0.25);
}

.ambient-orb-three {
    width: 380px;
    height: 380px;
    bottom: -170px;
    left: 30%;
    background: rgba(255, 172, 190, 0.23);
    animation-delay: -8s;
}

[data-appearance="dark"] .ambient-orb {
    opacity: 0.2;
}

@keyframes ambientFloat {
    to {
        transform: translate3d(45px, 35px, 0) scale(1.08);
    }
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
}

.app-layout {
    width: min(1480px, 100%);
    min-height: calc(100vh - var(--header-height));
    margin: 0 auto;
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
    gap: 28px;
    padding: 28px;
}

.app-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 28px);
    align-self: start;
    height: calc(100vh - var(--header-height) - 56px);
    display: flex;
    flex-direction: column;
    padding: 22px;
    border-radius: var(--radius-large);
    overflow-y: auto;
}

.sidebar-heading {
    display: flex;
    flex-direction: column;
    padding: 4px 8px 20px;
}

.sidebar-heading span {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.sidebar-heading small {
    margin-top: 4px;
    color: var(--text-soft);
    font-size: 0.75rem;
}

.section-navigation {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.sidebar-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 20px 9px 2px;
    color: var(--text-soft);
    font-size: 0.75rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #30d158;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(48, 209, 88, 0.12);
}

.app-main {
    min-width: 0;
    padding: 8px 12px 80px;
}

.app-section {
    display: none;
}

.app-section.is-active {
    display: block;
}

.app-section.entering {
    animation-duration: var(--animation-duration);
    animation-timing-function: var(--animation-easing);
    animation-fill-mode: both;
}

.app-section[data-animation="fade"].entering {
    animation-name: sectionFade;
}

.app-section[data-animation="slide-left"].entering {
    animation-name: sectionSlideLeft;
}

.app-section[data-animation="slide-up"].entering {
    animation-name: sectionSlideUp;
}

.app-section[data-animation="scale"].entering {
    animation-name: sectionScale;
}

.app-section[data-animation="blur"].entering {
    animation-name: sectionBlur;
}

@keyframes sectionFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes sectionSlideLeft {
    from { opacity: 0; transform: translateX(38px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes sectionSlideUp {
    from { opacity: 0; transform: translateY(32px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes sectionScale {
    from { opacity: 0; transform: scale(0.975); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes sectionBlur {
    from {
        opacity: 0;
        filter: blur(10px);
        transform: scale(1.015);
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}
