<?php
header('Content-Type: application/json');
header('Access-Control-Allow-Origin: *');

$events = [
    "updated" => date('Y-m-d'),
    "featured" => [
        "title" => "TBW Christian Media Launch",
        "description" => "The official launch of TBW Christian Media — a movement awakening purpose across nations. Be part of history.",
        "cta" => "Stay Connected",
        "date" => "Coming Soon"
    ],
    "events" => [
        [
            "id" => 1,
            "title" => "TBW Launch Broadcast",
            "type" => "broadcast",
            "date" => "Coming Soon",
            "time" => "TBA",
            "description" => "The inaugural live broadcast of TBW Christian Radio. A historic moment for faith media.",
            "location" => "Live on TBW Christian Radio",
            "registration" => false
        ],
        [
            "id" => 2,
            "title" => "See It. Receive It. Conquer It. — Live Teaching",
            "type" => "teaching",
            "date" => "Coming Soon",
            "time" => "TBA",
            "description" => "A live teaching event exploring TBW's core message of purpose, faith and destiny fulfilment.",
            "location" => "TBW Christian Media",
            "registration" => true
        ],
        [
            "id" => 3,
            "title" => "Community Prayer Night",
            "type" => "prayer",
            "date" => "Coming Soon",
            "time" => "TBA",
            "description" => "A night of corporate intercession for communities, families and nations.",
            "location" => "Live on TBW Christian Radio",
            "registration" => false
        ],
        [
            "id" => 4,
            "title" => "The Book Within — Conference",
            "type" => "conference",
            "date" => "Coming Soon",
            "time" => "TBA",
            "description" => "A full-day conference on discovering and walking in the purpose God has written for your life.",
            "location" => "TBA",
            "registration" => true
        ]
    ]
];

echo json_encode($events, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
