:root {
    --bg: #050609;
    --bg-card: #05060b;
    --border-subtle: rgba(148, 163, 184, 0.4);
    --accent: #a5b4fc;
    --accent-strong: #6366f1;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --radius-card: 22px;
    --radius-pill: 999px;
    --shadow-soft: 0 26px 80px rgba(0, 0, 0, 0.9);
    --max-width: 760px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(99, 102, 241, 0.25), transparent 55%),
        radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.18), transparent 60%),
        var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.8rem 1.25rem 2rem;
}

@media (max-height: 700px) {
    .page {
        justify-content: flex-start;
        padding-top: 2rem;
    }
}

.card {
    width: 100%;
    max-width: var(--max-width);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2rem;
    padding: 1.9rem 1.9rem;
    border-radius: var(--radius-card);
    background:
        radial-gradient(circle at top right, rgba(148, 163, 184, 0.16), transparent 55%),
        radial-gradient(circle at bottom left, rgba(15, 23, 42, 0.9), transparent 60%),
        var(--bg-card);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

@media (max-width: 720px) {
    .card {
        grid-template-columns: minmax(0, 1fr);
        padding: 1.6rem 1.4rem;
        gap: 1.4rem;
    }
}

.avatar-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar {
    width: 148px;
    height: 148px;
    border-radius: 26%;
    object-fit: cover;
    border: 1px solid rgba(248, 250, 252, 0.8);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.9);
    background: #020617;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    animation: float-in 650ms ease-out both;
}

.eyebrow {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

h1 {
    margin: 0;
    font-size: 2.2rem;
    letter-spacing: 0.02em;
}

.subtitle {
    margin: 0;
    font-size: 0.98rem;
    color: var(--muted);
    max-width: 28rem;
    line-height: 1.6;
    animation: float-in 750ms ease-out both;
    animation-delay: 80ms;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.2rem;
    animation: float-in 800ms ease-out both;
    animation-delay: 130ms;
}

.chips span {
    padding: 0.22rem 0.75rem;
    border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.7);
    font-size: 0.78rem;
    color: var(--muted);
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.6rem;
    animation: float-in 850ms ease-out both;
    animation-delay: 160ms;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-pill);
    font-size: 0.86rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.16s ease-out;
    color: var(--text);
    background: transparent;
}

.btn.ghost {
    background: rgba(15, 23, 42, 0.96);
    border-color: rgba(148, 163, 184, 0.75);
}

.btn.ghost:hover {
    background: rgba(15, 23, 42, 1);
    border-color: rgba(209, 213, 219, 0.9);
    transform: translateY(-1px);
}

.btn.text {
    padding-inline: 0.2rem;
    color: var(--muted);
}

.btn.text:hover {
    color: var(--accent-strong);
}

.icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
}

.icon.small {
    width: 16px;
    height: 16px;
}

.icon svg {
    width: 100%;
    height: 100%;
    fill: var(--muted);
    transition: fill 0.16s ease-out;
}

.btn:hover .icon svg {
    fill: var(--accent);
}

.footer {
    margin-top: 1.5rem;
    font-size: 0.78rem;
    color: var(--muted);
    text-align: center;
}

@keyframes float-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
