@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #ff005d;
    --secondary-color: #ff0080;
    --text-color: #333;
    --background-gradient: linear-gradient(135deg, #ededee, #535353);
    --card-background: rgba(255, 255, 255, 0.05);
    --animation-timing: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    overflow: hidden; /* Prevent scrolling */
    height: 100vh; /* Force full height */
    position: fixed; /* Prevent mobile bounce effect */
    width: 100%;
}


body {
    background: var(--background-gradient);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    perspective: 1500px;
}

.navbar {
    background: rgb(237, 236, 236);
    padding: 1rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(255, 0, 183, 0.499);
    top: 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, 81, 0.8) 0%,
        rgba(255, 0, 93, 0.356) 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, 98, 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, 68, 0.8),
        0 0 30px rgba(255, 0, 98, 0.4),
        0 0 45px rgba(255, 0, 30, 0.2);
    letter-spacing: 2px;
    transition: all 0.5s ease;
}

/* Mobile styling with !important to ensure it overrides desktop styles */
@media (max-width: 767px) {
    .navbar {
        flex-direction: column;
        padding: 0.5rem 1rem;
    }

    .logo {
        font-size: 1.4rem;
        margin-bottom: 2px;
    }

    .nav-links {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 1.5rem !important; /* Using !important to ensure this overrides the desktop gap */
        justify-content: center !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .nav-links a {
        font-size: 0.95rem !important; /* تم تكبير الخط من 0.7 إلى 0.85 */
        padding: 0.15rem 0.3rem !important;
        margin: 0 !important;
        font-weight: 600 !important; /* تم زيادة سمك الخط */
    }

}

/* General nav-links styling for desktop */
.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #f06292;
    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: #f06292;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #e91e63;
}

.nav-links a:hover::after {
    width: 100%;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 90%;
    max-width: 800px;
    margin-top: 120px;
    padding: 2rem;
}

.button {
    position: relative;
    width: 100%;
    height: 130px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    border-radius: 20px;
    background: var(--card-background);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.4s var(--animation-timing);
    transform: translateY(30px);
    opacity: 0;
}

.button.animate {
    animation: slideUpFade 0.8s var(--animation-timing) forwards;
}

.button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: rotate(0deg);
    transition: transform 0.8s var(--animation-timing);
}

.button:hover::before {
    transform: rotate(180deg);
}

.button-text {
    flex-grow: 1;
    padding: 0 2rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 0, 89, 0.3);
    transition: transform 0.4s var(--animation-timing);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.button-text-main {
    font-size: 1.4rem;
    font-weight: 600;
}

.button-text-sub {
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: 5px;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 2rem;
    transition: all 0.6s var(--animation-timing);
    position: relative;
    overflow: hidden;
}

.icon {
    color: var(--primary-color);
    font-size: 2rem;
    transition: all 0.4s var(--animation-timing);
    z-index: 2;
}

.button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 0, 98, 0.2);
    border-color: var(--primary-color);
}

.button:hover .icon-wrapper {
    transform: rotate(360deg);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.button:hover .icon {
    color: white;
    transform: scale(1.2);
}

.button:hover .button-text {
    transform: translateX(10px);
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

/* 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));
}

@keyframes particleFloat {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .logo-wrapper {
        width: 60px;
        height: 60px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .button {
        height: 100px;
        width: 120%;
    }

    .button-text-main {
        font-size: 1.2rem;
    }

    .button-text-sub {
        font-size: 0.8rem;
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
        margin: 0 1rem;
    }

    .icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        flex-direction: column;
        padding: 0.5rem;
    }

    .logo-container {
        margin-bottom: 1rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
    }

    .button {
        height: 80px;
    }

    .button-text-main {
        font-size: 1rem;
    }

    .button-text-sub {
        font-size: 0.7rem;
    }

    .icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .icon {
        font-size: 1.2rem;
    }
}