:root {
    --primary: #6366f1;
    --secondary: #a855f7;
    --bg: #030014;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg);
    color: white;
    font-family: 'Poppins', 'Tajawal', sans-serif;
    overflow-x: hidden;
    transition: direction 0.3s;
}

body.rtl { direction: rtl; }

.bg-glow {
    position: fixed; top: 50%; left: 50%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
}

nav { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 8%; backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 45px; height: 45px; border-radius: 50%; box-shadow: 0 0 15px var(--primary); }
.logo-text { font-size: 1.5rem; font-weight: 900; background: linear-gradient(to right, #fff, var(--primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links a { color: #94a3b8; text-decoration: none; margin: 0 15px; font-weight: 600; transition: 0.3s; font-size: 0.9rem; }
.nav-links a:hover, .nav-links a.active { color: #fff; text-shadow: 0 0 10px var(--primary); }

.hero { text-align: center; padding: 60px 20px; }
.main-logo { width: 150px; margin-bottom: 20px; filter: drop-shadow(0 0 30px var(--primary)); animation: float 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

h1 { font-size: clamp(2.5rem, 8vw, 4rem); font-weight: 900; margin-bottom: 10px; }
.gradient-text { background: linear-gradient(45deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: #94a3b8; max-width: 600px; margin: 0 auto 20px; }

.server-status { display: inline-flex; align-items: center; gap: 10px; background: rgba(34, 197, 94, 0.1); padding: 8px 20px; border-radius: 50px; border: 1px solid rgba(34, 197, 94, 0.3); font-size: 0.8rem; }
.status-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 10px #22c55e; }

.info-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; padding: 0 10% 60px; }
.card { flex: 1; min-width: 250px; max-width: 350px; padding: 30px; text-align: center; cursor: pointer; }
.glass { background: var(--glass); backdrop-filter: blur(15px); border: 1px solid var(--border); border-radius: 20px; transition: 0.3s ease; }
.glass:hover { transform: translateY(-5px); border-color: var(--primary); background: rgba(255,255,255,0.06); }

.icon-box { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; font-size: 1.2rem; }
.icon-box.blue { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.icon-box.purple { background: rgba(168, 85, 247, 0.2); color: #a855f7; }

.owners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; padding: 0 10% 80px; }
.owner-card { padding: 25px; text-align: center; }
.avatar-wrapper { width: 100px; height: 100px; margin: 0 auto 15px; border-radius: 50%; padding: 3px; }
.avatar-wrapper img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

.border-orange { background: linear-gradient(45deg, #f97316, #fbbf24); }
.border-cyan { background: linear-gradient(45deg, #06b6d4, #22d3ee); }
.border-pink { background: linear-gradient(45deg, #ec4899, #f472b6); }
.border-blue { background: linear-gradient(45deg, #3b82f6, #60a5fa); }

.role { font-size: 0.7rem; font-weight: 800; padding: 4px 12px; border-radius: 50px; margin-top: 10px; display: inline-block; }
.role.orange { background: rgba(249, 115, 22, 0.1); color: #f97316; }
.role.cyan { background: rgba(6, 182, 212, 0.1); color: #06b6d4; }
.role.pink { background: rgba(236, 72, 153, 0.1); color: #ec4899; }
.role.blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }

.lang-switcher { position: fixed; bottom: 20px; right: 20px; z-index: 1000; background: var(--primary); padding: 10px 20px; border-radius: 50px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: bold; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

.social-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; padding-bottom: 60px; }
.social-item { padding: 12px 25px; text-decoration: none; color: white; font-weight: bold; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
.social-item:hover { color: var(--primary); }

footer { text-align: center; padding: 30px; color: #64748b; border-top: 1px solid var(--border); }
