        @import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Cairo', sans-serif;
        }

        :root {
            --primary: #ff0077;
            --secondary: #ebe4e4;
            --text-primary: #e9e5e5;
            --text-secondary: #c0c0c0;
            --bg-dark: #f4f2f2;
            --bg-light: rgba(73, 12, 39, 0.333);
        }

        body {
            background: var(--bg-dark);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* خلفية النقاط المتحركة مع تحسينات */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -5;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            width: 5px;
            height: 5px;
            background: rgba(142, 39, 82, 0.701);
            border-radius: 50%;
            animation: fall linear infinite;
            box-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
        }

        @keyframes fall {
            0% {
                transform: translateY(-100vh) scale(1);
                opacity: 0;
            }
            50% {
                transform: translateY(50vh) scale(1.5);
                opacity: 1;
            }
            100% {
                transform: translateY(100vh) scale(1);
                opacity: 0;
            }
        }

        .navbar {
            background: rgba(220, 219, 219, 0.95);
            padding: 1rem 2rem;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 20px rgba(163, 10, 99, 0.478);
            transition: all 0.3s ease;
            animation: slideDown 1s ease;
        }

        @keyframes slideDown {
            from {
                transform: translateY(-100%);
            }
            to {
                transform: translateY(0);
            }
        }

        .logo {
    color: #C2185b;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.5s ease;
}


.logo:hover {
    transform: scale(1.55);
    text-shadow: 0 0 10px #f06292;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    position: relative;
}

.logo-wrapper {
    position: relative;
    width: 80px;  /* تم زيادة الحجم */
    height: 80px; /* تم زيادة الحجم */
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glowing-effect {
    position: absolute;
    inset: -15%;
    background: radial-gradient(
        circle at center,
        rgba(255, 0, 106, 0.8) 0%,
        rgba(255, 0, 106, 0.3) 40%,
        transparent 70%
    );
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
    z-index: 1;
}

/* تأثيرات الحركة */
@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.08);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes glow-pulse {
    0% {
        opacity: 0.4;
        transform: scale(0.9);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.4;
        transform: scale(0.9);
    }
}

/* تأثيرات عند مرور المؤشر */
.logo-container:hover .logo-img {
    animation: float 2s ease-in-out infinite;
    filter: drop-shadow(0 8px 16px rgba(255, 0, 72, 0.4));
}

.logo-container:hover .glowing-effect {
    opacity: 1;
    animation: glow-pulse 3s ease-in-out infinite;
}

.logo-container:hover .logo {
    transform: translateY(-4px);
    text-shadow: 
        0 0 15px rgba(255, 0, 128, 0.8),
        0 0 30px rgba(255, 0, 102, 0.4),
        0 0 45px rgba(255, 0, 64, 0.2);
    letter-spacing: 2px;
    transition: all 0.5s ease;
}

/* تحسين للشاشات المتوسطة والصغيرة */
@media (max-width: 991px) {
    .logo-wrapper {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 767px) {
    .logo-container {
        gap: 0.8rem;
    }
    
    .logo-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .logo {
        font-size: 1.4rem;
    }
}

        @media (max-width: 767px) {
            .navbar {
                flex-direction: column;
                padding: 0.5rem 1rem;
            }

            .logo {
                font-size: 1.4rem;
                margin-bottom: 10px;
            }

            .nav-links {
                flex-wrap: wrap;
                gap: 1rem;
                justify-content: center;
            }

            .nav-links a {
                font-size: 0.9rem;
                padding: 0.4rem 0.8rem;
            }
        }

        .nav-links {
            display: flex;
            gap: 2rem;
        }

        .nav-links a {
            color: #C2185b;
            text-decoration: none;
            font-weight: 500;
            transition: 0.3s;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        /* Extremely powerful styling for Store link */
.store-link {
    animation: intense-glow 1.5s infinite;
    font-weight: 800;
    position: relative;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.5rem 1.2rem !important;
    z-index: 2;
}
  
/* Multiple layers of glowing effects */
.store-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.356);
    box-shadow: 
        0 0 10px rgba(12, 12, 12, 0.5),
        0 0 20px rgba(12, 12, 12, 0.4),
        0 0 30px rgba(6, 6, 6, 0.3),
        0 0 40px rgba(11, 11, 11, 0.1);
    border-radius: 4px;
    z-index: -1;
    animation: intense-pulse 1.5s infinite;
}
  
