@import url('variables.css');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--page-gradient);
    color: white;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    font-family: 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 50px 20px;
    text-align: center;
}

/* --- حاوية الشعار والنظام --- */
.logo-wrapper {
    position: relative;
    width: 220px; /* مساحة كافية للمدار والشعار */
    height: 220px;
    margin: 0 auto 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* الشعار: ممركز وكبير داخل الحلقة الزرقاء */
.main-logo {
    position: absolute;
    width: 280px; /* حجم كبير وواضح */
    height: 280px;
    z-index: 10;
    object-fit: contain;
    border-radius: 50%; /* لقص أي حواف سوداء في الصورة */

    mix-blend-mode: screen; 
    
    background-color: transparent;
}

/* نظام الـ SVG */
.comet-system {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5;
    overflow: visible;
}

/* الحلقة الزرقاء المحيطة بالشعار */
.inner-blue-ring {
    fill: none;
    stroke: var(--color-main-blue);
    stroke-width: 3px;
    filter: drop-shadow(0 0 8px var(--color-main-blue));
}

/* المسار الخارجي الرفيع */
.outer-orbit-line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1px;
}

/* حركة الدوران للشهاب (المجموعة كاملة) */
.comet-group {
    transform-origin: 100px 100px;
    animation: rotateComet var(--animation-speed) linear infinite;
}

/* ذيل الشهاب: يبدأ بـ 12px ويتلاشى */
.comet-tail {
    fill: none;
    stroke: url(#cometGradient);
    stroke-width: 12px;
    stroke-linecap: round;
    /* لجعل الذيل ينحف بصرياً، نستخدم تدرج الشفافية في الـ SVG */
}

/* رأس الشهاب (الكرة) */
.comet-ball {
    fill: var(--color-neon-yellow);
    filter: drop-shadow(0 0 10px var(--color-neon-yellow));
}

@keyframes rotateComet {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- تنسيق النصوص والروابط --- */
.profile-name {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 40px;
}

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

.link-item {
    background-color: var(--color-main-blue);
    color: white;
    padding: 18px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.link-item:hover {
    transform: translateY(-3px);
    filter: brightness(1.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}