/* ===== إعادة تعيين الأساسيات ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== تحسينات الصفحة - صفحة واحدة فقط ===== */
body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a0d2e 50%, #000000 100%);
    color: #ffffff;
    height: 100vh;
    overflow: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* منع التحديد والسحب */
* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* السماح بالتحديد للنصوص المهمة فقط */
.status-title,
.status-desc,
.btn-text,
.dev-name {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* ===== خلفية الفيديو ===== */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: blur(0.8px) brightness(0.6) contrast(1.2) saturate(1.1);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, rgba(75, 0, 130, 0.2) 0%, transparent 60%),
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.6) 0%, 
            rgba(26, 13, 46, 0.4) 30%, 
            rgba(45, 27, 78, 0.3) 50%, 
            rgba(26, 13, 46, 0.4) 70%, 
            rgba(0, 0, 0, 0.6) 100%
        );
}

/* ===== الحاوي الرئيسي - صفحة واحدة ===== */
.main-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(1px);
}

/* ===== الهيدر المضبوط ===== */
.header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    flex-shrink: 0;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* ===== اللوجو المضبوط ===== */
.logo-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    object-fit: cover;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ===== العنوان الرئيسي ===== */
.main-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    background: linear-gradient(45deg, #4b0082, #8a2be2, #9370db, #ba55d3);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientMove 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(138, 43, 226, 0.5);
    letter-spacing: 2px;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== المحتوى المضبوط ===== */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    gap: 3rem;
}

/* ===== قسم الحالة ===== */
.status-section {
    text-align: center;
    max-width: 700px;
}

.gear-icon {
    position: relative;
    margin-bottom: 2rem;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gear {
    font-size: 4rem;
    position: absolute;
    background: linear-gradient(45deg, #4b0082, #8a2be2, #9370db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.8));
}

.gear-1 {
    animation: rotateCW 6s linear infinite;
}

.gear-2 {
    font-size: 2.5rem;
    right: -30px;
    animation: rotateCCW 4s linear infinite;
}

@keyframes rotateCW {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateCCW {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

.status-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.status-desc {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: #cbd5e1;
    line-height: 1.6;
    font-weight: 400;
}

/* ===== حاوي الأزرار ===== */
.buttons-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===== الأزرار الشفافة ===== */
.action-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: transparent;
    color: white;
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    text-decoration: none;
}

/* ===== أيقونة RT1 المخصصة ===== */
.rt1-icon {
    font-size: 1.2rem;
    font-weight: 900;
    background: linear-gradient(45deg, #ffffff, #e6e6fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.action-btn i,
.rt1-icon {
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.action-btn:hover .btn-shine {
    left: 100%;
}

.action-btn:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.action-btn:hover i,
.action-btn:hover .rt1-icon {
    transform: scale(1.2);
}

.btn-text {
    position: relative;
    z-index: 2;
}

/* ===== تأثيرات خاصة للأيقونات ===== */
.city-btn:hover {
    color: #8a2be2;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

.city-btn:hover .rt1-icon {
    background: linear-gradient(45deg, #8a2be2, #9370db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(138, 43, 226, 0.8);
}

.discord-btn:hover {
    color: #5865f2;
    text-shadow: 0 0 10px rgba(88, 101, 242, 0.5);
}




/* ===== الفوتر المضبوط ===== */
.footer {
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(138, 43, 226, 0.3);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    flex-shrink: 0;
}

.developer-info {
    font-size: 1rem;
    color: #cbd5e1;
}

.dev-label {
    margin-left: 0.5rem;
    font-weight: 400;
}

.dev-name {
    color: #8a2be2;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(138, 43, 226, 0.6);
}

/* ===== الجزيئات ===== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #8a2be2, transparent);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.8);
    animation: particleFloat 10s ease-in-out infinite;
}

.p1 { top: 10%; left: 10%; animation-delay: 0s; animation-duration: 8s; }
.p2 { top: 20%; left: 80%; animation-delay: 1s; animation-duration: 12s; }
.p3 { top: 60%; left: 15%; animation-delay: 2s; animation-duration: 9s; }
.p4 { top: 80%; left: 70%; animation-delay: 3s; animation-duration: 11s; }
.p5 { top: 40%; left: 50%; animation-delay: 4s; animation-duration: 10s; }
.p6 { top: 70%; left: 30%; animation-delay: 5s; animation-duration: 13s; }
.p7 { top: 30%; left: 90%; animation-delay: 6s; animation-duration: 7s; }
.p8 { top: 90%; left: 5%; animation-delay: 7s; animation-duration: 14s; }

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-30px) translateX(15px);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) translateX(-20px);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-25px) translateX(10px);
        opacity: 0.9;
    }
}

/* ===== الاستجابة المبسطة ===== */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 1rem 0.5rem;
    }
    
    .content {
        padding: 0.5rem 1rem;
        gap: 2rem;
    }
    
    .buttons-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .action-btn {
        width: 100%;
        max-width: 260px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .logo-container {
        width: 100px;
        height: 100px;
    }
    
    .main-title {
        font-size: 1.8rem;
    }
    
    .status-title {
        font-size: 1.5rem;
    }
    
    .gear {
        font-size: 3rem;
    }
    
    .gear-2 {
        font-size: 2rem;
    }
    
    .footer {
        padding: 1rem;
    }
    
    .video-container {
        display: none;
    }
    
    body {
        background: 
            radial-gradient(circle at 20% 30%, rgba(75, 0, 130, 0.4) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(138, 43, 226, 0.3) 0%, transparent 50%),
            linear-gradient(135deg, #000000 0%, #1a0d2e 25%, #2d1b4e 50%, #1a0d2e 75%, #000000 100%);
    }
}

/* ===== الانيميشن ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    animation: fadeInUp 1s ease-out;
}

.content {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.footer {
    animation: fadeInUp 1s ease-out 0.6s both;
}