/* Powerful text animation with bright glow */
@keyframes intense-glow {
    0% {
        color: #0b0b0b;
        text-shadow: 
            0 0 5px rgba(9, 9, 9, 0.8),
            0 0 10px rgba(5, 5, 5, 0.5);
    }
    50% {
        color: #161616;
        text-shadow: 
            0 0 10px rgb(3, 3, 3),
            0 0 20px rgb(8, 8, 8),
            0 0 30px rgb(10, 10, 10),
            0 0 40px rgb(13, 13, 13);
    }
    100% {
        color: #0b0b0b;
        text-shadow: 
            0 0 5px rgba(6, 6, 6, 0.8),
            0 0 10px rgba(21, 22, 21, 0.5);
    }
}
  
/* Intense pulsating background glow */
@keyframes intense-pulse {
    0% {
        opacity: 0.7;
        box-shadow: 
            0 0 10px rgba(24, 24, 24, 0.5),
            0 0 20px rgba(7, 7, 7, 0.3);
    }
    50% {
        opacity: 1;
        box-shadow: 
            0 0 15px rgba(7, 7, 7, 0.7),
            0 0 25px rgba(16, 17, 16, 0.5),
            0 0 35px rgba(9, 9, 9, 0.3),
            0 0 45px rgba(5, 5, 5, 0.2);
    }
    100% {
        opacity: 0.7;
        box-shadow: 
            0 0 10px rgba(8, 8, 8, 0.5),
            0 0 20px rgba(13, 13, 13, 0.3);
    }
}
  
/* Powerful underline effect */
.store-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #124406;
    box-shadow: 
        0 0 5px #124406,
        0 0 10px #124406,
        0 0 15px #124406;
    z-index: 1;
    animation: underline-flare 1.5s infinite;
}
  
@keyframes underline-flare {
    0% {
        opacity: 0.8;
        box-shadow: 
            0 0 5px #255906,
            0 0 10px #0b5605;
    }
    50% {
        opacity: 1;
        box-shadow: 
            0 0 10px #1e4f04,
            0 0 20px #163f08,
            0 0 30px #055d11;
        height: 4px;
    }
    100% {
        opacity: 0.8;
        box-shadow: 
            0 0 5px #0d5c07,
            0 0 10px #174f05;
    }
}
  
