* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Canvas للخلفية الفضائية */
#spaceCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #000;
}

/* النبذة التعريفية */
.intro {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-top: 15vh;
    padding-bottom: 5vh;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: #fff;
    line-height: 1.8;
    opacity: 0.9;
}

/* الأقسام التفاعلية */
.sections-nav {
    position: fixed;
    right: 3rem;
    top: 55%;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-item {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #333, #555);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.section-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.section-text {
    display: none;
    font-size: 0.95rem;
    font-weight: 400;
    white-space: nowrap;
    padding: 0 1.5rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.section-item.expanded {
    width: 320px;
    height: 60px;
    border-radius: 8px;
}

.section-item.expanded .section-text {
    display: block;
}

/* التذييل */
.footer {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.footer p {
    font-size: 0.9rem;
    color: #fff;
    background: rgba(219, 112, 147, 0.25);
    padding: 0.5rem 0.5rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(219, 112, 147, 0.3);
    box-shadow: 0 4px 15px rgba(219, 112, 147, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.footer-glow {
    display: none;
}

/* تأثيرات الألوان للأقسام */
.section-item[data-color="#4A90E2"].expanded {
    background: linear-gradient(135deg, #6BAED6, #2B6CA3);
}

.section-item[data-color="#2E8B57"].expanded {
    background: linear-gradient(135deg, #4CAF50, #1E6B3A);
}

.section-item[data-color="#D98C3A"].expanded {
    background: linear-gradient(135deg, #E6C200, #9E7C19);
}

.section-item[data-color="#A569BD"].expanded {
    background: linear-gradient(135deg, #C39BD3, #6C3483);
}

/* تجاوبية */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .sections-nav {
        right: 1rem;
    }
    
    .section-item.expanded {
        width: 250px;
        height: 55px;
    }
    
    .section-text {
        font-size: 0.85rem;
    }
}
* {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
* {
    user-select: none;
}