@import url("./fonts.css");

:root {
    --bg: #0d121b;
    --bg-soft: #141b26;
    --panel: rgba(21, 29, 40, 0.92);
    --panel-strong: rgba(17, 24, 35, 0.94);
    --surface: rgba(255, 255, 255, 0.04);
    --surface-strong: rgba(255, 255, 255, 0.06);
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --text: #f5f7fb;
    --muted: #aab6c8;
    --accent: #d7b275;
    --accent-soft: rgba(215, 178, 117, 0.14);
    --shadow: 0 22px 52px rgba(0, 0, 0, 0.34);
    --shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.24);
    --radius-xl: 32px;
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: dark;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-sans);
    line-height: 1.7;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(215, 178, 117, 0.11), transparent 24%),
        radial-gradient(circle at bottom left, rgba(82, 133, 255, 0.08), transparent 20%),
        linear-gradient(180deg, #0d121b 0%, #101722 100%);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.site-shell {
    flex: 1;
    display: grid;
    place-items: center;
    gap: 1.5rem;
    padding: 2.25rem 1rem 1.35rem;
}

.profile-card {
    width: min(100%, 520px);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem 1.25rem;
    text-align: center;
    backdrop-filter: blur(12px);
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 26px;
    margin: 0 auto 1rem;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.profile-name {
    margin: 0;
    font-size: clamp(2rem, 7vw, 2.8rem);
    line-height: 1.22;
}

.profile-bio {
    margin: 0.9rem auto 0;
    max-width: 30rem;
    color: var(--muted);
    line-height: 1.9;
}

.quick-actions,
.links-list {
    display: grid;
    gap: 0.85rem;
}

.quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.5rem;
}

.quick-action,
.social-link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--surface);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.quick-action:hover,
.quick-action:focus-visible,
.social-link:hover,
.social-link:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(215, 178, 117, 0.32);
    background: var(--surface-strong);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.quick-action {
    justify-content: center;
    padding: 0.95rem 1rem;
    font-weight: 700;
}

.links-list {
    margin-top: 1.5rem;
}

.social-link {
    padding: 1rem 1.1rem;
    justify-content: space-between;
}

.social-link__icon,
.social-link__arrow {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
    flex: 0 0 42px;
}

.social-link__label {
    flex: 1;
    text-align: right;
    font-weight: 700;
    line-height: 1.55;
}

.empty-state {
    margin: 0;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    color: var(--muted);
}

.site-footer {
    width: min(1180px, calc(100vw - 1.5rem));
    margin: 0 auto 1.25rem;
    color: var(--text);
}

.site-footer__inner {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at top right, rgba(215, 178, 117, 0.12), transparent 28%),
        radial-gradient(circle at bottom left, rgba(71, 129, 240, 0.11), transparent 24%),
        linear-gradient(180deg, rgba(18, 25, 36, 0.96), rgba(13, 19, 28, 0.96));
    box-shadow: var(--shadow);
    padding: 1.1rem;
}

.site-footer {
    width: min(100%, 760px);
    margin: 0 auto 1.25rem;
    padding: 0 1rem;
    color: var(--muted);
}

.site-footer__inner {
    position: static;
    overflow: visible;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(17, 24, 35, 0.72);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
    padding: 1rem 1.1rem;
    text-align: center;
}

.site-footer__inner::before,
.site-footer__inner::after {
    content: none;
}

.site-footer__line {
    margin: 0;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.95;
}

.site-footer__line + .site-footer__line {
    margin-top: 0.12rem;
}

.site-footer__link {
    color: #dfe6f2;
    transition: color 180ms ease, opacity 180ms ease;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
    color: var(--accent);
    opacity: 1;
}

.site-footer__inner::before,
.site-footer__inner::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.45;
    pointer-events: none;
}

.site-footer__inner::before {
    top: -50px;
    inset-inline-end: 8%;
    width: 180px;
    height: 180px;
    background: rgba(215, 178, 117, 0.18);
}

.site-footer__inner::after {
    bottom: -80px;
    inset-inline-start: 6%;
    width: 220px;
    height: 220px;
    background: rgba(68, 131, 255, 0.16);
}

.site-footer__top,
.site-footer__bottom {
    position: relative;
    z-index: 1;
}

.site-footer__top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0.35rem 1rem;
}

.site-footer__intro {
    max-width: 58rem;
}

.site-footer__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 32px;
    padding: 0 0.8rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #f0d4a6;
    font-size: 0.83rem;
    font-weight: 700;
}

.site-footer__heading {
    margin: 0.9rem 0 0;
    max-width: 20ch;
    font-size: clamp(1.55rem, 3vw, 2.45rem);
    line-height: 1.3;
}

.site-footer__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 48px;
    padding: 0.85rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-weight: 700;
    white-space: nowrap;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-footer__back:hover,
.site-footer__back:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(215, 178, 117, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.site-footer__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.8fr) minmax(250px, 0.9fr);
    gap: 1rem;
}

