/* Freeware Mate core: theme tokens, page frame, header, nav and footer. Used by every page. */
*{margin:0;padding:0;box-sizing:border-box}
:root{
  --bg-primary:#22262b;
  --text-primary:#e8ecef;
  --text-secondary:#a0aec0;
  --accent:#ff6b00;
  --accent-dark:#ff8533;
  --accent-glow:rgba(255,107,0,0.35);
  --gold:#ff9100;
  --gold-dark:#d95200;
  --shadow-light:#2a2f35;
  --shadow-dark:#1a1d21;
  --danger:#fc8181;
  --danger-dark:#e53e3e;
  --ok-bg:#1f3a2b;
  --ok-fg:#6ee7a0;
  --bad-bg:#3d2326;
  --bad-fg:#fc8181;
  --warn-bg:#3b3118;
  --warn-fg:#f6d56a;
}
body{font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;background:var(--bg-primary);color:var(--text-primary);min-height:100vh}
.container{max-width:1200px;margin:0 auto;padding:0 20px}
header{background:var(--bg-primary);padding:1.5rem 0;margin-bottom:2rem;box-shadow:0 4px 12px var(--shadow-dark),0 -2px 8px var(--shadow-light)}
.header-content{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.logo{display:flex;align-items:center;gap:.6rem;text-decoration:none}
.logo-img{height:84px;width:auto;display:block}
.logo-text{font-size:1.3rem;font-weight:700;color:var(--accent)}
.nav-links{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}
.nav-link{color:var(--text-primary);text-decoration:none;padding:.7rem 1.5rem;border-radius:25px;background:var(--bg-primary);transition:all .3s ease;font-weight:500;box-shadow:4px 4px 8px var(--shadow-dark),-4px -4px 8px var(--shadow-light)}
.nav-link:hover{box-shadow:inset 4px 4px 8px var(--shadow-dark),inset -4px -4px 8px var(--shadow-light);color:var(--accent)}
footer{background:var(--bg-primary);color:var(--text-secondary);text-align:center;padding:2rem 0;margin-top:4rem;box-shadow:0 -4px 12px var(--shadow-dark),0 2px 8px var(--shadow-light)}
footer p{font-size:.82rem}
@media(max-width:768px){.header-content{flex-direction:column}.logo-img{height:44px}}