@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');
body { font-family: 'Inter', sans-serif; }

/* Animasi Marquee untuk Partner */
.marquee-container { overflow: hidden; white-space: nowrap; position: relative; }
.marquee-content { display: inline-block; animation: marquee 25s linear infinite; }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Smooth Scroll */
html { scroll-behavior: smooth; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #111827; } /* bg-gray-900 */
::-webkit-scrollbar-thumb { background: #374151; border-radius: 4px; } /* bg-gray-700 */
::-webkit-scrollbar-thumb:hover { background: #4b5563; } /* bg-gray-600 */

/* Scroll-triggered Animations */
.reveal {
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); /* ROG-like smooth easing */
}

/* Initial States */
.reveal-up { transform: translateY(60px); }
.reveal-down { transform: translateY(-60px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-zoom { transform: scale(0.85); }

/* Active State (Triggered by JS) */
.reveal.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Staggered Delays (Optional for grids) */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
.whatsapp-float i {
    margin-top: 15px;
}

/* Performance optimization for Parallax */
#hero-bg {
    will-change: transform;
}

/* Loading Animations */
/* Running Man Construction */
.running-man {
    width: 40px;
    height: 60px;
    position: relative;
    margin: 0 auto 1.5rem; /* Center & Margin Bottom */
    animation: run-bob 0.6s infinite ease-in-out;
}

@keyframes run-bob {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}
.running-man .head {
    width: 12px;
    height: 12px;
    background: #2563eb; /* blue-600 */
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.running-man .body {
    width: 6px;
    height: 24px;
    background: #2563eb;
    border-radius: 3px;
    position: absolute;
    top: 13px;
    left: 50%;
    transform: translateX(-50%) skewX(-10deg);
    z-index: 2;
}
.running-man .limb {
    width: 5px;
    height: 22px;
    background: #2563eb;
    border-radius: 3px;
    position: absolute;
    transform-origin: top center;
}
.running-man .arm { top: 15px; left: 50%; margin-left: -2.5px; }
.running-man .leg { top: 35px; left: 50%; margin-left: -2.5px; }

.running-man .shadow {
    width: 25px;
    height: 5px;
    background: #111827;
    border-radius: 50%;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    animation: shadow-pulse 0.6s infinite ease-in-out;
}

/* Limb Animations */
.running-man .arm.left { animation: run-arm 0.6s infinite ease-in-out alternate; z-index: 1; }
.running-man .arm.right { animation: run-arm 0.6s infinite ease-in-out alternate-reverse; z-index: 3; }
.running-man .leg.left { animation: run-leg 0.6s infinite ease-in-out alternate-reverse; z-index: 1; }
.running-man .leg.right { animation: run-leg 0.6s infinite ease-in-out alternate; z-index: 3; }

@keyframes run-arm {
    from { transform: rotate(60deg); }
    to { transform: rotate(-60deg); }
}
@keyframes run-leg {
    from { transform: rotate(-45deg); }
    to { transform: rotate(45deg); }
}

@keyframes shadow-pulse {
    0% { transform: translateX(-50%) scale(1); opacity: 0.6; }
    50% { transform: translateX(-50%) scale(0.7); opacity: 0.4; }
    100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
}

@keyframes slide-right {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.animate-slide {
    animation: slide-right 1s infinite linear;
}
#loading-screen.fade-out { opacity: 0; pointer-events: none; }