/*
 * New-player / onboarding pages: /getting-started, /world, /faq, /play
 * and the "New to Haze?" band on the home page. Everything is prefixed
 * `ob-` so it can't collide with the Godlike theme.
 */

:root {
  --ob-accent: #e08821;
  --ob-accent-hi: #f4a13a;
  --ob-panel: #111;
  --ob-panel-2: #141414;
  --ob-line: #2c2c2c;
  --ob-line-soft: #1f1f1f;
  --ob-text: #d4d4d4;
  --ob-muted: #8f8f8f;
  --ob-head: #f4f4f4;
}

/* ---------- hero (wraps the theme's nk-header-title) ---------- */
.ob-hero .nk-header-text { max-width: 860px; margin: 0 auto; }
.ob-hero .ob-hero-eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 4px 12px;
  border: 1px solid rgba(224,136,33,.6); border-radius: 2px;
  color: var(--ob-accent-hi); font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  background: rgba(0,0,0,.35);
}
.ob-hero .ob-hero-lead {
  max-width: 720px; margin: 14px auto 26px; color: #eee; font-size: 1.2rem; line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,.8);
}
.ob-hero .bg-image img { object-fit: cover; }
.ob-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.ob-hero-actions .nk-btn { margin: 0; }
.ob-hero-credit { margin-top: 18px; font-size: 12px; color: rgba(255,255,255,.55); }

/* ---------- section scaffolding ---------- */
.ob-section { padding: 10px 0 0; scroll-margin-top: 90px; }
.ob-head { text-align: center; margin: 0 auto 30px; max-width: 760px; }
.ob-eyebrow {
  display: inline-block; color: var(--ob-accent); font-size: 12px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 8px;
}
.ob-h2 { color: var(--ob-head); font-size: 2.1rem; margin: 0 0 10px; }
.ob-sub { color: var(--ob-muted); font-size: 1.05rem; margin: 0; }
.ob-prose { color: var(--ob-text); font-size: 1.02rem; line-height: 1.75; }
.ob-prose p { margin-bottom: 1em; }
.ob-prose strong { color: var(--ob-head); }
.ob-prose a, .ob-link { color: var(--ob-accent); font-weight: 600; }
.ob-prose a:hover, .ob-link:hover { color: var(--ob-accent-hi); }
.ob-divider { border: 0; border-top: 1px solid var(--ob-line-soft); margin: 60px 0; }

