/* Cursor Effect */
.cursor-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out, scale 0.3s ease-out;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5),
               0 0 25px rgba(255, 255, 255, 0.3),
               0 0 35px rgba(255, 255, 255, 0.1);
    mix-blend-mode: difference;
}

/* Background Effects */
.background-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    transition: transform 0.3s ease-out;
    will-change: transform;
}

.floating-image {
    position: fixed;
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    pointer-events: none;
    opacity: 0.3;
    filter: blur(2px);
}

/* Touch Device Optimization */
@media (hover: none) {
    .cursor-dot {
        display: none;
    }

    button:hover,
    a:hover,
    .form-control:focus {
        transform: none !important;
    }
}

/* Mobile Adjustments */
@media (max-width: 575.98px) {
    .floating-image {
        width: 200px !important;
        height: 200px !important;
        opacity: 0.2;
    }

    /* Adjust floating images position for better mobile view */
    .floating-image:nth-child(2) { top: 5% !important; left: 65% !important; }
    .floating-image:nth-child(3) { top: 75% !important; left: 10% !important; }
    .floating-image:nth-child(4) { top: 60% !important; left: 70% !important; }
    .floating-image:nth-child(5) { display: none; }
    .floating-image:nth-child(6) { display: none; }
} 