/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 64px 24px 34px;
    background: linear-gradient(180deg,
            var(--surface-1),
            transparent 40%);
    border-top: 1px solid var(--border-glass);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: auto -10% -60% -10%;
    height: 320px;
    background:
        radial-gradient(60% 100% at 50% 100%,
            color-mix(in srgb, var(--c-500) 22%, transparent),
            transparent 70%);
    pointer-events: none;
}

.footer-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-brand .mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg,
            var(--c-600),
            var(--c-400));

    color: #08131f;

    font-size: 1.1rem;
    font-weight: 900;

    box-shadow:
        0 10px 24px -8px rgba(10, 209, 200, .35);
}

.footer-brand .name {
    text-align: start;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.4;
}

.footer-brand .name small {
    display: block;
    margin-top: 2px;
    color: var(--text-secondary);
    font-size: .78rem;
    font-weight: 600;
}

.footer-desc {
    max-width: 55ch;
    margin: 0 auto;

    color: var(--text-secondary);

    font-size: .96rem;
    line-height: 2;
}

/* ===========================
   Social Icons
=========================== */

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;

    margin: 30px 0;
}

.footer-social a {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    text-decoration: none;
    color: var(--text-primary);

    background: linear-gradient(180deg,
            var(--surface-2),
            var(--surface-1));

    border: 1px solid var(--border-glass);

    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);

    box-shadow: var(--shadow-card);

    transition: all .35s var(--ease-glass);
}

.footer-social a:hover {
    transform: translateY(-6px) scale(1.08);

    background: linear-gradient(135deg,
            var(--c-600),
            var(--c-500));

    color: #fff;

    border-color: rgba(10, 209, 200, .45);

    box-shadow:
        0 18px 40px -18px rgba(10, 209, 200, .45);
}

.footer-social svg {
    width: 22px;
    height: 22px;
}

.footer-made-with {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 32px;

    color: var(--text-muted);
    font-size: .88rem;
    font-weight: 600;
}

.footer-made-with svg {
    width: 16px;
    height: 16px;

    color: var(--heart);

    animation: heartbeat 1.8s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.25);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.15);
    }

    60% {
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-made-with svg {
        animation: none;
    }
}

.footer-divider {
    width: 280px;
    max-width: 100%;
    height: 1px;

    margin: 0 auto 30px;

    background: linear-gradient(90deg,
            transparent,
            var(--border-glass),
            transparent);
}
/* ===========================
   Credit
=========================== */

.footer-credit-label {
    font-size: .88rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 18px;
    letter-spacing: .3px;
}

.footer-devs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.footer-separator {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--c-500);
}

/* ===========================
   Developer Card
=========================== */

.dev-chip {
    position: relative;
    overflow: hidden;

    display: inline-flex;
    align-items: center;
    gap: 14px;

    padding: 13px 22px;

    border-radius: 999px;

    text-decoration: none;
    color: var(--text-primary);

    background: rgba(255, 255, 255, .08);

    border: 1px solid rgba(255, 255, 255, .12);

    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);

    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, .12),
        0 12px 28px rgba(0, 0, 0, .18);

    transition: all .45s cubic-bezier(.22, 1, .36, 1);
}

.dev-chip::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(120deg,
            transparent 15%,
            rgba(255, 255, 255, .28) 35%,
            rgba(255, 255, 255, .08) 50%,
            transparent 70%);
    transform: translateX(-160%) skewX(-20deg);
    transition: transform .9s ease;
    pointer-events: none;
}
.dev-chip::after {
    content: "";
    position: absolute;
    inset: 0;

    border-radius: inherit;

    background: radial-gradient(circle at top,
            rgba(255, 255, 255, .12),
            transparent 65%);

    opacity: .6;

    pointer-events: none;
}
.dev-chip:hover::before {
    transform: translateX(130%);
}

.dev-chip:hover {

    transform:
        translateY(-6px) scale(1.03);

    border-color: rgba(10, 209, 200, .45);

    background: rgba(255, 255, 255, .11);

    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, .15),
        0 18px 45px rgba(10, 209, 200, .22),
        0 0 30px rgba(10, 209, 200, .18);
}

.dev-chip:hover::before {
    transform: translateX(170%) skewX(-20deg);
}

.avatar {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: linear-gradient(135deg,
            var(--c-300),
            var(--c-500));

    color: #08131f;

    font-size: .95rem;
    font-weight: 900;

    flex-shrink: 0;
}

.dev-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.dev-name {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.dev-subtitle {
    margin-top: 3px;
    font-size: .73rem;
    color: var(--text-muted);
    letter-spacing: .3px;
}

/* ===========================
   Copyright
=========================== */

.footer-bottom {
    color: var(--text-muted);
    font-size: .84rem;
    line-height: 1.9;
}

.footer-bottom span {
    color: var(--c-500);
    font-weight: 800;
}

/* ===========================
   Mobile
=========================== */

@media (max-width:480px) {

    .footer-brand {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand .name {
        text-align: center;
    }

    .footer-social {
        gap: 10px;
    }

    .footer-social a {
        width: 46px;
        height: 46px;
    }

    .footer-social svg {
        width: 20px;
        height: 20px;
    }

    .footer-devs {
        flex-direction: column;
        gap: 12px;
    }

    .footer-separator {
        display: none;
    }

    .dev-chip {
        width: 100%;
        justify-content: center;
    }

    .dev-info {
        align-items: center;
    }

    .footer-desc {
        font-size: .9rem;
        line-height: 1.9;
    }

    .footer-made-with {
        font-size: .82rem;
    }

    .footer-bottom {
        font-size: .78rem;
    }

}
.footer-made-with svg {
    width: 18px;
    height: 18px;
    fill: #ff3b5c;
    color: #ff3b5c;
    animation: heartbeat 1.4s infinite;
}