.site-footer__hero,
.site-footer__card {
    border-radius: 24px;
    border: 1px solid var(--line);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        rgba(12, 18, 28, 0.62);
    box-shadow: var(--shadow-soft);
}

.site-footer__hero {
    padding: 1.4rem;
}

.site-footer__hero-head {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.site-footer__logo-box {
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
    display: grid;
    place-items: center;
    padding: 0.8rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top, rgba(215, 178, 117, 0.12), transparent 65%),
        rgba(255, 255, 255, 0.04);
}

.site-footer__logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.24));
}

.site-footer__mini {
    color: #f0d4a6;
    font-size: 0.82rem;
    font-weight: 700;
}

.site-footer__hero-copy h3 {
    margin: 0.3rem 0 0;
    font-size: clamp(1.45rem, 2vw, 1.95rem);
}

.site-footer__hero-copy p {
    margin: 0.6rem 0 0;
    color: var(--muted);
    max-width: 42ch;
}

.site-footer__mini-actions,
.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.site-footer__mini-actions {
    margin-top: 1.15rem;
}

.site-footer__pill,
.site-footer__social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 48px;
    padding: 0.8rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.05);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-footer__pill:hover,
.site-footer__pill:focus-visible,
.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(215, 178, 117, 0.4);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.site-footer__social {
    margin-top: 1rem;
}

.site-footer__social-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(215, 178, 117, 0.12);
    color: var(--accent);
    flex: 0 0 36px;
}

.site-footer__social-text {
    font-weight: 700;
}

.site-footer__card {
    padding: 1.25rem;
}

.site-footer__card h3 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
}

.site-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.site-footer__list a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 56px;
    padding: 0.85rem 0.95rem;
    border-radius: 18px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.03);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-footer__list a:hover,
.site-footer__list a:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(215, 178, 117, 0.28);
    background: rgba(255, 255, 255, 0.06);
}

.site-footer__list a > .fa-chevron-left {
    margin-inline-start: auto;
    color: var(--accent);
    font-size: 0.85rem;
}

.site-footer__list-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent);
}

.site-footer__stack {
    display: grid;
    gap: 0.1rem;
}

.site-footer__stack strong {
    font-size: 0.96rem;
}

.site-footer__stack small {
    color: var(--muted);
    font-size: 0.82rem;
}

.site-footer__empty {
    margin: 0;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1.05rem 0.35rem 0.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__legal {
    margin: 0;
    max-width: 54ch;
    color: rgba(225, 236, 248, 0.86);
}

.site-footer__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
}

.site-footer__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 42px;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(238, 244, 255, 0.92);
    font-weight: 700;
}

.site-footer__badge--brand {
    color: #f0d4a6;
}

.sf-fade {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    transition: opacity 460ms ease, transform 460ms ease;
}

.sf-fade.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (max-width: 1080px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__hero {
        grid-column: 1 / -1;
    }
}

@media (max-width: 780px) {
    .site-footer__top,
    .site-footer__bottom,
    .site-footer__hero-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__hero,
    .site-footer__card {
        padding: 1.1rem;
    }

    .site-footer__social-link,
    .site-footer__pill {
        width: 100%;
        justify-content: flex-start;
    }

    .site-footer__meta {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .site-shell {
        padding: 1.5rem 0.75rem 1rem;
    }

    .profile-card {
        padding: 1.5rem 1rem;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .social-link {
        padding: 0.92rem 0.95rem;
    }

    .site-footer {
        width: min(calc(100vw - 0.75rem), 100%);
        margin-bottom: 0.75rem;
    }

    .site-footer__inner {
        padding: 0.85rem;
        border-radius: 24px;
    }

    .site-footer__heading {
        max-width: 13ch;
        font-size: 1.45rem;
    }

    .site-footer__back,
    .site-footer__badge {
        width: 100%;
    }

    .site-footer__logo-box {
        width: 78px;
        height: 78px;
        flex-basis: 78px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .quick-action,
    .social-link,
    .site-footer__back,
    .site-footer__pill,
    .site-footer__social-link,
    .site-footer__list a,
    .sf-fade {
        transition: none !important;
    }
}

.site-footer {
    width: min(100%, 760px);
    margin: 0 auto 1.25rem;
    padding: 0 1rem;
    color: var(--muted);
}

.site-footer__inner {
    position: static;
    overflow: visible;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(17, 24, 35, 0.72);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
    padding: 1rem 1.1rem;
    text-align: center;
}

.site-footer__inner::before,
.site-footer__inner::after {
    content: none;
}

.site-footer__line {
    margin: 0;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.95;
}

.site-footer__line + .site-footer__line {
    margin-top: 0.12rem;
}

.site-footer__link {
    color: #dfe6f2;
    transition: color 180ms ease, opacity 180ms ease;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
    color: var(--accent);
    opacity: 1;
}

@media (max-width: 560px) {
    .site-footer {
        width: 100%;
        margin-bottom: 0.75rem;
        padding: 0 0.75rem;
    }

    .site-footer__inner {
        padding: 0.9rem 0.85rem;
    }

    .site-footer__line {
        font-size: 0.92rem;
    }
}
