
<?php
$siteTitle = $pageTitle ?? 'Oldies And More Radio';
$metaDescription = $metaDescription ?? 'Oldies And More Radio — where the jukebox never sleeps.';
$settingsPath = __DIR__ . '/../data/settings.json';
$themeSettings = file_exists($settingsPath) ? json_decode((string)file_get_contents($settingsPath), true) : [];
if (!is_array($themeSettings)) $themeSettings = [];
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title><?= htmlspecialchars($siteTitle, ENT_QUOTES, 'UTF-8') ?></title>
  <meta name="description" content="<?= htmlspecialchars($metaDescription, ENT_QUOTES, 'UTF-8') ?>">
  <meta property="og:type" content="website">
  <meta property="og:site_name" content="Oldies And More Radio">
  <meta property="og:title" content="<?= htmlspecialchars($siteTitle, ENT_QUOTES, 'UTF-8') ?>">
  <meta property="og:description" content="<?= htmlspecialchars($metaDescription, ENT_QUOTES, 'UTF-8') ?>">
  <meta property="og:image" content="/assets/images/logo.png">
  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:title" content="<?= htmlspecialchars($siteTitle, ENT_QUOTES, 'UTF-8') ?>">
  <meta name="twitter:description" content="<?= htmlspecialchars($metaDescription, ENT_QUOTES, 'UTF-8') ?>">
  <meta name="twitter:image" content="/assets/images/logo.png">
  <link rel="stylesheet" href="/css/sidebar.css">
  <link rel="stylesheet" href="/css/site.css">
  <link rel="stylesheet" href="/admin/assets/css/panel.css">
</head>
<body>
<div class="page-decor decor-mic" aria-hidden="true"></div>
<div class="page-decor decor-vinyl" aria-hidden="true"></div>
<div class="page-decor decor-jukebox" aria-hidden="true"></div>
<div class="page-decor decor-headphones" aria-hidden="true"></div>
<div class="page-decor decor-note" aria-hidden="true"></div>
