/* Google Fonts: Inter (Ultra-Crisp Body), Plus Jakarta Sans & Noto Color Emoji */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Color+Emoji&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Gotham Rounded for Headings & Display */
@font-face {
    font-family: 'Gotham Rounded';
    src: url('../fonts/gotham-rounded-bold.otf') format('opentype');
    font-weight: 700 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham Rounded';
    src: url('../fonts/gotham-rounded-medium.otf') format('opentype');
    font-weight: 500 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham Rounded';
    src: url('../fonts/gotham-rounded-book.otf') format('opentype');
    font-weight: 300 400;
    font-style: normal;
    font-display: swap;
}

/* Gotham for Crisp Body & Interface */
@font-face {
    font-family: 'Gotham';
    src: url('../fonts/GOTHAM-BOLD.TTF') format('truetype'),
         url('../fonts/Gotham-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/GOTHAM-MEDIUM.TTF') format('truetype'),
         url('../fonts/Gotham-Medium.otf') format('opentype');
    font-weight: 500 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/Gotham-Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham';
    src: url('../fonts/GOTHAM-BLACK.TTF') format('truetype');
    font-weight: 800 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand-purple: #4E008E;
    --brand-yellow: #FAE03C;
    --brand-black: #0F0F0F;
    --brand-white: #FFFFFF;
    --brand-blue: #1D33E1;
    --brand-orange: #FF6700;
    --brand-lime: #D6E25C;
    --brand-green: #ACC02B;
}

/* Ultra Crisp & Clear Body Font Rendering */
body, input, textarea, select, button {
    font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    background-color: #FFFFFF;
    color: #0F172A;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: -0.011em;
    overflow-x: hidden;
}

/* Headings with Gotham Rounded & High Definition contrast */
h1, h2, h3, h4, h5, h6, .font-heading, .font-rounded {
    font-family: 'Gotham Rounded', 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.025em;
    color: #0F0F0F;
}

/* Noto Color Emoji Integration */
.emoji, .noto-emoji {
    font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    display: inline-block;
    vertical-align: -0.1em;
}

/* Custom Clean Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #F4F4F5;
}
::-webkit-scrollbar-thumb {
    background: #E4E4E7;
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4E008E;
}

/* Animations */
@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

@keyframes marquee-reverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

.animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

.animate-marquee-rev {
    display: flex;
    width: max-content;
    animation: marquee-reverse 25s linear infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1.5deg); }
}

@keyframes float-rev {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(10px) rotate(-1.5deg); }
}

.animate-float {
    animation: float-slow 5s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-rev 6s ease-in-out infinite 1s;
}

/* Clean Card Architecture */
.clean-card {
    background: #FFFFFF;
    border: 1px solid #EAEAEA;
    box-shadow: 0 4px 20px rgba(78, 0, 142, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.clean-card:hover {
    border-color: #4E008E;
    box-shadow: 0 16px 36px rgba(78, 0, 142, 0.1);
    transform: translateY(-3px);
}

.clean-card-subtle {
    background: #FBFBFC;
    border: 1px solid #EEEEF0;
}

.glow-purple {
    box-shadow: 0 8px 25px rgba(78, 0, 142, 0.22);
}

.glow-yellow {
    box-shadow: 0 8px 25px rgba(250, 224, 60, 0.3);
}

/* Touch fix */
.touch-tap {
    -webkit-tap-highlight-color: transparent;
}

/* Mobile Bottom Nav Sliding Liquid Jelly Blob */
#mobileFootNav {
    position: relative;
}

/* The Sliding Liquid Yellow Blob Element */
#slidingJellyBlob {
    position: absolute;
    top: 6px;
    left: 0;
    width: 48px;
    height: 32px;
    background-color: #FAE03C;
    border-radius: 58% 42% 65% 35% / 45% 58% 42% 55%;
    box-shadow: 0 4px 16px rgba(250, 224, 60, 0.65), 0 0 0 2px rgba(250, 224, 60, 0.25);
    transition: transform 0.65s cubic-bezier(0.34, 1.4, 0.64, 1),
                border-radius 0.8s ease-in-out;
    pointer-events: none;
    z-index: 5;
    will-change: transform, border-radius;
    animation: jellyWobble 4s ease-in-out infinite alternate;
}

/* Fluid morphing while resting or moving */
@keyframes jellyWobble {
    0% {
        border-radius: 60% 40% 65% 35% / 45% 60% 40% 55%;
    }
    33% {
        border-radius: 38% 62% 35% 65% / 60% 38% 62% 40%;
    }
    66% {
        border-radius: 65% 35% 55% 45% / 38% 62% 38% 62%;
    }
    100% {
        border-radius: 60% 40% 65% 35% / 45% 60% 40% 55%;
    }
}

.nav-blob-item {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent !important;
    padding: 6px 0;
    cursor: pointer;
    z-index: 10;
}

.nav-blob-pill {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 32px;
    margin-bottom: 2px;
    background: transparent;
}

.nav-blob-item i {
    font-size: 18px;
    color: #9CA3AF;
    transition: color 0.4s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
    line-height: 1;
    position: relative;
    z-index: 12;
}

.nav-blob-item.active i {
    color: #4E008E !important;
    transform: scale(1.15);
}

.nav-blob-label {
    font-family: "Gotham Rounded", "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9CA3AF;
    transition: color 0.35s ease;
    display: block;
    line-height: 1.1;
    position: relative;
    z-index: 12;
}

.nav-blob-item.active .nav-blob-label {
    color: #4E008E !important;
    font-weight: 900;
}