/* ---------- table of contents pills ---------- */
.ob-toc {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  padding: 14px; background: var(--ob-panel); border: 1px solid var(--ob-line); border-radius: 4px;
}
.ob-toc a {
  padding: 6px 14px; border: 1px solid var(--ob-line); border-radius: 20px;
  color: #ccc; font-size: 14px; text-decoration: none; white-space: nowrap;
}
.ob-toc a:hover { border-color: var(--ob-accent); color: #fff; text-decoration: none; }

/* ---------- cards ---------- */
.ob-card {
  height: 100%; padding: 26px 24px; background: var(--ob-panel);
  border: 1px solid var(--ob-line); border-radius: 4px; color: var(--ob-text);
}
.ob-card h3 { color: var(--ob-head); font-size: 1.25rem; margin: 0 0 10px; }
.ob-card p:last-child { margin-bottom: 0; }
.ob-card .ob-card-icon {
  width: 46px; height: 46px; line-height: 46px; text-align: center; border-radius: 50%;
  background: rgba(224,136,33,.12); color: var(--ob-accent); font-size: 20px; margin-bottom: 14px;
}
.ob-card-accent { border-top: 3px solid var(--ob-accent); }

/* ---------- numbered steps ---------- */
.ob-steps { list-style: none; margin: 0; padding: 0; counter-reset: obstep; }
.ob-steps > li {
  position: relative; counter-increment: obstep;
  padding: 0 0 34px 78px; color: var(--ob-text);
}
.ob-steps > li::before {
  content: counter(obstep);
  position: absolute; left: 0; top: 0;
  width: 52px; height: 52px; line-height: 52px; text-align: center; border-radius: 50%;
  background: var(--ob-accent); color: #fff; font-size: 22px; font-weight: 700;
  box-shadow: 0 4px 18px rgba(224,136,33,.35);
}
.ob-steps > li::after {
  content: ""; position: absolute; left: 25px; top: 58px; bottom: 6px;
  width: 2px; background: var(--ob-line);
}
.ob-steps > li:last-child::after { display: none; }
.ob-steps h3 { color: var(--ob-head); font-size: 1.35rem; margin: 10px 0 8px; }
.ob-steps .ob-step-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.ob-steps .ob-step-actions .nk-btn { margin: 0; }
.ob-steps ul { padding-left: 20px; }
.ob-steps ul li { margin-bottom: 6px; }

/* ---------- callouts ---------- */
.ob-callout {
  margin: 14px 0; padding: 12px 16px; background: var(--ob-panel-2);
  border: 1px solid var(--ob-line); border-left: 3px solid var(--ob-accent);
  color: var(--ob-text); font-size: 15px; border-radius: 2px;
}
.ob-callout strong:first-child { color: var(--ob-head); }
.ob-callout-warn { border-left-color: #c84a4a; }
.ob-callout-good { border-left-color: #4caf50; }

.ob-mono {
  display: inline-block; padding: 6px 14px; background: #0b0b0b; border: 1px solid var(--ob-line);
  border-radius: 3px; color: #f4f4f4; font-family: monospace; font-size: 15px; letter-spacing: .5px;
}
code.ob-code {
  padding: 1px 6px; background: #0b0b0b; border: 1px solid var(--ob-line-soft);
  border-radius: 3px; color: var(--ob-accent-hi); font-size: .92em;
}

/* ---------- tables (commands) ---------- */
.ob-table { width: 100%; border-collapse: collapse; color: var(--ob-text); font-size: 15px; }
.ob-table th, .ob-table td { padding: 10px 12px; border-bottom: 1px solid var(--ob-line-soft); vertical-align: top; text-align: left; }
.ob-table th { color: var(--ob-muted); font-weight: 600; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }
.ob-table td:first-child { white-space: nowrap; }
.ob-table-wrap { overflow-x: auto; background: var(--ob-panel); border: 1px solid var(--ob-line); border-radius: 4px; }

/* ---------- glossary ---------- */
.ob-glossary { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 0; }
.ob-glossary > div { padding: 14px 16px; background: var(--ob-panel); border: 1px solid var(--ob-line); border-radius: 4px; }
.ob-glossary dt { color: var(--ob-accent-hi); font-size: 15px; margin-bottom: 4px; }
.ob-glossary dd { margin: 0; color: var(--ob-text); font-size: 14px; line-height: 1.55; }

/* ---------- FAQ (native details/summary, no JS) ---------- */
.ob-faq-group { margin-bottom: 40px; }
.ob-faq-group > h2 { color: var(--ob-head); font-size: 1.4rem; margin-bottom: 14px; }
.ob-faq details {
  background: var(--ob-panel); border: 1px solid var(--ob-line); border-radius: 4px; margin-bottom: 10px;
}
.ob-faq summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; position: relative;
  color: var(--ob-head); font-size: 1.05rem; font-weight: 600;
}
.ob-faq summary::-webkit-details-marker { display: none; }
.ob-faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--ob-accent); font-size: 22px; font-weight: 400;
}
.ob-faq details[open] summary::after { content: "\2212"; }
.ob-faq details[open] summary { border-bottom: 1px solid var(--ob-line-soft); }
.ob-faq .ob-faq-a { padding: 14px 18px 4px; color: var(--ob-text); line-height: 1.7; }
.ob-faq .ob-faq-a a { color: var(--ob-accent); font-weight: 600; }

