=== US Lottery Results & AI Stats (NichebrAI) ===
Contributors: nichebrai
Tags: lottery, powerball, mega millions, results, widget
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 1.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Display real-time US Lottery results (Powerball, Mega Millions) with AI-powered statistics using a lightweight, secure Shadow DOM widget.

== Description ==

Add professional, real-time US Lottery results to your WordPress site in seconds. Unlike simple result displays, the **NichebrAI Widget** provides advanced **AI-powered statistics** including "Hot Numbers," "Overdue Numbers" (delays), and sequence analysis.

This plugin uses **Shadow DOM technology**, ensuring the widget looks perfect on any theme without CSS conflicts. It is lightweight, fast, and SEO-friendly.

### Supported Games
* 🇺🇸 Powerball
* 🇺🇸 Mega Millions
* 🇺🇸 Lotto America
* 🇺🇸 Cash4Life
* 🇺🇸 Lucky for Life

### Key Features
* **Real-Time Updates:** Results are updated automatically via API.
* **AI Statistics:** Shows "Overdue" numbers and "Hot Sequences" calculated by our engine.
* **Shadow DOM Protection:** The widget styles are encapsulated, so your site's CSS won't break the layout.
* **Tabbed Interface:** Users can switch between Latest Results, History (last 10 draws), and Statistics.
* **Zero Configuration:** Just install and paste the shortcode.

== Installation ==

1.  Upload the `nichebrai-lottery-widget` folder to the `/wp-content/plugins/` directory.
2.  Activate the plugin through the 'Plugins' menu in WordPress.
3.  Place the shortcode `[nichebrai_widget]` in any Page, Post, or Sidebar Widget.

== Shortcodes ==

You can use the shortcode with the optional `game` attribute to display specific lotteries.

* **Display All Games (Selector Menu):**
    `[nichebrai_widget]`

* **Display Powerball Only:**
    `[nichebrai_widget game="powerball"]`

* **Display Mega Millions Only:**
    `[nichebrai_widget game="mega_millions"]`

* **Other Supported Games:**
    * `[nichebrai_widget game="lotto_america"]`
    * `[nichebrai_widget game="cash4life"]`
    * `[nichebrai_widget game="lucky_for_life"]`

== Screenshots ==

1.  **Live Widget:** The widget displaying Powerball results with the "Latest" tab active.
2.  **AI Statistics:** The "AI Stats" tab showing overdue numbers and sequences.
3.  **History:** The "History" tab showing the last 10 draw results.

== Changelog ==

= 1.0 =
* Initial release.
* Added support for Powerball, Mega Millions, Lotto America, Cash4Life, and Lucky for Life.
* Implemented Shadow DOM for style isolation.

== Service Providers ==

This plugin relies on a 3rd party service to function properly. It loads a JavaScript file and data from NichebrAI servers to display the latest lottery results and analytics.

Service used:
* **NichebrAI Widget Engine**
    * **Service**: Provides real-time lottery data and widget styling via an external JavaScript file hosted on NichebrAI.com.
    * **Data Sent**: When the widget loads, the visitor's IP address serves as part of the standard HTTP request to fetch the script. No personal user data (PII) is collected or stored by this service.
    * **Source**: https://nichebrai.com
    * **Privacy Policy**: https://nichebrai.com/privacy-policy/
    * **Terms of Service**: https://nichebrai.com/terms-of-service/