/* Add an outer glow effect */
.store-link {
    filter: drop-shadow(0 0 8px rgba(14, 101, 6, 0.5));
}

        .container {
            max-width: 800px;
            margin: 120px auto 50px;
            padding: 2rem;
            background: rgba(59, 30, 49, 0.8);
            border-radius: 15px;
            border: 1px solid var(--primary);
            box-shadow: 0 0 20px rgba(192, 2, 235, 0.545);
            animation: fadeIn 1s ease;
            transform-origin: center;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        h1 {
            color: var(--primary);
            text-align: center;
            margin-bottom: 2rem;
            font-size: 2rem;
            animation: glow 2s ease-in-out infinite;
        }

        @keyframes glow {
            0%, 100% {
                text-shadow: 0 0 10px var(--primary);
            }
            50% {
                text-shadow: 0 0 20px var(--primary);
            }
        }

        .unit-toggle {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            animation: slideIn 1s ease;
        }

        .unit-toggle button {
            flex: 1;
            padding: 0.8rem;
            border: 1px solid var(--primary);
            background: transparent;
            color: var(--text-primary);
            border-radius: 70px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .unit-toggle button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(190, 2, 168, 0.656);
        }

        .unit-toggle button.active {
            background: var(--primary);
            color: var(--bg-dark);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(94, 1, 92, 0.941);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(255, 100, 170, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(100, 255, 218, 0);
            }
        }

        .form-group {
            margin-bottom: 1.5rem;
            opacity: 0;
            transform: translateX(-20px);
            animation: slideInFromLeft 0.5s ease forwards;
        }

        @keyframes slideInFromLeft {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .form-group:nth-child(even) {
            transform: translateX(20px);
            animation: slideInFromRight 0.5s ease forwards;
        }

        @keyframes slideInFromRight {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        input, select {
            width: 100%;
            padding: 0.7rem;
            border: 1px solid var(--primary);
            border-radius: 70px;
            background: rgba(100, 255, 218, 0.1);
            color: #380354;
            transition: all 0.3s ease;
        }

        input:focus, select:focus {
            outline: none;
            box-shadow: 0 0 20px rgba(251, 70, 145, 0.381);
            transform: translateY(-2px);
        }

        button[type="submit"] {
            width: 100%;
            padding: 0.8rem;
            background: var(--primary);
            color: var(--bg-dark);
            border: none;
            border-radius: 5px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            animation: bounce 1s infinite;
        }

        @keyframes bounce {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-5px);
            }
        }

        #result {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    border: 1px solid var(--primary);
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    transition: none;
    position: relative;
    overflow: hidden;
}

#result.show {
    animation: resultAppear 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes resultAppear {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* إضافة تأثير الخط المتحرك */
#result.show::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary);
    animation: lineProgress 0.6s ease forwards;
}

@keyframes lineProgress {
    0% {
        height: 0;
    }
    100% {
        height: 100%;
    }
}

/* تأثير الظل المتوهج */
#result.show::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    animation: glowPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.2);
    }
}

/* تحسين ظهور خيارات الوزن */
.weight-option {
    opacity: 0;
    transform: translateX(-20px);
}

#result.show .weight-option {
    animation: optionSlide 0.5s ease forwards;
}

/* تأخير ظهور كل خيار بشكل متتالي */
#result.show .weight-option:nth-child(1) {
    animation-delay: 0.3s;
}

#result.show .weight-option:nth-child(2) {
    animation-delay: 0.5s;
}

#result.show .weight-option:nth-child(3) {
    animation-delay: 0.7s;
}

@keyframes optionSlide {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* تحسين تأثير التحويم */
.weight-option {
    position: relative;
    margin: 1rem 0;
    padding: 1.2rem;
    background: rgba(100, 255, 218, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.weight-option:hover {
    transform: translateX(10px) translateY(-2px);
    background: rgba(100, 255, 218, 0.1);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.1);
}

/* تأثير النص المضيء */
.weight-option strong {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

#result.show .weight-option strong {
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 2px rgba(170, 0, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 10px rgba(170, 0, 255, 0.5);
    }
}

/* تحسين الهوامش الداخلية والخط */
.weight-option small {
    display: block;
    color: var(--text-secondary);
    margin-top: 0.8rem;
    opacity: 0;
    transform: translateY(10px);
}

#result.show .weight-option small {
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

        .weight-option {
            margin: 1rem 0;
            padding: 1rem;
            background: rgba(100, 255, 218, 0.05);
            border-radius: 5px;
            border: 1px solid rgba(100, 255, 218, 0.2);
            transition: all 0.3s ease;
        }

        .weight-option:hover {
            transform: translateX(10px);
            background: rgba(100, 255, 218, 0.1);
        }

        .error-message {
            color: #ff6b6b;
            font-size: 0.9rem;
            margin-top: 0.5rem;
            animation: shake 0.5s ease;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-10px); }
            75% { transform: translateX(10px); }
        }

        .weight-option strong {
            color: var(--primary);
        }

        .weight-option small {
            display: block;
            color: var(--text-secondary);
            margin-top: 0.5rem;
        }

        /* Footer Styles */
