* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(26, 26, 26, 0.85) 100%), url('pictures/fon.gif') center/cover fixed;
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container-main {
    width: 100%;
    max-width: 1000px;
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: slideUp 0.8s ease;
}

/* Профиль */
.profile {
    flex: 0 0 auto;
    text-align: center;
}

.avatar {
    margin-bottom: 2rem;
}

.avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #fff;
    object-fit: cover;
    animation: fadeIn 0.8s ease;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}

.name {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
    letter-spacing: 2px;
    animation: fadeIn 0.8s ease 0.2s both;
}

.bio {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 0.5rem;
    animation: fadeIn 0.8s ease 0.3s both;
}

.description {
    font-size: 0.95rem;
    color: #888;
    animation: fadeIn 0.8s ease 0.4s both;
}

/* Блоки */
.block {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    animation: fadeIn 0.8s ease 0.5s both;
}

/* Блок навыков */
.skills-block .skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.skill-tag {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid #444;
    color: #e0e0e0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Блок соцсетей */
.social-block .social-links {
    margin-bottom: 0;
}

/* Правая часть */
.right-content {
    flex: 1;
}

.block h2 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Соцсети */
.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 10px;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    animation: fadeIn 0.8s ease 0.5s both;
}

.social-btn i {
    font-size: 1.2rem;
}

.social-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.social-btn.telegram:hover {
    border-color: #0088cc;
    color: #0088cc;
}

.social-btn.instagram:hover {
    border-color: #e1306c;
    color: #e1306c;
}

.social-btn.github:hover {
    border-color: #fff;
    color: #fff;
}

.social-btn.vk:hover {
    border-color: #0077ff;
    color: #0077ff;
}

.social-btn.discord:hover {
    border-color: #5865f2;
    color: #5865f2;
}

.social-btn.steam:hover {
    border-color: #1b2838;
    color: #1b2838;
}

.social-btn.email:hover {
    border-color: #2196f3;
    color: #2196f3;
}

.social-btn.twitter:hover {
    border-color: #1da1f2;
    color: #1da1f2;
}

.social-btn.youtube:hover {
    border-color: #ff0000;
    color: #ff0000;
}

/* Контакты */
.contact-info {
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid #333;
    border-radius: 10px;
    animation: fadeIn 0.8s ease 0.6s both;
}

.contact-info p {
    color: #b0b0b0;
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптив */
@media (max-width: 768px) {
    .container-main {
        flex-direction: column;
        gap: 2rem;
    }

    .profile {
        text-align: center;
    }

    .name {
        font-size: 2rem;
    }

    .avatar img {
        width: 120px;
        height: 120px;
    }

    .social-links {
        grid-template-columns: 1fr;
    }

    .social-btn {
        justify-content: flex-start;
        padding: 0.8rem 1rem;
    }
}
