/* starharvester.com's home page: the game's own type (Noto Sans), its panels and its yellow. */

@font-face { font-family: "Noto Sans"; font-weight: 400; font-display: swap; src: url("/fonts/NotoSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans"; font-weight: 700; font-display: swap; src: url("/fonts/NotoSans-Bold.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans"; font-weight: 800; font-display: swap; src: url("/fonts/NotoSans-ExtraBold.woff2") format("woff2"); }

:root {
  --bg: #0b0d10;
  --panel: rgba(19, 21, 25, 0.92);
  --panel-border: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.66);
  --accent: #ffd740;
  --wide: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  /* The containing block of the depth ladder, the first thing in <body> (partials/signal-ladder.html). */
  position: relative;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
img, video { max-width: 100%; height: auto; display: block; }

h2 {
  font-weight: 800;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

/* The bar across the top */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(11, 13, 16, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--panel-border);
}
.top-name { color: var(--text); font-weight: 800; letter-spacing: 0.12em; text-decoration: none; font-size: 0.95rem; }
.top-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.92rem; }
.top-nav a { color: var(--muted); text-decoration: none; }
.top-nav a:hover { color: var(--text); }

/* The game's title art over its own sky */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(32px, 6vw, 72px) 16px clamp(40px, 7vw, 88px);
  background:
    linear-gradient(to bottom, rgba(11, 13, 16, 0.15), rgba(11, 13, 16, 0.55) 60%, var(--bg)),
    url("/images/game/space.jpg") center / cover no-repeat;
}
.hero-logo { width: min(760px, 100%); }
.hero-tagline {
  margin: 4px 0 0;
  font-weight: 800;
  font-size: clamp(1.15rem, 0.8rem + 1.6vw, 2rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}
.hero-line {
  max-width: 34em;
  margin: 14px auto 26px;
  font-weight: 700;
  font-size: clamp(1.05rem, 0.9rem + 0.7vw, 1.4rem);
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}
.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-note { margin: 14px 0 0; color: var(--muted); font-size: 0.92rem; }

.button {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  text-decoration: none;
}
.button:hover { border-color: var(--text); }
.button.primary { background: var(--accent); border-color: var(--accent); color: #111; }
.button.primary:hover { background: #ffe57a; }

section { padding: 0 clamp(16px, 4vw, 40px); }

/* The trailer */
.trailer { max-width: var(--wide); margin: 0 auto clamp(48px, 7vw, 88px); }
.trailer video { width: 100%; border-radius: 12px; border: 1px solid var(--panel-border); background: #000; }

/* Everywhere the game is */
.get { max-width: var(--wide); margin: 0 auto clamp(56px, 8vw, 104px); text-align: center; }
.stores {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  text-align: left;
}
.store {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 14px;
  align-items: center;
  height: 100%;
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
}
.store img { grid-row: span 2; }
a.store { border-left: 4px solid var(--accent); }
a.store:hover { border-color: var(--accent); }
.store-name { font-weight: 800; }
.store-platforms { color: var(--muted); font-size: 0.9rem; }
.store.soon { opacity: 0.62; }
.soon-tag {
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 2px;
}

/* What the game is, in its own pictures */
.features { max-width: var(--wide); margin: 0 auto; display: grid; gap: clamp(48px, 7vw, 96px); }
.feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.feature:nth-child(even) img { order: 2; }
.feature img { border-radius: 12px; border: 1px solid var(--panel-border); }
.feature p { color: var(--muted); margin: 0 0 1.2em; }

/* The journal */
.journal { max-width: 760px; margin: clamp(72px, 9vw, 120px) auto 0; }
.journal ul { list-style: none; margin: 0; padding: 0; }
.journal li { padding: 16px 0; border-top: 1px solid var(--panel-border); }
.journal li a { color: var(--text); font-weight: 700; text-decoration: none; }
.journal li a:hover { color: var(--accent); }
.journal li p { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }
.journal-date { display: block; color: var(--accent); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* The bottom */
.bottom {
  margin-top: clamp(72px, 9vw, 120px);
  padding: 40px 16px 48px;
  border-top: 1px solid var(--panel-border);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.studio img { width: 210px; margin: 0 auto 18px; }
.bottom nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 14px; }
.bottom a { color: var(--muted); }
.bottom a:hover { color: var(--text); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) img { order: 0; }
  .top-nav a:nth-child(n+3) { display: none; }
  .bottom-copy { display: block; }
}
