@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');

body {
    margin: 0;
    font-family: 'Cairo', sans-serif;
    color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient-animation 15s ease infinite;
    overflow-x: hidden; /* لمنع ظهور شريط التمرير الأفقي بسبب الرسوم المتحركة */
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.container {
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 600px;
    margin: 20px; /* إضافة هامش للتأكد من عدم التصاق المحتوى بالحواف على الشاشات الصغيرة */
}

.profile-image-container {
    width: 150px; /* حجم الحاوية */
    height: 150px;
    border-radius: 50%; /* لجعل الحاوية دائرية */
    overflow: hidden; /* لإخفاء أي جزء من الصورة خارج الدائرة */
    margin: 0 auto 30px auto; /* توسيط الصورة ووضع هامش سفلي */
    border: 5px solid #fff; /* إطار أبيض حول الصورة */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5); /* ظل خفيف للإطار */
    transition: transform 0.3s ease;
}

.profile-image-container:hover {
    transform: scale(1.05); /* تكبير الصورة قليلاً عند التحويم */
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* لضمان ملء الصورة للحاوية دون تشوه */
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

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

.link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.link-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.link-item i {
    font-size: 1.5rem;
    margin-left: 10px;
}

/* Colors for specific links */
.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.telegram {
    background: #0088cc;
}

.tellonym {
    background: #1e1e1e;
}