/* Base Reset */
html,
body {
    margin: 0;
    padding: 0;
    background-color: #F5F2EB;
    color: #2A2320;
}

/* Lenis cursor fix */
html.lenis,
html.lenis body {
    height: auto;
}

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

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

::-webkit-scrollbar-thumb {
    background: #D4C4B1;
    border-radius: 4px;
}

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

* {
    scrollbar-width: thin;
    scrollbar-color: #D4C4B1 #F5F2EB;
}

/* Smooth Scroll Wrapper for Public Web */
#scroll-container {
    width: 100%;
    z-index: 10;
    position: relative;
}

/* WebGL Background */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

/* Image Placeholders */
.img-placeholder {
    background: linear-gradient(135deg, #FDFCFB 0%, #EBE4D5 100%);
    position: relative;
    overflow: hidden;
}

.img-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    animation: shimmer 5s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* Ethereal Loader Animation */
@keyframes loading {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0);
    }

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

/* Interactive Element Base - Buttery Smooth Animation */
.interactive-el {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.interactive-el:hover {
    transform: scale(1.01) translateZ(0);
}

/* Admin Form Inputs */
.admin-input {
    width: 100%;
    background-color: transparent;
    border-bottom: 1px solid #D4C4B1;
    padding: 0.75rem 0;
    font-size: 0.875rem;
    color: #2A2320;
    transition: border-color 0.3s ease;
}

.admin-input:focus {
    outline: none;
    border-color: #3A2E2A;
}

.admin-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #A38F7A;
    margin-bottom: 0.25rem;
}