* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-main: #f7f6f3;
    --bg-paper: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #6b6b6b;
    --border-color: #e3e3e3;
    --accent: #000000;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

.paper {
    background: var(--bg-paper);
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.avatar {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg-paper);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--bg-paper);
    outline: 2px solid var(--border-color);
}

.avatar-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--bg-paper);
    outline: 2px solid var(--border-color);
}

.title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 400;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 1.5px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.social-icon:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-paper);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.social-icon:active {
    transform: translateY(0);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.divider {
    height: 1px;
    background: var(--border-color);
    margin: 32px 0;
}

.links-section {
    margin-bottom: 32px;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 20px;
    padding-left: 4px;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 20px 20px;
    margin-bottom: 12px;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    background: var(--bg-paper);
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.link-card:hover {
    transform: translateX(4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.link-card:hover::before {
    transform: scaleY(1);
}

.link-card:hover .link-arrow {
    transform: translateX(4px);
}

.link-card:active {
    transform: translateX(2px);
}

.link-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 10px;
    background: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    border: 1px solid var(--border-color);
}

.link-icon svg {
    color: var(--text-primary);
}

.icon-image {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.link-content {
    flex: 1;
    min-width: 0;
}

.link-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.link-description {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.link-arrow {
    color: var(--text-secondary);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    margin-left: 12px;
}

.footer {
    text-align: center;
    padding-top: 24px;
}

.footer-text {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 16px;
    }

    .paper {
        padding: 36px 28px;
        border-radius: 12px;
    }

    .header {
        margin-bottom: 32px;
    }

    .title {
        font-size: 26px;
    }

    .subtitle {
        font-size: 15px;
    }

    .social-links {
        gap: 10px;
        margin-top: 20px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }

    .divider {
        margin: 28px 0;
    }

    .section-title {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .link-card {
        padding: 16px 14px;
        margin-bottom: 10px;
    }

    .link-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        margin-right: 14px;
    }

    .icon-image {
        width: 26px;
        height: 26px;
    }

    .link-title {
        font-size: 15px;
    }

    .link-description {
        font-size: 13px;
    }

    .avatar-placeholder {
        width: 72px;
        height: 72px;
        font-size: 30px;
    }

    .avatar-image {
        width: 72px;
        height: 72px;
    }

    .footer {
        padding-top: 20px;
    }

    .footer-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 12px;
    }

    .paper {
        padding: 28px 20px;
        border-radius: 10px;
    }

    .header {
        margin-bottom: 28px;
    }

    .avatar {
        margin-bottom: 16px;
    }

    .title {
        font-size: 24px;
    }

    .subtitle {
        font-size: 14px;
    }

    .social-links {
        gap: 8px;
        margin-top: 16px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
    }

    .social-icon svg {
        width: 17px;
        height: 17px;
    }

    .divider {
        margin: 24px 0;
    }

    .section-title {
        font-size: 12px;
        margin-bottom: 14px;
    }

    .link-card {
        padding: 14px 12px;
        margin-bottom: 10px;
        border-radius: 10px;
    }

    .link-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        margin-right: 12px;
        border-radius: 8px;
    }

    .icon-image {
        width: 24px;
        height: 24px;
    }

    .link-title {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .link-description {
        font-size: 12px;
        line-height: 1.4;
    }

    .link-arrow {
        margin-left: 8px;
    }

    .link-arrow svg {
        width: 18px;
        height: 18px;
    }

    .avatar-placeholder {
        width: 64px;
        height: 64px;
        font-size: 26px;
        border: 2px solid var(--bg-paper);
    }

    .avatar-image {
        width: 64px;
        height: 64px;
        border: 2px solid var(--bg-paper);
    }

    .footer {
        padding-top: 16px;
    }

    .footer-text {
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    body {
        padding: 8px;
    }

    .paper {
        padding: 24px 16px;
    }

    .title {
        font-size: 22px;
    }

    .link-card {
        padding: 12px 10px;
    }

    .link-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        margin-right: 10px;
    }

    .icon-image {
        width: 22px;
        height: 22px;
    }
}

/* Add subtle animation on page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.paper {
    animation: fadeInUp 0.6s ease-out;
}

.link-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.link-card:nth-child(1) {
    animation-delay: 0.1s;
}

.link-card:nth-child(2) {
    animation-delay: 0.2s;
}

.link-card:nth-child(3) {
    animation-delay: 0.3s;
}

.link-card:nth-child(4) {
    animation-delay: 0.4s;
}

.link-card:nth-child(5) {
    animation-delay: 0.5s;
}
