        :root {
            --primary-orange: #F69946;
            --dark-brown: #40332E;
        }

        .header-mid{
            background-color: #40332E;
        }

        .insect-hero {
            background: linear-gradient(95deg, #FFF9F0 0%, #FFF3E0 100%);
            padding: 30vh 0;
            position: relative;
            overflow: hidden;
        }

        .insect-hero::before {
            content: "🐛";
            font-size: 180px;
            position: absolute;
            bottom: -30px;
            right: 20px;
            opacity: 0.08;
            pointer-events: none;
        }

        .insect-badge {
            background: var(--primary-orange);
            color: white;
            display: inline-block;
            padding: 6px 18px;
            border-radius: 30px;
            font-size: 14px;
            font-weight: 600;
            letter-spacing: 0.5px;
            margin-bottom: 20px;
        }

        .insect-title {
            font-size: 48px;
            font-weight: 800;
            color: var(--dark-brown);
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .insect-title span {
            color: var(--primary-orange);
        }

        .insect-desc {
            color: #5a4a43;
            font-size: 18px;
            line-height: 1.6;
            margin-bottom: 30px;
        }

        .insect-stat {
            display: flex;
            gap: 30px;
            margin-top: 30px;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 32px;
            font-weight: 800;
            color: var(--primary-orange);
            display: block;
        }

        .stat-label {
            font-size: 14px;
            color: #7a6a63;
        }

        /* Circular Video Container Styles */
        .video-circle-container {
            position: relative;
            width: 100%;
            max-width: 380px;
            margin: 0 auto;
            cursor: pointer;
        }

        .video-circle {
            position: relative;
            width: 100%;
            aspect-ratio: 1 / 1;
            border-radius: 50%;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 5px white, 0 0 0 12px var(--primary-orange);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            background: #2c241f;
        }

        .video-circle:hover {
            transform: scale(1.02);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), 0 0 0 5px white, 0 0 0 12px #e07e2c;
        }

        .video-circle video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            pointer-events: auto;
        }

        .video-control-overlay {
            position: absolute;
            bottom: 15px;
            right: 15px;
            width: 44px;
            height: 44px;
            background: rgba(64, 51, 46, 0.85);
            backdrop-filter: blur(4px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            z-index: 10;
            border: 2px solid var(--primary-orange);
            color: white;
            font-size: 18px;
        }

        .video-control-overlay:hover {
            background: var(--primary-orange);
            transform: scale(1.1);
        }

        .play-hint {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 70px;
            height: 70px;
            background: rgba(246, 153, 70, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 28px;
            pointer-events: none;
            transition: opacity 0.3s;
            z-index: 5;
            box-shadow: 0 0 0 8px rgba(246, 153, 70, 0.3);
        }

        /* MODAL POPUP STYLES - For insect details */
        .insect-modal .modal-content {
            border-radius: 32px;
            border: none;
            overflow: hidden;
            background: #FFFEF8;
        }

        .insect-modal .modal-header {
            border-bottom: 2px solid var(--primary-orange);
            background: #FFF9F0;
            padding: 20px 30px;
        }

        .insect-modal .modal-body {
            padding: 30px;
        }

        .insect-modal .modal-title {
            font-weight: 800;
            color: var(--dark-brown);
            font-size: 28px;
        }

        .insect-modal .btn-close {
            background: transparent;
            font-size: 24px;
            opacity: 0.7;
        }

        .insect-detail-img {
            font-size: 100px;
            text-align: center;
            background: #FFF3E0;
            border-radius: 60px;
            padding: 20px;
            margin-bottom: 20px;
        }

        .detail-badge {
            background: var(--primary-orange);
            color: white;
            padding: 6px 16px;
            border-radius: 40px;
            font-size: 13px;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 15px;
        }

        .nutrition-detail-grid {
            display: flex;
            gap: 20px;
            background: #FEF5EA;
            padding: 20px;
            border-radius: 24px;
            margin: 20px 0;
            justify-content: space-around;
        }

        .nutrition-detail-item {
            text-align: center;
            flex: 1;
        }

        .nutrition-detail-value {
            font-size: 28px;
            font-weight: 800;
            color: var(--primary-orange);
            display: block;
        }

        .best-for-tag {
            background: var(--dark-brown);
            color: white;
            padding: 8px 18px;
            border-radius: 40px;
            display: inline-block;
            font-size: 14px;
            font-weight: 500;
        }

        .product-card {
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 15px;
            border-radius: 10px;
            background: #fff;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
        }

        .product-img {
            width: 100%;
            height: 200px;
            /* FIXED HEIGHT */
            overflow: hidden;
            border-radius: 10px;
        }

        .product-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            /* keeps image ratio but fills box */
        }

        .product-title {
            font-size: 18px;
            margin-top: 10px;
            min-height: 50px;
            /* keeps titles aligned */
        }

        .nutrition-grid {
            display: flex;
            justify-content: space-between;
            margin-top: auto;
        }

        .product-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: var(--primary-orange);
            color: white;
            font-size: 12px;
            font-weight: bold;
            padding: 5px 12px;
            border-radius: 20px;
        }

        .nutrition-grid {
            display: flex;
            justify-content: space-between;
            margin-top: auto;
            gap: 15px;
            padding: 12px 0;
            border-top: 1px dashed #eee;
            border-bottom: 1px dashed #eee;
        }

        .nutrition-item {
            text-align: center;
            flex: 1;
        }

        .nutrition-value {
            font-weight: 800;
            color: var(--dark-brown);
            display: block;
        }

        .nutrition-label {
            font-size: 11px;
            color: #888;
        }

        .btn-insect {
            background: var(--primary-orange);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 40px;
            font-weight: 600;
            width: 100%;
            transition: 0.3s;
        }

        .btn-insect:hover {
            background: #e07e2c;
            color: white;
            transform: scale(1.02);
        }

        .btn-outline-insect {
            background: transparent;
            border: 2px solid var(--primary-orange);
            color: var(--primary-orange);
            padding: 10px 28px;
            border-radius: 40px;
            font-weight: 600;
            transition: 0.3s;
        }

        .btn-outline-insect:hover {
            background: var(--primary-orange);
            color: white;
        }

        .section-title-custom {
            font-size: 36px;
            font-weight: 800;
            color: var(--dark-brown);
            margin-bottom: 15px;
        }

        .section-subtitle {
            color: var(--primary-orange);
            font-weight: 600;
            letter-spacing: 1px;
            margin-bottom: 15px;
            display: inline-block;
        }

        .info-box {
            background: #FFF9F0;
            border-radius: 20px;
            padding: 30px;
            height: 100%;
            transition: 0.3s;
            border-left: 4px solid var(--primary-orange);
        }

        .feeding-guide-table {
            background: white;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        }

        .feeding-guide-table th {
            background: var(--dark-brown);
            color: white;
            padding: 15px;
            font-weight: 600;
        }

        .feeding-guide-table td {
            padding: 12px 15px;
            vertical-align: middle;
            border-bottom: 1px solid #f0e6e0;
        }

        #insectsGrid {
            row-gap: 10px;
        }

        @keyframes subtle-pulse {
            0% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 0.9;
            }

            100% {
                transform: translate(-50%, -50%) scale(1.08);
                opacity: 0.5;
            }
        }

        .play-hint {
            animation: subtle-pulse 1.5s ease-in-out infinite alternate;
        }

        @media (max-width: 768px) {
            .insect-title {
                font-size: 32px;
            }

            .product-card {
                margin-bottom: 20px;
            }

            .video-circle-container {
                max-width: 280px;
            }
        }