:root { 
    --accent: #c3e56f; 
    --accent-glow: rgba(195, 229, 111, 0.4); 
    --bg: #ffffff; 
    --card-light: #f7f7f7; 
    --card-dark: #000000; 
    --text-dark: #000000; 
    --text-light: #ffffff; 
    /* FLUID PADDING: From 60px on mobile to 200px on 4K */
    --inner-px: clamp(20px, 10vw, 200px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth;   }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text-dark); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }

#preloader { 
    position: fixed; 
    inset: 0; 
    background: #000; 
    z-index: 100000; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: transform 1s cubic-bezier(0.85, 0, 0.15, 1);
}
.preloader-content { display: flex; flex-direction: column; align-items: center; }
.preloader-logo-img { height: 80px; width: auto; object-fit: contain; }
.preloader-text-logo { font-family: 'Oswald', sans-serif; font-size: 8rem; font-weight: 800; color: #fff; letter-spacing: -5px; }
.preloader-hidden { transform: translateY(-100%); pointer-events: none; }

/* 2. SURGICAL CURSOR SYSTEM (DESKTOP) */
#custom-cursor {
    width: 12px; height: 12px; background: #fff; border-radius: 50%;
    position: fixed; pointer-events: none; z-index: 1000000;
    top: 0; left: 0; opacity: 0; transition: opacity 0.3s;
    mix-blend-mode: difference;
}
#custom-cursor.appearing { opacity: 1; }

#cursor-aura {
    width: 0px; height: 0px; border: 1px solid #fff; border-radius: 50%;
    position: fixed; pointer-events: none; z-index: 999999;
    top: 0; left: 0; opacity: 0; 
    transition: opacity 0.4s, width 0.4s, height 0.4s, background 0.4s, border-radius 0.4s, clip-path 0.4s;
    display: flex; align-items: center; justify-content: center;
    mix-blend-mode: difference;
    overflow: hidden;
}

#cursor-aura.has-label { 
    width: 140px; height: 140px; 
    background: #fff; 
    opacity: 1;
}

#cursor-aura.style-click { 
    width: 60px; height: 60px;
    background: #fff;
    opacity: 1;
    border-radius: 0;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.rotating-text { 
    position: absolute; width: 100%; height: 100%; 
    animation: rotateAura 15s linear infinite; 
    opacity: 0; transition: 0.3s;
}
#cursor-aura.has-label:not(.style-click) .rotating-text { opacity: 1; }

.rotating-text svg { width: 100%; height: 100%; }
.rotating-text text { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 800; text-transform: uppercase; fill: #000; letter-spacing: 2px; }
@keyframes rotateAura { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

#cursor-center-text { font-size: 11px; font-weight: 900; color: #000; opacity: 0; transition: 0.3s; letter-spacing: 1px; z-index: 2; }
#cursor-aura.has-label #cursor-center-text { opacity: 1; }
#cursor-aura.style-click #cursor-center-text { display: none; }

/* 3. SIDE NAVIGATION (DOTS) */
.side-nav {
    position: fixed; right: 40px; top: 50%; transform: translateY(-50%);
    z-index: 900; display: flex; flex-direction: column; gap: 20px;
}
.nav-dot-item {
    display: flex; align-items: center; justify-content: flex-end;
    gap: 15px; text-decoration: none; group: hover;
}
.nav-label {
    color: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 2px; opacity: 0; transform: translateX(10px); transition: 0.4s;
    pointer-events: none;
}
.nav-dot-item:hover .nav-label { opacity: 0.6; transform: translateX(0); }
.nav-dot {
    width: 6px; height: 6px; background: #fff; opacity: 0.2; border-radius: 50%;
    transition: 0.4s;
}
.nav-dot-item:hover .nav-dot, .nav-dot-item.active .nav-dot {
    opacity: 1; background: var(--accent); transform: scale(1.5);
}

@media (max-width: 1024px) {
    #custom-cursor, #cursor-aura, .side-nav { display: none !important; }
}

/* CORE ANIMATIONS */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}


@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes reveal {
    from {
        clip-path: inset(100% 0 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

/* 12. MOBILE MENU HIDER (GLOBAL) */
.mobile-menu-overlay { display: none; }
@media (max-width: 1024px) {
    .mobile-menu-overlay { display: flex; }
}

/* OFFICIAL LENIS STYLES */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }
