
        /* Cookie Popup Container - Apple Glass Style */
        .cookie-popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            z-index: 99998;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s ease;
        }
        
        .cookie-popup-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .cookie-popup {
            position: fixed;
            bottom: 30px;
            left: 30px;
            width: 380px;
            background: rgba(26, 26, 46, 0.65);
            backdrop-filter: blur(40px) saturate(180%);
            -webkit-backdrop-filter: blur(40px) saturate(180%);
            border-radius: 28px;
            padding: 25px;
            border: 1px solid rgba(108, 92, 231, 0.25);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25),
                        0 0 0 1px rgba(255, 255, 255, 0.05),
                        inset 0 0 80px rgba(108, 92, 231, 0.05),
                        inset 0 1px 0 rgba(255, 255, 255, 0.1);
            z-index: 99999;
            transform: translateX(-150%) rotate(-5deg);
            opacity: 0;
            transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

        .cookie-popup.active {
            transform: translateX(0) rotate(0);
            opacity: 1;
        }

        .cookie-popup.hide-accept {
            transform: translateX(-150%) scale(0.8);
            opacity: 0;
        }

        .cookie-popup.hide-decline {
            transform: translateX(-150%) rotate(-20deg) scale(0.5);
            opacity: 0;
        }

        /* Character Container */
        .cookie-character {
            position: absolute;
            top: -80px;
            right: 20px;
            width: 120px;
            height: 120px;
            transition: transform 0.1s ease-out;
        }

        .character-body {
            position: relative;
            width: 100%;
            height: 100%;
        }

        /* Cookie Character SVG Styling */
        .cookie-face {
            width: 100%;
            height: 100%;
            filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
        }

        /* Eyes that follow cursor */
        .cookie-eye {
            transition: transform 0.1s ease-out;
        }

        .cookie-eye-pupil {
            transition: transform 0.1s ease-out;
        }

        /* Expression States */
        .cookie-mouth {
            transition: all 0.3s ease;
        }

        .cookie-popup.smile .cookie-mouth {
            d: path("M 35 70 Q 50 90 65 70");
        }

        .cookie-popup.angry .cookie-mouth {
            d: path("M 35 75 Q 50 60 65 75");
        }

        .cookie-popup.angry .cookie-eyebrow-left {
            transform: rotate(25deg) translateY(-5px);
        }

        .cookie-popup.angry .cookie-eyebrow-right {
            transform: rotate(-25deg) translateY(-5px);
        }

        /* Sparkles Animation */
        .sparkle {
            position: absolute;
            width: 10px;
            height: 10px;
            background: #a29bfe;
            border-radius: 50%;
            opacity: 0;
            pointer-events: none;
        }

        .cookie-popup.smile .sparkle {
            animation: sparkle 0.6s ease-out forwards;
        }

        @keyframes sparkle {
            0% { transform: scale(0); opacity: 1; }
            100% { transform: scale(2); opacity: 0; }
        }

        /* Angry shake animation */
        @keyframes angry-shake {
            0%, 100% { transform: translateX(0); }
            20% { transform: translateX(-5px) rotate(-2deg); }
            40% { transform: translateX(5px) rotate(2deg); }
            60% { transform: translateX(-5px) rotate(-2deg); }
            80% { transform: translateX(5px) rotate(2deg); }
        }

        .cookie-popup.angry .cookie-character {
            animation: angry-shake 0.5s ease-in-out;
        }

        /* Content Styling */
        .cookie-content {
            margin-top: 50px;
        }

        .cookie-icon {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 15px;
        }

        .cookie-icon svg {
            width: 40px;
            height: 40px;
            animation: cookie-bounce 2s ease-in-out infinite;
        }

        @keyframes cookie-bounce {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            25% { transform: translateY(-5px) rotate(5deg); }
            75% { transform: translateY(-5px) rotate(-5deg); }
        }

        .cookie-title {
            font-size: 22px;
            font-weight: 700;
            color: #fff;
            margin: 0;
            background: linear-gradient(90deg, #a29bfe, #6c5ce7, #fd79a8);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .cookie-text {
            color: rgba(255, 255, 255, 0.8);
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .cookie-text span {
            color: #a29bfe;
            font-weight: 600;
        }

        /* Buttons - Glass Style */
        .cookie-buttons {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }

        .cookie-btn {
            flex: 1;
            min-width: 100px;
            padding: 14px 20px;
            border: none;
            border-radius: 16px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .cookie-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
            transition: left 0.5s ease;
        }

        .cookie-btn:hover::before {
            left: 100%;
        }

        .cookie-btn-accept {
            background: rgba(108, 92, 231, 0.8);
            border: 1px solid rgba(162, 155, 254, 0.4);
            color: #fff;
            box-shadow: 0 8px 32px rgba(108, 92, 231, 0.3),
                        inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .cookie-btn-accept:hover {
            transform: translateY(-3px);
            background: rgba(108, 92, 231, 0.95);
            box-shadow: 0 12px 40px rgba(108, 92, 231, 0.5),
                        inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .cookie-btn-decline {
            background: rgba(45, 45, 68, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #dfe6e9;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                        inset 0 1px 0 rgba(255, 255, 255, 0.05);
        }

        .cookie-btn-decline:hover {
            transform: translateY(-3px);
            background: rgba(45, 45, 68, 0.8);
            border-color: rgba(108, 92, 231, 0.3);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3),
                        inset 0 1px 0 rgba(255, 255, 255, 0.08);
        }

        .cookie-btn-learn {
            flex-basis: 100%;
            background: transparent;
            color: #c44dff;
            border: 2px solid rgba(196, 77, 255, 0.3);
            padding: 12px 20px;
        }

        .cookie-btn-learn:hover {
            background: rgba(196, 77, 255, 0.1);
            border-color: #c44dff;
        }

        /* Floating elements - Glass orbs */
        .cookie-float-element {
            position: absolute;
            border-radius: 50%;
            opacity: 0.15;
            pointer-events: none;
            filter: blur(1px);
        }

        .float-1 {
            width: 100px;
            height: 100px;
            background: radial-gradient(circle at 30% 30%, rgba(162, 155, 254, 0.4), rgba(108, 92, 231, 0.2));
            top: -30px;
            left: -30px;
            animation: float 6s ease-in-out infinite;
        }

        .float-2 {
            width: 50px;
            height: 50px;
            background: radial-gradient(circle at 30% 30%, rgba(253, 121, 168, 0.4), rgba(108, 92, 231, 0.2));
            bottom: 20px;
            right: -15px;
            animation: float 4s ease-in-out infinite reverse;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0) scale(1); }
            50% { transform: translateY(-20px) scale(1.1); }
        }

        /* Learn More Popup - Apple Glass Style */
        .learn-more-popup {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.8);
            width: 90%;
            max-width: 500px;
            max-height: 80vh;
            background: rgba(26, 26, 46, 0.7);
            backdrop-filter: blur(40px) saturate(180%);
            -webkit-backdrop-filter: blur(40px) saturate(180%);
            border-radius: 28px;
            padding: 30px;
            border: 1px solid rgba(108, 92, 231, 0.25);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3),
                        0 0 0 1px rgba(255, 255, 255, 0.05),
                        inset 0 0 80px rgba(108, 92, 231, 0.05),
                        inset 0 1px 0 rgba(255, 255, 255, 0.1);
            z-index: 100000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            overflow-y: auto;
        }

        .learn-more-popup.active {
            transform: translate(-50%, -50%) scale(1);
            opacity: 1;
            visibility: visible;
        }

        .learn-more-popup::-webkit-scrollbar {
            width: 6px;
        }

        .learn-more-popup::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 3px;
        }

        .learn-more-popup::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, #c44dff, #6c5ce7);
            border-radius: 3px;
        }

        .learn-close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 40px;
            height: 40px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 50%;
            color: #fff;
            font-size: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .learn-close-btn:hover {
            background: rgba(255, 107, 107, 0.2);
            border-color: rgba(255, 107, 107, 0.3);
            transform: rotate(90deg);
        }

        .learn-more-header {
            text-align: center;
            margin-bottom: 25px;
        }

        .learn-more-header svg {
            width: 60px;
            height: 60px;
            margin-bottom: 15px;
        }

        .learn-more-header h3 {
            font-size: 24px;
            color: #fff;
            margin: 0 0 10px;
            background: linear-gradient(90deg, #a29bfe, #6c5ce7);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .learn-more-header p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 14px;
            margin: 0;
        }

        .cookie-type {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 18px;
            padding: 20px;
            margin-bottom: 15px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            transition: all 0.3s ease;
        }

        .cookie-type:hover {
            background: rgba(108, 92, 231, 0.1);
            border-color: rgba(108, 92, 231, 0.3);
            transform: translateX(5px);
        }

        .cookie-type-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 10px;
        }

        .cookie-type-icon {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .cookie-type-icon.essential {
            background: rgba(108, 92, 231, 0.3);
            border: 1px solid rgba(162, 155, 254, 0.3);
        }

        .cookie-type-icon.analytics {
            background: rgba(108, 92, 231, 0.3);
            border: 1px solid rgba(162, 155, 254, 0.3);
        }

        .cookie-type-icon.preferences {
            background: rgba(253, 121, 168, 0.3);
            border: 1px solid rgba(253, 121, 168, 0.3);
        }

        .cookie-type h4 {
            color: #fff;
            font-size: 16px;
            margin: 0;
            flex: 1;
        }

        .cookie-type-badge {
            font-size: 11px;
            padding: 4px 10px;
            border-radius: 20px;
            font-weight: 600;
        }

        .badge-required {
            background: rgba(108, 92, 231, 0.2);
            color: #a29bfe;
        }

        .badge-optional {
            background: rgba(253, 121, 168, 0.2);
            color: #fd79a8;
        }

        .cookie-type p {
            color: rgba(255, 255, 255, 0.6);
            font-size: 13px;
            line-height: 1.6;
            margin: 0;
        }

        .learn-more-footer {
            margin-top: 25px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            gap: 12px;
        }

        .learn-more-footer .cookie-btn {
            flex: 1;
        }

        /* Responsive */
        @media (max-width: 480px) {
            .cookie-popup {
                left: 15px;
                right: 15px;
                width: auto;
                bottom: 15px;
                padding: 20px;
            }

            .cookie-character {
                width: 80px;
                height: 80px;
                top: -50px;
                right: 15px;
            }

            .cookie-content {
                margin-top: 35px;
            }

            .cookie-title {
                font-size: 18px;
            }

            .cookie-text {
                font-size: 13px;
            }

            .cookie-btn {
                padding: 12px 16px;
                font-size: 13px;
            }

            .learn-more-popup {
                padding: 20px;
            }
        }

        /* Speech bubble - Glass Style */
        .character-speech {
            position: absolute;
            top: 5px;
            right: 100px;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            padding: 8px 14px;
            border-radius: 15px;
            font-size: 12px;
            font-weight: 600;
            color: #1a1a2e;
            white-space: nowrap;
            opacity: 0;
            transform: scale(0);
            transition: all 0.3s ease;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15),
                        inset 0 1px 0 rgba(255, 255, 255, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .character-speech::after {
            content: '';
            position: absolute;
            right: -8px;
            top: 50%;
            transform: translateY(-50%);
            border: 8px solid transparent;
            border-left-color: rgba(255, 255, 255, 0.9);
        }

        .cookie-popup.smile .character-speech {
            opacity: 1;
            transform: scale(1);
            background: rgba(108, 92, 231, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            color: #fff;
            border: 1px solid rgba(162, 155, 254, 0.4);
        }

        .cookie-popup.smile .character-speech::after {
            border-left-color: #6c5ce7;
        }

        .cookie-popup.smile .character-speech::before {
            content: '🎉 Thank you!';
        }

        .cookie-popup.angry .character-speech {
            opacity: 1;
            transform: scale(1);
            background: rgba(255, 107, 107, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            color: #fff;
            border: 1px solid rgba(255, 107, 107, 0.4);
        }

        .cookie-popup.angry .character-speech::after {
            border-left-color: rgba(255, 107, 107, 0.85);
        }

        .cookie-popup.angry .character-speech::before {
            content: '😤 Oh no!';
        }

        /* Learn More Link Style */
        .cookie-learn-link {
            text-align: center;
            margin-top: 15px;
        }

        .cookie-learn-link a {
            color: #a29bfe;
            font-size: 14px;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            padding-bottom: 2px;
        }

        .cookie-learn-link a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #6c5ce7, #a29bfe);
            transition: width 0.3s ease;
        }

        .cookie-learn-link a:hover {
            color: #fff;
        }

        .cookie-learn-link a:hover::after {
            width: 100%;
        }

        /* Sad/Annoyed expression for clicking outside */
        .cookie-popup.annoyed .cookie-character {
            animation: annoyed-shake 0.4s ease-in-out;
        }

        @keyframes annoyed-shake {
            0%, 100% { transform: translateX(0) rotate(0); }
            25% { transform: translateX(-3px) rotate(-3deg); }
            75% { transform: translateX(3px) rotate(3deg); }
        }

        .cookie-popup.annoyed .cookie-eyebrow-left {
            transform: rotate(15deg) translateY(-3px);
        }

        .cookie-popup.annoyed .cookie-eyebrow-right {
            transform: rotate(-15deg) translateY(-3px);
        }

        .cookie-popup.annoyed .character-speech {
            opacity: 1;
            transform: scale(1);
            background: rgba(253, 121, 168, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            color: #fff;
            border: 1px solid rgba(253, 121, 168, 0.4);
        }

        .cookie-popup.annoyed .character-speech::after {
            border-left-color: rgba(253, 121, 168, 0.85);
        }

        .cookie-popup.annoyed .character-speech::before {
            content: '🥺 Please decide!';
        }
  
