


:root {
    --primary-color: #9912E6;
    --primary-dark: #7a0fb3;
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(153, 18, 230, 0.2);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
        --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
        --success-color: #00ff88;
    --final-gold: #FFD700;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(25px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Server Status */
.logo .server-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #b0b3b8;
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.2;
}

.logo .status-label {
    color: #b0b3b8;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,1);
}

.logo .status-text {
    color: #9912E6;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin: 0;
    text-shadow: 0 0 15px #9912E6, 0 0 25px #9912E6, 0 0 35px #9912E6, 0 1px 5px rgba(0,0,0,1);
    animation: yellowGlow 1.5s ease-in-out infinite alternate;
}

.logo .status-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 32px;
    height: 3px;
    background: #9912E6;
    border-radius: 2px;
    transform: translateX(-50%);
    box-shadow: 0 0 12px #9912E6;
    animation: linePulse 2s ease-in-out infinite;
}

.nav-tabs {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.nav-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.2rem;
    color: rgba(236, 236, 241, 0.9);
    text-decoration: none;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: none;
    overflow: hidden;
}

.nav-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
    border-radius: 16px;
    transform: scale(0.95);
}

.nav-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(153, 18, 230, 0.8), rgba(153, 18, 230, 0.7));
    border-radius: 2px;
    transform: translateX(-50%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.nav-tab:hover {
    color: #9912E6;
    transform: translateY(-3px);
    border: 1px solid rgba(153, 18, 230, 0.4);
    box-shadow: 0 12px 40px rgba(153, 18, 230, 0.3), 0 0 20px rgba(153, 18, 230, 0.2);
}

.nav-tab:hover::before { opacity: 1; transform: scale(1); }
.nav-tab:hover::after { width: 70%; }
.nav-tab.active { 
    color: #9912E6;
    border: 1px solid rgba(153, 18, 230, 0.6);
    box-shadow: 0 8px 32px rgba(153, 18, 230, 0.4), inset 0 1px 0 rgba(153, 18, 230, 0.2);
    transform: translateY(-1px);
}
.nav-tab.active::before { opacity: 1; transform: scale(1); }
.nav-tab.active::after { 
    width: 100%;
    background: linear-gradient(90deg, #9912E6, #9912E6, #9912E6);
    box-shadow: 0 0 10px rgba(153, 18, 230, 0.6);
}

/* Main Content */
.main-content {
    margin-top: 90px;
    min-height: 100vh;
}

section {
    display: none;
    padding: 5rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.glass-card:hover::before { transform: scaleX(1); }
.glass-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(153, 18, 230, 0.2);
    border-color: rgba(153, 18, 230, 0.4);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(153, 18, 230, 0.1) 0%, transparent 70%);
}

.hero-title-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    position: relative;
    display: inline-block;
    overflow: hidden;
    animation: 
        titleSlideUp 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both,
        scanLight 4s linear infinite;
    opacity: 0.1;
}

.hero-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.05;
    z-index: -1;
}

.title-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at 30% 30%, rgba(153, 18, 230, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -2;
    animation: glowExpand 4s ease-in-out infinite;
    filter: blur(40px);
    opacity: 0.5;
}

/* الـ SCAN LIGHT الأسطوري */
@keyframes scanLight {
    0% { 
        opacity: 0.1;
        text-shadow: 0 0 10px var(--primary-color);
    }
    20% { 
        opacity: 0.3;
        text-shadow: 0 0 20px var(--primary-color);
    }
    40% { 
        opacity: 0.6;
        text-shadow: 
            0 0 30px var(--primary-color),
            100px -100px 10px rgba(153, 18, 230, 0.8),
            -100px 100px 10px rgba(153, 18, 230, 0.6);
    }
    50% { 
        opacity: 1;
        text-shadow: 
            0 0 50px var(--primary-color),
            0 0 100px var(--primary-color),
            200px -200px 20px rgba(153, 18, 230, 1),
            -200px 200px 20px rgba(153, 18, 230, 1);
    }
    60% { 
        opacity: 0.8;
        text-shadow: 
            0 0 40px var(--primary-color),
            -150px 150px 15px rgba(153, 18, 230, 0.9),
            150px -150px 15px rgba(153, 18, 230, 0.7);
    }
    80% { 
        opacity: 0.4;
        text-shadow: 0 0 20px var(--primary-color);
    }
    100% { 
        opacity: 0.1;
        text-shadow: 0 0 10px var(--primary-color);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1.2s both;
}

.season-beta {
    display: block;
    color: #b0b3b8;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    border-right: 3px solid #b0b3b8;
    white-space: nowrap;
    margin: 15px auto 0;
    width: 140px;
    overflow: hidden;
    animation: typewriter 4s steps(25) infinite, blink-caret 0.75s step-end infinite;
}

/* CTA Button */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.2) 0%, rgba(165, 180, 252, 0.15) 50%, rgba(236, 72, 153, 0.1) 100%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(236, 236, 241, 0.25);
    color: #ffffff;
    text-decoration: none;
    border-radius: 24px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.025em;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 32px rgba(120, 119, 198, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.cta-btn:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 60px rgba(120, 119, 198, 0.4), 0 0 40px rgba(165, 180, 252, 0.3);
}

