FLUFF PLAY STANDALONE COPY
==========================

Folder name: fluffplay

Changes in this copy:
- Storefront, cart, product catalogue, customer orders, and Shoper user-account linking removed.
- Fluff game profile accounts are local to Fluff Play.
- Login/registration uses a one-time code by email or mobile number.
- Sessions are configured for a maximum of 360 days unless the user logs out.
- Shoper is retained only as an integration dependency for reward coupon synchronization; no user/customer linking is performed.

Deployment:
1. Upload the `fluffplay` directory alongside the original `game` directory.
2. Configure DB credentials in the parent project's config/config.php, or set local credentials in config.php (do not commit secrets).
3. Back up the DB and apply database/migration_fluffplay_otp.sql, or allow auth_otp.php to create the OTP table/add the two user columns. The coupon columns are not created automatically and must be added if coupon synchronization is enabled.
4. Configure SMTP in the existing Fluff SMTP settings for email OTP.
5. To enable phone OTP, set SMSAPI_TOKEN and optionally SMSAPI_SENDER in the server environment. SMSAPI.pl credentials are not included.
6. Test on a staging copy before production. Existing Shoper-linked user rows remain in the DB but this app does not query Shoper during login or registration.

Coupon synchronization note:
The current project's coupon redemption endpoint issues a local coupon. A Shoper coupon API write/read-back adapter and plan entitlement mapping require confirmation of the exact Shoper API coupon resource/schema and the intended plan rules. This build does not falsely mark local coupons as synchronized.
