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

body {
    font-family: 'Rajdhani', sans-serif;
    overflow: hidden;
    /* Чтобы не было скролла */
    background-color: #000;
    color: #fff;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Фон для Vanta.js */
#vanta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Эффект матового стекла (Glassmorphism) */
.glass-card {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    width: 350px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 200, 0.3);
    /* Легкое свечение при наведении */
}

/* Аватар и Нейро-нимб */
.avatar-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

#neuro-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    /* Убираем жесткую ширину/высоту в CSS, берем из атрибутов HTML, но можно ограничить макс размером */
}

.avatar {
    position: relative;
    z-index: 2;
    /* Аватар выше канваса */
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    /* margin-bottom ушел в контейнер */
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.2);
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: 1.1rem;
    color: #00ffc8;
    /* Tech Cyan Color */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

/* Соцсети */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    transition: all 0.3s;
}

.social-links a:hover {
    color: #00ffc8;
    transform: scale(1.2);
}

/* Аудио плеер */
.audio-btn {
    background: transparent;
    border: 1px solid #00ffc8;
    color: #00ffc8;
    padding: 10px 25px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
}

.audio-btn:hover {
    background: #00ffc8;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 255, 200, 0.4);
}

.playing-anim {
    display: none;
    height: 15px;
    gap: 2px;
    align-items: flex-end;
}

.playing-anim span {
    width: 3px;
    background-color: currentColor;
    animation: bounce 1s infinite ease-in-out;
}

.playing-anim span:nth-child(2) {
    animation-delay: 0.1s;
    height: 60%;
}

.playing-anim span:nth-child(3) {
    animation-delay: 0.2s;
    height: 30%;
}

@keyframes bounce {

    0%,
    100% {
        height: 10%;
    }

    50% {
        height: 100%;
    }
}