/* Additional Wow Factor Enhancements */

/* Glassmorphism depth layers */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
}

/* Morphing blob background */
.blob-background {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    background: linear-gradient(45deg, rgba(174, 145, 66, 0.2), rgba(212, 175, 55, 0.15));
    filter: blur(40px);
    animation: blobMorph 20s ease-in-out infinite;
}

.blob:nth-child(1) {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.blob:nth-child(2) {
    width: 500px;
    height: 500px;
    top: 50%;
    right: -150px;
    animation-delay: 5s;
}

.blob:nth-child(3) {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: 50%;
    animation-delay: 10s;
}

@keyframes blobMorph {
    0%, 100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(50px, 50px) rotate(90deg);
    }
    50% {
        border-radius: 30% 70% 70% 30% / 50% 60% 40% 50%;
        transform: translate(-50px, 100px) rotate(180deg);
    }
    75% {
        border-radius: 70% 30% 40% 60% / 40% 70% 30% 60%;
        transform: translate(100px, -50px) rotate(270deg);
    }
}

/* Neon glow text effect - Gold */
.neon-text {
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(174, 145, 66, 0.9),
        0 0 40px rgba(174, 145, 66, 0.7),
        0 0 70px rgba(174, 145, 66, 0.5),
        0 0 80px rgba(174, 145, 66, 0.4);
    animation: neonFlicker 3s ease-in-out infinite alternate;
}

@keyframes neonFlicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow:
            0 0 10px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(255, 255, 255, 0.6),
            0 0 30px rgba(174, 145, 66, 0.9),
            0 0 40px rgba(174, 145, 66, 0.7),
            0 0 70px rgba(174, 145, 66, 0.5),
            0 0 80px rgba(174, 145, 66, 0.4);
    }
    20%, 24%, 55% {
        text-shadow:
            0 0 5px rgba(255, 255, 255, 0.4),
            0 0 10px rgba(255, 255, 255, 0.3),
            0 0 15px rgba(174, 145, 66, 0.5);
    }
}

/* 3D flip card effect */
.flip-card {
    perspective: 1000px;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover {
    transform: rotateY(10deg) rotateX(5deg);
}

/* Magnetic hover effect */
.magnetic {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.magnetic:hover {
    transform: scale(1.05) translateZ(10px);
}

/* Parallax layers */
.parallax-layer {
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.parallax-layer-1 { transform: translateZ(10px); }
.parallax-layer-2 { transform: translateZ(20px); }
.parallax-layer-3 { transform: translateZ(30px); }

/* Ripple effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    animation: rippleEffect 3s ease-out infinite;
}

@keyframes rippleEffect {
    0% {
        width: 0;
        height: 0;
        opacity: 0.5;
    }
    100% {
        width: 500px;
        height: 500px;
        opacity: 0;
    }
}

/* Smooth number counter animation */
@keyframes numberCount {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.number-count {
    animation: numberCount 0.5s ease-out;
}

/* Gradient text animation - Black & Gold */
.gradient-text {
    background: linear-gradient(
        90deg,
        #ffffff,
        #ae9142,
        #d4af37,
        #ae9142,
        #ffffff
    );
    background-size: 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 8s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Spotlight effect */
.spotlight {
    position: relative;
    overflow: hidden;
}

.spotlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.2) 0%,
        transparent 50%
    );
    animation: spotlight 10s ease-in-out infinite;
}

@keyframes spotlight {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(30%, 30%); }
    50% { transform: translate(-20%, 20%); }
    75% { transform: translate(20%, -20%); }
}

/* Enhanced card entrance */
.card-entrance {
    animation: cardEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.8) rotateX(-20deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0);
    }
}

/* Loading skeleton shimmer */
.skeleton-shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.05) 75%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 2s ease-in-out infinite;
}

@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Perspective card stack */
.card-stack {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.card-stack > * {
    transition: transform 0.5s ease;
}

.card-stack > *:nth-child(1) { transform: translateZ(0) translateY(0); }
.card-stack > *:nth-child(2) { transform: translateZ(-20px) translateY(10px); opacity: 0.9; }
.card-stack > *:nth-child(3) { transform: translateZ(-40px) translateY(20px); opacity: 0.8; }

/* Liquid morph background */
@keyframes liquidMorph {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

.liquid-morph {
    animation: liquidMorph 15s ease-in-out infinite;
}
