body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f2f5;
    font-family: var(--font-family, 'Inter', sans-serif);
    color: #1a1a1a;
    overflow: hidden; /* Prevent body scroll */
}

.container {
    width: 100%;
    max-width: 400px;
    height: 90vh;
    max-height: 750px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
    margin: 20px;
    display: flex;
    flex-direction: column;
}

.header-banner {
    height: 100px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-color, #1890ff) 0%, #001529 100%);
}

header {
    margin-top: -50px;
    padding: 0 2rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background-color: #fff;
}

h1 {
    font-size: 1.5rem;
    margin: 0.75rem 0 0.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.title {
    font-size: 0.8rem;
    color: var(--primary-color, #1890ff);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

main {
    padding: 0 1.5rem 1.5rem;
    flex: 1;
    overflow: hidden; /* Disable internal scrolling */
}

.bio {
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #4a4a4a;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    text-decoration: none;
    background-color: #f8f9fa;
    color: #1a1a1a;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn .icon {
    margin-bottom: 6px;
    font-size: 1.25rem;
    display: flex;
    justify-content: center;
    color: var(--primary-color, #1890ff);
}

.btn:hover {
    background-color: var(--primary-color, #1890ff);
    color: #fff;
    border-color: var(--primary-color, #1890ff);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn:hover .icon {
    color: #fff;
}

footer {
    padding: 1rem 1.5rem;
    background-color: #fafafa;
    border-top: 1px solid #f0f0f0;
    font-size: 0.75rem;
    color: #8c8c8c;
    flex-shrink: 0;
}

.contact {
    margin-bottom: 0.5rem;
}

.contact a {
    color: #4a4a4a;
    text-decoration: none;
    font-weight: 500;
}

.contact a:hover {
    color: var(--primary-color, #1890ff);
}

.credit {
    font-size: 0.7rem;
}

.credit a {
    color: var(--primary-color, #1890ff);
    font-weight: 700;
    text-decoration: none;
}
