/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #FAFAFA;
}

::-webkit-scrollbar-thumb {
    background: #111;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #F97316;
}

/* Base resets */
html.lenis {
    height: auto;
}

body {
    /* Using normal cursor */
    background-color: #FAFAFA;
}

/* Global Smooth Transitions */
a,
button,
input,
select,
textarea,
.card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
    scroll-behavior: smooth;
}

/* Marquee Animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    animation: marquee 20s linear infinite;
    will-change: transform;
}

/* Text Selection */
::selection {
    background: #050505;
    color: #FFF;
}

/* Utility Animations */
.reveal-text {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    transition: clip-path 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.hover-reveal-image {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 50;
}

/* Navigation Links */
/* .nav-link-hover cursor styling removed */

/* Product Card Hover */
.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Curtain Reveal Animation */
.reveal-curtain-container {
    position: relative;
    overflow: hidden;
}

.reveal-curtain-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FAFAFA;
    /* Matches brand-light */
    z-index: 10;
    transform-origin: top;
}

.bg-black .reveal-curtain-overlay {
    background-color: #050505;
    /* Matches brand-black for dark sections */
}

/* Magnetic Button Effect */
.magnetic-btn {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Custom Cursor on Mobile */
@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    #cursor,
    #cursor-follower {
        display: none !important;
    }
}

/* ============================================
   HIGH CONTRAST TEXT & EFFECTS
   ============================================ */

/* Strong Text Shadow for Readability */
.text-contrast {
    text-shadow:
        0 0 10px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(0, 0, 0, 0.4),
        2px 2px 8px rgba(0, 0, 0, 0.9);
}

.text-contrast-light {
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 30px rgba(255, 255, 255, 0.5),
        0 0 60px rgba(249, 115, 22, 0.3);
}

/* Neon Glow Effect */
.text-glow {
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #F97316,
        0 0 40px #F97316,
        0 0 80px #F97316;
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    from {
        text-shadow:
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px #F97316,
            0 0 40px #F97316;
    }

    to {
        text-shadow:
            0 0 10px #fff,
            0 0 20px #fff,
            0 0 40px #F97316,
            0 0 80px #F97316,
            0 0 120px #F97316;
    }
}

/* Glitch Effect */
.text-glitch {
    position: relative;
    animation: glitch-skew 1s infinite linear alternate-reverse;
}

.text-glitch::before,
.text-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.text-glitch::before {
    left: 2px;
    text-shadow: -2px 0 #00ffff;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.text-glitch::after {
    left: -2px;
    text-shadow: 2px 0 #ff00ff;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(31px, 9999px, 94px, 0);
    }

    5% {
        clip: rect(70px, 9999px, 71px, 0);
    }

    10% {
        clip: rect(29px, 9999px, 24px, 0);
    }

    15% {
        clip: rect(85px, 9999px, 73px, 0);
    }

    20% {
        clip: rect(27px, 9999px, 57px, 0);
    }

    25% {
        clip: rect(48px, 9999px, 10px, 0);
    }

    30% {
        clip: rect(16px, 9999px, 85px, 0);
    }

    35% {
        clip: rect(63px, 9999px, 47px, 0);
    }

    40% {
        clip: rect(50px, 9999px, 62px, 0);
    }

    45% {
        clip: rect(11px, 9999px, 99px, 0);
    }

    50% {
        clip: rect(75px, 9999px, 30px, 0);
    }

    55% {
        clip: rect(39px, 9999px, 78px, 0);
    }

    60% {
        clip: rect(22px, 9999px, 45px, 0);
    }

    65% {
        clip: rect(91px, 9999px, 19px, 0);
    }

    70% {
        clip: rect(58px, 9999px, 68px, 0);
    }

    75% {
        clip: rect(33px, 9999px, 92px, 0);
    }

    80% {
        clip: rect(77px, 9999px, 41px, 0);
    }

    85% {
        clip: rect(14px, 9999px, 83px, 0);
    }

    90% {
        clip: rect(66px, 9999px, 25px, 0);
    }

    95% {
        clip: rect(44px, 9999px, 55px, 0);
    }

    100% {
        clip: rect(88px, 9999px, 36px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(65px, 9999px, 100px, 0);
    }

    5% {
        clip: rect(52px, 9999px, 74px, 0);
    }

    10% {
        clip: rect(3px, 9999px, 23px, 0);
    }

    15% {
        clip: rect(89px, 9999px, 16px, 0);
    }

    20% {
        clip: rect(47px, 9999px, 62px, 0);
    }

    25% {
        clip: rect(15px, 9999px, 88px, 0);
    }

    30% {
        clip: rect(72px, 9999px, 35px, 0);
    }

    35% {
        clip: rect(38px, 9999px, 97px, 0);
    }

    40% {
        clip: rect(82px, 9999px, 49px, 0);
    }

    45% {
        clip: rect(26px, 9999px, 68px, 0);
    }

    50% {
        clip: rect(59px, 9999px, 12px, 0);
    }

    55% {
        clip: rect(8px, 9999px, 79px, 0);
    }

    60% {
        clip: rect(96px, 9999px, 28px, 0);
    }

    65% {
        clip: rect(41px, 9999px, 86px, 0);
    }

    70% {
        clip: rect(19px, 9999px, 53px, 0);
    }

    75% {
        clip: rect(70px, 9999px, 99px, 0);
    }

    80% {
        clip: rect(55px, 9999px, 37px, 0);
    }

    85% {
        clip: rect(32px, 9999px, 84px, 0);
    }

    90% {
        clip: rect(78px, 9999px, 45px, 0);
    }

    95% {
        clip: rect(11px, 9999px, 67px, 0);
    }

    100% {
        clip: rect(93px, 9999px, 21px, 0);
    }
}

@keyframes glitch-skew {
    0% {
        transform: skew(0deg);
    }

    10% {
        transform: skew(2deg);
    }

    20% {
        transform: skew(-1deg);
    }

    30% {
        transform: skew(0.5deg);
    }

    40% {
        transform: skew(-0.5deg);
    }

    50% {
        transform: skew(0deg);
    }

    60% {
        transform: skew(1deg);
    }

    70% {
        transform: skew(-2deg);
    }

    80% {
        transform: skew(0.5deg);
    }

    90% {
        transform: skew(-1deg);
    }

    100% {
        transform: skew(0deg);
    }
}

/* Shimmer/Shine Effect */
.text-shimmer {
    background: linear-gradient(90deg,
            #fff 0%,
            #F97316 25%,
            #fff 50%,
            #F97316 75%,
            #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

/* Outline Text for High Contrast */
.text-outline {
    -webkit-text-stroke: 2px #fff;
    -webkit-text-fill-color: transparent;
}

.text-outline-dark {
    -webkit-text-stroke: 2px #050505;
    -webkit-text-fill-color: transparent;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}