/* Visual Effects Styles */

/* Particles Container */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

/* Confetti Styles */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #e3b44e;
    animation: confettiFall 3s ease-out forwards;
}

/* Feather Styles */
.feather {
    position: absolute;
    font-size: 20px;
    animation: featherFloat 10s linear forwards;
}

/* Bubble Styles */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(227, 180, 78, 0.3));
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: bubbleRise 8s ease-in-out forwards;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Sparkle Effect */
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #fff, #e3b44e);
    border-radius: 50%;
    animation: sparkle 0.6s ease-out forwards;
    box-shadow: 0 0 10px #e3b44e;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border: 3px solid var(--main-color);
    border-radius: 50%;
    animation: ripple 0.8s ease-out forwards;
}

/* Heart Effect */
.heart-particle {
    position: absolute;
    font-size: 20px;
    animation: heartPop 1s ease-out forwards;
}

/* Glow Effect */
.glow-effect {
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #e3b44e, #f5d78e, #e3b44e);
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    animation: glow 2s ease-in-out infinite;
}

/* Screen Shake Effect */
.shake-screen {
    animation: shake 0.5s ease;
}

/* Rainbow Effect */
.rainbow-effect {
    animation: rainbowBg 5s ease infinite;
    background: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
    background-size: 400% 400%;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #e3b44e 0%, #f5d78e 100%);
    color: #333;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    font-size: 1.1rem;
    font-weight: bold;
    border: 3px solid white;
    animation: slideInTop 0.5s ease;
}

.notification.hide {
    animation: slideInTop 0.5s ease reverse;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    animation: slideInBottom 0.5s ease;
}

/* Tooltip Effect */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tooltip:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* Loading Spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(227, 180, 78, 0.3);
    border-top-color: #e3b44e;
    border-radius: 50%;
    animation: loading 1s linear infinite;
}

/* Pulse Effect */
.pulse-effect {
    animation: pulse 2s ease-in-out infinite;
}

/* Float Effect */
.float-effect {
    animation: float 3s ease-in-out infinite;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(45deg, #e3b44e, #f5d78e, #e3b44e);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbowBg 3s ease infinite;
}

/* Neon Glow */
.neon-glow {
    text-shadow: 
        0 0 5px #e3b44e,
        0 0 10px #e3b44e,
        0 0 20px #e3b44e,
        0 0 40px #e3b44e;
    animation: glow 2s ease-in-out infinite;
}

/* Card Flip Effect */
.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* Parallax Effect */
.parallax {
    transition: transform 0.1s ease-out;
}

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

/* Neumorphism */
.neuro-effect {
    background: #f0f0f0;
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.1),
        -8px -8px 16px rgba(255, 255, 255, 0.9);
}

.neuro-effect:active {
    box-shadow: 
        inset 4px 4px 8px rgba(0, 0, 0, 0.1),
        inset -4px -4px 8px rgba(255, 255, 255, 0.9);
}

/* Gradient Border */
.gradient-border {
    position: relative;
    background: white;
    border-radius: 12px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #e3b44e, #f5d78e, #e3b44e);
    border-radius: inherit;
    z-index: -1;
    animation: rainbowBg 3s ease infinite;
    background-size: 200% 200%;
}

/* Hover Glow */
.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(227, 180, 78, 0.6);
    transform: translateY(-2px);
}

/* Text Shadow Effect */
.text-shadow-effect {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Animated Gradient Background */
.animated-gradient-bg {
    background: linear-gradient(45deg, #e3b44e, #f5d78e, #e3b44e, #f5d78e);
    background-size: 400% 400%;
    animation: rainbowBg 10s ease infinite;
}

/* Particle Trail Effect */
.particle-trail {
    position: relative;
}

.particle-trail::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(227, 180, 78, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.particle-trail:hover::after {
    opacity: 1;
}

/* Responsive Effects */
@media screen and (max-width: 768px) {
    .notification {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .confetti {
        width: 8px;
        height: 8px;
    }
    
    .bubble {
        max-width: 30px;
        max-height: 30px;
    }
}

@media screen and (max-width: 480px) {
    .notification {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
    
    .confetti {
        width: 6px;
        height: 6px;
    }
}