/* Animations */
@keyframes yellowGlow {
    0% { text-shadow: 0 0 10px #9912E6, 0 0 20px #9912E6, 0 1px 3px rgba(0,0,0,1); }
    100% { text-shadow: 0 0 20px #9912E6, 0 0 35px #9912E6, 0 0 50px #9912E6, 0 1px 5px rgba(0,0,0,1); }
}

@keyframes linePulse {
    0%, 100% { width: 32px; box-shadow: 0 0 12px #9912E6; }
    50% { width: 38px; box-shadow: 0 0 20px #9912E6; }
}

@keyframes titleSlideUp {
    0% { opacity: 0; transform: translateY(80px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes glowExpand {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes typewriter {
    0%, 90%, 100% { width: 0; }
    30%, 60% { width: 140px; }
    45% { width: 70px; }
}

@keyframes blink-caret {
    0%, 50% { border-color: #b0b3b8; border-right-width: 3px; }
    51%, 100% { border-color: transparent; border-right-width: 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-tabs { gap: 0.125rem; }
    .nav-tab { padding: 0.75rem 1.25rem; font-size: 0.9rem; border-radius: 12px; }
    .hero-title { font-size: 3rem !important; }
    .title-glow { width: 280px !important; height: 280px !important; }
    .season-beta { font-size: 12px !important; letter-spacing: 2.5px !important; width: 120px !important; }
    .container { padding: 0 1rem; }
}










/* Footer */
.footer {
    background: rgba(15, 15, 23, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #5865f2;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p,
.footer-section ul li a {
    color: #b0b3b8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a:hover {
    color: #5865f2;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(88, 101, 242, 0.2);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5865f2;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #5865f2;
    color: white;
    transform: translateY(-3px);
}

.server-status-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-indicator.maintenance {
    background: #ff6b6b;
    animation: pulse 2s infinite;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #8a8a8e;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #5865f2;
    text-decoration: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
}

.footer-title-img {
    display: block !important;
    height: 100px !important;  /* نفس حجم h3 تماماً */
    width: auto !important;
    margin: 0 0 1rem 0 !important;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    image-rendering: -webkit-optimize-contrast;
}










/* Server + Dev Compact Section */
.server-dev-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.status-dev-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.status-dev-wrapper:hover {
    background: rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.6);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.3);
}

/* حالة الخادم مضغوطة */
.server-status-compact h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: #5865f2;
}

.server-status-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-indicator.maintenance {
    background: #ff6b6b;
    animation: pulse 2s infinite;
}

/* المطور - سطر صغير جداً */
.dev-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 255, 136, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    min-width: 120px;
}

.status-dev-wrapper:hover .dev-compact {
    background: rgba(0, 255, 136, 0.25);
    transform: scale(1.02);
}

.dev-mini-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    object-fit: cover;
}

.dev-mini-info {
    display: flex;
    flex-direction: column;
    gap: 0px;
    min-width: 0;
}

.dev-name-compact {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Tajawal', sans-serif !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dev-role-compact {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.65rem;
    font-family: 'Tajawal', sans-serif !important;
}

/* Footer Grid محسن */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .status-dev-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.8rem;
    }
    
    .dev-compact {
        order: -1;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        text-align: center;
    }
    
    .status-dev-wrapper {
        flex-direction: row;
        justify-content: center;
    }
}
















/* Section Animations */
.main-content > section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.main-content > section.active {
    opacity: 1;
    transform: translateY(0);
}

.counters-animated,
.achievements-animated {
    transition: none;
}

/* Pulse Animation for Status */
@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(153, 18, 230, 0.7);
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 0 0 10px rgba(153, 18, 230, 0);
    }
}

.status-indicator {
    animation: pulse 2s infinite;
}