* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    min-width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #10131a;
    font-family: 'Cairo', sans-serif;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(2px);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1f3c 0%, #2d1a3c 50%, #1a3c2d 100%);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    z-index: -1;
    opacity: 0.95;
    /* إضافة تأثير زجاجي */
    filter: blur(4px);
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.container {
    width: 100vw;
    min-height: 100vh;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    border: none;
}

.profile-card {
    background: rgba(30, 34, 54, 0.85);
    border-radius: 24px;
    padding: 36px 24px 30px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 255, 136, 0.08), 0 0 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 32px;
    border: 1.5px solid rgba(0, 255, 136, 0.08);
    transition: box-shadow 0.3s, transform 0.3s;
}

.profile-card:hover {
    box-shadow: 0 8px 32px rgba(0, 255, 136, 0.18);
    transform: translateY(-4px) scale(1.02);
}

.profile-image {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 18px;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(0, 255, 136, 0.08);
    background: rgba(0, 255, 136, 0.04);
    box-shadow: 0 0 0 8px rgba(0, 255, 136, 0.13);
    background: linear-gradient(135deg, #00ff88 10%, #10131a 90%);
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00ff88;
    box-shadow: 0 0 18px 0 rgba(0, 255, 136, 0.18);
    animation: profilePulse 2.5s ease-in-out infinite alternate;
}

@keyframes profilePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 18px 0 rgba(0, 255, 136, 0.18);
    }

    100% {
        transform: scale(1.06);
        box-shadow: 0 0 32px 0 rgba(0, 255, 136, 0.32);
    }
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 170px;
    height: 170px;
    background: linear-gradient(60deg, #00ff88 40%, #00a1ff 100%);
    border-radius: 50%;
    filter: blur(28px);
    opacity: 0.45;
    z-index: -1;
    animation: glow 3s infinite alternate;
}

h1 {
    color: #fff;
    margin-bottom: 18px;
    text-shadow: 0 2px 18px rgba(0, 255, 136, 0.18);
    font-size: 2.1rem;
    letter-spacing: 1px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 255, 136, 0.10), 0 1px 1px rgba(0,0,0,0.12);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    padding: 0 10px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #232a3c 60%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 255, 136, 0.08);
    border: 2px solid rgba(0,255,136,0.15);
    background: linear-gradient(135deg, #232a3c 60%, #1a1a1a 100%);
    box-shadow: 0 2px 16px rgba(0, 255, 136, 0.10);
    transition: transform 0.2s, box-shadow 0.2s, border 0.2s;
}

.social-btn:hover {
    animation-play-state: paused;
    transform: translateY(-7px) scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 255, 136, 0.18);
    background: linear-gradient(135deg, #00ff88 60%, #00a1ff 100%);
    color: #fff;
    border: 2px solid #00ff88;
    box-shadow: 0 8px 32px rgba(0, 255, 136, 0.18);
}

.social-btn.snapchat {
    background: #FFFC00;
    color: #000;
}

.social-btn.snapchat:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 252, 0, 0.4);
}

.social-btn.snapchat i {
    font-size: 24px;
}

.social-btn.whatsapp {
    /* لا خلفية خاصة، استخدم الافتراضية */
    color: #25D366;
}

.social-btn.whatsapp:hover {
    background: #25D366;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.social-btn.tiktok {
    background: #000000;
    color: white;
    position: relative;
    overflow: hidden;
}

.social-btn.tiktok::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #25F4EE, #FE2C55, #000000);
    animation: tiktokGlow 2s linear infinite;
    opacity: 0.3;
}

@keyframes tiktokGlow {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.social-btn.pinterest {
    background: #E60023;
    color: white;
}

.social-btn.pinterest:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(230, 0, 35, 0.4);
}

.social-btn.pinterest i {
    font-size: 20px;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
    align-items: stretch;
}

