:root {
    --bg: #f4efe7;
    --bg-accent: rgba(193, 125, 74, 0.18);
    --panel: rgba(255, 252, 247, 0.82);
    --panel-border: rgba(103, 71, 49, 0.16);
    --text: #2c221b;
    --muted: #6f5d4f;
    --button: rgba(255, 255, 255, 0.9);
    --button-border: rgba(103, 71, 49, 0.12);
    --button-hover: #fffaf4;
    --shadow: 0 24px 80px rgba(69, 44, 27, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, var(--bg-accent), transparent 35%),
        linear-gradient(rgba(244, 239, 231, 0.74), rgba(244, 239, 231, 0.92)),
        url("assets/bg.jpg") center center / cover no-repeat fixed;
}

.page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.profile-card {
    width: min(100%, 560px);
    padding: 32px 24px;
    border: 1px solid var(--panel-border);
    border-radius: 28px;
    background: var(--panel);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    text-align: center;
}

.profile-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    display: block;
    margin: 0 auto 20px;
}

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

h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 0.95;
}

.bio {
    margin: 18px auto 0;
    max-width: 38ch;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--muted);
}

.bio code {
    font-family: "Courier New", monospace;
    font-size: 0.92em;
}

.link-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.link-button {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--button-border);
    background: var(--button);
    color: inherit;
    text-decoration: none;
    text-align: left;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.link-button:hover,
.link-button:focus-visible {
    transform: translateY(-2px);
    background: var(--button-hover);
    border-color: rgba(103, 71, 49, 0.28);
}

.link-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: #d90000;
    color: #fffdf9;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.link-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.link-label {
    font-size: 1rem;
    font-weight: 700;
}

.link-note {
    margin-top: 2px;
    font-size: 0.92rem;
    color: var(--muted);
}

@media (max-width: 640px) {
    .page {
        padding: 16px;
    }

    .profile-card {
        padding: 24px 18px;
        border-radius: 24px;
    }

    .profile-logo {
        width: 72px;
        height: 72px;
        margin-bottom: 16px;
    }

    .link-button {
        padding: 14px;
        gap: 14px;
    }

    .link-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }
}
