:root {
  --battlejar-blue: #2f6bff;
  --battlejar-green: #4cb648;
  --battlejar-orange: #f08a24;
  --battlejar-red: #e14b4b;
  --battlejar-violet: #7b4bf0;
  --battlejar-white: #f5f5f5;
}

body {
  background: #fff;
}

.top-nav {
  z-index: 1030;
  background: linear-gradient(135deg, #122038 0%, #1e3560 45%, #182d54 100%) !important;
}

.page-wrapper {
  position: relative;
  min-height: 100vh;
  padding-top: 52px;
}

.page-bg {
  position: absolute;
  left: var(--bs-gutter-x, 0.75rem);
  right: var(--bs-gutter-x, 0.75rem);
  top: 52px;
  bottom: 0;
  background: url("../img/spaceship_bg1.png") center top / cover no-repeat;
  z-index: 0;
  pointer-events: none;
}

.content-layer {
  position: relative;
  z-index: 1;
}

.hero {
  background: linear-gradient(135deg, #122038 0%, #1e3560 45%, #182d54 100%);
}

.hero > div {
  padding-left: var(--bs-gutter-x, 0.75rem);
  padding-right: var(--bs-gutter-x, 0.75rem);
}

.overview-text-col {
  padding-left: 0;
  font-size: 1.125rem;
}

.rate-limiter-info {
  font-size: 0.875rem;
}

.alert-beta {
  background-color: #d4e4f7;
  border-color: #b8d4ee;
  color: #1a3a52;
}

.alert-beta-footnote {
  font-size: 0.7rem;
}

.color-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.color-dot.white {
  border: 1px solid #cfcfcf;
}

.section-card {
  border: 0;
  box-shadow: 0 12px 28px rgba(15, 15, 32, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

.section-card .card-body {
  background: transparent;
}

.how-to-content {
  background: rgba(255, 255, 255, 0.88);
}

#commanderHowtoAccordion .accordion-item {
  background: rgba(255, 255, 255, 0.85);
}

#commanderHowtoAccordion .accordion-item .accordion-button {
  background: rgba(255, 255, 255, 0.9);
}

#commanderHowtoAccordion .accordion-item .accordion-button:not(.collapsed) {
  background: rgba(245, 245, 245, 0.95);
}

#commanderHowtoAccordion .accordion-body {
  background: transparent;
}

.page-footer {
  background: rgba(255, 255, 255, 0.88);
}

.text-link-same {
  color: inherit;
  text-decoration: none;
}

.text-link-same:hover {
  text-decoration: underline;
}

.footer-link {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
}

#nav-game-ui.game-running {
  color: var(--battlejar-green) !important;
}

.wip-badge {
  letter-spacing: 0.05em;
}

pre {
  background: #0f111a;
  color: #f1f1f1;
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
}