/* ---------- image strip from the gallery ---------- */
.ob-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ob-strip a { display: block; overflow: hidden; border-radius: 4px; border: 1px solid var(--ob-line); aspect-ratio: 16 / 9; background: #0b0b0b; }
.ob-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ob-strip a:hover img { transform: scale(1.04); }
.ob-figure { margin: 0; }
.ob-figure img { width: 100%; height: auto; border-radius: 4px; border: 1px solid var(--ob-line); display: block; }
.ob-figure figcaption { margin-top: 8px; color: var(--ob-muted); font-size: 13px; text-align: center; }

/* ---------- video ---------- */
.ob-video { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; border: 1px solid var(--ob-line); background: #000; }
.ob-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- "is this for you?" ---------- */
.ob-fit ul { list-style: none; padding: 0; margin: 0; }
.ob-fit li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--ob-line-soft); color: var(--ob-text); }
.ob-fit li:last-child { border-bottom: 0; }
.ob-fit li::before { position: absolute; left: 4px; top: 7px; font-weight: 700; }
.ob-fit-yes li::before { content: "\2713"; color: #4caf50; }
.ob-fit-no li::before { content: "\2715"; color: #c84a4a; }

/* ---------- stat strip ---------- */
.ob-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ob-stat { padding: 18px 12px; text-align: center; background: var(--ob-panel); border: 1px solid var(--ob-line); border-radius: 4px; }
.ob-stat strong { display: block; color: var(--ob-head); font-size: 1.7rem; line-height: 1.2; }
.ob-stat span { color: var(--ob-muted); font-size: 13px; }
.ob-live-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #4caf50; box-shadow: 0 0 0 3px rgba(76,175,80,.18); margin-right: 6px; vertical-align: middle; }

/* ---------- final call to action ---------- */
.ob-cta {
  padding: 46px 24px; text-align: center; background: var(--ob-panel);
  border: 1px solid var(--ob-line); border-top: 3px solid var(--ob-accent); border-radius: 4px;
}
.ob-cta h2 { color: var(--ob-head); margin: 0 0 10px; }
.ob-cta p { color: var(--ob-text); max-width: 620px; margin: 0 auto 22px; }
.ob-cta .ob-hero-actions { justify-content: center; }

/* ---------- home-page "New to Haze?" band ---------- */
.ob-newband {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center;
  padding: 30px; background: var(--ob-panel); border: 1px solid var(--ob-line);
  border-left: 3px solid var(--ob-accent); border-radius: 4px;
}
.ob-newband h2 { color: var(--ob-head); font-size: 1.8rem; margin: 0 0 10px; }
.ob-newband p { color: var(--ob-text); }
.ob-newband-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ob-newband-links .nk-btn { margin: 0; }

/* ---------- mobile visitors (NWN is a desktop game) ---------- */
.ob-mobile-only { display: none; }
@media (max-width: 767px) {
  .ob-mobile-only { display: block; }
  .ob-h2 { font-size: 1.6rem; }
  .ob-hero .ob-hero-lead { font-size: 1.05rem; }
  .ob-steps > li { padding-left: 64px; }
  .ob-steps > li::before { width: 44px; height: 44px; line-height: 44px; font-size: 19px; }
  .ob-steps > li::after { left: 21px; top: 50px; }
  .ob-strip { grid-template-columns: 1fr 1fr; }
  .ob-strip a:nth-child(3) { display: none; }
  .ob-stats { grid-template-columns: 1fr 1fr; }
  .ob-newband { grid-template-columns: 1fr; padding: 22px 18px; }
  .ob-hero-actions .nk-btn { width: 100%; }
}

/* ---------- click-to-play video ---------- */
.ob-video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.ob-video-play img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .25s ease; }
.ob-video-play:hover img { opacity: 1; }
.ob-video-icon {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; line-height: 72px; border-radius: 50%; text-align: center;
  background: rgba(224,136,33,.92); color: #fff; font-size: 26px; padding-left: 5px;
  box-shadow: 0 6px 24px rgba(0,0,0,.6); transition: transform .2s ease;
}
.ob-video-play:hover .ob-video-icon { transform: translate(-50%, -50%) scale(1.08); }
.ob-video-title {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; text-align: left;
  background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #fff; font-size: 15px; font-weight: 600;
}

/* ---------- donate tiers ---------- */
.ob-tier {
  position: relative; height: 100%; display: flex; flex-direction: column;
  padding: 30px 26px; background: var(--ob-panel); border: 1px solid var(--ob-line);
  border-top: 3px solid var(--ob-line); border-radius: 4px; text-align: center; color: var(--ob-text);
}
.ob-tier h3 { color: var(--ob-head); font-size: 1.4rem; margin: 0 0 14px; }
.ob-tier-price { color: var(--ob-head); font-size: 2.6rem; line-height: 1; font-weight: 700; margin-bottom: 4px; }
.ob-tier-price small { font-size: 1rem; color: var(--ob-muted); font-weight: 400; }
.ob-tier-per { color: var(--ob-muted); font-size: 13px; margin-bottom: 20px; }
.ob-tier ul { list-style: none; padding: 18px 0 0; margin: 0 0 24px; border-top: 1px solid var(--ob-line-soft); text-align: left; flex: 1; }
.ob-tier li { position: relative; padding: 6px 0 6px 26px; }
.ob-tier li::before { content: "\2713"; position: absolute; left: 2px; color: var(--ob-accent); font-weight: 700; }
.ob-tier .nk-btn { margin: 0; }
.ob-tier-featured { border-color: rgba(224,136,33,.55); border-top-color: var(--ob-accent); box-shadow: 0 10px 34px rgba(224,136,33,.12); }
.ob-tier-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 4px 14px; border-radius: 999px; background: var(--ob-accent); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
}

