
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

body {
    background: #0a0a0a;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Анимированный фон с фигурами */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(75, 0, 130, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(138, 43, 226, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(147, 112, 219, 0.12) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
    z-index: -2;
}

@keyframes backgroundShift {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-10px) translateY(-10px); }
    50% { transform: translateX(10px) translateY(10px); }
    75% { transform: translateX(-5px) translateY(5px); }
}

/* Декоративные элементы с параллаксом */
body::after {
    content: '';
    position: fixed;
    top: 100%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.12), rgba(147, 112, 219, 0.06));
    border-radius: 50%;
    filter: blur(2px);
    animation: parallaxUp1 25s linear infinite;
    z-index: -1;
}

.parallax-circle-1 {
    position: fixed;
    top: 100%;
    left: 15%;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, rgba(75, 0, 130, 0.08), rgba(138, 43, 226, 0.04));
    border-radius: 50%;
    filter: blur(1px);
    animation: parallaxUp2 30s linear infinite;
    z-index: -1;
    pointer-events: none;
}

.parallax-circle-2 {
    position: fixed;
    top: 100%;
    right: 25%;
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, rgba(147, 112, 219, 0.1), rgba(138, 43, 226, 0.05));
    border-radius: 50%;
    filter: blur(3px);
    animation: parallaxUp3 35s linear infinite;
    z-index: -1;
    pointer-events: none;
}

.parallax-circle-3 {
    position: fixed;
    top: 100%;
    left: 70%;
    width: 180px;
    height: 180px;
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.06), rgba(75, 0, 130, 0.03));
    border-radius: 50%;
    filter: blur(2px);
    animation: parallaxUp4 40s linear infinite;
    z-index: -1;
    pointer-events: none;
}

.parallax-circle-4 {
    position: fixed;
    top: 100%;
    left: 40%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(147, 112, 219, 0.08), rgba(138, 43, 226, 0.04));
    border-radius: 50%;
    filter: blur(1px);
    animation: parallaxUp5 20s linear infinite;
    z-index: -1;
    pointer-events: none;
}

