/* NOISE OVERLAY - Cinematic Texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* CUSTOM CURSOR */
body {
    cursor: none;
}

@media (max-width: 1024px) {
    body {
        cursor: auto;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: white;
    position: fixed;
    top: 50%;
    /* Init center */
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9998;
    pointer-events: none;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

/* Hover States for Cursor */
body.hovering .cursor-outline {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.05);
    border-color: transparent;
    backdrop-filter: blur(2px);
}

body.hovering .cursor-dot {
    background-color: var(--color-primary-light);
}

/* ANIMATED TEXT REVEAL */
.reveal-text {
    position: relative;
    overflow: hidden;
}

.reveal-text span {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
    will-change: transform, opacity;
}

.on-load-reveal span {
    transform: translateY(0);
    opacity: 1;
}

/* MAGNETIC BUTTON EFFECT */
.btn-magnet {
    display: inline-block;
    transition: transform 0.1s linear;
}