/* ---- reset ---- */
body {
    margin: 0;
    font: normal 75% Arial, Helvetica, sans-serif;
}

canvas {
    display: block;
    vertical-align: bottom;
    filter: invert(1);
    opacity: 0.15;
}

/* ---- tsparticles container ---- */
#tsparticles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: 50% 50%;
}

/* ... прежние стили без изменений ... */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0f2913;
    color: #e2e8f0;
    font-family: 'Roboto', sans-serif;
    padding: 20px;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.profile-card {
    text-align: center;
    max-width: 600px;
    width: 100%;
    padding: 40px 24px;
    background: rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(129, 140, 248, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.avatar-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    position: relative;
}

.avatar::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, #818cf8, #4fd1c5);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
}

.avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #1e293b;
    object-fit: cover;
    display: block;
}

h1 {
    font-size: 2.1rem;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #818cf8, #4fd1c5);
    background-clip: border-box;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 500;
}

p {
    font-size: 1.05rem;
    margin-bottom: 32px;
    color: #cbd5e1;
}

p a {
    text-decoration: none;
    color: #cbd5e1;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-wide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 14px;
    background: rgba(30, 41, 59, 0.6);
    color: #F4F3F2;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.35s ease;
    touch-action: manipulation;
}

.btn-wide:hover {
    transform: translateY(-3px);
    color: #212427;
    background: #F4F3F2;
    box-shadow: 0 4px 12px rgba(129, 140, 248, 0.2);
    transition: all 0.35s ease;
}

.btn-wide i {
    font-size: 1.2rem;
}

.btn-pair {
    display: flex;
    gap: 14px;
}

.btn-pair a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(30, 41, 59, 0.6);
    color: #F4F3F2;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.35s ease;
    touch-action: manipulation;
}

.btn-pair a:hover {
    transform: translateY(-3px);
    color: #212427;
    background: #F4F3F2;
    box-shadow: 0 4px 12px rgba(129, 140, 248, 0.2);
    transition: all 0.35s ease;
}

.btn-pair i {
    font-size: 1.1rem;
}

@media (max-width: 480px) {
    .btn-pair {
        flex-direction: column;
    }

    h1 {
        font-size: 1.8rem;
    }
}

a.btn-tg {
    background: #0088cc;
}

a.btn-youtube {
   background: #cc181e;
}

a.btn-twitch {
    background: #6441a4;
}

a.btn-tiktok {
    background: #040404;
}

a.btn-inst {
    background: #833ab4;
    background: linear-gradient(
        to right,
        #833ab4,#fd1d1d,#fcb045
    );
}

a.btn-boosty {
    background: #f15f2c;
}

a.btn-archive {
    background: linear-gradient(105deg, #1971c2 0%, #6741d9 100%);
}

a.btn-donate {
    background: #2E8B57
}