/* Анимации параллакса */
@keyframes parallaxUp1 {
    0% { 
        transform: translateY(0) translateX(0) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% { 
        transform: translateY(-120vh) translateX(50px) scale(1.2);
        opacity: 0;
    }
}

@keyframes parallaxUp2 {
    0% { 
        transform: translateY(0) translateX(0) scale(0.9);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% { 
        transform: translateY(-120vh) translateX(-30px) scale(1.1);
        opacity: 0;
    }
}

@keyframes parallaxUp3 {
    0% { 
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% { 
        transform: translateY(-120vh) translateX(40px) scale(1.3);
        opacity: 0;
    }
}

@keyframes parallaxUp4 {
    0% { 
        transform: translateY(0) translateX(0) scale(0.7);
        opacity: 0;
    }
    12% {
        opacity: 1;
    }
    88% {
        opacity: 1;
    }
    100% { 
        transform: translateY(-120vh) translateX(-60px) scale(1.4);
        opacity: 0;
    }
}

@keyframes parallaxUp5 {
    0% { 
        transform: translateY(0) translateX(0) scale(1.1);
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    100% { 
        transform: translateY(-120vh) translateX(20px) scale(0.9);
        opacity: 0;
    }
}

/* Основной контейнер */
main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Общие заголовки */
h1, h2, h3, h4 {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #8a2be2, #9370db);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.3);
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: #b0b0b0;
}

/* Glassmorphism карточки */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(138, 43, 226, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(138, 43, 226, 0.3);
}

/* Секция об авторе */
.author-section {
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.author-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.author-header:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(138, 43, 226, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(138, 43, 226, 0.2);
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    border: 2px solid rgba(138, 43, 226, 0.3);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(138, 43, 226, 0.2);
    transition: all 0.3s ease;
}

.author-header:hover .avatar {
    transform: scale(1.02) rotate(-1deg);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(138, 43, 226, 0.3);
}

.author-info {
    flex: 1;
}

.author-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.author-info p {
    color: #b0b0b0;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contacts {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* УЛУЧШЕННЫЕ СТИЛИ ДЛЯ КНОПКИ TELEGRAM (УМЕНЬШЕННАЯ ВЕРСИЯ) */
.contact-link {
    display: inline-flex; /* Создаём flex-контейнер для выравнивания содержимого */
    align-items: center; /* Выравниваем иконку и текст по центру */
    gap: 0.5rem; /* Уменьшенный отступ между иконкой и текстом */
    text-decoration: none; /* Убираем подчёркивание ссылки */
    color: #ffffff; /* Белый цвет текста для лучшего контраста */
    font-weight: 600; /* Полужирный шрифт */
    font-size: 0.9rem; /* Уменьшенный размер шрифта */
    padding: 0.75rem 1.25rem; /* Уменьшенные внутренние отступы */
    background: linear-gradient(135deg, #0088cc 0%, #0088cc 100%); /* Фирменный синий цвет Telegram */
    border: 2px solid rgba(0, 136, 204, 0.3); /* Тонкая граница в цвет Telegram */
    border-radius: 12px; /* Уменьшенные скруглённые углы */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Плавная анимация */
    backdrop-filter: blur(10px); /* Эффект размытия фона */
    box-shadow: 
        0 3px 12px rgba(0, 136, 204, 0.2), /* Уменьшенная мягкая тень */
        0 0 15px rgba(0, 136, 204, 0.1), /* Уменьшенное свечение */
        inset 0 1px 0 rgba(255, 255, 255, 0.2); /* Внутреннее свечение */
    position: relative; /* Для позиционирования псевдоэлементов */
    overflow: hidden; /* Скрываем переполнение для анимации */
}

/* Добавляем градиентный фон при наведении */
.contact-link::before {
    content: ''; /* Создаём псевдоэлемент */
    position: absolute; /* Абсолютное позиционирование */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #229ED9 0%, #0088cc 50%, #0066aa 100%); /* Градиент для hover */
    opacity: 0; /* Изначально невидим */
    transition: opacity 0.3s ease; /* Плавное появление */
    z-index: -1; /* Размещаем под содержимым */
}

.contact-link:hover {
    transform: translateY(-2px) scale(1.01); /* Уменьшенный подъём и масштаб */
    box-shadow: 
        0 6px 18px rgba(0, 136, 204, 0.4), /* Уменьшенная усиленная тень */
        0 0 20px rgba(0, 136, 204, 0.3), /* Уменьшенное усиленное свечение */
        inset 0 1px 0 rgba(255, 255, 255, 0.3); /* Усиленное внутреннее свечение */
    border-color: rgba(0, 136, 204, 0.6); /* Более яркая граница */
    color: #ffffff; /* Сохраняем белый цвет текста */
}

.contact-link:hover::before {
    opacity: 1; /* Показываем градиентный фон при наведении */
}

.contact-link:active {
    transform: translateY(-1px) scale(1.005); /* Уменьшенное смещение при клике */
    transition: all 0.1s ease; /* Быстрая анимация для клика */
}

/* Стили для иконки Telegram */
.contact-icon {
    width: 18px; /* Уменьшенный размер иконки */
    height: 18px;
    opacity: 1; /* Полная непрозрачность */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Плавная анимация */
    filter: brightness(1.1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)); /* Лёгкое свечение и тень */
    flex-shrink: 0; /* Предотвращаем сжатие иконки */
}

.contact-link:hover .contact-icon {
    transform: scale(1.05) rotate(-3deg); /* Уменьшенное увеличение и поворот при наведении */
    filter: brightness(1.2) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); /* Усиленное свечение */
}

/* Дополнительная анимация пульсации для привлечения внимания */
@keyframes telegramPulse {
    0% { 
        box-shadow: 
            0 3px 12px rgba(0, 136, 204, 0.2),
            0 0 15px rgba(0, 136, 204, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% { 
        box-shadow: 
            0 4px 16px rgba(0, 136, 204, 0.3),
            0 0 18px rgba(0, 136, 204, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }
    100% { 
        box-shadow: 
            0 3px 12px rgba(0, 136, 204, 0.2),
            0 0 15px rgba(0, 136, 204, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

/* Применяем анимацию пульсации к кнопке Telegram */
.contact-link.telegram {
    animation: telegramPulse 3s ease-in-out infinite; /* Мягкая пульсация каждые 3 секунды */
}

/* Останавливаем пульсацию при наведении */
.contact-link.telegram:hover {
    animation: none; /* Убираем анимацию при наведении */
}

.author-description {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.author-description p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Секция проектов */
.projects-section {
    margin-bottom: 4rem;
}

.projects-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.projects-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #8a2be2, #9370db);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #8a2be2, #9370db);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(138, 43, 226, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(138, 43, 226, 0.3);
}

.project-card:hover::before {
    opacity: 1;
}

.project-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #8a2be2 0%, #9370db 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 20px rgba(138, 43, 226, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 12px 28px rgba(138, 43, 226, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.project-icon svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.project-card h3 {
    font-size: 1.4rem;
    margin: 0;
    color: #ffffff;
    line-height: 1.3;
}

.project-card p {
    color: #b0b0b0;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #8a2be2;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    background: rgba(138, 43, 226, 0.15);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-top: auto;
    backdrop-filter: blur(10px);
}

.project-link:hover {
    background: rgba(138, 43, 226, 0.25);
    border-color: rgba(138, 43, 226, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(138, 43, 226, 0.3);
    color: #9370db;
}

/* Кнопки обратной связи */
.feedback-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feedback-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 1.75rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

.feedback-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: rgba(138, 43, 226, 0.1);
    border-color: rgba(138, 43, 226, 0.3);
}

.feedback-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.bug-report {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
}

.bug-report:hover {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.4);
}

.suggest-idea {
    background: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.2);
}

.suggest-idea:hover {
    background: rgba(40, 167, 69, 0.2);
    border-color: rgba(40, 167, 69, 0.4);
}

/* Секция опыта */
.experience-section {
    margin-bottom: 4rem;
}

.experience-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.experience-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #8a2be2, #9370db);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.3);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.experience-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.experience-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(138, 43, 226, 0.1);
    border-color: rgba(138, 43, 226, 0.2);
}

.experience-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #8a2be2 0%, #9370db 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.2);
}

.experience-icon svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

.experience-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.experience-card p {
    color: #b0b0b0;
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

/* Секция навыков */
.skills-section {
    margin-bottom: 4rem;
}

.skills-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.skills-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #8a2be2, #9370db);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.3);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.skills-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.skills-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(138, 43, 226, 0.2);
}

.skills-category h4 {
    font-size: 1.1rem;
    margin-top: 0;    
    margin-bottom: 1rem;
    color: #8a2be2;
    font-weight: 600;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-badge {
    background: rgba(138, 43, 226, 0.1);
    color: #b19cd9;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
}

.skill-badge:hover {
    background: rgba(138, 43, 226, 0.2);
    border-color: rgba(138, 43, 226, 0.4);
    transform: translateY(-1px);
    color: #ddd0ea;
}

/* Адаптивность */
@media (max-width: 1024px) {
    main {
        margin: 0;
        padding: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .author-header {
        flex-direction: column;
        text-align: center;
        gap: 0;
        align-items: center;
        justify-content: center;
    }
    
    .author-header .avatar {
        margin: 0 auto 1rem auto;
    }
    
    .author-header .author-info {
        margin: 0;
    }
    
    .avatar {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 768px) {
    main {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2, .projects-section h3, .experience-section h3, .skills-section h3 {
        font-size: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .experience-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .author-header {
        padding: 1.5rem;
        align-items: center;
        justify-content: center;
    }
    
    .contacts {
        justify-content: center;
    }
    
    .feedback-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .project-card,
    .experience-card,
    .skills-category {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    main {
        padding: 0.75rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    .author-header {
        padding: 1rem;
        align-items: center;
        justify-content: center;
    }
    
    .author-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .author-header .avatar {
        margin: 0 auto 0.75rem auto;
    }
    
    .avatar {
        width: 120px;
        height: 120px;
    }
    
    .project-icon {
        width: 52px;
        height: 52px;
    }
    
    .project-icon svg {
        width: 26px;
        height: 26px;
    }
    
    .experience-icon {
        width: 40px;
        height: 40px;
    }
    
    .experience-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Дополнительные декоративные элементы */
.author-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.08), rgba(147, 112, 219, 0.04));
    border-radius: 50%;
    filter: blur(2px);
    animation: float 12s ease-in-out infinite reverse;
    z-index: -1;
}

.projects-section::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, rgba(147, 112, 219, 0.06), rgba(138, 43, 226, 0.03));
    border-radius: 50%;
    filter: blur(1px);
    animation: float 18s ease-in-out infinite;
    z-index: -1;
}

/* Скрытие элементов навигации (так как это одностраничный сайт) */
header, nav, footer {
    display: none;
}

/* Дополнительные эффекты для улучшения визуала */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

/* Анимация появления элементов */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.author-section,
.projects-section,
.experience-section,
.skills-section {
    animation: fadeInUp 0.8s ease-out;
}

.projects-section {
    animation-delay: 0.1s;
}

.experience-section {
    animation-delay: 0.2s;
}

.skills-section {
    animation-delay: 0.3s;
}

/* Стили для мобильного меню (из mobile-menu.css) */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-right: 15px;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #8a2be2;
    margin: 5px 0;
    transition: all 0.3s ease;
}

body.menu-open {
    overflow: hidden;
}


