/* إعادة تعيين الأنماط الأساسية */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0b0705;
    color: #fff;
    overflow-x: hidden;
}

/* تصميم القائمة العلوية */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    position: absolute;
    width: 100%;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(11, 7, 5, 0.8), transparent);
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.navbar ul {
    display: flex;
    list-style: none;
}

.navbar ul li {
    margin-left: 30px;
}

.navbar ul li a {
    color: #e0d5c1;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.navbar ul li a:hover, .navbar ul li a.active {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

/* قسم الواجهة الرئيسية */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* خلفية الكرة الأرضية الكبيرة جداً مع تأثير التوهج */
.globe-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* يمكنك استبدال الرابط أدناه بصورة الخريطة أو الكرة الأرضية الكبيرة */
    background: url('https://unsplash.com') center/cover no-repeat;
    opacity: 0.25;
    filter: sepia(60%) hue-rotate(340deg) saturate(150%);
    box-shadow: inset 0 0 150px #0b0705;
    z-index: 1;
}

/* حاوية المحتوى فوق الخلفية */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

/* تصميم وحركة صندوق الكنز */
.treasure-box {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 0 30px rgba(255, 174, 0, 0.6));
    animation: float 4s ease-in-out infinite;
}

.box-avatar {
    font-size: 90px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.treasure-box:hover .box-avatar {
    transform: scale(1.1) rotate(5deg);
}

/* تأثيرات البريق المتطاير حول الصندوق */
.sparkle {
    position: absolute;
    font-size: 20px;
    animation: blink 2s infinite ease-in-out;
}
.s1 { top: 10px; left: 10px; animation-delay: 0s; }
.s2 { bottom: 20px; right: 10px; animation-delay: 0.5s; }
.s3 { top: 50px; right: -10px; animation-delay: 1s; }

/* العناوين والنصوص */
.main-title {
    font-size: 48px;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.subtitle {
    font-size: 18px;
    color: #d1c7bd;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* الأزرار */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, #d4af37, #aa7c11);
    color: #0b0705;
    box-shadow: 0 4px 15px rgba(170, 124, 17, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #ffd700, #b8860b);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #ffd700;
    border: 2px solid #aa7c11;
}

.btn-secondary:hover {
    background: rgba(170, 124, 17, 0.1);
    transform: translateY(-3px);
}

/* الحركات التفاعلية (Animations) */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes blink {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
}
