
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: linear-gradient(135deg, #c41e3a 0%, #165b33 100%);
            min-height: 100vh;
            padding: 20px;
            position: relative;
            overflow-x: hidden;
        }

        body::before {
            content: '❄️ ⛄ 🎄 ⛄ ❄️ 🎁 ❄️ ⛄ 🎄 ⛄ ❄️';
            position: absolute;
            top: 10px;
            left: 0;
            right: 0;
            text-align: center;
            font-size: 24px;
            opacity: 0.4;
            animation: float 20s infinite linear;
            z-index: 1;
        }

        @keyframes float {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        .container_scanner {
            margin:auto 0;
            background: white;
            position: relative;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            margin-left:5%;
            width: 90%;
            overflow: hidden;
        }

  .header {
            text-align: center;
            color: white;
            margin-bottom: 40px;
            padding-top: 40px;
            position: relative;
        }


         .header_scanner {
            background: linear-gradient(135deg, #c41e3a 0%, #165b33 100%);
            color: white;
            padding: 30px;
            text-align: center;
            position: relative;
            border-bottom: 3px solid #ffd700;
        }

        .header_scanner::before {
            content: '🎄';
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 40px;
        }

        .header_scanner::after {
            content: '🎄';
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 40px;
        }

        .header_scanner h1 {
            font-size: 28px;
            margin-bottom: 8px;
        }

        .header_scanner h2 {
            font-size: 18px;
            margin-bottom: 8px;
            opacity: 0.95;
        }

        .header_scanner p {
            opacity: 0.9;
            font-size: 14px;
        }

        .content_scanner {
            padding: 30px;
        }

        .camera-container {
            position: relative;
            width: 100%;
            border-radius: 12px;
            overflow: hidden;
            background: #f0f0f0;
            margin-bottom: 20px;
        }

        #video {
            width: 100%;
            display: block;
        }

        .scanner-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80%;
            height: 120px;
            border: 3px solid #4ade80;
            border-radius: 8px;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% {
                opacity: 1;
            }
            50% {
                opacity: 0.5;
            }
        }

        .placeholder {
            text-align: center;
            padding: 60px 20px;
            background: linear-gradient(135deg, #fff5f5 0%, #f0fff4 100%);
            border-radius: 12px;
            border: 2px dashed #c41e3a;
        }

        .camera-icon {
            width: 64px;
            height: 64px;
            margin: 0 auto 20px;
            opacity: 0.4;
        }

        .btn-danger {
             padding: 18px 32px;
            background: #ef4444;
            color: white;
            margin-bottom: 10px;
            width: 90%;
            margin-left:5%;
             border: none;
            border-radius: 12px;
            font-size: 18px;
            font-weight: 700;
            margin-top: 10px; 
            margin-bottom: 10px;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
        }

        .btn-danger:hover {
            background: #dc2626;
             transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(196, 30, 58, 0.4);
        }

        .btn-primary {

             padding: 18px 32px;
            background: linear-gradient(135deg, #c41e3a 0%, #165b33 100%);
            color: white;
            width: 90%;
            margin-left:5%;
             border: none;
            border-radius: 12px;
            font-size: 18px;
            font-weight: 700;
            margin-top: 10px; 
            margin-bottom: 10px;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(196, 30, 58, 0.4);
        }

        .subscribe-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(196, 30, 58, 0.4);
        }

        .subscribe-btn:active {
            transform: translateY(0);
        }

        .btn-secondary {
            background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
            color: #165b33;
            font-weight: 700;
        }

        .btn-secondary:hover {
            background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
        }


        .result-box {
            background: linear-gradient(135deg, #fff5f5 0%, #f0fff4 100%);
            border: 3px solid #c41e3a;
            border-radius: 12px;
            padding: 24px;
            text-align: center;
            margin-bottom: 20px;
            box-shadow: 0 4px 12px rgba(196, 30, 58, 0.2);
        }

        .result-title {
            color: #c41e3a;
            font-size: 16px;
            margin-bottom: 8px;
            font-weight: 700;
        }

        .result-title::before {
            content: '🎅 ';
        }

        .result-title::after {
            content: ' 🎁';
        }

        .barcode-value {
            font-family: 'Courier New', monospace;
            font-size: 24px;
            font-weight: bold;
            color: #1f2937;
            margin-bottom: 16px;
        }


        /* Break */

        .container {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .header {
            text-align: center;
            color: white;
            margin-bottom: 40px;
            padding-top: 40px;
            position: relative;
        }

        .header::before {
            content: '🎄';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            font-size: 60px;
            opacity: 0.5;
        }

        .header::after {
            content: '🎄';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            font-size: 60px;
            opacity: 0.5;
        }

        .header h1 {
            font-size: 42px;
            margin-bottom: 12px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .header p {
            font-size: 18px;
            opacity: 0.95;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
        }

        .search-card {
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            padding: 40px;
            margin-bottom: 30px;
            border: 3px solid #ffd700;
        }

        .search-box {
            display: flex;
            gap: 12px;
            margin-bottom: 20px;
        }

         .benefits-card {
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            padding: 30px;
            margin-bottom: 30px;
            border: 3px solid #ffd700;
        }

        .benefits-title {
            font-size: 24px;
            font-weight: 700;
            color: #c41e3a;
            margin-bottom: 20px;
            text-align: center;
        }

        .benefits-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 16px;
            margin-bottom: 10px;
        }

        .benefit-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            background: linear-gradient(135deg, #fff5f5 0%, #f0fff4 100%);
            border-radius: 10px;
            border: 2px solid #ffd700;
        }

        .benefit-icon {
            font-size: 24px;
            flex-shrink: 0;
        }

        .benefit-text {
            font-size: 15px;
            color: #165b33;
            font-weight: 600;
        }
.plans-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
            margin-bottom: 30px;
        }

        .plan-card {
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            padding: 40px;
            border: 3px solid #ffd700;
            transition: all 0.3s;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .plan-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
            border-color: #c41e3a;
        }

        .plan-card.best-value::before {
            content: '🎁 BEST VALUE';
            position: absolute;
            top: 20px;
            right: -35px;
            background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
            color: #165b33;
            padding: 8px 50px;
            font-size: 12px;
            font-weight: 700;
            transform: rotate(45deg);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }

        .plan-name {
            font-size: 28px;
            font-weight: 700;
            color: #c41e3a;
            margin-bottom: 16px;
            text-align: center;
        }

        .plan-price {
            text-align: center;
            margin-bottom: 24px;
        }

        .price-amount {
            font-size: 48px;
            font-weight: 700;
            color: #165b33;
        }

        .price-period {
            font-size: 18px;
            color: #6b7280;
            font-weight: 600;
        }

        .savings-badge {
            background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
            color: #165b33;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 700;
            text-align: center;
            margin-bottom: 20px;
        }

 .email-form {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .email-form a {
            text-decoration: none;
        }

        .email-input {
            padding: 16px 20px;
            border: 2px solid #ffd700;
            border-radius: 12px;
            font-size: 16px;
            transition: all 0.3s;
        }

        .email-input:focus {
            outline: none;
            border-color: #c41e3a;
            box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.2);
        }

        .subscribe-btn {
            padding: 18px 32px;
            background: linear-gradient(135deg, #c41e3a 0%, #165b33 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 18px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
        }

        .subscribe-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(196, 30, 58, 0.4);
        }

        .subscribe-btn:active {
            transform: translateY(0);
        }

        .info-box {
            background: linear-gradient(135deg, #fff5f5 0%, #f0fff4 100%);
            border: 2px solid #ffd700;
            border-radius: 12px;
            padding: 16px;
            font-size: 14px;
            color: #165b33;
            box-shadow: 0 4px 12px rgba(196, 30, 58, 0.2);
            text-align: center;
        }

        .info-box strong {
            color: #c41e3a;
        }

        .info-box::before {
            content: '🎄 ';
        }


        .email-section {
            display: flex;
            gap: 12px;
            margin-bottom: 20px;
            align-items: center;
        }
        .email-section a {
            text-decoration: none;
        }

        .email-input {
            flex: 1;
            padding: 16px 20px;
            border: 2px solid #ffd700;
            border-radius: 12px;
            font-size: 16px;
            transition: all 0.3s;
        }

        .email-input:focus {
            outline: none;
            border-color: #c41e3a;
            box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.2);
        }

        .premium-btn {
            padding: 16px 32px;
            background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
            color: #165b33;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
            box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
        }

        .premium-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(255, 215, 0, 0.4);
            background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
        }

        .premium-btn:active {
            transform: translateY(0);
        }

        .search-input {
            flex: 1;
            padding: 16px 20px;
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            font-size: 16px;
            transition: all 0.3s;
        }

        .search-input:focus {
            outline: none;
            border-color: #c41e3a;
            box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
        }

        .search-btn {
            padding: 16px 32px;
            background: linear-gradient(135deg, #c41e3a 0%, #165b33 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
        }

        .search-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(196, 30, 58, 0.4);
        }

        .search-btn:active {
            transform: translateY(0);
        }

        .store-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 16px;
        }

        .store-card {
            background: white;
            border-radius: 16px;
            padding: 24px;
            text-align: center;
            box-shadow: 0 4px 12px rgba(196, 30, 58, 0.15);
            transition: all 0.3s;
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            display: block;
            border: 2px solid #c41e3a;
        }

        .store-card:hover {
            transform: translateY(-4px) scale(1.05);
            box-shadow: 0 8px 24px rgba(196, 30, 58, 0.3);
            border-color: #165b33;
        }

        .store-icon {
            width: 64px;
            height: 64px;
            margin: 0 auto 16px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
        }

        .google-icon {
            background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
        }

        .amazon-icon {
            background: linear-gradient(135deg, #ff9900 0%, #ffb84d 100%);
        }

        .target-icon {
            background: linear-gradient(135deg, #cc0000 0%, #ff3333 100%);
        }

        .bestbuy-icon {
            background: linear-gradient(135deg, #0046be 0%, #1e66d1 100%);
        }

        .walmart-icon {
            background: linear-gradient(135deg, #0071ce 0%, #1e88e5 100%);
        }

        .ebay-icon {
            background: linear-gradient(135deg, #e53238 0%, #f44336 100%);
        }

        .store-name {
            font-size: 18px;
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 4px;
        }

        .store-desc {
            font-size: 13px;
            color: #6b7280;
        }

        .results-container {
            margin-top: 30px;
        }

        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: #165b33;
            background: linear-gradient(135deg, #fff5f5 0%, #f0fff4 100%);
            border-radius: 12px;
            border: 2px dashed #c41e3a;
        }

        .empty-icon {
            font-size: 64px;
            margin-bottom: 16px;
            opacity: 0.5;
        }

        .error-box {
            background: #fee2e2;
            border: 2px solid #ef4444;
            border-radius: 12px;
            padding: 16px;
            color: #991b1b;
            font-size: 14px;
            margin-bottom: 20px;
        }

        .info-box {
            background: linear-gradient(135deg, #fff5f5 0%, #f0fff4 100%);
            border: 2px solid #ffd700;
            border-radius: 12px;
            padding: 16px;
            margin-top: 20px;
            font-size: 14px;
            color: #165b33;
            box-shadow: 0 4px 12px rgba(196, 30, 58, 0.2);
        }

        .info-box strong {
            color: #c41e3a;
        }

        .info-box::before {
            content: '🎄 ';
        }

          .hidden {
            display: none !important;
        }

        canvas {
            display: none;
        }

        @media (max-width: 600px) {
            .header h1 {
                font-size: 32px;
            }

            .header::before,
            .header::after {
                font-size: 40px;
            }

            .search-box {
                flex-direction: column;
            }

            .email-section {
                flex-direction: column;
            }

            .search-btn {
                justify-content: center;
            }

            .premium-btn {
                justify-content: center;
            }

            .store-grid {
                grid-template-columns: repeat(2, 1fr);
            }

              .plans-container {
                grid-template-columns: 1fr;
            }

            .benefits-list {
                grid-template-columns: 1fr;
            }
        }
  