.contact-btn {
    background: linear-gradient(90deg, #00ff88 0%, #00a1ff 100%);
    border: none;
    padding: 14px 28px;
    border-radius: 32px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition:
        transform 0.22s cubic-bezier(.4,2,.6,1),
        box-shadow 0.22s,
        background 0.22s,
        border 0.22s;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    box-shadow: 0 4px 24px rgba(0, 255, 136, 0.18), 0 1.5px 8px 0 rgba(0, 161, 255, 0.10);
    border: 2px solid #00ff88;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    /* تأثير لمعان متحرك */
    width: 100%;
    justify-content: center;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    transform: skewX(-25deg);
    transition: left 0.5s;
    pointer-events: none;
}

.contact-btn:hover::before {
    left: 120%;
}

.contact-btn:hover {
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 8px 32px rgba(0, 255, 136, 0.22), 0 4px 16px rgba(0, 161, 255, 0.13);
    background: linear-gradient(90deg, #00a1ff 0%, #00ff88 100%);
    border-color: #00a1ff;
}

.contact-btn:active {
    box-shadow: 0 2px 8px rgba(0, 255, 136, 0.10);
    transform: scale(0.98);
}

.contact-btn i {
    transition: transform 0.3s cubic-bezier(.4,2,.6,1);
    font-size: 1.2em;
}

.contact-btn:hover i {
    transform: scale(1.18) rotate(-8deg);
    color: #fff;
}

/* تأثير وميض خفيف عند الضغط */
.contact-btn:active {
    box-shadow: 0 2px 8px rgba(0, 255, 136, 0.10);
    transform: scale(0.98);
}

.moving-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.icon {
    position: absolute;
    color: rgba(0, 255, 255, 0.15);
    font-size: 24px;
    animation: float 15s linear infinite;
}

.icon:nth-child(even) {
    animation-name: floatReverse;
    animation-duration: 20s;
}

@keyframes float {
    0% {
        transform: translate(-100%, 100vh) rotate(0deg) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
        transform: translate(0%, 80vh) rotate(90deg) scale(1.2);
    }

    50% {
        transform: translate(50%, 40vh) rotate(180deg) scale(1);
    }

    90% {
        opacity: 0.8;
        transform: translate(100%, 20vh) rotate(270deg) scale(1.2);
    }

    100% {
        transform: translate(200%, -100px) rotate(360deg) scale(1);
        opacity: 0;
    }
}

@keyframes floatReverse {
    0% {
        transform: translate(200%, 100vh) rotate(360deg) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
        transform: translate(100%, 80vh) rotate(270deg) scale(1.2);
    }

    50% {
        transform: translate(50%, 40vh) rotate(180deg) scale(1);
    }

    90% {
        opacity: 0.8;
        transform: translate(0%, 20vh) rotate(90deg) scale(1.2);
    }

    100% {
        transform: translate(-100%, -100px) rotate(0deg) scale(1);
        opacity: 0;
    }
}

.dev-info {
    text-align: center;
    padding: 22px;
    color: #fff;
    background: rgba(20, 24, 38, 0.5);
    backdrop-filter: blur(6px);
    border-radius: 18px;
    margin: 24px auto;
    max-width: 320px;
    box-shadow: 0 2px 10px rgba(0, 255, 136, 0.08);
    border: 2px solid rgba(0, 255, 136, 0.13);
    background: rgba(20, 24, 38, 0.7);
    box-shadow: 0 2px 16px rgba(0, 255, 136, 0.10);
}

.dev-info p {
    margin-bottom: 8px;
    font-size: 16px;
}

.dev-contact {
    color: #00ff88;
    text-decoration: none;
    font-size: 19px;
    transition: color 0.3s;
    font-weight: 600;
}

.dev-contact:hover {
    color: #00a1ff;
}

/* تحسين الخطوط */
body, h1, .dev-info p {
    font-family: 'Cairo', 'Segoe UI', 'Arial', sans-serif;
    letter-spacing: 0.5px;
}

/* إضافة ظل خفيف للنصوص الرئيسية */
h1, .dev-info p {
    text-shadow: 0 2px 8px rgba(0, 255, 136, 0.10), 0 1px 1px rgba(0,0,0,0.12);
}

/* تحسين مظهر الحاوية */
.container {
    border: 2px solid rgba(0, 255, 136, 0.13);
    background: rgba(20, 24, 38, 0.72);
    box-shadow: 0 12px 48px 0 rgba(0, 255, 136, 0.10), 0 2px 12px 0 rgba(0, 161, 255, 0.08);
    transition: box-shadow 0.3s;
}

.container:hover {
    box-shadow: 0 16px 64px 0 rgba(0, 255, 136, 0.18), 0 4px 16px 0 rgba(0, 161, 255, 0.12);
}

/* تحسين صورة البروفايل */
.profile-image {
    box-shadow: 0 0 0 8px rgba(0, 255, 136, 0.13);
    background: linear-gradient(135deg, #00ff88 10%, #10131a 90%);
}

/* زر التواصل أكثر بروزًا */
.contact-btn {
    border: 2px solid #00ff88;
    background: linear-gradient(90deg, #00ff88 0%, #00a1ff 100%);
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 4px 24px rgba(0, 255, 136, 0.13);
}

.contact-btn:hover {
    background: linear-gradient(90deg, #00a1ff 0%, #00ff88 100%);
    color: #fff;
    border-color: #00a1ff;
}

/* تحسين مظهر الروابط الاجتماعية */
.social-btn {
    border: 2px solid rgba(0,255,136,0.15);
    background: linear-gradient(135deg, #232a3c 60%, #1a1a1a 100%);
    box-shadow: 0 2px 16px rgba(0, 255, 136, 0.10);
    transition: transform 0.2s, box-shadow 0.2s, border 0.2s;
}

.social-btn:hover {
    border: 2px solid #00ff88;
    box-shadow: 0 8px 32px rgba(0, 255, 136, 0.18);
}

/* تحسين معلومات المطور */
.dev-info {
    background: rgba(20, 24, 38, 0.7);
    border: 2px solid rgba(0, 255, 136, 0.13);
    box-shadow: 0 2px 16px rgba(0, 255, 136, 0.10);
}

/* تأثير بسيط عند تمرير الفأرة على بطاقة البروفايل */
.profile-card {
    transition: box-shadow 0.3s, transform 0.3s;
}

.profile-card:hover {
    box-shadow: 0 8px 32px rgba(0, 255, 136, 0.18);
    transform: translateY(-4px) scale(1.02);
}

/* Mobile Responsive Styles */
@media (max-width: 480px) {
    .container {
        padding: 8px;
        border-radius: 16px;
    }

    .profile-card {
        padding: 16px 8px;
        border-radius: 16px;
    }

    .profile-image {
        width: 90px;
        height: 90px;
    }

    .glow-effect {
        width: 110px;
        height: 110px;
    }

    .social-links {
        gap: 6px;
    }

    .social-btn {
        width: 32px;
        height: 32px;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 8px;
        font-size: 13px;
        border-radius: 18px;
    }

    .dev-info {
        margin: 8px auto;
        padding: 10px;
        border-radius: 10px;
    }
}