/**
 * RAITRIKA Luxury Interactive & 3D Stylesheet
 */

/* 3D Perspective containers */
.perspective-1000 {
    perspective: 1000px;
    -webkit-perspective: 1000px;
}

.perspective-2000 {
    perspective: 2000px;
    -webkit-perspective: 2000px;
}

.preserve-3d {
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

/* 3D Gold Specular Glare */
.tilt-glare-gold {
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* 3D Olfactory Pyramid Layers */
.pyramid-container-3d {
    perspective: 1200px;
    transform-style: preserve-3d;
}

.pyramid-tier-3d {
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
}

.pyramid-tier-3d:hover {
    border-color: rgba(233, 193, 118, 0.6) !important;
}

/* Floating 3D Sparkle Effect */
@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(2deg);
    }
}

.animate-float-3d {
    animation: floatSlow 6s ease-in-out infinite;
}

/* Luxury Gold Halo Cursor (Desktop only) */
@media (hover: hover) and (pointer: fine) {
    .custom-cursor-dot {
        position: fixed;
        top: 0;
        left: 0;
        width: 6px;
        height: 6px;
        background-color: #e9c176;
        border-radius: 50%;
        pointer-events: none;
        z-index: 99999;
        transform: translate(-50%, -50%);
        transition: opacity 0.2s ease, transform 0.1s ease;
    }

    .custom-cursor-ring {
        position: fixed;
        top: 0;
        left: 0;
        width: 32px;
        height: 32px;
        border: 1px solid rgba(233, 193, 118, 0.45);
        border-radius: 50%;
        pointer-events: none;
        z-index: 99998;
        transform: translate(-50%, -50%);
        transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1),
                    height 0.3s cubic-bezier(0.25, 1, 0.5, 1),
                    border-color 0.3s ease,
                    background-color 0.3s ease,
                    opacity 0.3s ease;
    }

    .custom-cursor-ring.cursor-hover {
        width: 56px;
        height: 56px;
        border-color: rgba(233, 193, 118, 0.85);
        background-color: rgba(233, 193, 118, 0.08);
        backdrop-filter: blur(1px);
    }
}

/* Luxury Mist Spray Particle */
.spray-particle {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, #fff3d1 0%, #e9c176 60%, rgba(233, 193, 118, 0) 100%);
    box-shadow: 0 0 10px rgba(233, 193, 118, 0.8);
    z-index: 999999;
    will-change: transform, opacity;
}

/* Scroll Reveal States */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Shimmer Light sweep across borders */
@keyframes goldShimmerSweep {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.gold-shimmer-border {
    position: relative;
    background-size: 200% 100%;
}

.gold-shimmer-border:hover::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(90deg, transparent, rgba(233,193,118,0.8), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: goldShimmerSweep 1.8s infinite;
}

/* Olfactory Note Pulse */
@keyframes aromaPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(233, 193, 118, 0.5);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(233, 193, 118, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(233, 193, 118, 0);
    }
}

.aroma-pulse-active {
    animation: aromaPulse 1.8s infinite;
}
