:root {
    --bg-main: #000000;
    --text-primary: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.75);
    
    /* 100% Liquid Glass - High Saturation, Smooth Organic Blurs */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-highlight: inset 0 2px 5px rgba(255, 255, 255, 0.3), inset 0 -4px 15px rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 229, 255, 0.1);
    --glass-blur: blur(35px) saturate(220%) contrast(110%);
    
    --font-en: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-ar: 'Cairo', system-ui, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-en);
    line-height: 1.6;
    overflow-x: hidden;
}

.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mb-40 { margin-bottom: 40px; }

/* RTL Support */
body.rtl { direction: rtl; font-family: var(--font-ar); }
body.rtl .hero-title, body.rtl .section-title, body.rtl .glass-btn, body.rtl .glass-badge, body.rtl h3 {
    font-family: var(--font-ar);
    font-weight: 800;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Fluid Organic Ambient Background */
.ambient-mesh {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -2;
    overflow: hidden;
    background: #000;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px) contrast(150%);
    opacity: 0.5;
    animation: driftLiquid 20s ease-in-out infinite alternate;
}

.blob-1 { width: 80vw; height: 80vw; background: radial-gradient(circle, rgba(0, 150, 255, 0.35) 0%, transparent 60%); top: -30%; left: -20%; }
.blob-2 { width: 70vw; height: 70vw; background: radial-gradient(circle, rgba(160, 32, 240, 0.3) 0%, transparent 60%); bottom: -30%; right: -20%; animation-delay: -5s; }
.blob-3 { width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(0, 255, 200, 0.2) 0%, transparent 60%); top: 40%; left: 30%; animation-delay: -10s; }

@keyframes driftLiquid {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); border-radius: 50%; }
    50% { transform: translate(5vw, 5vw) scale(1.1) rotate(45deg); border-radius: 40% 60% 60% 40% / 40% 50% 50% 60%; }
    100% { transform: translate(-2vw, -2vw) scale(0.9) rotate(-20deg); border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; }
}

/* Liquid Glass Backdrop Layer */
.glass-backdrop-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    pointer-events: none;
    background: radial-gradient(circle, transparent 30%, rgba(0,0,0,0.6) 100%);
}

/* CORE LIQUID GLASS COMPONENT */
.glass-layer {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow), var(--glass-highlight);
    position: relative;
    /* Fluidity effect added to borders on hover */
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-layer:hover {
    border-color: rgba(255,255,255,0.4);
    box-shadow: inset 0 2px 10px rgba(255,255,255,0.5), 0 20px 40px rgba(0,0,0,0.8), 0 0 20px rgba(0, 229, 255, 0.3);
}

/* Organic Morphing Animation for Cards */
@keyframes liquidMorph {
    0% { border-radius: 40px; }
    33% { border-radius: 40px 40px 60px 50px / 50px 40px 40px 60px; }
    66% { border-radius: 50px 60px 40px 40px / 40px 50px 60px 40px; }
    100% { border-radius: 40px; }
}

.card:hover, .profile-frame:hover, .float-card:hover {
    animation: liquidMorph 6s infinite alternate ease-in-out;
}

/* Notification Modal */
.glass-notif-modal {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}
.glass-notif-modal.show { opacity: 1; pointer-events: auto; }
.notif-box {
    width: 90%; max-width: 440px;
    border-radius: 40px;
    padding: 45px;
    text-align: center;
    transform: translateY(30px) scale(0.9);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.08);
}
.glass-notif-modal.show .notif-box { transform: translateY(0) scale(1); }
.notif-box h3 { font-size: 1.8rem; margin-bottom: 15px; font-weight: 800; color: #fff; background: linear-gradient(90deg, #fff, #00e5ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.notif-box p { color: var(--text-muted); margin-bottom: 35px; font-size: 1.05rem; }
.notif-actions { display: flex; gap: 15px; justify-content: center; }
.notif-actions button { width: 100%; border-radius: 30px; padding: 14px; font-size: 1.05rem; }

/* Fixed PS Logo */
.fixed-ps-logo {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 65px; height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
    background: rgba(255,255,255,0.08); /* More liquid */
    box-shadow: var(--glass-shadow), inset 0 2px 5px rgba(255,255,255,0.5);
    backdrop-filter: var(--glass-blur);
}
.fixed-ps-logo img { width: 35px; height: 35px; transition: 0.4s; filter: drop-shadow(0 0 10px rgba(255,255,255,0.5)); border-radius: 50%; }

.fixed-ps-logo:hover {
    transform: scale(1.15);
    background: rgba(0, 113, 227, 0.8);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 40px rgba(0, 113, 227, 0.6), inset 0 2px 10px rgba(255, 255, 255, 1);
}
.fixed-ps-logo:hover img { filter: drop-shadow(0 0 15px #fff); }

/* Liquid Preloader */
#preloader {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: #000; z-index: 11000;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.8s ease;
}
.liquid-loader {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.8), rgba(138, 43, 226, 0.8));
    animation: blobPulse 1.5s infinite alternate ease-in-out;
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.5);
}
@keyframes blobPulse {
    0% { transform: scale(0.9); border-radius: 40% 60% 60% 40% / 40% 50% 50% 60%; }
    100% { transform: scale(1.1); border-radius: 60% 40% 40% 60% / 60% 50% 50% 40%; }
}

