/* Shared shell for simple content pages (FAQ, Rules) — matches the
   redesigned index.php visual system (light/premium, dark hero banner). */
:root {
  --purple: #5e2b97;
  --purple-dark: #3f1a6b;
  --purple-soft: #efe6fa;
  --cyan: #00b8cf;
  --yellow: #ffc93c;
  --cream: #fdf8f0;
  --navy: #100c2a;
  --navy-2: #201750;
  --ink: #241f3d;
  --ink-soft: #766f8c;
  --white: #ffffff;
  --line: #ece4d8;
  --radius: 20px;
  --shadow: 0 12px 30px rgba(36,31,61,.08);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Poppins', system-ui, sans-serif; background: var(--cream); color: var(--ink); overflow-x: hidden; }
h1, h2, h3 { font-family: 'Orbitron', system-ui, sans-serif; margin: 0; }
a { color: inherit; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 20px; }

/* ---------- Top bar ---------- */
.topbar { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; max-width: 1160px; margin: 0 auto; padding: 20px 20px 0; padding-top: calc(20px + env(safe-area-inset-top, 0px)); }
.topbar .logo-img { height: 46px; width: auto; display: block; }
.topbar nav { display: flex; gap: 18px; align-items: center; }
.topbar nav a { color: #e7e3f8; text-decoration: none; font-weight: 600; font-size: 14px; }
.topbar nav a:hover { color: var(--yellow); }
.topbar .btn-cta { background: var(--yellow); color: var(--navy); font-weight: 800; font-size: 14px; padding: 10px 20px; border-radius: 999px; text-decoration: none; }
.topbar nav a.btn-cta:hover { color: var(--navy); filter: brightness(1.08); }
.nav-toggle { display: none; background: transparent; border: 0; color: #fff; font-size: 24px; cursor: pointer; z-index: 101; }
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .topbar nav.nav-links { position: fixed; top: 0; right: -280px; width: 250px; height: 100vh; background: var(--navy-2); flex-direction: column; align-items: flex-start; gap: 20px; padding: 90px 24px 24px; transition: right .3s ease; z-index: 1000; box-shadow: -10px 0 30px rgba(0,0,0,.4); }
  .topbar nav.nav-links.active { right: 0; }
  .topbar nav .btn-cta { margin-top: 8px; }
}
body.menu-open { overflow: hidden; }

/* ---------- Page hero (dark banner) ---------- */
.page-hero {
  position: relative; overflow: hidden; padding-bottom: 50px;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(94,43,151,.55), transparent 60%),
    radial-gradient(700px 420px at 90% 0%, rgba(0,184,207,.25), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
}
.page-hero-body { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; padding: 44px 20px 0; text-align: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #d9d3ff; font-weight: 700; font-size: 12.5px; letter-spacing: .04em; padding: 7px 14px; border-radius: 999px; margin-bottom: 16px; }
.page-hero-body h1 { font-size: clamp(26px, 3.6vw, 40px); color: #fff; margin-bottom: 10px; }
.page-hero-body p.lead { font-size: 15.5px; color: #c7c2e6; margin: 0; }

/* ---------- Body ---------- */
section.body-sec { padding: 48px 0 64px; }
.panel { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; }

/* FAQ */
.faq-category { margin: 26px 0 10px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--purple); }
.faq-category:first-child { margin-top: 0; }
details.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); margin-bottom: 10px; }
details.faq-item summary { cursor: pointer; font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 10px; }
details.faq-item summary i { color: var(--purple); font-size: 16px; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item[open] summary { margin-bottom: 8px; }
details.faq-item .a { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; padding-left: 26px; }

/* Rules */
.simple-rules-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.simple-rules-list li { display: flex; align-items: center; gap: 16px; font-size: 15.5px; }
.simple-rules-list .rule-icon { font-size: 24px; flex-shrink: 0; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy); color: #cfc9ea; padding: 40px 0 28px; text-align: center; font-size: 13.5px; }
footer.site-footer .logo-img { height: 34px; margin-bottom: 12px; }
