/* Intention Visualization Sparkle Effects */
.intention-sparkle-container {
    position: relative;
    display: inline-block;
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(75, 0, 130, 0.1));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.intention-text {
    color: var(--golden);
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 2;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #FFD700, #FFA500);
    border-radius: 50%;
    pointer-events: none;
    animation: sparkle-float 3s infinite ease-in-out;
    opacity: 0;
}

.sparkle::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.6), transparent);
    border-radius: 50%;
    animation: sparkle-glow 3s infinite ease-in-out;
}

@keyframes sparkle-float {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.5);
    }
    20% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
    80% {
        opacity: 1;
        transform: translateY(-10px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(-30px) scale(0.5);
    }
}

@keyframes sparkle-glow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

.intention-input-sparkle {
    position: relative;
    overflow: hidden;
}

.intention-input-sparkle input,
.intention-input-sparkle textarea {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 2px solid rgba(255, 215, 0, 0.3) !important;
    color: var(--star-light) !important;
    transition: all 0.3s ease;
}

.intention-input-sparkle input:focus,
.intention-input-sparkle textarea:focus {
    border-color: var(--golden) !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3) !important;
    outline: none !important;
}

.energy-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: energy-pulse 4s infinite ease-in-out;
    pointer-events: none;
}

.energy-pulse:nth-child(2) {
    animation-delay: 1s;
    width: 150px;
    height: 150px;
}

.energy-pulse:nth-child(3) {
    animation-delay: 2s;
    width: 200px;
    height: 200px;
}

@keyframes energy-pulse {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(0.5);
    }
    50% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

.intention-manifestation {
    position: relative;
    padding: 30px;
    margin: 20px 0;
    background: linear-gradient(45deg, 
        rgba(138, 43, 226, 0.1), 
        rgba(75, 0, 130, 0.1), 
        rgba(255, 215, 0, 0.05));
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    overflow: hidden;
}

.intention-manifestation::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FFD700, #8A2BE2, #4B0082, #FFD700);
    background-size: 400% 400%;
    border-radius: 20px;
    z-index: -1;
    animation: golden-border-flow 6s ease-in-out infinite;
}

@keyframes golden-border-flow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.wisdom-sparkle {
    position: relative;
    display: inline-block;
}

.wisdom-sparkle::after {
    content: '✨';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 14px;
    animation: wisdom-twinkle 2s infinite ease-in-out;
}

@keyframes wisdom-twinkle {
    0%, 100% {
        opacity: 0.5;
        transform: rotate(0deg) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: rotate(180deg) scale(1.2);
    }
}

.sacred-intention-form {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    overflow: hidden;
}

.sacred-intention-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 215, 0, 0.1), 
        transparent);
    animation: sacred-sweep 8s infinite;
}

@keyframes sacred-sweep {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@media (max-width: 768px) {
    .intention-sparkle-container {
        padding: 15px;
    }
    
    .sparkle {
        width: 3px;
        height: 3px;
    }
    
    .energy-pulse {
        width: 80px;
        height: 80px;
    }
    
    .energy-pulse:nth-child(2) {
        width: 120px;
        height: 120px;
    }
    
    .energy-pulse:nth-child(3) {
        width: 160px;
        height: 160px;
    }
}