:root {
    --primary-gradient: linear-gradient(135deg, #8e2de2, #4a00e0);
    --bg-color: #0d0d0d;
    --card-bg: rgba(255, 255, 255, 0.03);
    --text-color: #f8f8f8;
    --accent-color: #bb86fc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(142, 45, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(74, 0, 224, 0.1) 0%, transparent 50%);
    color: var(--text-color);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 50px 30px;
    text-align: center;
    max-width: 650px;
    width: 95%;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.portfolio-img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(142, 45, 226, 0.2);
    transition: transform 0.5s ease;
}

.portfolio-img:hover {
    transform: scale(1.02);
}

h1 {
    font-size: 1.7rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.highlight {
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(187, 134, 252, 0.4);
}

.description {
    color: #888;
    font-size: 1rem;
    margin-bottom: 5px; /* مسافة صغيرة جداً تحت كل سطر */
    line-height: 1.4;   /* بيظبط المسافة الرأسية بين الكلام */
}

/* عشان نضمن إن آخر سطر بس هو اللي يبعد عن الزراير اللي تحته */
p.description:last-of-type {
    margin-bottom: 30px; 
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--primary-gradient);
    color: #fff;
    text-decoration: none;
    padding: 18px 55px;
    border-radius: 60px;
    font-size: 1.3rem;
    font-weight: bold;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(74, 0, 224, 0.4);
}

.download-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(74, 0, 224, 0.6);
    filter: brightness(1.1);
}

.footer {
    margin-top: 45px;
    font-size: 0.8rem;
    color: #444;
    letter-spacing: 2px;
}

.footer p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* مسافة بين الاسم والأيقونة */
}

.whatsapp-icon {
    color: #25d366; /* لون الواتساب */
    font-size: 1.5rem; /* كبرت الحجم من 1.2 لـ 2 (تقدر تزود أكتر لو تحب) */
    transition: 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.whatsapp-icon:hover {
    transform: scale(1.2); /* تكبر شوية كمان لما الماوس يجي عليها */
    filter: drop-shadow(0 0 8px #25d366); /* توهج خفيف باللون الأخضر */
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* جعل العرض متوافق مع عرض الكارد الأساسي */
    max-width: 650px; 
    margin: 0 auto 15px auto; /* سنترة في النص ومسافة تحت */
    
    /* مساحة 1 سم تقريباً من اليمين والشمال */
    padding: 0 38px; 
}

.nav-left, .nav-right {
    font-size: 0.95rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    white-space: nowrap; /* منع انقسام الكلمة على سطرين */
}

.nav-center {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    
    /* تأثير التدرج اللوني والأنميشن */
    background: linear-gradient(
        to right, 
        #7700ff 5%, 
        #bb86fc 40%, 
        #ff0000 60%, 
        #00fbff 90%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* حركة اللمعان المستمرة */
    animation: shine 3s linear infinite;
}

/* تعريف حركة اللمعان */
@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* للموبايل: تقليل المساحات لضمان ظهور الكلمات بشكل صحيح */
@media (max-width: 600px) {
    .top-nav {
        padding: 0 15px;
    }
    .nav-center {
        font-size: 1.2rem;
    }
    .nav-left, .nav-right {
        font-size: 0.75rem;
    }
}