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

:root {
    --bg-primary: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    --bg-secondary: rgba(45, 45, 45, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #b4b4b4;
    --accent-color: #8b5cf6;
    --accent-hover: #7c3aed;
    --glow-color: rgba(139, 92, 246, 0.3);
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body.arabic-mode {
    direction: rtl;
}

body.english-mode {
    direction: ltr;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.arabic-mode .language-toggle {
    right: auto;
    left: 20px;
}

#langToggle {
    background: rgba(45, 45, 45, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

#langToggle:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--glow-color);
}

/* Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* Container */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Logo */
.logo {
    margin-bottom: 50px;
    animation: fadeInDown 1s ease;
}

.logo img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 20px var(--glow-color));
}

/* Content */
.content {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.main-heading {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease 0.2s both;
    line-height: 1.2;
}


/* Social Links */
.social-links {
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.6s both;
}

.social-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(45, 45, 45, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px var(--glow-color);
}

/* Support Section */
.support-section {
    animation: fadeInUp 1s ease 0.8s both;
}

.support-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.support-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.support-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Footer */
.footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    animation: fadeIn 1s ease 1s both;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.creator-signature {
    margin-top: 15px;
    font-size: 0.85rem;
}

.creator-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.creator-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-heading {
        font-size: 2.5rem;
    }


    .social-links {
        margin-bottom: 30px;
    }

    .logo img {
        max-width: 150px;
    }

    .language-toggle {
        top: 15px;
        right: 15px;
    }

    .arabic-mode .language-toggle {
        right: auto;
        left: 15px;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 2rem;
    }


    .social-icons {
        gap: 15px;
    }

    .social-icon {
        width: 45px;
        height: 45px;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}
