/* NOVAWAR minimal theme — keep original button/font design */
html { scroll-behavior: smooth; }

/* Space for fixed X bar so page content starts below it */
:root {
  --novawar-topbar-h: 48px;
}
body.body-8,
body {
  padding-top: var(--novawar-topbar-h) !important;
}

/* TOP: X COMING SOON — always first thing users see */
.novawar-topbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 2147483000 !important; /* above .br-navbar (99999) */
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 16px;
  min-height: var(--novawar-topbar-h);
  box-sizing: border-box;
  background: #000 !important;
  border-bottom: 1px solid rgba(255,255,255,.22);
  color: #fff !important;
  font-family: Kanit, system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Push fixed/sticky site navbar below the X bar */
.br-navbar,
.navbar-4,
.navbar-5,
.w-nav.br-navbar {
  top: var(--novawar-topbar-h) !important;
}
.novawar-topbar strong { color: #fff; font-weight: 800; }
.novawar-topbar .novawar-x-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  font-weight: 700;
}
.novawar-topbar .novawar-x-pill span.xmark {
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}
.novawar-topbar a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.35);
}
.novawar-topbar a:hover { opacity: .85; }

/* CA bar under navbar */
.hood-ca-bar, .novawar-ca-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  padding: 12px 18px;
  margin: 12px auto;
  max-width: 780px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #fff;
  font-family: Kanit, system-ui, sans-serif;
  font-size: 14px;
  letter-spacing: .04em;
  position: relative;
  z-index: 5;
}
.hood-ca-bar button, .novawar-ca-bar button {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.hood-ca-bar button:disabled, .novawar-ca-bar button:disabled {
  opacity: .55; cursor: not-allowed;
}
.hood-ca-bar a, .novawar-ca-bar a {
  color: #fff; font-weight: 700; text-decoration: none;
}

a.social-icon.twitter.is-disabled,
a[data-x-link].is-disabled,
a.social-icon.is-disabled {
  opacity: .4;
  pointer-events: none;
  cursor: default;
}

/* Story panels */
.hood-story-panel, .novawar-story-panel {
  width: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 28px 24px;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  color: #fff;
}
.hood-story-kicker, .novawar-story-kicker {
  font-family: Kanit, system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .85;
}
.hood-story-title, .novawar-story-title {
  font-family: Kanit, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.15;
  margin: 0;
}
.hood-story-body, .novawar-story-body {
  font-family: Kanit, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  opacity: .92;
  margin: 0;
  max-width: 62ch;
}

/* Hide Google Play / App Store completely */
a.google-play,
a.app-store,
.store-button,
.store-button a,
img[src*="Google Play"],
img[src*="GooglePlay"],
img[src*="App Store"],
img[src*="App%20Store"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.hood-x-soon, .novawar-x-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px auto 10px;
  padding: 12px 22px;
  max-width: 360px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-family: Kanit, system-ui, sans-serif;
  letter-spacing: .06em;
}
.hood-x-soon-mark { font-size: 1.35rem; font-weight: 800; }
.hood-x-chip, .novawar-x-chip {
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  letter-spacing: .08em;
  white-space: nowrap;
}

a.social-icon.twitter::after {
  content: "COMING SOON";
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: .08em;
  white-space: nowrap;
  color: rgba(255,255,255,.75);
  font-family: Kanit, system-ui, sans-serif;
}
a.social-icon.twitter { position: relative; }

@media (max-width: 767px) {
  :root { --novawar-topbar-h: 56px; }
  .novawar-topbar {
    font-size: 11px;
    gap: 8px;
    padding: 8px 10px;
    min-height: var(--novawar-topbar-h);
  }
  .hood-ca-bar, .novawar-ca-bar { border-radius: 16px; font-size: 12px; margin: 8px 12px; }
}

/* NOVAWAR logo sizing */
img[src*="novawar-logo-white.svg"],
img[alt="$NOVAWAR"] {
  height: 36px !important;
  width: auto !important;
  max-width: 200px;
  object-fit: contain;
}
.br-navbar img[src*="novawar"],
.navbar-4 img[src*="novawar"],
.navbar-5 img[src*="novawar"] {
  height: 32px !important;
  width: auto !important;
}
footer img[src*="novawar"],
.footer img[src*="novawar"] {
  height: 40px !important;
  width: auto !important;
}