/* ---------- features page cards ---------- */
.ob-feat .nk-ibox-cont { text-align: left; }
.ob-feat .nk-ibox-title { text-align: left; }

/* Painted key art with its own torn-parchment edge (transparent PNG/WebP):
   no frame, so it sits directly on the page background. */
.ob-figure-art img { border: 0; border-radius: 0; background: transparent; filter: drop-shadow(0 10px 30px rgba(0,0,0,.55)); }
.ob-strip .photoswipe-description { display: none; }

/* ---------- compact page header (ob_pagehead) ---------- */
.ob-pagehead {
  position: relative; overflow: hidden;
  padding: 34px 0 26px; margin-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.15));
}
.ob-pagehead-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center 40%;
  opacity: .28; filter: saturate(.85);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.ob-pagehead .container { position: relative; }
.ob-pagehead-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 30px; flex-wrap: wrap; }
.ob-pagehead-text { flex: 1 1 420px; min-width: 0; }
.ob-pagehead-crumb { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ob-muted); margin-bottom: 6px; }
.ob-pagehead-crumb a { color: var(--ob-muted); }
.ob-pagehead-crumb a:hover { color: var(--ob-accent); text-decoration: none; }
.ob-pagehead-crumb span { margin: 0 8px; opacity: .5; }
.ob-pagehead-title { font-size: 2.5rem; line-height: 1.1; margin: 0; color: var(--ob-head); }
.ob-pagehead-title { display: flex; align-items: center; gap: 16px; }
.ob-pagehead-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(224,136,33,.12); border: 1px solid rgba(224,136,33,.35);
  color: var(--ob-accent); font-size: 19px;
}
.ob-pagehead-icon svg, .ob-pagehead-icon i { width: 1em; height: 1em; }
.ob-pagehead-lead { margin: 10px 0 0; max-width: 680px; color: #bdbdbd; font-size: 1.02rem; line-height: 1.55; }
.ob-pagehead-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ob-pagehead-actions .nk-btn { margin: 0; }
@media (max-width: 767px) {
  .ob-pagehead { padding: 24px 0 20px; margin-bottom: 22px; }
  .ob-pagehead-title { font-size: 1.9rem; gap: 12px; }
  .ob-pagehead-icon { width: 38px; height: 38px; font-size: 16px; }
  .ob-pagehead-lead { font-size: .95rem; }
  .ob-pagehead-actions { width: 100%; }
  .ob-pagehead-actions .nk-btn { flex: 1 1 calc(50% - 5px); min-width: 0; padding-left: 8px; padding-right: 8px; text-align: center; white-space: nowrap; }
}
