/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg:        #F7F6F3;
    --surface:   #FFFFFF;
    --border:    #E4E2DC;
    --text-main: #111110;
    --text-mute: #888580;
    --accent:    #111110;
    --radius:    12px;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 48px 16px 64px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.card {
    width: 100%;
    max-width: 480px;
}

/* ============================================================
   PROFIL
   ============================================================ */
.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 36px;
}

.profile__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 2px solid var(--border);
}

.profile__name {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 4px;
}

.profile__username {
    font-size: 0.82rem;
    color: var(--text-mute);
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.profile__bio {
    font-size: 0.875rem;
    color: var(--text-mute);
    line-height: 1.55;
    max-width: 320px;
}

/* ============================================================
   LINK LIST
   ============================================================ */
.links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 18px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
    cursor: pointer;
}

.link-item:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-1px);
}

.link-item:active {
    transform: translateY(0);
}

.link-item__icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.link-item__label {
    flex: 1;
}

.link-item__arrow {
    color: var(--text-mute);
    font-size: 0.75rem;
    transition: color 0.15s ease;
}

.link-item:hover .link-item__arrow {
    color: rgba(255,255,255,0.6);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    margin-top: 40px;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-mute);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 480px) {
    body {
        padding: 32px 12px 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .link-item {
        transition: none;
    }
}
