:root {
            /* --- CORE VARIABLES --- */
            --c-bg: #f8fafc;
            --c-surface: #ffffff;
            
            --c-text-main: #0f172a;
            --c-text-body: #475569;
            --c-text-light: #94a3b8;
            
            /* Theme Color (Swappable for Cats: #8b5cf6) */
            --theme-color: #f59e0b; 
            --theme-glow: rgba(245, 158, 11, 0.3);
            --theme-light: #fffbeb;

            --c-brand: #3b82f6;

            /* Verdict Colors */
            --v-toxic: #ef4444; --v-toxic-bg: #fee2e2; --v-toxic-text: #991b1b;
            --v-safe: #10b981;  --v-safe-bg: #d1fae5; --v-safe-text: #065f46;
            --v-caution: #f97316; --v-caution-bg: #ffedd5; --v-caution-text: #9a3412;

            /* Layout */
            --radius-xl: 32px; --radius-lg: 24px; --radius-md: 16px;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --font-main: 'Plus Jakarta Sans', sans-serif;
        }

        /* --- RESET --- */
        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            background-color: var(--c-bg); color: var(--c-text-main); font-family: var(--font-main);
            line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
        }

        /* Ambient Glow */
        body::before {
            content: ''; position: fixed; top: -10%; right: -10%; width: 60%; height: 60%;
            background: radial-gradient(circle, var(--theme-glow) 0%, transparent 70%);
            filter: blur(100px); z-index: -1; opacity: 0.5; pointer-events: none;
        }

        .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }
        a { text-decoration: none; color: inherit; transition: 0.2s; }
        img { display: block; max-width: 100%; }

        /* --- HEADER --- */
        .site-header {
            position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
            width: calc(100% - 48px); max-width: 1280px; height: 72px; z-index: 1000;
            background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 100px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
            display: flex; align-items: center; justify-content: space-between; padding: 0 24px;
        }
        .logo { font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; gap: 8px; }
        .logo-dot { width: 10px; height: 10px; background: var(--c-brand); border-radius: 50%; }

        /* --- CATEGORY HERO --- */
        .cat-hero {
            padding-top: 160px; padding-bottom: 60px; text-align: center;
        }
        
        .hero-badge {
            display: inline-flex; align-items: center; gap: 8px;
            background: #fff; padding: 8px 16px; border-radius: 100px;
            border: 1px solid #e2e8f0; font-weight: 700; font-size: 0.85rem;
            color: var(--c-text-body); margin-bottom: 24px; box-shadow: var(--shadow-sm);
        }
        .badge-icon { color: var(--theme-color); }

        h1 { 
            font-size: clamp(2.5rem, 5vw, 4rem); 
            line-height: 1.1; margin-bottom: 24px; letter-spacing: -1px; 
            color: var(--c-text-main);
        }
        
        .hero-desc {
            font-size: 1.1rem; color: var(--c-text-body); max-width: 600px; margin: 0 auto 40px;
        }

        /* Search Box */
        .search-container {
            max-width: 600px; margin: 0 auto; position: relative;
        }
        .search-input {
            width: 100%; height: 64px; padding: 0 24px 0 60px;
            border-radius: 100px; border: 2px solid #e2e8f0;
            font-size: 1.1rem; font-family: var(--font-main);
            background: #fff; box-shadow: var(--shadow-lg);
            transition: all 0.3s;
        }
        .search-input:focus { outline: none; border-color: var(--theme-color); box-shadow: 0 0 0 4px var(--theme-glow); }
        .search-icon {
            position: absolute; left: 24px; top: 50%; transform: translateY(-50%);
            color: var(--c-text-light); pointer-events: none;
        }

        /* --- FILTERS & STATS --- */
        .toolbar {
            margin-bottom: 40px; 
            border-bottom: 1px solid #e2e8f0;
            padding-bottom: 24px;
        }
        
        /* Scrollable Filters */
        .filter-scroller {
            display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px;
            -webkit-overflow-scrolling: touch; /* Smooth scroll iOS */
            scrollbar-width: none; /* Hide scrollbar Firefox */
        }
        .filter-scroller::-webkit-scrollbar { display: none; /* Hide Chrome */ }

        .filter-pill {
            padding: 10px 24px; border-radius: 100px; background: #fff;
            border: 1px solid #e2e8f0; color: var(--c-text-body);
            font-weight: 600; white-space: nowrap; cursor: pointer; transition: 0.2s;
            display: flex; align-items: center; gap: 8px;
        }
        .filter-pill:hover { border-color: var(--theme-color); color: var(--theme-color); }
        .filter-pill.active { background: var(--c-text-main); color: #fff; border-color: var(--c-text-main); }
        
        .count-badge {
            background: rgba(255,255,255,0.2); padding: 2px 6px; border-radius: 4px; font-size: 0.75rem;
        }

        /* --- GRID LAYOUT --- */
        .foods-grid {
            display: grid; 
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 24px;
        }

        .food-card {
            background: #fff; border-radius: var(--radius-lg); overflow: hidden;
            border: 1px solid #f1f5f9; transition: all 0.3s ease;
            position: relative; display: flex; flex-direction: column;
        }
        .food-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #e2e8f0; }

        .card-img-box {
            height: 200px; position: relative; overflow: hidden;
        }
        .card-img-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
        .food-card:hover .card-img-box img { transform: scale(1.05); }

        .verdict-tag {
            position: absolute; top: 16px; right: 16px;
            padding: 6px 12px; border-radius: 8px;
            font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
            backdrop-filter: blur(4px);
        }
        .vt-toxic { background: rgba(254, 226, 226, 0.9); color: var(--v-toxic-text); }
        .vt-safe { background: rgba(209, 250, 229, 0.9); color: var(--v-safe-text); }
        .vt-caution { background: rgba(255, 237, 213, 0.9); color: var(--v-caution-text); }

        .card-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
        
        .card-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; color: var(--c-text-main); }
        .card-desc { font-size: 0.95rem; color: var(--c-text-body); margin-bottom: 20px; line-height: 1.5; }
        
        .card-footer {
            margin-top: auto; display: flex; justify-content: space-between; align-items: center;
            border-top: 1px solid #f8fafc; padding-top: 16px;
        }
        .read-btn { font-size: 0.9rem; font-weight: 700; color: var(--theme-color); display: flex; align-items: center; gap: 6px; }
        .read-btn:hover { gap: 10px; }

        /* Pagination */
        .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 60px; }
        .page-btn {
            width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
            border-radius: 50%; border: 1px solid #e2e8f0; background: #fff;
            color: var(--c-text-main); font-weight: 700; cursor: pointer; transition: 0.2s;
        }
        .page-btn:hover { border-color: var(--theme-color); color: var(--theme-color); }
        .page-btn.active { background: var(--c-text-main); color: #fff; border-color: var(--c-text-main); }

        /* FOOTER */
        footer { margin-top: 100px; border-top: 1px solid #e2e8f0; padding: 60px 0; background: #fff; text-align: center; }

        /* RESPONSIVE */
        @media (max-width: 768px) {
            .site-header { width: calc(100% - 32px); padding: 0 16px; }
            .cat-hero { padding-top: 120px; }
            .foods-grid { grid-template-columns: 1fr; gap: 20px; } /* Stack cards on mobile */
            h1 { font-size: 2.5rem; }
        }
        
        @media (max-width: 480px) {
             .search-input { height: 56px; font-size: 1rem; }
             .filter-pill { padding: 8px 16px; font-size: 0.9rem; }
        }