<?php
$PUBLIC_TITLE = 'XTREAM ui GAME CHANGER — Store';
$PUBLIC_SIDEBAR = false;
require_once __DIR__ . '/gc_public_top.php';
?>

<div class="card hero tmdb" style="--hero-bg: url('<?= $base ?>/portal/assets/hero_bg.png');">
  <div class="hero-content">
    <h1>Premium Streaming Experience</h1>
    <p>Get instant access to thousands of live channels, movies, and series. High-quality streams, fast activation, and 24/7 support.</p>
    
    <div class="big-buttons">
      <a class="btn primary" href="<?= $base ?>/plans.php">View Plans</a>
      <a class="btn ghost" href="<?= $base ?>/trial_start.php">Start 7‑Day Trial</a>
      <?php if (!empty($_SESSION['store_user'])): ?>
        <a class="btn" href="<?= $base ?>/portal/">Open Portal</a>
      <?php else: ?>
        <a class="btn" href="<?= $base ?>/login.php">Customer Login</a>
      <?php endif; ?>
    </div>

    <div class="hero-sub">
      <span class="chip">⚡ Fast activation</span>
      <span class="chip">📺 Works on any IPTV app</span>
      <span class="chip">🧾 M3U + XMLTV</span>
      <span class="chip">🔁 Renew anytime</span>
    </div>
  </div>
</div>

<div class="row section-header">
  <h2>Available Plans</h2>
  <p class="muted">Choose the perfect plan for your entertainment needs.</p>
</div>

<div class="plans-container">
  <?php include __DIR__ . '/plans_grid.php'; ?>
</div>

<?php require_once __DIR__ . '/gc_public_bottom.php'; ?>
