/* ============================================================
   CUSTOM CURSOR (Desktop Only)
   ============================================================ */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: -4px;
    left: -4px;
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: absolute;
    top: -20px;
    left: -20px;
    transition: all 0.15s ease-out;
}

.custom-cursor.cursor-hover .cursor-ring {
    width: 60px;
    height: 60px;
    top: -30px;
    left: -30px;
    border-color: rgba(197, 168, 128, 0.8);
}

/* ============================================================
   PARALLAX LAYERS
   ============================================================ */
.parallax-layer {
    will-change: transform;
}

/* ============================================================
   FLOATING BUBBLES CONTAINER
   ============================================================ */
#floating-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-bubble {
    will-change: transform, opacity;
    background: radial-gradient(circle at 30% 30%, 
                rgba(255, 255, 255, 0.6) 0%, 
                rgba(255, 255, 255, 0.1) 30%, 
                rgba(173, 216, 230, 0.2) 60%, 
                rgba(255, 255, 255, 0.05) 100%);
    box-shadow: inset -3px -3px 8px rgba(255, 255, 255, 0.2), 
                inset 1px 1px 2px rgba(255, 255, 255, 0.5),
                0 0 15px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(0.5px);
}

.bubble-highlight {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 25%;
    height: 25%;
    background: white;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0.7;
}

@keyframes bubble-wobble {
    0%, 100% { transform: scale(1, 1); }
    25% { transform: scale(1.05, 0.95); }
    50% { transform: scale(0.95, 1.05); }
    75% { transform: scale(1.02, 0.98); }
}

.bubble-wobble {
    animation: bubble-wobble 3s ease-in-out infinite;
}

/* ============================================================
   SCROLL PROGRESS INDICATOR
   ============================================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C5A880, #D4AF37);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 100;
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.3);
}

/* ============================================================
   VARIABLE FONT UTILITIES
   ============================================================ */
@supports (font-variation-settings: normal) {
    .font-weight-animate {
        font-variation-settings: 'wght' 400;
        transition: font-variation-settings 0.3s ease;
    }

    .font-weight-animate:hover {
        font-variation-settings: 'wght' 700;
    }
}

/* ============================================================
   GRADIENT MESH BACKGROUNDS
   ============================================================ */
@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.gradient-mesh {
    background: linear-gradient(135deg,
            rgba(197, 168, 128, 0.1) 0%,
            rgba(0, 26, 51, 0.2) 25%,
            rgba(212, 175, 55, 0.1) 50%,
            rgba(230, 230, 250, 0.15) 75%,
            rgba(197, 168, 128, 0.1) 100%);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
}