/* Version: 20250819210555 */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: #faf9f7;
    color: #333;
    line-height: 1.6;
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem 2rem 2rem;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8e6e1;
    overflow: hidden;
    max-width: 900px;
    min-width: 320px;
    width: 100%;
}

.content {
    padding: 1.8rem 2.5rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
}

.avatar {
    width: 155px;
    height: 155px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 2rem;
    font-weight: bold;
    color: #9ca3af;
}

.avatar::before {
    content: "KH";
    position: absolute;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.tagline .symbol {
    color: #bbb;
}

.bio {
    font-size: 1rem;
    color: #4b5563;
    max-width: 500px;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f5f4f1;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid #e8e6e1;
}

.social-link:hover {
    background: #ebe9e4;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-link.primary {
    background: #d2593c;
    color: white;
    border-color: #d2593c;
}

.social-link.primary:hover {
    background: #b84c32;
}

.mobile-avatar {
    display: block;
    margin: 1.25rem auto;
}

.desktop-avatar {
    display: none;
}

.avatar img:missing {
    display: none;
}

footer {
    margin-top: -2.25rem;
}

@media (min-width: 768px) {
    .content {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 2rem;
    }

    .text-section {
        flex: 1;
    }

    .avatar-section {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .mobile-avatar {
        display: none;
    }

    .desktop-avatar {
        display: flex;
    }

    .avatar {
        width: 250px;
        height: 250px;
        font-size: 2.5rem;
    }

    .social-links {
        justify-content: flex-start;
    }

    footer {
        margin-top: -1rem;
    }
}

.gradient-highlight {
    background: linear-gradient(90deg, #ff512f 0%, #dd2476 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 8px rgba(221, 36, 118, 0.12);
    transition: filter 0.2s;
    /* 不覆蓋字重、字距、字型大小，繼承 tagline */
}

.footer-content {
    text-align: center;
    padding: 0.5rem 2.5rem 1.5rem;
    color: #6b7280;
    font-size: 1rem;
}