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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(145deg, #f0f4fa 0%, #d9e2ef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    line-height: 1.5;
    color: #1e2a3e;
}

/* карточка-визитка */
.card {
    max-width: 820px;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(0px);
    border-radius: 2.5rem;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.25), 0 8px 18px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 56px -16px rgba(0, 0, 0, 0.3);
}

/* верхняя декоративная полоса */
.accent-bar {
    height: 8px;
    background: linear-gradient(90deg, #2c7da0, #61a5c2, #89c2d9);
    width: 100%;
}

.card-content {
    padding: 2.2rem 2.2rem 2rem;
}

/* профиль */
.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
}

.avatar {
    background: linear-gradient(135deg, #2c7da0, #1f5068);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.3rem;
    box-shadow: 0 12px 20px -8px rgba(28, 52, 84, 0.3);
    border: 3px solid white;
    transition: transform 0.2s;
}

.avatar i {
    font-size: 4rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.avatar:hover {
    transform: scale(1.02);
}

h1 {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    background: linear-gradient(125deg, #1f5068, #2c7da0);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 0.3rem;
}

.title-tag {
    font-size: 1rem;
    font-weight: 500;
    color: #3a6b8c;
    background: #eef4fc;
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 40px;
    margin-top: 0.3rem;
}

.bio {
    margin-top: 1rem;
    font-size: 1rem;
    color: #2c3e4e;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    background: #f8fafd;
    padding: 0.7rem 1.2rem;
    border-radius: 60px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.02), 0 2px 6px rgba(0,0,0,0.02);
}

/* контактная секция */
.contacts-section {
    margin: 2rem 0 1.8rem;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2c7da0;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 4px solid #2c7da0;
    padding-left: 1rem;
}

.section-title i {
    font-size: 1.1rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    background: #ffffff;
    border-radius: 1.8rem;
    padding: 0.85rem 1.3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(44, 125, 160, 0.12);
}

.contact-item:hover {
    border-color: rgba(44, 125, 160, 0.35);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    background: #fefefe;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 2;
    min-width: 180px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: #eef2fa;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #2c7da0;
    transition: 0.2s;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #5f7f9c;
}

.contact-value {
    font-size: 1rem;
    font-weight: 500;
    color: #1e2f3c;
    word-break: break-all;
}

.contact-value a {
    text-decoration: none;
    color: #1e2f3c;
    transition: color 0.2s;
    border-bottom: 1px dashed transparent;
}

.contact-value a:hover {
    color: #2c7da0;
    border-bottom-color: #89c2d9;
}

.action-buttons {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-copy {
    background: #f0f4f9;
    border: none;
    font-size: 1rem;
    width: 38px;
    height: 38px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #2c7da0;
    transition: 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.btn-copy:hover {
    background: #e2e9f2;
    color: #1a5e7e;
    transform: scale(1.03);
}

.btn-copy:active {
    transform: scale(0.96);
}

.btn-link {
    background: transparent;
    border: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.35rem 0.9rem;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    color: #2c7da0;
    text-decoration: none;
    background: #eef2fa;
}

.btn-link i {
    font-size: 0.8rem;
}

.btn-link:hover {
    background: #e2e9f2;
    color: #1f5068;
}

/* дополнительные ссылки (соцсети, мессенджеры) */
.extra-actions {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin: 2rem 0 1rem;
    flex-wrap: wrap;
}

.extra-link {
    background: #ffffffdb;
    backdrop-filter: blur(4px);
    padding: 0.5rem 1.2rem;
    border-radius: 60px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #2c7da0;
    text-decoration: none;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #cbdde9;
}

.extra-link:hover {
    background: white;
    border-color: #2c7da0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    color: #1f5068;
}

footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.75rem;
    color: #5a7a98;
}

/* тост */
.toast-message {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: #1e2f3c;
    color: white;
    padding: 10px 20px;
    border-radius: 60px;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    z-index: 1000;
    backdrop-filter: blur(8px);
    background: #1f2e38e6;
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
    pointer-events: none;
    white-space: nowrap;
}

.toast-message.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

@media (max-width: 600px) {
    .card-content {
        padding: 1.5rem;
    }
    h1 {
        font-size: 1.65rem;
    }
    .contact-item {
        flex-direction: column;
        align-items: stretch;
    }
    .action-buttons {
        justify-content: flex-end;
        margin-top: 0.2rem;
    }
    .contact-info {
        width: 100%;
    }
    .bio {
        font-size: 0.85rem;
    }
    .extra-actions {
        gap: 0.8rem;
    }
    .toast-message {
        white-space: nowrap;
        font-size: 0.75rem;
    }
}

@media (max-width: 420px) {
    .contact-value {
        font-size: 0.9rem;
    }
    .action-buttons {
        justify-content: flex-start;
    }
}
