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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(145deg, #faf7f2 0%, #f5f0e8 50%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    color: #1a1a1a;
    line-height: 1.5;
}

.container {
    max-width: 600px;
    width: 100%;
    margin: 20px auto;
    padding: 30px 25px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(245, 235, 220, 0.6);
}

/* Аватарка */
.avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.1);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Имя под аватаркой */
.username {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: #2c3e4f;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

/* Иконки соцсетей */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    background: rgba(255, 250, 240, 0.5);
    border-radius: 50%;
    padding: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(245, 235, 220, 0.8);
}

.social-icon:hover {
    transform: translateY(-3px);
    background: rgba(255, 250, 240, 0.8);
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Био описание */
.bio {
    text-align: center;
    font-size: 16px;
    color: #4a5b6b;
    margin-bottom: 35px;
}

/* Заголовки секций */
.section-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e4f;
    margin: 35px 0 20px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0077b5, #4a9fd8);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Текст перед Telegram кнопкой */
.telegram-text {
    text-align: center;
    font-size: 16px;
    color: #4a5b6b;
    margin: 25px 0 15px;
    font-style: italic;
}

/* Кнопки с иконками */
.button-with-icon {
    display: block;
    text-decoration: none;
    border-radius: 50px;
    padding: 6px 20px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

/* СТИЛЬ ДЛЯ ДВУХ КНОПОК ПЛАТФОРМ */
.button-with-icon:not(.telegram-button) {
    background: white;
    border: 2px solid #f0e4d8;
}

.button-with-icon:not(.telegram-button):hover {
    border-color: #e5d5c5;
    background: #ffffff;
    transform: translateY(-2px);
}

.button-content {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 55px;
}

/* Иконки в кнопках - ПРЯМОУГОЛЬНЫЕ СО СКРУГЛЕНИЕМ 25px */
.button-icon {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 25px;
    background: none;
    border: none;
    flex-shrink: 0;
    margin-left: -5px;
    padding: 0;
}

/* Текст в кнопках */
.button-content span {
    color: #2c3e4f;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    flex: 1;
    margin-right: 47px;
}

/* Специальный стиль для Telegram кнопки */
.telegram-button {
    background: linear-gradient(90deg, #0077b5, #4a9fd8);
    border: none;
}

.telegram-button .button-content span {
    color: white;
    font-weight: 400;
}

/* Иконка в Telegram кнопке - тоже прямоугольная */
.telegram-button .button-icon {
    background: none;
    border: none;
    border-radius: 25px;
}

.telegram-button:hover {
    background: linear-gradient(90deg, #0066a0, #3a8fc8);
    transform: translateY(-2px);
}

/* Текст под кнопкой */
.footer-note {
    text-align: center;
    font-size: 14px;
    color: #6b7b8b;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(235, 225, 210, 0.8);
}

/* Адаптация для мобильных */
@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
        margin: 10px auto;
    }
    
    .avatar {
        width: 130px;
        height: 130px;
        margin-bottom: 12px;
    }
    
    .username {
        font-size: 20px;
        margin-bottom: 18px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        padding: 8px;
    }
    
    .social-icons {
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .bio {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 17px;
        margin: 30px 0 18px;
    }
    
    .telegram-text {
        font-size: 15px;
        margin: 20px 0 12px;
    }
    
    .button-with-icon {
        padding: 5px 15px;
        margin-bottom: 10px;
    }
    
    .button-with-icon:not(.telegram-button) {
        border-width: 1.5px;
    }
    
    .button-content {
        height: 48px;
        gap: 12px;
    }
    
    .button-content span {
        font-size: 15px;
        font-weight: 400;
        margin-right: 45px;
    }
    
    .button-icon {
        width: 45px;
        height: 45px;
        margin-left: -3px;
        border-radius: 22px;
        background: none;
        border: none;
        padding: 0;
    }
    
    .footer-note {
        font-size: 13px;
        margin-top: 20px;
        padding-top: 12px;
    }
}

/* Адаптация для больших экранов */
@media (min-width: 1200px) {
    .container {
        max-width: 650px;
        padding: 35px 30px;
    }
    
    .avatar {
        width: 160px;
        height: 160px;
    }
    
    .username {
        font-size: 24px;
    }
    
    .button-with-icon {
        padding: 7px 25px;
    }
    
    .button-content {
        height: 58px;
    }
    
    .button-content span {
        margin-right: 52px;
        font-weight: 400;
    }
    
    .button-icon {
        width: 55px;
        height: 55px;
        margin-left: -5px;
        border-radius: 27px;
        background: none;
        border: none;
        padding: 0;
    }
}