/* =========================
   الإعدادات الرئيسية
========================= */

:root {

    --purple: #8b5cf6;

    --purple-light: #c084fc;

    --purple-bright: #a855f7;

    --purple-dark: #5b21b6;

    --background: #050507;

    --card: rgba(18, 18, 25, 0.78);

    --text: #ffffff;

    --text-secondary: #a8a8b3;
}


* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;
}


html {

    scroll-behavior: smooth;
}


body {

    min-height: 100vh;

    font-family:
        Arial,
        Tahoma,
        sans-serif;

    background:

        radial-gradient(
            circle at 50% 10%,
            rgba(139, 92, 246, 0.18),
            transparent 35%
        ),

        #050507;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 60px 20px;

    overflow-x: hidden;

    position: relative;
}



/* =========================
   Canvas الخلفية
========================= */

#backgroundCanvas {

    position: fixed;

    inset: 0;

    width: 100%;

    height: 100%;

    z-index: 0;

    pointer-events: none;
}



/* =========================
   الشبكة الموجودة بالأسفل
========================= */

.grid {

    position: fixed;

    left: -50%;

    bottom: -40%;

    width: 200%;

    height: 90%;

    z-index: 0;

    pointer-events: none;


    background-image:

        linear-gradient(
            rgba(139, 92, 246, 0.15) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(139, 92, 246, 0.15) 1px,
            transparent 1px
        );


    background-size: 55px 55px;


    transform:

        perspective(450px)

        rotateX(62deg);


    animation:

        moveGrid 10s linear infinite;


    mask-image:

        linear-gradient(
            to top,
            black,
            transparent 90%
        );
}


@keyframes moveGrid {

    from {

        background-position:
            0 0,
            0 0;
    }

    to {

        background-position:
            0 55px,
            55px 0;
    }
}



/* =========================
   الضوء الذي يتبع الماوس
========================= */

.mouse-light {

    position: fixed;

    width: 550px;

    height: 550px;

    border-radius: 50%;

    pointer-events: none;

    z-index: 0;


    background:

        radial-gradient(
            circle,
            rgba(139, 92, 246, 0.16),
            transparent 65%
        );


    transform:

        translate(-50%, -50%);


    transition:

        left 0.08s linear,
        top 0.08s linear;
}



/* =========================
   الكرت الرئيسي
========================= */

.profile-card {

    width: 100%;

    max-width: 620px;


    background:

        linear-gradient(
            145deg,
            rgba(30, 28, 40, 0.88),
            rgba(12, 12, 18, 0.82)
        );


    border:

        1px solid
        rgba(192, 132, 252, 0.28);


    border-radius: 32px;


    padding: 35px;


    position: relative;

    z-index: 2;


    backdrop-filter: blur(22px);

    -webkit-backdrop-filter: blur(22px);


    box-shadow:

        0 30px 100px
        rgba(0, 0, 0, 0.7),

        0 0 80px
        rgba(139, 92, 246, 0.15),

        inset 0 1px 0
        rgba(255, 255, 255, 0.05);


    overflow: hidden;
}



/* الإضاءة داخل الكرت */

.profile-card::before {

    content: "";

    position: absolute;

    width: 300px;

    height: 300px;

    top: -180px;

    right: -100px;


    background:

        radial-gradient(
            circle,
            rgba(168, 85, 247, 0.25),
            transparent 70%
        );


    pointer-events: none;
}



/* =========================
   الهيدر
========================= */

.profile-header {

    display: flex;

    align-items: center;

    gap: 22px;

    margin-bottom: 28px;
}



.logo-container {

    position: relative;

    width: 105px;

    height: 105px;

    min-width: 105px;

    border-radius: 50%;


    padding: 4px;


    background:

        linear-gradient(
            135deg,
            #d8b4fe,
            #8b5cf6,
            #5b21b6
        );


    box-shadow:

        0 0 25px
        rgba(139, 92, 246, 0.6),

        0 0 60px
        rgba(139, 92, 246, 0.2);


    animation:

        logoGlow 3s ease-in-out infinite;
}



@keyframes logoGlow {

    0%,
    100% {

        box-shadow:

            0 0 20px
            rgba(139, 92, 246, 0.45),

            0 0 50px
            rgba(139, 92, 246, 0.15);
    }


    50% {

        box-shadow:

            0 0 35px
            rgba(192, 132, 252, 0.8),

            0 0 80px
            rgba(139, 92, 246, 0.35);
    }
}



.logo {

    width: 100%;

    height: 100%;

    border-radius: 50%;

    object-fit: cover;

    display: block;

    background: #0d0d12;
}



.logo-fallback {

    width: 100%;

    height: 100%;

    border-radius: 50%;

    display: none;

    align-items: center;

    justify-content: center;

    background: #0c0c12;

    font-size: 38px;

    color: #c084fc;
}



.profile-text {

    flex: 1;
}



.official {

    color: #c084fc;

    font-size: 13px;

    margin-bottom: 7px;

    font-weight: bold;
}



.profile-text h1 {

    font-size: 34px;

    margin-bottom: 10px;

    line-height: 1.2;
}



.description {

    color: #c7c7d0;

    font-size: 14px;

    line-height: 1.7;
}



.description.second {

    color: #858591;

    font-size: 12px;
}



/* =========================
   عداد TikTok
========================= */

