@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Rubik:wght@300;400;500;700;900&display=swap');

/* ===========================================
   KooMasha - Main Stylesheet
   =========================================== */

/* Base styles */
html {
    scroll-behavior: smooth;
}

body,
#root,
#root * {
    font-family: 'Outfit', 'Rubik', sans-serif !important;
}

body,
#root {
    background-color: #020617;
    color: #e2e8f0;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Exception: FontAwesome icons - must come AFTER general rules */
.fa,
.fab,
.fas,
.far,
.fal,
.fad,
i[class*="fa-"],
[class^="fa-"],
[class*=" fa-"],
svg.svg-inline--fa {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}


/* ===========================================
   Animation Keyframes
   =========================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes gradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes morph {

    0%,
    100% {
        border-radius: 50%;
    }

    25% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    75% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* ===========================================
   Animation Classes
   =========================================== */

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-scroll {
    animation: scroll 40s linear infinite;
}

.animate-morph {
    animation: morph 8s ease-in-out infinite;
}

/* ===========================================
   Reveal Animation (Intersection Observer)
   =========================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================
   Glassmorphism
   =========================================== */

.glass {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===========================================
   Emerald Glow Effect
   =========================================== */

.emerald-glow {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

/* ===========================================
   Gradient Text
   =========================================== */

.gradient-text {
    background: linear-gradient(to left, #34d399, #99f6e4, #34d399);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 5s linear infinite;
}

/* ===========================================
   Scroll Mask (for infinite scroll effect)
   =========================================== */

.mask-scroll {
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

/* ===========================================
   Custom Scrollbar
   =========================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}