   /* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Tajawal', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f9f5ff 0%, #f3eaff 50%, #e8d6ff 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    overflow-x: hidden;
    line-height: 1.6;
    color: #333;
    position: relative;
}

/* Background Animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Enhanced Floating Background Elements */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(94, 23, 165, 0.1), rgba(142, 45, 226, 0.1));
    z-index: -1;
    pointer-events: none;
}

body::before {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation: float 8s ease-in-out infinite;
}

body::after {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation: floatReverse 10s ease-in-out infinite;
}

/* Additional Floating Elements */
body {
    position: relative;
}

body::after {
    content: '';
    position: fixed;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(142, 45, 226, 0.08), rgba(94, 23, 165, 0.08));
    border-radius: 50%;
    top: 50%;
    left: 10%;
    z-index: -1;
    animation: floatDiagonal 12s ease-in-out infinite;
}

/* Create multiple floating elements using pseudo-elements and additional divs */
.floating-element-1 {
    position: fixed;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(94, 23, 165, 0.06), rgba(142, 45, 226, 0.06));
    border-radius: 50%;
    top: 20%;
    right: 20%;
    z-index: -1;
    animation: floatPulse 6s ease-in-out infinite;
}

.floating-element-2 {
    position: fixed;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(142, 45, 226, 0.05), rgba(94, 23, 165, 0.05));
    border-radius: 50%;
    bottom: 30%;
    right: 10%;
    z-index: -1;
    animation: floatRotate 15s linear infinite;
}

.floating-element-3 {
    position: fixed;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(94, 23, 165, 0.07), rgba(142, 45, 226, 0.07));
    border-radius: 50%;
    top: 70%;
    left: 5%;
    z-index: -1;
    animation: floatBounce 8s ease-in-out infinite;
}

/* Enhanced Animation Keyframes */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.8;
    }
    25% { 
        transform: translateY(-20px) rotate(5deg) scale(1.1);
        opacity: 1;
    }
    50% { 
        transform: translateY(-30px) rotate(10deg) scale(1.05);
        opacity: 0.9;
    }
    75% { 
        transform: translateY(-15px) rotate(-5deg) scale(1.15);
        opacity: 1;
    }
}

@keyframes floatReverse {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    25% { 
        transform: translateY(25px) rotate(-8deg) scale(1.1);
        opacity: 1;
    }
    50% { 
        transform: translateY(30px) rotate(-15deg) scale(1.05);
        opacity: 0.8;
    }
    75% { 
        transform: translateY(20px) rotate(5deg) scale(1.15);
        opacity: 1;
    }
}

@keyframes floatDiagonal {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    25% { 
        transform: translate(30px, -20px) rotate(90deg) scale(1.2);
        opacity: 1;
    }
    50% { 
        transform: translate(50px, -40px) rotate(180deg) scale(0.8);
        opacity: 0.7;
    }
    75% { 
        transform: translate(20px, -30px) rotate(270deg) scale(1.3);
        opacity: 1;
    }
}

@keyframes floatPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }
    50% { 
        transform: scale(1.3) rotate(180deg);
        opacity: 1;
    }
}

@keyframes floatRotate {
    0% { 
        transform: rotate(0deg) scale(1);
        opacity: 0.4;
    }
    50% { 
        transform: rotate(180deg) scale(1.2);
        opacity: 0.8;
    }
    100% { 
        transform: rotate(360deg) scale(1);
        opacity: 0.4;
    }
}

@keyframes floatBounce {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.6;
    }
    25% { 
        transform: translateY(-15px) scale(1.1);
        opacity: 1;
    }
    50% { 
        transform: translateY(-30px) scale(0.9);
        opacity: 0.8;
    }
    75% { 
        transform: translateY(-10px) scale(1.2);
        opacity: 1;
    }
}

/* Particle Effect */
.particle {
    position: fixed;
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, #5E17A5, #8E2DE2);
    border-radius: 50%;
    z-index: -1;
    animation: particleFloat 20s linear infinite;
}

.particle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.particle:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 5s;
    animation-duration: 30s;
}

.particle:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
    animation-duration: 22s;
}

.particle:nth-child(4) {
    bottom: 30%;
    right: 25%;
    animation-delay: 15s;
    animation-duration: 28s;
}

.particle:nth-child(5) {
    top: 50%;
    left: 5%;
    animation-delay: 8s;
    animation-duration: 35s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px) translateX(0px) scale(0);
        opacity: 0;
    }
    10% {
        transform: translateY(-20px) translateX(10px) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-100px) translateX(50px) scale(1.5);
        opacity: 0.8;
    }
    90% {
        transform: translateY(-200px) translateX(100px) scale(1);
        opacity: 0.3;
    }
    100% {
        transform: translateY(-300px) translateX(150px) scale(0);
        opacity: 0;
    }
}

