/* Сброс и База */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #1a1510; /* Темный кофейный оттенок */
    background-image: radial-gradient(circle at top, #2e241b 0%, #1a1510 100%);
    color: #f4e4bc; /* Цвет пергамента */
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 450px; /* Узкий формат, как в мобильном приложении */
    text-align: center;
}

/* Профиль */
.profile-section {
    margin-bottom: 40px;
    animation: fadeIn 1s ease-in;
}

.avatar-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Круглый аватар */
    border: 3px solid #cda45e;
    box-shadow: 0 0 20px rgba(205, 164, 94, 0.4);
}

.glow-effect {
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(205, 164, 94, 0.2) 0%, transparent 70%);
    z-index: -1;
    animation: pulse 3s infinite;
}

h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: #cda45e;
    margin-bottom: 5px;
}

.role {
    font-size: 0.9rem;
    color: #a69b8d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(205, 164, 94, 0.3);
    display: inline-block;
    padding-bottom: 10px;
}

.description {
    font-size: 1rem;
    line-height: 1.5;
    color: #e0d0b0;
}

/* Кнопки */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: slideUp 1s ease-out;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    padding: 18px 20px;
    border-radius: 50px; /* Мягкие кнопки */
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.btn i {
    font-size: 1.4rem;
    margin-right: 12px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

/* Цвета кнопок */
.telegram {
    background: linear-gradient(45deg, #2AABEE, #229ED9);
    box-shadow: 0 4px 15px rgba(42, 171, 238, 0.3);
}

.whatsapp {
    background: linear-gradient(45deg, #25D366, #128C7E);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.viber {
    background: linear-gradient(45deg, #7360F2, #665CAC);
    box-shadow: 0 4px 15px rgba(115, 96, 242, 0.3);
}

/* Подвал */
footer {
    margin-top: 40px;
}

.back-link {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: #cda45e;
}

/* Анимации */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}