:root {
    --primary-color: #333;
    --accent-color: #b71c1c; /* Deep red, matching the blazer in the photo */
    --bg-color: #f5f5f5;
    --text-color: #333;
    --card-bg: #fff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.profile-header {
    text-align: center;
    margin-bottom: 30px;
}

.profile-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-color);
    box-shadow: var(--shadow);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.profile-description p {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #555;
}

.links-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-card {
    display: flex;
    align-items: center;
    background-color: var(--card-bg);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow);
    text-align: left;
}

.link-logo {
    width: 60px;
    height: auto;
    margin-right: 15px;
}

.link-text {
    flex: 1;
}

.link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.link-title {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.link-subtitle {
    display: block;
    font-size: 0.85rem;
    color: #666;
}

.telegram-section {
    background-color: #f0f4f8;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 10px;
    border: 1px dashed #ccc;
}

.telegram-section h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.telegram-section ul {
    list-style: none;
    margin-bottom: 20px;
    text-align: left;
    display: inline-block;
}

.telegram-section ul li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 20px;
}

.telegram-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.cta-button {
    display: inline-block;
    background-color: #0088cc; /* Telegram blue */
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 136, 204, 0.3);
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #0077b5;
}

.contact-section {
    margin-top: 30px;
    text-align: center;
}

.contact-section h2 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #eee;
    color: var(--primary-color);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: white;
}

.save-contact-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
}
.social-icons a[aria-label="WhatsApp"] {
    background-color: #25D366 !important;
    color: white !important;
}

.social-icons a[aria-label="Telegram"] {
    background-color: #0088cc !important;
    color: white !important;
}

.social-icons a[aria-label="VK"] {
    background-color: #0077FF !important;
    color: white !important;
}

.social-icons a[aria-label="Email"] {
    background-color: #D44638 !important;
    color: white !important;
}

/* Remove hover override if we want them to stay colored,
   or adjust hover to be a slightly different shade.
   Currently the generic hover turns them to accent color.
   Let's keep the specific colors even on hover, maybe darken them slightly.
*/

.social-icons a[aria-label="WhatsApp"]:hover {
    background-color: #128C7E;
}

.social-icons a[aria-label="Telegram"]:hover {
    background-color: #0077b5;
}

.social-icons a[aria-label="VK"]:hover {
    background-color: #005ccf;
}

.social-icons a[aria-label="Email"]:hover {
    background-color: #B23121;
}
