:root {
    --primary: #0F172A;
    --danger: #B91C1C;
    --warning: #F59E0B;
    --success: #11B981;
    --bg-glass: rgba(255, 255, 255, 0.9);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: radial-gradient(circle at 50% 0%, #FDFDFD 0%, #F1F5F9 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

/* Search Box Focus */
#searchInput:focus {
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08), 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Bottle Visualization */
.bottle-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.status-idle {
    max-width: 120px;
    height: 120px;
    opacity: 0.5;
}

.bottle-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
    transition: all 0.7s ease;
}

.milk-fill {
    transition: fill 0.8s ease, opacity 0.6s ease;
}

.bottle-outline,
.bottle-ring,
.bottle-nipple {
    transition: stroke 0.8s ease, stroke-width 0.6s ease;
}

/* ========== STATUS: IDLE ========== */
.status-idle .milk-fill {
    fill: #E2E8F0;
    opacity: 0.2;
}

.status-idle .bottle-outline,
.status-idle .bottle-ring,
.status-idle .bottle-nipple {
    stroke: #CBD5E1;
    stroke-width: 3;
}

/* ========== STATUS: SAFE (Rich Creamy Yellow) ========== */
.status-safe .milk-fill {
    fill: #FFE082;
    /* Deeper creamy yellow */
    opacity: 1;
}

.status-safe {
    animation: breathe 4s ease-in-out infinite;
}

/* ========== STATUS: WARNING (Warm Orange) ========== */
.status-warning .milk-fill {
    fill: #FFB74D;
    /* Deeper warm orange */
    opacity: 1;
}

.status-warning {
    animation: float 3s ease-in-out infinite;
}

/* ========== STATUS: DANGER (Cautionary Deep Red) ========== */
.status-danger .milk-fill {
    fill: #EF9A9A;
    /* Deeper cautionary red */
    opacity: 1;
}

.status-danger {
    animation: danger-pulse 1s infinite alternate;
}

/* Animations */
@keyframes breathe {

    0%,
    100% {
        transform: scale(1) translateY(0);
    }

    50% {
        transform: scale(1.02) translateY(-4px);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    25% {
        transform: translateY(-8px) rotate(1deg);
    }

    75% {
        transform: translateY(-4px) rotate(-1deg);
    }
}

@keyframes danger-pulse {
    from {
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 0 15px rgba(185, 28, 28, 0.3));
    }

    to {
        transform: scale(1.05);
        filter: brightness(1.2) drop-shadow(0 0 30px rgba(185, 28, 28, 0.6));
    }
}

.slide-up {
    animation: slide-up 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-dad-gradient {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

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

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

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}