<?php
require __DIR__ . '/../../bootstrap.php';
?>
<!doctype html>
<html lang="fi">
<head>
  <meta charset="utf-8">
  <title>Pelaajakortit demo</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="/pesisportaali/assets/css/pesisportaali-premium.css?v=1">
</head>
<body style="background:#050505;padding:30px;">
  <div class="pp-eyebrow">Pesisportaali komponentti</div>
  <h1 class="pp-section-title">Pelaajakortit</h1>

  <section class="pp-player-grid" id="playerGrid"></section>

  <div class="pp-modal" id="playerModal">
    <div class="pp-profile">
      <button class="pp-close" type="button" id="modalClose">×</button>

      <div class="pp-profile-left">
        <div class="pp-profile-photo" id="modalInitials">SH</div>
        <div class="pp-profile-name" id="modalName"></div>
        <div class="pp-profile-meta" id="modalProfileMeta"></div>
        <div class="pp-sponsor" id="modalSponsor"></div>
      </div>

      <div class="pp-profile-right">
        <div class="pp-accordion">
          <div class="pp-acc-item">
            <button class="pp-acc-btn is-active" type="button">Sarjan tilastot</button>
            <div class="pp-acc-content is-open" id="statsSeries"></div>
          </div>

          <div class="pp-acc-item">
            <button class="pp-acc-btn" type="button">Kauden kaikki tilastot</button>
            <div class="pp-acc-content" id="statsSeason"></div>
          </div>

          <div class="pp-acc-item">
            <button class="pp-acc-btn" type="button">Uratilastot</button>
            <div class="pp-acc-content" id="statsCareer"></div>
          </div>

          <div class="pp-acc-item">
            <button class="pp-acc-btn" type="button">Otteluhistoria</button>
            <div class="pp-acc-content">
              <div class="pp-stat-row"><span>Seuraava vaihe</span><strong>haetaan API:sta</strong></div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>

  <script src="/pesisportaali/assets/js/pesisportaali.js?v=2"></script>
</body>
</html>
