/* База */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    /* Космический градиент */
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

/* Эффект матового стекла (Glassmorphism) */
.glass-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    text-align: center;
}

/* Аватар */
.profile-header {
    margin-bottom: 25px;
}

.avatar-ring {
    width: 130px;
    height: 130px;
    margin: 0 auto 15px;
    padding: 3px;
    /* Неоновая обводка */
    background: linear-gradient(45deg, #00d2ff, #3a7bd5, #ff00cc);
    border-radius: 50%;
    animation: spinBorder 4s linear infinite;
}

.avatar-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1a1a2e; /* Цвет фона под картинкой */
}

h1 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    letter-spacing: 3px;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.tagline {
    font-size: 0.8rem;
    color: #a0c4ff; /* Светло-голубой */
    letter-spacing: 4px;
    font-weight: 600;
}

/* Текст */
.content-body {
    margin-bottom: 30px;
}

.bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Кнопки */
.buttons-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    padding: 16px;
    border-radius: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05); /* Полупрозрачные кнопки */
}

.btn i {
    font-size: 1.3rem;
    margin-right: 10px;
}

/* Ховер эффекты для кнопок */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-telegram:hover {
    background: #2AABEE;
    border-color: #2AABEE;
}

.btn-whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

.btn-viber:hover {
    background: #7360F2;
    border-color: #7360F2;
}

/* Подвал */
footer a {
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}

footer a:hover {
    color: #fff;
}

/* Анимации */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes spinBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Чтобы аватар внутри не крутился вместе с рамкой */
.avatar-ring img {
    animation: counterSpin 4s linear infinite; /* Опционально, если рамка крутится */
}
/* В данном дизайне я убрал вращение самой рамки, сделал просто градиент, 
   но если хочешь вращение, нужно сложнее верстать. 
   В коде выше .avatar-ring крутится, но внутри картинку лучше оставить статичной.
   УПРОЩЕНИЕ: Уберем вращение кольца, оставим просто красивый градиент. */

.avatar-ring {
    animation: none; /* Отключаем вращение для простоты и стиля */
    box-shadow: 0 0 15px rgba(58, 123, 213, 0.4);
}