/* === Modern Glowing Cursor === */
body.custom-cursor-enabled {
    cursor: none;
}

.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: 
        width 0.3s ease,
        height 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease;
}

.custom-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

/* Outer glow effect */
.custom-cursor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1.5);
    filter: blur(5px);
    z-index: -1;
    animation: pulse 2s infinite;
}

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

/* Hover effect */
body.cursor-hover .custom-cursor {
    width: 40px;
    height: 40px;
    background: rgba(0, 240, 255, 0.1);
}

body.cursor-hover .custom-cursor::before {
    width: 6px;
    height: 6px;
}

/* Click effect */
body.cursor-click .custom-cursor {
    transform: translate(-50%, -50%) scale(0.8);
}

body.cursor-hover .building-cursor::before {
    background: var(--accent);
}

body.cursor-hover .building-cursor::after {
    background: #fff;
    box-shadow: 
        0 6px 0 #fff,
        0 12px 0 #fff,
        12px 0 0 #fff,
        12px 6px 0 #fff,
        12px 12px 0 #fff;
}