/* Nav */
.glass-nav {
    position: fixed; top: 25px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 1100px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 28px; border-radius: 50px; z-index: 1000;
    background: rgba(10, 10, 15, 0.4);
}
.glass-nav .logo { display: flex; align-items: center; gap: 14px; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.team-logo-nav { height: 36px; width: 36px; border-radius: 50%; object-fit: cover; filter: drop-shadow(0 0 10px rgba(255,255,255,0.2)); border: 1px solid rgba(255,255,255,0.2); }
.nav-links { display: flex; list-style: none; gap: 36px; }
.nav-links li a { font-size: 1rem; font-weight: 600; color: var(--text-muted); padding: 5px 10px; border-radius: 20px; transition: 0.4s; }
.nav-links li a:hover { color: #fff; background: rgba(255,255,255,0.1); box-shadow: 0 0 15px rgba(255,255,255,0.2); }
.nav-controls { display: flex; align-items: center; gap: 15px; }
.glass-pill-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3); color: #fff;
    padding: 10px 22px; border-radius: 30px; font-weight: 700; cursor: pointer; transition: 0.3s;
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.3);
}
.glass-pill-btn:hover { background: rgba(255,255,255,0.2); transform: scale(1.05); }
.hamburger { display: none; cursor: pointer; }
.hamburger .line { width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* Gradients */
.gradient-text { background: linear-gradient(135deg, #ffffff 0%, #b0b0bb 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.gradient-liquid { background: linear-gradient(90deg, #00e5ff, #fff, #00e5ff); background-size: 200% auto; animation: shine 4s linear infinite; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
@keyframes shine { to { background-position: 200% center; } }

/* Utils */
.section-padding { padding: 160px 5%; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 4rem; font-weight: 800; margin-bottom: 60px; letter-spacing: -0.02em; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* Buttons */
.glass-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    padding: 16px 36px;
    color: #fff; font-weight: 700; font-size: 1.1rem; cursor: pointer;
    border-radius: 40px; border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08); box-shadow: var(--glass-shadow);
    backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.glass-btn.primary { background: linear-gradient(135deg, rgba(0,150,255,0.6), rgba(160,32,240,0.4)); border-color: rgba(255,255,255,0.4); box-shadow: var(--glass-shadow), inset 0 2px 10px rgba(255,255,255,0.5); }
.glass-btn.subtle { background: rgba(255,255,255,0.02); }
.glass-btn:hover { transform: translateY(-5px) scale(1.03); background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.6); box-shadow: 0 20px 40px rgba(0,0,0,0.7), inset 0 2px 10px rgba(255,255,255,0.8); }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: space-between; padding: 180px 5% 0; max-width: 1350px; margin: 0 auto; }
.hero-content { max-width: 650px; }
.glass-badge {
    display: inline-block; padding: 10px 24px; border-radius: 30px; font-size: 1rem; font-weight: 700; margin-bottom: 35px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(20px); box-shadow: inset 0 2px 5px rgba(255,255,255,0.5), 0 10px 20px rgba(0,0,0,0.2);
    color: #00e5ff;
}
.hero-title { font-size: 6rem; font-weight: 900; line-height: 1.05; margin-bottom: 20px; letter-spacing: -0.04em; }
.hero-subtitle { font-size: 2.6rem; color: #fff; font-weight: 400; opacity: 0.9; }
.hero-desc { font-size: 1.25rem; margin: 30px 0 50px; max-width: 550px; line-height: 1.8; color: rgba(255,255,255,0.8); }

/* Hero Visual containing the Liquid Orb */
.liquid-orb-container { width: 450px; height: 450px; animation: gentleFloat 8s ease-in-out infinite alternate; position: relative; }
@keyframes gentleFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-25px); }
}

