/* استایل‌های کلی و فونت صفحه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #f0f2f5; /* پس‌زمینه ملایم */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* کانتینر اصلی که همه چیز توش هست */
.container {
    width: 100%;
    max-width: 400px; /* حداکثر عرض برای نمایش در موبایل */
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    text-align: center;
}

/* استایل‌های هدر و پروفایل */
.profile-header {
    margin-bottom: 40px;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%; /* گرد کردن عکس */
    border: 4px solid #e4e6eb;
    margin-bottom: 15px;
    object-fit: cover; /* برای اینکه عکس کج نشه */
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    color: #1c1e21;
    margin-bottom: 8px;
}

.profile-bio {
    font-size: 15px;
    color: #65676b;
    line-height: 1.5;
    direction: rtl;
    text-align: justify;
    text-justify: inter-word; /* برای فاصله‌گذاری کلمات */
}

/* استایل‌های کانتینر لینک‌ها */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 15px; /* فاصله بین لینک‌ها */
}

/* استایل هر ایتم لینک */
.link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* انیمیشن ملایم */
}

/* افکت وقتی روی لینک ها می‌رویم (هاور) */
.link-item:hover {
    transform: translateY(-3px); /* کمی به بالا می‌پره */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* رنگ‌های هر لینک */
.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.whatsapp {
    background-color: #25d366;
}

.rubika {
    background-color: #00a884; /* رنگی شبیه به روبیکا */
}

.website {
    background-color: #007bff;
}

/* استایل آیکون‌ها */
.link-item i {
    font-size: 20px;
}