/* Super Jump Bots public site
   Title font: Titan One (SIL Open Font License 1.1), self-hosted.
   Colors match the in-game title screen. No third-party character likenesses. */
@font-face {
  font-family: "TitanOne";
  src: url("fonts/TitanOne-Regular.woff2") format("woff2"),
       url("fonts/TitanOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --sky-top: #050508;
  --ink: #3d2b56;
  --outline: #000;
  --title-fill: #fff6fa;
  --play-blue: #3b8bff;
  --btn-pink: #ff6fa8;
  --cyan: #6de4ff;
  --flame: #ffb14a;
  --paper: #f7f3ea;
  --policy-ink: #132033;
  --muted: #4d5c70;
  --link: #0a62c8;
  --title-font: "TitanOne", "Trebuchet MS", "Arial Rounded MT Bold", sans-serif;
  --body-font: "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  color-scheme: dark;
  background-color: #050508;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font: 1.05rem/1.6 var(--body-font);
  color: var(--paper);
  background-color: #050508;
  background-image: none;
}

/* Space art on its own layer so filter can saturate the nebula without
   brightening the page. Overlay stays charcoal and slightly lighter than
   before so color shows through; the title screen itself is a fully saturated
   painted sunset with no dim overlay. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
body::before {
  background-image: url("img/bg_space.jpg");
  background-size: cover;
  background-position: center 18%;
  background-repeat: no-repeat;
  filter: saturate(1.9) contrast(1.08);
}
body::after {
  background: linear-gradient(180deg, rgba(18, 18, 22, 0.58) 0%, rgba(18, 18, 22, 0.58) 55%, rgba(18, 18, 22, 0.62) 100%);
}

a { color: var(--cyan); }
a:hover { color: #fff; }

.wrap {
  position: relative;
  z-index: 1;
  width: min(68rem, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.brand-name {
  font-family: var(--title-font);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--title-fill);
  -webkit-text-stroke: 0.045em var(--ink);
  paint-order: stroke fill;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #1a2a4a;
}

nav a {
  color: var(--paper);
  text-decoration: none;
  margin-left: 1.2rem;
  opacity: 0.9;
}

nav a:hover, nav a[aria-current="page"] {
  color: var(--cyan);
  opacity: 1;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* padding-top pulled into h1 margin so Gap A (nav ink → title stroke) can be
     measured and equalized with B and C; values come from Chromium ink metrics. */
  padding: 0 0 3.2rem;
}

.eyebrow {
  display: inline-block;
  margin-top: 14.90625px;
  margin-bottom: 26px;
  padding: 0.2rem 0.75rem;
  border: 1px solid rgba(109, 228, 255, 0.45);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: -21.40625px 0 0;
  font-family: var(--title-font);
  font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 1.0833;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--title-fill);
  -webkit-text-stroke: 0.16em var(--outline);
  paint-order: stroke fill;
  text-shadow:
    3px 0 0 var(--outline),
    -3px 0 0 var(--outline),
    0 3px 0 var(--outline),
    0 -3px 0 var(--outline),
    2px 2px 0 var(--outline),
    -2px 2px 0 var(--outline),
    2px -2px 0 var(--outline),
    -2px -2px 0 var(--outline);
  text-align: center;
}

h1 span {
  display: block;
  padding: 0;
}
h1 span + span {
  margin-top: 0;
}

.lede {
  max-width: 28rem;
  width: 100%;
  margin: 0 auto calc(1.15rem + 1px);
  font-size: 1.15rem;
  color: #d7e7f7;
  text-align: justify;
  text-align-last: center;
  hyphens: none;
  -webkit-hyphens: none;
}

.icon-stage {
  display: grid;
  place-items: center;
  margin: 0 0 1.15rem;
  padding: 0;
}

.icon-stage img {
  width: min(18rem, 70vw);
  height: auto;
  border-radius: 28%;
  box-shadow:
    0 0 0 6px rgba(109, 228, 255, 0.18),
    0 18px 50px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(255, 177, 74, 0.25);
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 1.15rem;
  width: 100%;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 13.5rem;
  padding: 0.85rem 2.6rem 0.7rem;
  border-radius: 999px;
  background: var(--play-blue);
  color: #fff;
  font-family: var(--title-font);
  font-weight: 400;
  font-size: clamp(1.7rem, 5vw, 2.15rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-stroke: 0.09em var(--outline);
  paint-order: stroke fill;
  text-shadow:
    2px 0 0 var(--outline),
    -2px 0 0 var(--outline),
    0 2px 0 var(--outline),
    0 -2px 0 var(--outline),
    1px 1px 0 var(--outline),
    -1px 1px 0 var(--outline),
    1px -1px 0 var(--outline),
    -1px -1px 0 var(--outline);
  border: 6px solid #000;
  outline: none;
  box-shadow: 0 5px 0 #000, 0 14px 28px rgba(0, 0, 0, 0.35);
}

.btn-play:link,
.btn-play:visited,
.btn-play:hover,
.btn-play:focus,
.btn-play:focus-visible,
.btn-play:active {
  color: #fff;
  border: 6px solid #000;
  border-color: #000;
  outline: none;
  box-shadow: 0 5px 0 #000, 0 14px 28px rgba(0, 0, 0, 0.35);
  -webkit-text-stroke: 0.09em #000;
  text-decoration: none;
}

.btn-play:hover,
.btn-play:active {
  filter: brightness(1.08);
}

.btn-play:hover {
  transform: translateY(-1px);
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
}

.btn-blue {
  background: var(--play-blue);
  color: #fff;
}

.btn-blue:hover { color: #fff; filter: brightness(1.08); }

.btn-pink {
  background: var(--btn-pink);
  color: #2a1020;
}

.btn-pink:hover { color: #2a1020; filter: brightness(1.06); }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.soon {
  margin: 0;
  color: #b8c9dc;
  font-size: 0.92rem;
  text-align: center;
  max-width: 36rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0 0 3.5rem;
}

.card {
  padding: 1.15rem 1.2rem;
  border-radius: 1.1rem;
  background: rgba(11, 18, 48, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--flame);
}

.card p { margin: 0; color: #d7e7f7; }

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #c3d2e3;
  font-size: 0.92rem;
}

.policy {
  max-width: 44rem;
  margin: 0 auto 3rem;
  padding: 2rem 1.4rem 2.5rem;
  background: var(--paper);
  color: var(--policy-ink);
  border-radius: 1.2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.policy h1 {
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--policy-ink);
  -webkit-text-stroke: 0;
  paint-order: normal;
  text-shadow: none;
  text-align: left;
}

.policy h1 span {
  display: inline;
}

.policy h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
}

.policy .meta { color: var(--muted); margin-bottom: 1.5rem; }
.policy a { color: var(--link); }
.policy a:hover { color: #083f82; }
.policy p, .policy li { margin: 0.7rem 0; }

@media (max-width: 800px) {
  .features { grid-template-columns: 1fr; }
  .icon-stage img { width: min(14rem, 62vw); }
  .site-header, .site-footer { flex-direction: column; align-items: flex-start; }
  nav a { margin-left: 0; margin-right: 1rem; }
  h1 {
    font-size: clamp(2.3rem, 12vw, 3.4rem);
    letter-spacing: 0.03em;
    margin-top: -9.40625px;
  }
  .eyebrow {
    margin-top: 16.25px;
  }
  .lede {
    max-width: 22.5rem;
    margin-bottom: calc(1.15rem + 2px);
  }
}

