:root {
    --links-bg: #050505;
    --links-text: #f7f7f7;
    --links-accent: #c8a15a;
    --links-button-bg: #ffffff;
    --links-button-text: #111111;
    --links-button-radius: 999px;
    --links-surface: rgba(255, 255, 255, 0.02);
    --links-surface-border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
}

body.links-body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--links-bg);
    color: var(--links-text);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 48px 20px;
    background-attachment: fixed;
}

.links-wrapper {
    width: 100%;
    max-width: 540px;
}

.links-card {
    background: var(--links-surface);
    border: 1px solid var(--links-surface-border);
    border-radius: 24px;
    padding: 56px 40px 56px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(18px);
}

.links-logo {
    width: 120px;
    margin: 0 auto 18px;
}

.links-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 24px;
    border: 2px solid var(--links-accent);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.08);
}

.links-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.links-title {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.links-bio {
    margin: 16px auto 0;
    max-width: 420px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.links-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
}

.links-button {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    border-radius: var(--links-button-radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    color: var(--links-button-text);
    background: var(--links-button-bg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
}

.links-button[data-custom="1"] {
    color: var(--button-text, var(--links-button-text));
    background: var(--button-bg, var(--links-button-bg));
}

.links-button:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.links-button i {
    font-size: 18px;
}

.links-button .button-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 1;
    text-align: left;
}

.links-button .button-desc {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.65;
    line-height: 1.4;
}

.links-empty {
    padding: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.links-footer {
    margin-top: 48px;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.01em;
}

@media (max-width: 600px) {
    body.links-body {
        padding: 32px 16px;
    }

    .links-card {
        padding: 40px 24px 40px;
        border-radius: 20px;
    }

    .links-avatar {
        width: 96px;
        height: 96px;
        margin-bottom: 20px;
    }

    .links-title {
        font-size: 28px;
    }

    .links-bio {
        font-size: 15px;
        margin-top: 12px;
    }

    .links-buttons {
        margin-top: 32px;
    }

    .links-button {
        font-size: 15px;
        padding: 16px 20px;
        gap: 14px;
    }

    .links-footer {
        margin-top: 40px;
        font-size: 12px;
    }
}