.footer {
    background: #e7e7e7;
    color: #e41a90;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: #ff0077;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #ff00b3;
    animation: expand 2s ease-out infinite;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #f61f75;
    text-decoration: none;
    padding: 0.8rem;
    border: 1px solid #ff006f;
    border-radius: 50%;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background: #ff0088;
    color: #dddddd;
    transform: translateY(-5px) rotate(360deg);
}

.footer-bottom {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 0, 140, 0.326);
    margin-top: 2rem;
}

@keyframes expand {
    0% { width: 0; }
    50% { width: 100px; }
    100% { width: 0; }
}

 /* styles.css */
 #whatsapp-container {
    position: fixed;
    bottom: 15px;
    left: 15px;
    z-index: 1000;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.5s ease-in-out;
}

#whatsapp-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(212, 206, 21, 0.433);
    text-decoration: none;
    transition: background-color 0.5s ease;
    transition: color 0.5 ease;
}

#whatsapp-icon:hover {
    background-color: #eeecec;
    color: #ff0080;
}

/* تنسيق متجاوب للشاشات المختلفة */
@media screen and (max-width: 768px) {
    #whatsapp-container {
        bottom: 15px;
        left: 10px;
    }

    #whatsapp-icon {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}

@media screen and (max-width: 480px) {
    #whatsapp-container {
        bottom: 15px;
        left: 15px;
    }

    #whatsapp-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* للشاشات الصغيرة جدًا */
@media screen and (max-width: 320px) {
    #whatsapp-container {
        bottom: 10px;
        left: 10px;
    }

    #whatsapp-icon {
        width: 35px;
        height: 35px;
        font-size: 21px;
    }
}

/* استخدام flexbox للتوسيط */
#whatsapp-icon {
    font-size: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
}


        @media (max-width: 768px) {
            .container {
                margin: 100px 1rem 50px;
                padding: 1rem;
            }

            .navbar {
                padding: 1rem;
            }

            .nav-links {
                gap: 1rem;
            }

            .footer-container {
                grid-template-columns: 1fr;
            }
        }
        /* للديسكتوب - إخفاء جميع عناصر BR */
@media screen and (min-width: 769px) {
    br {
        display: none;
    }
}

/* للهاتف والتابلت - إظهار عناصر BR */
@media screen and (max-width: 768px) {
    br {
        display: block;
        line-height: 1;
    }
}

/* بديل آخر: يمكنك إضافة class محدد للعناصر BR التي تريد التحكم فيها */
.mobile-break {
    display: none;
}

@media screen and (max-width: 768px) {
    .mobile-break {
        display: block;
        line-height: 1;
    }
}

/* إذا كنت تريد التحكم في المسافات بشكل أفضل */
.mobile-spacing {
    display: none;
}

@media screen and (max-width: 768px) {
    .mobile-spacing {
        display: block;
        height: 20px; /* يمكنك تغيير الارتفاع حسب الحاجة */
    }
}


/* للعناصر BR الخاصة بالهاتف فقط */
.mobile-break {
    display: none;
}

@media screen and (max-width: 768px) {
    .mobile-break {
        display: block;
        line-height: 1;
    }
}

/* للعناصر BR الخاصة بالديسكتوب فقط */
.desktop-break {
    display: block;
    line-height: 1;
}

@media screen and (max-width: 768px) {
    .desktop-break {
        display: none;
    }
}

/* إذا كنت تريد التحكم في المسافات بشكل أفضل */
.mobile-spacing {
    display: none;
}

@media screen and (max-width: 768px) {
    .mobile-spacing {
        display: block;
        height: 20px; /* يمكنك تغيير الارتفاع حسب الحاجة */
    }
}