/* Artistic Elements for Dark Theme */

/* Glowing accents */
.accent-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(147, 112, 219, 0.15), transparent 70%);
    filter: blur(20px);
    opacity: 0.5;
    z-index: 0;
    animation: pulse 8s infinite alternate;
    pointer-events: none;
}

/* Music notes floating effect */
.music-note {
    position: absolute;
    font-size: 24px;
    color: rgba(200, 162, 255, 0.2);
    animation: floatNote 15s linear infinite;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
}

@keyframes floatNote {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-200px) translateX(100px) rotate(45deg);
        opacity: 0;
    }
}

/* Custom cursors when hovering over interactive elements */
a:hover, 
button:hover, 
.bio:hover,
.popular-posts li:hover {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23c8a2ff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/></svg>'), auto;
}

/* Artistic dividers */
.artistic-divider {
    height: 2px;
    width: 100%;
    margin: 30px 0;
    background: linear-gradient(90deg, transparent, rgba(200, 162, 255, 0.3), transparent);
    position: relative;
}

.artistic-divider::before {
    content: '♦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(200, 162, 255, 0.6);
    font-size: 16px;
    background-color: #121212;
    padding: 0 15px;
    text-shadow: 0 0 10px rgba(200, 162, 255, 0.4);
}

/* Text selection styling */
::selection {
    background-color: rgba(147, 112, 219, 0.3);
    color: #ffffff;
    text-shadow: 0 0 5px rgba(200, 162, 255, 0.5);
}

/* Gradient text for featured elements */
.gradient-text {
    background: linear-gradient(90deg, #c8a2ff, #9370DB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

/* Creative scroll bar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0c0c10;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #352a57, #4e3d80);
    border-radius: 5px;
    border: 2px solid #0c0c10;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #4e3d80, #6d4dbb);
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Floating elements */
.float-element {
    animation: float 6s ease-in-out infinite;
}

/* Constellation background effect for sections */
.constellation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(200, 162, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 30% 70%, rgba(200, 162, 255, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 70% 40%, rgba(200, 162, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 90% 80%, rgba(200, 162, 255, 0.02) 1px, transparent 1px);
    background-size: 100px 100px, 120px 120px, 150px 150px, 200px 200px;
    pointer-events: none;
    z-index: 0;
}

/* Artistic image hover effect */
.artistic-img-hover {
    transition: all 0.5s ease;
    position: relative;
}

.artistic-img-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(110, 77, 187, 0.3), rgba(200, 162, 255, 0.2));
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
    mix-blend-mode: overlay;
}

.artistic-img-hover:hover::before {
    opacity: 1;
}

/* Spotlight effect for hero sections */
.spotlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(200, 162, 255, 0.1), transparent 70%);
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

/* Apply these styles to key sections */
.hero, .about, .leaders, .contact {
    overflow: hidden; /* Ensure accents don't cause horizontal scrolling */
}
