* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f8f9fa; /* Очень светлый, почти белый фон */
    color: #333;
    line-height: 1.6;
}

/* --- Шапка (Hero) --- */
.hero {
    /* Градиент из твоих цветов */
    background: linear-gradient(135deg, #6bdb6b, #ee9086);
    color: #fff;
    padding: 50px 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(107, 219, 107, 0.2);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.avatar-container {
    flex-shrink: 0;
}

.avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%; /* Круглая аватарка */
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    background-color: #eee;
}

.hero-text h1 {
    font-size: 2rem;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.hero-text .subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 5px;
}

.hero-text .specialty {
    font-size: 1rem;
    opacity: 0.9;
    font-style: italic;
}

/* --- Основной контент --- */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-top: 4px solid #6bdb6b; /* Зеленая полоска сверху */
}

.card h2 {
    color: #444;
    margin-bottom: 15px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
}

.card h2::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 24px;
    background-color: #ee9086; /* Персиковый маркер */
    margin-right: 10px;
    border-radius: 4px;
}

/* --- Список навыков --- */
.skill-list {
    list-style-type: none;
}

.skill-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.skill-list li:last-child {
    border-bottom: none;
}

.skill-list strong {
    color: #555;
}

/* --- Увлечения --- */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.hobby-item {
    background: #fdfbfb; /* Легкий персиковый оттенок */
    border: 1px solid #fce4e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hobby-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(238, 144, 134, 0.2);
    border-color: #ee9086;
}

.hobby-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.hobby-item h3 {
    font-size: 1rem;
    color: #555;
    font-weight: 500;
}

/* --- Подвал --- */
footer {
    text-align: center;
    padding: 40px 20px 20px;
    margin-top: 20px;
}

.contacts {
    margin-bottom: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    max-width: 500px;
    margin: 0 auto 20px;
    border: 1px dashed #6bdb6b; /* Зеленая рамка */
}

.contacts p {
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- Одинаковые кнопки --- */
.contact-links a {
    display: inline-block;
    padding: 8px 20px; 
    background-color: #5b9bd5; /* Спокойный, неяркий синий оттенок */
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    transition: background-color 0.2s, transform 0.1s;
    font-size: 0.95rem;
    min-width: 120px; /* Чтобы кнопки были одинаковой ширины */
    text-align: center;
}

/* Эффект при наведении мышки */
.contact-links a:hover {
    background-color: #4a86c3; /* Чуть темнее при наведении */
    transform: translateY(-1px);
}

.copyright {
    color: #999;
    font-size: 0.85rem;
}

/* --- Адаптивность для телефонов --- */
@media (max-width: 600px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 1.6rem;
    }
    .avatar {
        width: 120px;
        height: 120px;
    }
}