/* Shared header and footer styles (loaded on every page). */
nav,footer,.mobile-menu{box-sizing:border-box}nav *,footer *,.mobile-menu *{box-sizing:border-box}nav a,footer a,.mobile-menu a{text-decoration:none}nav ul,footer ul{list-style:none;margin:0;padding:0}
nav{position:fixed;top:0;width:100%;z-index:100;background:rgba(10,12,18,.92);backdrop-filter:blur(20px);border-bottom:1px solid var(--border);}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;max-width:1180px;margin:0 auto;}
.nav-logo img{height:64px;width:auto;}
.nav-links{display:flex;align-items:center;gap:28px;list-style:none;}
.nav-links>li>a{font-size:.9rem;font-weight:500;color:var(--muted);transition:color .2s;}
.nav-links>li>a:hover,.nav-links>li>a.active{color:var(--text);}
.nav-dropdown{position:relative;}
.dropdown-toggle{cursor:pointer;}
.dropdown-menu{display:none;position:fixed;background:var(--dark2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:8px 0;min-width:240px;box-shadow:0 16px 48px rgba(0,0,0,.7);z-index:99999;list-style:none;max-height:85vh;overflow-y:auto;}
.dropdown-menu li a{display:block;padding:10px 20px;font-size:.88rem;color:var(--muted);transition:color .2s,background .2s;}
.dropdown-menu li a:hover{color:var(--text);background:var(--dark3);}
.dropdown-category{padding:6px 20px;font-size:.72rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--red);border-top:1px solid var(--border);margin-top:4px;padding-top:10px;}
.nav-cta{display:flex;gap:12px;}
.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 22px;border-radius:var(--radius-sm);font-family:var(--font-display);font-size:.9rem;font-weight:600;cursor:pointer;border:none;transition:.25s;}
.btn-primary{background:var(--red);color:#fff;box-shadow:0 4px 20px rgba(232,37,58,.3);}
.btn-primary:hover{background:#c91f32;transform:translateY(-1px);}
.btn-ghost{background:transparent;color:var(--text);border:1px solid var(--border);}
.btn-ghost:hover{background:var(--card);}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;}
.hamburger span{width:24px;height:2px;background:var(--text);border-radius:2px;}
.mobile-menu{display:none;position:fixed;top:97px;left:0;right:0;background:var(--dark2);border-bottom:1px solid var(--border);padding:24px;z-index:99;flex-direction:column;gap:14px;max-height:80vh;overflow-y:auto;}
.mobile-menu.open{display:flex;}
.mobile-menu a{font-size:.92rem;font-weight:500;color:var(--muted);padding:8px 0;border-bottom:1px solid var(--border);}
.mobile-menu .sub{padding-left:16px;font-size:.85rem;}
@media(max-width:900px){.nav-links,.hamburger{display:flex;}}
.btn{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-size: .95rem; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition);
}
.btn-primary{
  background: var(--red); color: #fff;
  box-shadow: 0 4px 24px rgba(232,37,58,.35);
}
.btn-primary:hover{ background: #c91f32; transform: translateY(-1px); box-shadow: 0 8px 32px rgba(232,37,58,.45); }
.btn-ghost{
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover{ background: var(--card); border-color: rgba(255,255,255,.15); }
.btn-hero-primary{
  background: linear-gradient(135deg, var(--red), #ff4d5e);
  color: #fff; padding: 18px 38px; font-size: 1.02rem;
  box-shadow: 0 8px 40px rgba(232,37,58,.45), 0 0 0 1px rgba(255,255,255,.08) inset;
  position: relative; overflow: hidden;
}
.btn-hero-primary::before{
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transform: translateX(-100%); transition: transform .6s;
}
.btn-hero-primary:hover::before{ transform: translateX(100%); }
.btn-hero-primary:hover{ transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 48px rgba(232,37,58,.55), 0 0 0 1px rgba(255,255,255,.12) inset; }
footer{
  background: var(--dark2); border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}
.footer-grid{ display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-brand img{ height: 72px; margin-bottom: 16px; }
.footer-brand p{ font-size: .9rem; max-width: 280px; margin-bottom: 24px; }
.footer-socials{ display: flex; gap: 12px; }
.social-btn{
  width: 40px; height: 40px; border-radius: 8px; background: var(--card);
  border: 1px solid var(--border); display: flex; align-items: center;
  justify-content: center; font-size: 1rem; transition: var(--transition);
  cursor: pointer;
}
.social-btn:hover{ background: var(--red); border-color: var(--red); }
.footer-col h4{ font-family: var(--font-display); font-size: .9rem; font-weight: 600; margin-bottom: 20px; color: var(--text); }
.footer-col ul{ list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a{ font-size: .88rem; color: var(--muted); transition: color .2s; }
.footer-col ul li a:hover{ color: var(--text); }
.footer-bottom{
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p{ font-size: .83rem; color: var(--muted); }
.footer-legal{ display: flex; gap: 24px; }
.footer-legal a{ font-size: .83rem; color: var(--muted); transition: color .2s; }
.footer-legal a:hover{ color: var(--text); }
@media (max-width: 900px){.footer-grid{ grid-template-columns: 1fr 1fr; }.nav-links, 
  .hamburger{ display: flex; }}
@media (max-width: 600px){.footer-grid{ grid-template-columns: 1fr; }}
.dropdown-menu{
  display: none; position: fixed;
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 8px 0; min-width: 240px;
  box-shadow: 0 16px 48px rgba(0,0,0,.6); z-index: 99999; list-style: none;
  max-height: 80vh; overflow-y: auto;
}
.dropdown-menu{ }
.dropdown-menu li a{
  display: block; padding: 10px 20px; font-size: .88rem;
  color: var(--muted); transition: color .2s, background .2s;
}
.dropdown-menu li a:hover{ color: var(--text); background: var(--dark3); }
.dropdown-category{
  padding: 6px 20px; font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--red);
  border-top: 1px solid var(--border); margin-top: 4px; padding-top: 10px;
}

/* keep the footer's last row clear of the floating music bar and tool buttons */
footer{padding-bottom:88px}
@media (max-width:640px){footer{padding-bottom:150px}}

/* footer content width: same on every page (legal, briefing and player pages have no .container rule of their own) */
footer .container{max-width:1180px;margin:0 auto;padding:0 24px;box-sizing:border-box}
