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

html, body {
    height: 100%;
}

body {
    background-color: #000000;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    min-height: 100vh;
    overflow-y: auto;
}

.container {
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 0;
}

.hero {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.avatar-wrapper {
    position: relative;
    width: 260px;
    height: 260px;
    flex-shrink: 0;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background-color: #111;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
}

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

.decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    pointer-events: none;
    z-index: 3;
    background: url('https://cdn.discordapp.com/avatar-decoration-presets/a_3c97a2d37f433a7913a1c7b7a735d000') no-repeat center/contain;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.15));
    opacity: 0.95;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.display-name {
    font-family: 'Starborn', 'Courier New', monospace;
    font-size: 5rem;
    line-height: 1;
    color: white;
    letter-spacing: 2px;
    font-weight: normal;
    text-shadow: 0 0 20px rgba(255,255,255,0.15);
}

.bio {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
}

.about-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.5;
    color: white;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    flex-shrink: 0;
}

.about-text strong {
    font-weight: 700;
    color: white;
}

.about-text u {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(255,255,255,0.4);
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    margin: 0 auto;
    width: 100%;
    max-width: 750px;
    flex-shrink: 0;
}

.post-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
}

.post-item:last-child {
    border-bottom: none;
}

.post-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.7rem;
    color: white;
    line-height: 1.3;
    margin-bottom: 0.1rem;
}

.post-title strong {
    font-weight: 700;
    color: white;
}

.post-title u {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1.5px;
    text-decoration-color: rgba(255,255,255,0.3);
}

.post-description {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    max-width: 750px;
    margin-bottom: 0.4rem;
}

.post-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: all 0.15s ease;
    align-self: flex-start;
    letter-spacing: 0.3px;
    border-bottom: 1px solid transparent;
}

.post-link:hover {
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.5);
}

.social-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.2rem 2.8rem;
    margin: 0.8rem 0 0.2rem 0;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.social-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: all 0.15s ease;
    letter-spacing: 0.5px;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.social-link:hover {
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.5);
}

.footer {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.2);
    text-align: center;
    letter-spacing: 1px;
    flex-shrink: 0;
    padding-bottom: 0.2rem;
}

/* ========== МОБИЛЬНАЯ ВЕРСИЯ ========== */
@media (max-width: 700px) {
    body {
        padding: 1rem;
        justify-content: flex-start;
        padding-top: 2rem;
    }

    .container {
        gap: 1.8rem;
    }

    .hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
        width: 100%;
    }

    .avatar-wrapper {
        width: 200px;
        height: 200px;
        margin: 0;
    }

    .display-name {
        font-size: 3.2rem;
        line-height: 1.1;
    }

    .bio {
        font-size: 1.2rem;
    }

    .about-text {
        font-size: 1.3rem;
        text-align: left;
    }

    .blog-posts {
        gap: 1.4rem;
    }

    .post-title {
        font-size: 1.4rem;
    }

    .post-description {
        font-size: 1rem;
    }

    .social-row {
        gap: 1.2rem 1.5rem;
        justify-content: flex-start;
    }

    .social-link {
        font-size: 1rem;
    }

    .footer {
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }
}