:root {
    --bg-color: #eef1f4;
    --card-bg: #ffffff;
    --text-color: #1a1a1a;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --radius-lg: 24px;
    --radius-md: 12px;
    --radius-full: 50%;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #9ca3af;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px 0 20px;
}

.container {
    width: 100%;
    max-width: 480px;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 32px 0;
    position: relative;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    min-height: calc(100vh - 40px);
}

.container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    pointer-events: none;
    border-radius: 0 0 0 0;
}

/* Header & Profile */
.header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.avatar-container {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--card-bg);
}

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

.name {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.5px;
}

/* Links */
.links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 6px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 64px;
}

.link-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.link-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 28px;
    flex-shrink: 0;
}

.link-icon.github {
    color: #24292e;
}

.link-icon.linkedin {
    color: #0077b5;
}

.link-icon.stackoverflow {
    color: #f48024;
}

.link-text {
    flex-grow: 1;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: #111;
    padding: 0 54px 0 0;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    body {
        padding: 0;
        background-color: var(--bg-color);
    }

    .container {
        padding: 40px 20px;
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
        min-height: 100vh;
    }

    .header {
        margin-bottom: 32px;
    }
}
