<?php $pageTitle='Fans — Almost Heaven Radio'; include __DIR__ . '/header.php'; include __DIR__ . '/menu.php'; $items=file_exists(__DIR__.'/data/fans.json')?json_decode((string)file_get_contents(__DIR__.'/data/fans.json'),true):[]; if(!is_array($items)) $items=[]; ?>
<main class="content-area"><div class="content-wrapper page-shell"><section class="content-card"><h1>⭐ Fans & Supporters</h1><p>Celebrating the listeners behind Almost Heaven Radio.</p></section><div class="cards-grid"><?php foreach($items as $item): ?><article class="friend-card"><div class="friend-top"><?php if(!empty($item['image'])): ?><div class="friend-image"><img src="<?= htmlspecialchars($item['image']) ?>" alt="<?= htmlspecialchars($item['name'] ?? 'Fan') ?>"></div><?php endif; ?><div class="friend-meta"><?php if(!empty($item['badge'])): ?><div class="top-fan-badge"><?= htmlspecialchars($item['badge']) ?></div><?php endif; ?><h3 class="friend-name"><?= htmlspecialchars($item['name'] ?? 'Fan') ?></h3><p class="friend-desc"><?= nl2br(htmlspecialchars($item['description'] ?? '')) ?></p></div></div></article><?php endforeach; if(!$items): ?><section class="content-card"><p>No fans featured yet.</p></section><?php endif; ?></div></div></main>
<?php include __DIR__ . '/footer.php'; ?>