.liquid-orb {
    width: 100%; height: 100%; 
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.06);
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), inset 0 0 80px rgba(255,255,255,0.15), inset 0 4px 10px rgba(255,255,255,0.6);
    transition: 0.5s;
    /* organic morphing shape */
    animation: liquidMorph 8s infinite alternate ease-in-out;
    padding: 30px;
}

.liquid-orb:hover {
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 30px 80px rgba(0,0,0,0.9), inset 0 0 100px rgba(0, 229, 255, 0.3), inset 0 4px 15px rgba(255,255,255,0.9);
}

/* User wants GX logo to be fully rounded inside the circle */
.floating-team-logo { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* ensures image covers the circle without stretching */
    border-radius: 50%; /* Makes image fully rounded */
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6)); 
    border: 2px solid rgba(255,255,255,0.2); 
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

/* About Section */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.profile-frame { padding: 20px; border-radius: 50%; /* liquid squircle/circle */ animation: liquidMorph 10s infinite reverse ease-in-out;}
.profile-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 50%; filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6)); }

.lead-text { font-size: 2rem; font-weight: 700; margin-bottom: 25px; color: #fff; line-height: 1.4; }
.body-text { font-size: 1.15rem; margin-bottom: 35px; color: rgba(255,255,255,0.8); }

.stats-row { display: flex; gap: 30px; }
.stat-box { padding: 40px; flex: 1; text-align: center; border-radius: 40px; }
.stat-number { font-size: 4rem; font-weight: 900; line-height: 1; margin-bottom: 12px; }
.stat-label { font-size: 0.95rem; text-transform: uppercase; font-weight: 700; letter-spacing: 2px; opacity: 0.9; }

/* Leadership Cards */
.leadership-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.card { padding: 50px 40px; border-radius: 40px; }
.card-icon { font-size: 3.5rem; margin-bottom: 25px; filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5)); }
.card h3 { font-size: 1.6rem; margin-bottom: 15px; font-weight: 700; color: #fff; }

/* Skills */
.skill-tags { display: flex; flex-wrap: wrap; gap: 18px; }
.glass-pill {
    padding: 18px 36px; border-radius: 40px; color: #fff; font-weight: 600; font-size: 1.15rem;
    border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08);
    backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.3), 0 8px 20px rgba(0,0,0,0.3);
}
.glass-pill:hover { transform: translateY(-5px) scale(1.05); border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.15); box-shadow: inset 0 2px 10px rgba(255,255,255,0.6), 0 15px 30px rgba(0,0,0,0.5); }

/* Contact */
.float-card { max-width: 900px; margin: 0 auto; padding: 80px 50px; border-radius: 50px; }
.social-links { display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; }
.glass-btn.instagram:hover { background: linear-gradient(45deg, rgba(240,148,51,0.95), rgba(220,39,67,0.95), rgba(188,24,136,0.95)); border-color: rgba(255,255,255,0.7); }
.glass-btn.playstation:hover { background: rgba(0,67,156,0.95); border-color: rgba(255,255,255,0.7); }

footer { text-align: center; padding: 60px 0; border-top: 1px solid rgba(255,255,255,0.1); font-size: 1.05rem; font-weight: 500; }

/* Elegant Clean Animations */
.scroll-reveal { opacity: 0; transform: translateY(40px); transition: 1s cubic-bezier(0.16, 1, 0.3, 1); filter: blur(5px); }
.scroll-reveal.active { opacity: 1; transform: translateY(0); filter: blur(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* Responsive */
@media(max-width: 1024px) {
    .hero { flex-direction: column; text-align: center; padding-top: 180px; gap: 80px; }
    .hero-title { font-size: 5rem; }
    .hero-actions { justify-content: center; }
    .about-grid { grid-template-columns: 1fr; }
    .leadership-cards { grid-template-columns: 1fr; }
    .fixed-ps-logo { bottom: 20px; right: 20px; width: 55px; height: 55px; }
}
@media(max-width: 768px) {
    .glass-nav { width: 100%; top: 0; border-radius: 0; padding: 18px 25px; }
    .nav-links { display: none; }
    .hamburger { display: block; margin-left: 20px; }
    .hero-title { font-size: 4rem; }
    .hero-subtitle { font-size: 2rem; }
    .liquid-orb-container { width: 320px; height: 320px; }
    .stats-row, .social-links { flex-direction: column; }
    .glass-btn { width: 100%; }
}
