/* 7ax.fun — shared skin. Base: Caldera "Pixelated Cyber-Playground",
   palette extended with an eco green and a deep blue. */

:root {
  --canvas: #e2e2df;
  --card: #f7f6f2;
  --ink: #070607;
  --white: #ffffff;
  --muted: #6b6b66;

  --orange: #fc5000;
  --blue: #1b4dd8;
  --green: #14a05a;
  --glare: #f5f28e;

  --r-card: 40px;
  --r-pill: 800px;

  --pad-card: 40px;
  --gap-section: 40px;
  --page: 1200px;

  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "DM Sans", Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.94;
  margin: 0;
}

a { color: var(--ink); }

/* ---------- nav ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-dot {
  width: 14px;
  height: 14px;
  background: var(--orange);
}

.nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-link {
  background: var(--card);
  border-radius: var(--r-card);
  padding: 10px 18px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.nav-link:hover { background: var(--glare); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease;
}

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

.btn-primary { background: var(--orange); color: var(--white); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--card); }

/* ---------- pills ---------- */

.pill {
  display: inline-block;
  border-radius: var(--r-pill);
  padding: 5px 14px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pill-live { background: var(--green); color: var(--white); }
.pill-soon { background: transparent; color: var(--muted); border: 1px solid var(--muted); }
.pill-ink { background: var(--ink); color: var(--card); }

/* ---------- cards ---------- */

.card {
  background: var(--card);
  border-radius: var(--r-card);
  padding: var(--pad-card);
}

/* ---------- pixel decoration ---------- */

.pixels {
  display: grid;
  grid-template-columns: repeat(var(--cols, 6), 1fr);
  gap: 4px;
  width: 100%;
}

.pixels i { aspect-ratio: 1; display: block; }

/* ---------- faq on game pages ----------
   Own prefix on purpose: decompose/detail.css already owns .faq-*
   and is loaded after this file. */

.g-faq { margin-top: var(--gap-section); }
.g-faq h2 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 10px; }
.g-faq-item { border-top: 2px solid rgba(7, 6, 7, 0.12); padding: 18px 0; }
.g-faq-item:last-child { border-bottom: 2px solid rgba(7, 6, 7, 0.12); }
.g-faq-q { font-weight: 700; margin: 0 0 6px; }
.g-faq-a { margin: 0; color: var(--muted); }

/* ---------- more games strip ---------- */

.morelinks {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: var(--gap-section);
}

.morelinks .share-label { margin-right: 0; }

/* ---------- share ---------- */

.share {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: var(--gap-section);
}

.share-label {
  font-family: var(--font-display);
  font-size: 26px;
  margin-right: 4px;
}

.share-btn {
  background: var(--card);
  border: 2px solid rgba(7, 6, 7, 0.12);
  border-radius: var(--r-pill);
  padding: 9px 18px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease;
}

.share-btn:hover { background: var(--glare); transform: translateY(-2px); }

.share-btn[data-share="native"] {
  background: var(--orange);
  color: var(--white);
  border-color: transparent;
}

.share-copied { background: var(--green); color: var(--white); }

/* ---------- footer ---------- */

.site-footer {
  border-top: 2px solid rgba(7, 6, 7, 0.12);
  margin-top: 80px;
  padding: 32px 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

.site-footer a { color: var(--ink); }

@media (max-width: 640px) {
  :root { --pad-card: 28px; --r-card: 28px; }
  .wrap { padding: 0 16px; }
}
