{
  "builderType": "spin_wheel",
  "builderStatus": "enabled",
  "displayOn": [
    "entire_site"
  ],
  "notDisplayOn": [],
  "displaySpecialPages": [],
  "notDisplaySpecialPages": [],
  "displayCustomPages": [],
  "notDisplayCustomPages": [],
  "userRoles": [
    "all_users"
  ],
  "scheduleType": "always",
  "maxImpressions": 0,
  "impressionsCount": 0,
  "campaignSettings": {
    "triggers": {
      "type": "instant",
      "delayedTime": "5",
      "scrollDistance": "400",
      "hashTrigger": "#open-popup",
      "reopenClassTrigger": "click",
      "reopenClass": "open-popup"
    },
    "frequency": {
      "type": "daily",
      "customDays": 1
    },
    "visibility": {
      "hideOnMobile": false,
      "hideOnDesktop": false
    },
    "onClose": {
      "cookieDuration": 6,
      "redirect": false,
      "url": "",
      "target": "_blank"
    },
    "onDismiss": {
      "behavior": "hours",
      "hours": 6,
      "days": 1
    },
    "onPlay": {
      "behavior": "forever",
      "days": 30,
      "hours": 24
    }
  },
  "formSettings": {
    "inputName": {
      "label": "Name",
      "placeholder": "Enter your name",
      "required": true,
      "enable": true
    },
    "inputEmail": {
      "label": "Email",
      "placeholder": "Enter your email",
      "required": true,
      "enable": true
    },
    "inputPhone": {
      "label": "Phone",
      "placeholder": "Enter your phone (Optional)",
      "required": false,
      "enable": false
    },
    "restrictSpinPerUser": {
      "limitSpinPerUser": "yes",
      "identityCheckType": "email",
      "alreadyPlayedMessage": "You have already played this campaign!"
    }
  },
  "contentSettings": {
    "formContent": {
      "title": "Let's try luck!",
      "description": "Fill in your details below for a chance to win amazing prizes!",
      "submitButton": "Spin The Wheel"
    },
    "prizeContent": {
      "winTitle": "Congratulations!",
      "winMessage": "You won a {{discount_label}} discount!",
      "winButtonText": "Start Shopping!",
      "loseTitle": "Better Luck!",
      "loseMessage": "Try again next time!",
      "loseButtonText": "Try Again"
    }
  },
  "behaviorSettings": {
    "prizeDelivery": {
      "emailDelivery": "no",
      "emailDeliveryMsg": "Check your email for the coupon code!",
      "autoApplyCoupon": false,
      "redirectUrl": ""
    }
  },
  "designSettings": {
    "popup": {
      "maxWidth": "800",
      "backgroundColor": "#ffffff",
      "backgroundGradient": "linear-gradient(135deg, #e5f5f4 0%, #ffffff 45%, #deeeed 100%)",
      "backgroundImage": "",
      "padding": "20",
      "borderRadius": "12",
      "enableConfetti": "yes",
      "enableSound": "yes",
      "celebrationSound": "assets/others/celebration.mp3",
      "closeButtonColor": "#ffffff",
      "closeButtonBackgroundColor": "#c62a55",
      "closeButtonBackgroundGradient": "linear-gradient(135deg, #d6304f 0%, #96234f 100%)",
      "confettiIntensity": "50",
      "confettiType": "standard",
      "backgroundOverlay": ""
    },
    "form": {
      "title": {
        "fontSize": "24",
        "color": "#5c0f26"
      },
      "description": {
        "fontSize": "15",
        "color": "#7a3346"
      },
      "label": {
        "fontSize": "14",
        "color": "#6a2135"
      },
      "inputBox": {
        "color": "#4a0d1f",
        "backgroundColor": "#ffffff",
        "borderColor": "#a8697d",
        "focusBorderColor": "#c62a55",
        "placeholderColor": "#7a3346",
        "focusBackgroundColor": "#fff5f7"
      },
      "submitButton": {
        "color": "#ffffff",
        "backgroundColor": "#c62a55",
        "backgroundGradient": "linear-gradient(135deg, #c62a55 0%, #96234f 100%)",
        "hoverBackgroundColor": "#96234f",
        "hoverBackgroundGradient": "linear-gradient(135deg, #96234f 0%, #5f1c41 100%)",
        "padding": 12,
        "borderRadius": 8
      }
    },
    "wheel": {
      "presetId": "default",
      "blocks": [
        {
          "padding": "9px",
          "background": "#ffffff"
        },
        {
          "padding": "3px",
          "background": "#e94560"
        }
      ],
      "buttons": [
        {
          "radius": "42%",
          "background": "#ffffff"
        },
        {
          "radius": "36%",
          "background": "#ffe4e9"
        },
        {
          "radius": "31%",
          "background": "#e94560",
          "pointer": true,
          "fonts": [
            {
              "text": "SPIN",
              "top": "-10px",
              "fontSize": "16px",
              "fontWeight": "bold",
              "fontColor": "#fff"
            }
          ]
        }
      ],
      "defaultStyle": {
        "fontColor": "#ffffff",
        "fontSize": "14px",
        "fontWeight": "600"
      }
    }
  },
  "coupons": [
    {
      "label": "5$",
      "code": "5xOFF",
      "color": "#d6304f",
      "message": "",
      "probability": 12,
      "is_unique": false,
      "coupon_type": "static",
      "wc": {
        "discount_type": "percent",
        "amount": 0,
        "prefix": "USPW",
        "expiry": 0,
        "product_ids": "",
        "exclude_product_ids": ""
      }
    },
    {
      "label": "10$",
      "code": "10xOFF",
      "color": "#c62a55",
      "message": "",
      "probability": 12,
      "is_unique": false,
      "coupon_type": "static",
      "wc": {
        "discount_type": "percent",
        "amount": 0,
        "prefix": "USPW",
        "expiry": 0,
        "product_ids": "",
        "exclude_product_ids": ""
      }
    },
    {
      "label": "15$",
      "code": "15xOFF",
      "color": "#96234f",
      "message": "",
      "probability": 12,
      "is_unique": false,
      "coupon_type": "static",
      "wc": {
        "discount_type": "percent",
        "amount": 0,
        "prefix": "USPW",
        "expiry": 0,
        "product_ids": "",
        "exclude_product_ids": ""
      }
    },
    {
      "label": "20$",
      "code": "20xOFF",
      "color": "#5f1c41",
      "message": "",
      "probability": 12,
      "is_unique": false,
      "coupon_type": "static",
      "wc": {
        "discount_type": "percent",
        "amount": 0,
        "prefix": "USPW",
        "expiry": 0,
        "product_ids": "",
        "exclude_product_ids": ""
      }
    },
    {
      "label": "25$",
      "code": "25xOFF",
      "color": "#d6304f",
      "message": "",
      "probability": 13,
      "is_unique": false,
      "coupon_type": "static",
      "wc": {
        "discount_type": "percent",
        "amount": 0,
        "prefix": "USPW",
        "expiry": 0,
        "product_ids": "",
        "exclude_product_ids": ""
      }
    },
    {
      "label": "30$",
      "code": "30xOFF",
      "color": "#c62a55",
      "message": "",
      "probability": 13,
      "is_unique": false,
      "coupon_type": "static",
      "wc": {
        "discount_type": "percent",
        "amount": 0,
        "prefix": "USPW",
        "expiry": 0,
        "product_ids": "",
        "exclude_product_ids": ""
      }
    },
    {
      "label": "35$",
      "code": "35xOFF",
      "color": "#96234f",
      "message": "",
      "probability": 13,
      "is_unique": false,
      "coupon_type": "static",
      "wc": {
        "discount_type": "percent",
        "amount": 0,
        "prefix": "USPW",
        "expiry": 0,
        "product_ids": "",
        "exclude_product_ids": ""
      }
    },
    {
      "label": "40$",
      "code": "40xOFF",
      "color": "#5f1c41",
      "message": "",
      "probability": 13,
      "is_unique": false,
      "coupon_type": "static",
      "wc": {
        "discount_type": "percent",
        "amount": 0,
        "prefix": "USPW",
        "expiry": 0,
        "product_ids": "",
        "exclude_product_ids": ""
      }
    }
  ]
}