/* Colors, radii and font match the in-game GUI (CrabClient/src/gui) so the site reads as the same product. */
:root {
  --bg: #0f0f11;
  --card: #141414;      /* GREY_14, panel fill */
  --grey-99: #999999;
  --grey-dd: #dddddd;
  --accent: #ff4848;    /* DEFAULT_ACCENT */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
  background: var(--bg);
  color: var(--grey-dd);
  -webkit-font-smoothing: antialiased;
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid #1f1f23;
}
.topbar-inner {
  max-width: 1200px;
  height: 72px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; }
.brand svg { color: var(--accent); }
.links { display: flex; gap: 32px; height: 100%; margin: 0; padding: 0; list-style: none; }
.links li { display: flex; }
.links a, .links .soon {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 15px;
  color: var(--grey-99);
  text-decoration: none;
}
.links a:hover { color: #fff; }
.links a[aria-current="page"] { color: #fff; font-weight: 700; }
.links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px; /* sits on the bar's bottom border */
  height: 2px;
  border-radius: 1px;
  background: var(--accent);
}
.links .soon { cursor: default; }
.links .soon small { font-size: 11px; font-weight: 700; color: var(--grey-99); background: #1f1f23; padding: 2px 6px; border-radius: 5px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 120px;
}

.hero { text-align: center; padding: 120px 0 120px; }
.hero h1 { margin: 0; font-size: clamp(40px, 13vw, 144px); font-weight: 700; color: #fff; letter-spacing: -0.04em; line-height: 1; }
.accent { color: var(--accent); }
.hero p { color: var(--grey-99); font-size: clamp(17px, 2vw, 20px); margin: 20px 0 0; }

/* Screenshot on one side, a short heading and line on the other; the second section flips sides. */
.feature {
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: center;
  gap: 64px;
}
.feature + .feature { margin-top: 120px; }
.feature.flip { grid-template-columns: 2fr 3fr; }
.feature.flip .shot { order: 2; }

.copy h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.copy p { margin: 16px 0 0; font-size: 18px; line-height: 1.6; color: var(--grey-99); max-width: 38ch; }

.shot { display: block; width: 100%; height: auto; border-radius: 12px; }
.shot.loader { border-radius: 0; } /* the SVG clips its own rounded window */

@media (max-width: 480px) {
  .topbar-inner { height: 60px; gap: 16px; }
  .links { gap: 20px; }
  .links .soon small { display: none; }
}
@media (max-width: 340px) {
  .brand .brand-name { display: none; }
}

@media (max-width: 760px) {
  .hero { padding: 96px 0 72px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 24px; }
  .feature.flip .shot { order: 0; }
  .feature + .feature { margin-top: 72px; }
}