/* Wave Effect */
.wave-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: linear-gradient(135deg, rgba(94, 23, 165, 0.03), rgba(142, 45, 226, 0.03));
    border-radius: 50% 50% 0 0;
    animation: waveMove 20s ease-in-out infinite;
}

.wave:nth-child(2) {
    animation-delay: -5s;
    opacity: 0.5;
    height: 80px;
}

.wave:nth-child(3) {
    animation-delay: -10s;
    opacity: 0.3;
    height: 60px;
}

@keyframes waveMove {
    0%, 100% {
        transform: translateX(-50%) translateY(0px);
    }
    50% {
        transform: translateX(-30%) translateY(-20px);
    }
}

/* Glowing Orbs */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(1px);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

.glow-orb-1 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(94, 23, 165, 0.1) 0%, transparent 70%);
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.glow-orb-2 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(142, 45, 226, 0.08) 0%, transparent 70%);
    bottom: 20%;
    right: 20%;
    animation-delay: 2s;
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

/* Fade In Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Swiper Container Fixes */
.swiper {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.swiper-slide {
    padding: 0 5px !important;
    height: auto !important;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: calc(var(--slide-index, 0) * 0.1s);
}

/* Hero Swiper */
.heroSwiper {
    width: 100%;
    height: 500px;
    margin-bottom: 2rem !important;
    animation: scaleIn 1s ease-out;
}

.hero-slide {
    background: linear-gradient(135deg, #f3eaff 0%, #e8d6ff 100%);
    border-radius: 20px;
    overflow: hidden;
    padding: 20px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 24px rgba(94, 23, 165, 0.1);
    margin: 0 15px;
    height: 100%;
    position: relative;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(94, 23, 165, 0.05), rgba(142, 45, 226, 0.05), transparent);
    animation: rotate 20s linear infinite;
    z-index: 1;
}

.hero-slide:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(94, 23, 165, 0.2);
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 160px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.product-card:nth-child(odd) {
    animation-delay: 0.1s;
}

.product-card:nth-child(even) {
    animation-delay: 0.2s;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(94, 23, 165, 0.2);
    border-color: #d9c2ff;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(94, 23, 165, 0.1), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.product-card:hover::before {
    left: 100%;
}

.product-image-container {
    height: 150px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #faf5ff;
    position: relative;
    overflow: hidden;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
}

.product-card:hover .product-image {
    transform: scale(1.1) rotate(5deg);
}

.product-details {
    padding: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

/* Price Display */
.price-display {
    background: linear-gradient(135deg, #f3eaff 0%, #e8d6ff 100%);
    border: 2px solid #5E17A5;
    border-radius: 10px;
    padding: 8px 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: fit-content;
    margin: 10px auto;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(94, 23, 165, 0.3); }
    50% { box-shadow: 0 0 0 10px rgba(94, 23, 165, 0); }
}

.price-display::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, #8E2DE2, #5E17A5, transparent);
    animation: rotate 8s linear infinite;
    opacity: 0.1;
}

.price-display:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(94, 23, 165, 0.3);
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.price-text {
    font-size: 0.9rem;
    font-weight: 700;
    background: linear-gradient(135deg, #5E17A5 0%, #8E2DE2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: textShimmer 2s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Sections & Headings */
.section-title {
    text-align: center;
    margin: 25px 0;
    color: #3E0E66;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    animation: slideIn 1s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #5E17A5, #8E2DE2);
    border-radius: 3px;
    animation: expandLine 1.5s ease-out 0.5s forwards;
}

@keyframes expandLine {
    0% { transform: translateX(-50%) scaleX(0); }
    100% { transform: translateX(-50%) scaleX(1); }
}

/* View All Strip */
.view-all-strip {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0 25px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.view-all-strip::before,
.view-all-strip::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8E2DE2, #5E17A5, transparent);
    margin: 0 15px;
    animation: expandWidth 2s ease-out forwards;
    transform: scaleX(0);
}

.view-all-strip::before {
    transform-origin: right;
    animation-delay: 0.5s;
}

.view-all-strip::after {
    transform-origin: left;
    animation-delay: 0.5s;
}

@keyframes expandWidth {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

/* Subcategory Title */
.subcategory-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #f3eaff 0%, #e8d6ff 100%);
    color: #5E17A5;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(94, 23, 165, 0.2);
    box-shadow: 0 4px 12px rgba(94, 23, 165, 0.1);
    margin: 10px auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: bounceIn 1s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0.3) rotate(-10deg); opacity: 0; }
    50% { transform: scale(1.1) rotate(5deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.subcategory-title:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(94, 23, 165, 0.2);
}

.subcategory-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.subcategory-title:hover::before {
    left: 100%;
}

/* Delivery Badge */
.delivery-badge {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
    transition: all 0.3s ease;
    animation: slideInRight 0.8s ease-out 0.4s both;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.delivery-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

/* Loading Animation */
@keyframes loading {
    0%, 20% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effects for Interactive Elements */
.interactive-element {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.interactive-element:hover {
    transform: translateY(-2px);
}

.interactive-element:active {
    transform: translateY(1px);
}


@media (max-width: 480px) {
    .heroSwiper {
        height: 350px;
    }
    
    .product-card {
        width: 130px;
        min-height: 230px;
    }

    .price-display {
        animation: none;
    }

    .section-title {
        animation: fadeInUp 0.8s ease-out both;
    }
}

/* Interactive Background Effects */
.interactive-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* Mouse Follow Effect */
.mouse-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(94, 23, 165, 0.3), transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transition: all 0.1s ease;
    mix-blend-mode: screen;
}

/* Sparkle Effect */
.sparkle {
    position: fixed;
    width: 3px;
    height: 3px;
    background: #8E2DE2;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: sparkleFloat 8s linear infinite;
}

.sparkle:nth-child(1) { top: 15%; left: 25%; animation-delay: 0s; }
.sparkle:nth-child(2) { top: 35%; right: 30%; animation-delay: 2s; }
.sparkle:nth-child(3) { bottom: 25%; left: 40%; animation-delay: 4s; }
.sparkle:nth-child(4) { bottom: 45%; right: 20%; animation-delay: 6s; }

@keyframes sparkleFloat {
    0% {
        transform: translateY(0px) scale(0);
        opacity: 0;
    }
    20% {
        transform: translateY(-10px) scale(1);
        opacity: 1;
    }
    80% {
        transform: translateY(-50px) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}

/* Performance Optimization */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* ... existing code ... */

/* تأثير الخلفية المتموجة المتقدم */
.advanced-wave-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
}

.wave-effect {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    transform-origin: center center;
    background: radial-gradient(ellipse at center, rgba(94, 23, 165, 0.03) 0%, rgba(142, 45, 226, 0.03) 50%, rgba(94, 23, 165, 0.03) 100%);
    opacity: 0.5;
    border-radius: 43%;
    animation: wave-rotate 20s infinite linear;
}

.wave-effect:nth-child(2) {
    background: radial-gradient(ellipse at center, rgba(142, 45, 226, 0.02) 0%, rgba(94, 23, 165, 0.02) 50%, rgba(142, 45, 226, 0.02) 100%);
    opacity: 0.3;
    border-radius: 47%;
    animation: wave-rotate-reverse 25s infinite linear;
}

.wave-effect:nth-child(3) {
    background: radial-gradient(ellipse at center, rgba(94, 23, 165, 0.01) 0%, rgba(142, 45, 226, 0.01) 50%, rgba(94, 23, 165, 0.01) 100%);
    opacity: 0.2;
    border-radius: 40%;
    animation: wave-rotate 30s infinite linear;
}

@keyframes wave-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes wave-rotate-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

/* تأثير الجسيمات المتقدم */
.advanced-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.particle-advanced {
    position: absolute;
    background: linear-gradient(135deg, #5E17A5, #8E2DE2);
    border-radius: 50%;
    filter: blur(1px);
    animation: particle-float-advanced 15s infinite ease-in-out;
}

@keyframes particle-float-advanced {
    0%, 100% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }
    10%, 90% {
        opacity: 0.8;
    }
    50% {
        transform: translate(var(--tx), var(--ty)) scale(var(--scale));
        opacity: var(--opacity);
    }
}

/* تأثير الضباب المتحرك */
.fog-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.fog {
    position: absolute;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    animation: fog-move 20s infinite ease-in-out;
}

.fog:nth-child(2) {
    top: 20%;
    animation-delay: -5s;
    animation-duration: 25s;
    opacity: 0.3;
}

.fog:nth-child(3) {
    top: 60%;
    animation-delay: -10s;
    animation-duration: 30s;
    opacity: 0.2;
}

@keyframes fog-move {
    0%, 100% {
        transform: translateX(-50%);
    }
    50% {
        transform: translateX(0%);
    }
}

/* تأثير الخطوط المتحركة */
.line-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.line {
    position: absolute;
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(142, 45, 226, 0.2), transparent);
    animation: line-move 8s infinite ease-in-out;
}

@keyframes line-move {
    0%, 100% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        transform: translateY(1000%);
        opacity: 1;
    }
}

/* تأثير الهالة المتحركة */
.glow-effect {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(142, 45, 226, 0.1) 0%, transparent 70%);
    box-shadow: 0 0 60px 30px rgba(142, 45, 226, 0.1);
    z-index: -3;
    animation: pulse-glow 8s infinite ease-in-out;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.7;
    }
}

/* تأثير الشبكة المتحركة */
.grid-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    background-image: 
        linear-gradient(rgba(142, 45, 226, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(142, 45, 226, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 15s infinite linear;
}

@keyframes grid-move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}
/* إضافة هذه الخصائص للعناصر المتحركة */
.floating-element-1, .floating-element-2, .floating-element-3, .particle, .wave, .glow-orb {
    will-change: transform, opacity;
    transform: translateZ(0);
}

/* إضافة خيار لتعطيل الرسوم المتحركة */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}



