.site-shell {
    min-height: var(--size-hero-min-height);
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1;
}

.site-footer {
    z-index: 70;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    border-top: var(--border-width-1) solid rgba(251, 215, 132, 0.2);
    background: linear-gradient(180deg, rgba(3, 13, 9, 0.8) 0%, rgba(3, 13, 9, 0.94) 100%);
    backdrop-filter: blur(4px);
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 460ms ease, opacity 460ms ease;
}

.site-footer-floating.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(251, 215, 132, 0) 0%, rgba(251, 215, 132, 0.06) 50%, rgba(251, 215, 132, 0) 100%);
}

.site-footer-link,
.site-footer-copy {
    margin: 0;
    font-family: var(--font-family-ui-sans);
    font-size: 0.68rem;
    letter-spacing: 0.02em;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.76);
}

.site-footer-link {
    text-decoration: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 0.35rem;
    transition:
        color 600ms ease,
        text-shadow 900ms ease;
}

.site-footer-legal-link {
    margin-left: 0;
}

.site-footer-link:hover,
.site-footer-link:focus-visible {
    color: var(--color-home-accent);
    animation: footer-neon-pulse 2.8s ease-in-out infinite;
}

.site-footer-meta {
    position: relative;
    max-width: 70rem;
    width: 100%;
    margin: 0 auto;
    padding: var(--space-6) var(--space-16) var(--space-8);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    box-sizing: border-box;
}

.site-footer-meta > * {
    display: inline-flex;
    align-items: center;
    padding-inline: var(--space-12);
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
}

.site-footer-meta > * + * {
    border-left: 1px solid rgba(251, 215, 132, 0.35);
}

@keyframes footer-neon-pulse {
    0%,
    100% {
        text-shadow:
            0 0 4px rgba(251, 215, 132, 0.28),
            0 0 9px rgba(251, 215, 132, 0.14);
    }
    50% {
        text-shadow:
            0 0 7px rgba(251, 215, 132, 0.4),
            0 0 15px rgba(251, 215, 132, 0.22);
    }
}

@media (max-width: 48rem) {
    .site-footer-meta {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: var(--space-8);
        justify-content: center;
        align-items: stretch;
        padding: var(--space-8) var(--space-12) var(--space-10);
    }

    .site-footer-meta > * {
        padding-inline: var(--space-4);
        border-left: none;
    }

    .site-footer-meta > * + * {
        border-left: none;
    }

    .site-footer-copy,
    .site-footer-link {
        text-wrap: balance;
        overflow-wrap: anywhere;
    }

    .site-footer-link {
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer-link {
        transition: color 200ms ease;
    }

    .site-footer-link:hover,
    .site-footer-link:focus-visible {
        animation: none;
        text-shadow: none;
    }
}
