.app-shell {
    min-height: 100vh;
}

/*
|--------------------------------------------------------------------------
| HEADER
|--------------------------------------------------------------------------
*/

.site-header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: var(--header-height);

    padding: 0 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 1000;

    backdrop-filter: blur(20px);

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.55),
            rgba(0,0,0,0.08)
        );
}

/*
|--------------------------------------------------------------------------
| USER MENU
|--------------------------------------------------------------------------
*/

.header-user-menu {

    position: relative;

    display: flex;
    align-items: center;
}

.header-user-trigger {

    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 999px;

    background: #ffffff;

    color: #000000;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.header-user-trigger:hover {

    transform: scale(1.05);
}

.header-user-dropdown {

    position: absolute;

    top: calc(100% + 14px);

    right: 0;

    min-width: 220px;

    padding: 10px;

    border-radius: 22px;

    background:
        rgba(12,12,14,0.94);

    border:
        1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(24px);

    -webkit-backdrop-filter: blur(24px);

    box-shadow:
        0 20px 60px rgba(0,0,0,0.45);

    isolation: isolate;

    display: flex;
    flex-direction: column;

    gap: 4px;

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(8px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;

    z-index: 9999;
}

.header-user-menu:hover .header-user-dropdown {

    opacity: 1;
    visibility: visible;

    transform:
        translateY(0);
}

.header-dropdown-link {

    position: relative;

    z-index: 2;

    padding:
        12px 14px;

    border-radius: 14px;

    color: #f5f5f5;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease;

    background: transparent;

    border: none;

    outline: none;
}

.header-dropdown-link:hover {

    background:
        rgba(255,255,255,0.06);
}

.header-dropdown-link:focus,
.header-dropdown-link:active {

    background:
        rgba(255,255,255,0.06);

    color: #ffffff;
}

.header-dropdown-link.danger:hover {

    background:
        rgba(255,80,80,0.12);

    color:
        #ffb4b4;
}

.site-nav {

    position: relative;

    display: flex;
    align-items: center;
    gap: 14px;
}

.site-nav-link-primary {

    background: white;

    color: black !important;

    padding: 14px 24px;

    border-radius: 999px;

    font-weight: 700;

    box-shadow:
        0 10px 30px
        rgba(255,255,255,0.08);

    transition: var(--transition);
}

.site-nav-link-primary:hover {

    transform: translateY(-1px);

    box-shadow:
        0 16px 40px
        rgba(255,255,255,0.14);
}

/*
|--------------------------------------------------------------------------
| FOOTER
|--------------------------------------------------------------------------
*/

.site-footer {

    margin-top: 120px;

    border-top:
        1px solid var(--border);

    padding:
        80px 24px 40px;
}

.site-footer-inner {

    width: var(--container);

    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    gap: 48px;

    flex-wrap: wrap;
}

.footer-logo {

    font-size: 1.5rem;

    font-weight: 800;

    letter-spacing: 0.18em;
}

.footer-description {

    max-width: 420px;

    color: var(--text-soft);

    line-height: 1.7;
}

.footer-links {

    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {

    color: var(--text-soft);

    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-copy {

    margin-top: 64px;

    text-align: center;

    color: var(--text-soft);

    font-size: 0.9rem;
}

/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media (max-width: 768px) {

    .site-header {

        padding: 0 18px;
    }

    .brand-name {
        display: none;
    }

    .site-nav {
        gap: 6px;
    }

    .site-nav-link {

        padding: 10px 14px;

        font-size: 0.9rem;
    }

    .site-footer-inner {

        flex-direction: column;
    }
}