html,
body {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #0d0d0d;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #eee;
    overflow-x: hidden;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

img {
    pointer-events: none;
    -webkit-user-drag: none;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(25, 23, 23, 0.548);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}

/* Основной контейнер карточки */
.card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99;
    max-width: 450px;
    background: rgba(25, 25, 25, 0.6);
    border: 2px solid rgba(46, 4, 73, 0.9);
    border-radius: 30px;
    padding: 30px 25px;
    box-shadow: 0 0 15px rgba(46, 4, 73, 0.9);
}

h1 {
    margin-top: 0;
    font-weight: 700;
    font-size: 2.2em;
    text-align: center;
    color: #fafafa;
}

p.description {
    font-style: italic;
    font-size: 1.1em;
    line-height: 1.4;
    margin-bottom: 25px;
    color: #ccc;
    text-align: justify;
}

.section-title {
    font-weight: 600;
    font-size: 1.3em;
    margin-bottom: 10px;
    border-bottom: 2px solid #555;
    padding-bottom: 5px;
    color: #bbb;
}

ul.skills,
ul.socials {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

ul.skills li,
ul.socials li {
    margin-bottom: 8px;
    font-size: 1em;
}

ul.skills li::before {
    content: "+ ";
    color: #4caf50;
    font-weight: bold;
}

ul.socials li a {
    color: #89c9ff;
    text-decoration: none;
    transition: color 0.3s;
}

ul.socials li a:hover {
    color: #1e90ff;
}

.header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

@media (max-height: 1000px) {
    .card {
        margin-top: 20%;
        transform: translate(-50%, -50%) scale(0.75);
        transform-origin: center center;
    }
}