
* {
    box-sizing: border-box;
}

:root {
    --green: #25382F;
    --gold: #D8B98A;
    --page: #F3F4F1;
    --text: #202820;
    --muted: #737E73;
    --border: #E5E8E1;
}

body {
    margin: 0;
    padding: 28px 14px 45px;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--page);
    color: var(--text);
}

.page {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

.profile-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(28, 44, 32, 0.08);
}

.cover {
    height: 125px;
    position: relative;
    background-color: var(--green);
    background-image:
        linear-gradient(120deg, #25382F, #637B62, #B5A07B);
    background-size: contain;
    background-position: center;
}

.cover-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(15, 30, 21, 0.5),
        transparent 75%
    );
}

.cover-label {
    position: absolute;
    top: 15px;
    left: 17px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.profile-info {
    position: relative;
    padding: 0 22px 23px;
}

.avatar {
    position: relative;
    width: 104px;
    height: 104px;
    margin: -52px auto 0;
    border: 5px solid #fff;
    border-radius: 50%;
    background: #E6D9C6;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
}

.avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-placeholder {
    font-size: 42px;
}

.profile-info h1 {
    margin: 14px 0 5px;
    text-align: center;
    font-size: 25px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.job-title {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.bio {
    margin: 15px auto 0;
    max-width: 360px;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
    color: #596359;
    overflow-wrap: anywhere;
}

.location {
    margin: 12px 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 12px;
}

.social-section {
    padding: 0 17px 20px;
}

.social-section h2 {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #8A9389;
}

.social-list {
    display: grid;
    gap: 9px;
}

.social-button {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 61px;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    color: var(--text);
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.social-button:hover {
    border-color: var(--gold);
    transform: translateY(-1px);
}

.social-button[data-inactive="1"] {
    opacity: 0.7;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 39px;
    height: 39px;
    border-radius: 12px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.social-text {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.social-text strong {
    font-size: 14px;
}

.social-text small {
    font-size: 11px;
    color: #8A9389;
}

.social-arrow {
    font-size: 20px;
    color: #8A9389;
}

.footer {
    padding: 0 15px 18px;
    color: #9AA298;
    text-align: center;
    font-size: 11px;
}

@media (max-width: 360px) {
    body {
        padding: 12px 8px 30px;
    }

    .cover {
        height: 120px;
    }

    .avatar {
        width: 92px;
        height: 92px;
        margin-top: -46px;
    }

    .profile-info {
        padding-right: 16px;
        padding-left: 16px;
    }

    .social-section {
        padding-right: 12px;
        padding-left: 12px;
    }
}