.followers-card {

    position: relative;

    text-align: center;

    border-radius: 24px;

    padding: 26px 20px;

    margin-bottom: 30px;


    background:

        linear-gradient(
            125deg,
            #5b21b6,
            #7c3aed,
            #a855f7
        );


    background-size: 200% 200%;


    animation:

        gradientAnimation
        7s ease infinite;


    box-shadow:

        0 18px 45px
        rgba(109, 40, 217, 0.35);


    overflow: hidden;
}



@keyframes gradientAnimation {

    0% {

        background-position: 0% 50%;
    }


    50% {

        background-position: 100% 50%;
    }


    100% {

        background-position: 0% 50%;
    }
}



.followers-card::before {

    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    top: -100px;

    left: -60px;


    background:

        rgba(255, 255, 255, 0.12);


    border-radius: 50%;

    filter: blur(20px);
}



.followers-label {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    font-size: 13px;

    margin-bottom: 5px;

    opacity: 0.9;
}



.followers-card h2 {

    direction: ltr;

    font-size: 52px;

    font-weight: 800;

    letter-spacing: 1px;

    margin: 4px 0;
}



.followers-text {

    font-size: 13px;

    opacity: 0.9;
}



.live-status {

    margin-top: 12px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 7px;

    font-size: 11px;

    opacity: 0.8;
}



.live-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: #65ff92;


    box-shadow:

        0 0 12px #65ff92;


    animation:

        pulse 1.5s infinite;
}



@keyframes pulse {

    0%,
    100% {

        opacity: 0.5;

        transform: scale(0.8);
    }


    50% {

        opacity: 1;

        transform: scale(1.25);
    }
}



/* =========================
   عنوان الحسابات
========================= */

.accounts-title {

    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 16px;
}



.small-text {

    color: #9c7bea;

    font-size: 11px;

    margin-bottom: 4px;
}



.accounts-title h2 {

    font-size: 20px;
}



.accounts-title > i {

    color: #8b5cf6;

    animation: arrowMove 1.6s ease-in-out infinite;
}



@keyframes arrowMove {

    0%,
    100% {

        transform: translateY(0);
    }


    50% {

        transform: translateY(5px);
    }
}



/* =========================
   الحسابات
========================= */

.accounts {

    display: flex;

    flex-direction: column;

    gap: 12px;
}



.social-card {

    width: 100%;

    min-height: 78px;

    padding: 13px 16px;

    border-radius: 18px;


    color: white;

    text-decoration: none;


    display: flex;

    justify-content: space-between;

    align-items: center;


    background:

        linear-gradient(
            100deg,
            rgba(255, 255, 255, 0.035),
            rgba(139, 92, 246, 0.04)
        );


    border:

        1px solid
        rgba(167, 139, 250, 0.28);


    transition:

        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}



.social-card:hover {

    transform:

        translateY(-4px)
        scale(1.01);


    border-color:

        rgba(192, 132, 252, 0.8);


    background:

        rgba(139, 92, 246, 0.12);


    box-shadow:

        0 15px 35px
        rgba(0, 0, 0, 0.3),

        0 0 25px
        rgba(139, 92, 246, 0.12);
}



.social-info {

    display: flex;

    align-items: center;

    gap: 13px;
}



.social-icon {

    width: 49px;

    height: 49px;

    border-radius: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 23px;

    background:

        linear-gradient(
            135deg,
            #8b5cf6,
            #5b21b6
        );


    box-shadow:

        0 8px 25px
        rgba(139, 92, 246, 0.25);
}



.social-info h3 {

    font-size: 16px;

    margin-bottom: 5px;
}



.social-info p {

    font-size: 12px;

    color: #9999a5;

    direction: ltr;

    text-align: right;
}



.arrow {

    color: #7d7d8a;

    font-size: 13px;

    transition: 0.3s;
}



.social-card:hover .arrow {

    color: #c084fc;

    transform:

        translate(3px, -3px);
}



/* TikTok */

.tiktok:hover .social-icon {

    background:

        linear-gradient(
            135deg,
            #111,
            #8b5cf6
        );
}



/* YouTube */

.youtube:hover .social-icon {

    background:

        linear-gradient(
            135deg,
            #ff0033,
            #7c3aed
        );
}



/* Instagram */

.instagram:hover .social-icon {

    background:

        linear-gradient(
            135deg,
            #833ab4,
            #fd1d1d,
            #fcb045
        );
}



/* Discord */

.discord:hover .social-icon {

    background:

        linear-gradient(
            135deg,
            #5865f2,
            #8b5cf6
        );
}



/* =========================
   Footer
========================= */

footer {

    margin-top: 30px;

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 5px;

    color: #676773;

    font-size: 11px;
}



.purple {

    color: #a855f7;
}



/* =========================
   الجوال
========================= */

@media (max-width: 600px) {

    body {

        padding:

            25px 14px;
    }


    .profile-card {

        padding:

            25px 18px;

        border-radius: 25px;
    }


    .profile-header {

        flex-direction: column;

        text-align: center;
    }


    .logo-container {

        width: 92px;

        height: 92px;

        min-width: 92px;
    }


    .profile-text h1 {

        font-size: 28px;
    }


    .followers-card h2 {

        font-size: 39px;
    }


    .social-card {

        min-height: 72px;
    }

}