/* Sasquatch Ninja Games — studio hub (apex + trivia) */

:root {
  --ink: #f4f1ea;
  --muted: #b7c4c3;
  --bg: #07090c;
  --panel: #10151a;
  --line: rgba(255, 255, 255, 0.1);
  --teal: #2a8f88;
  --teal-deep: #1a5f5a;
  --orange: #e07030;
  --orange-hot: #ff7a2e;
  --font: "Outfit", "Segoe UI", system-ui, sans-serif;
  --display: "Bebas Neue", "Oswald", Impact, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { min-height: 100%; }

body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(42, 143, 136, 0.18), transparent 55%),
    radial-gradient(900px 500px at -10% 110%, rgba(224, 112, 48, 0.12), transparent 50%),
    var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: var(--orange-hot); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: #111;
  padding: 0.5rem 0.8rem;
  z-index: 10;
}

.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.studio-header,
.studio-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #f3efe6;
  border: 2px solid var(--teal);
}

.brand-name {
  font-family: var(--display);
  letter-spacing: 0.06em;
  font-size: 1.45rem;
  line-height: 1;
}

.brand-name span { color: var(--teal); }

.header-nav {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.header-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.92rem;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  max-width: 1120px;
  margin: 0 auto 2.5rem;
  padding: 0 1.4rem;
}

.hero-banner {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  object-fit: cover;
  max-height: 420px;
}

.hero-copy {
  margin-top: 1.6rem;
  max-width: 720px;
}

.eyebrow {
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin-bottom: 0.7rem;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 38rem;
}

.products {
  max-width: 1120px;
  margin: 0 auto 3rem;
  padding: 0 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
}

.card-art {
  height: 190px;
  object-fit: cover;
  width: 100%;
  background: #0b1014;
}

.card-art.placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(42, 143, 136, 0.35), transparent 50%),
    #0d1418;
}

.card-art.placeholder img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px solid var(--teal);
}

.card-body {
  padding: 1.15rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.card-body h2 {
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
}

.card-body p {
  color: var(--muted);
  flex: 1;
}

.pill {
  align-self: flex-start;
  margin-top: 0.4rem;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill-live {
  background: var(--orange);
  color: #1a0d06;
}

.pill-soon {
  background: rgba(42, 143, 136, 0.2);
  color: #9fe3de;
  border: 1px solid var(--teal);
}

.studio-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.studio-footer a { color: var(--muted); text-decoration: none; }
.studio-footer a:hover { color: var(--ink); }

.trivia-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 1.4rem 3rem;
  text-align: center;
}

.trivia-mark {
  width: 160px;
  height: 160px;
  margin: 1.2rem auto 1.4rem;
  border-radius: 50%;
  border: 3px solid var(--teal);
  background: #f3efe6;
  object-fit: cover;
}

.trivia-main h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  letter-spacing: 0.05em;
  line-height: 0.95;
}

.trivia-main .lead { margin: 0.8rem auto 1.4rem; }

.cta-row {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

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

.btn-primary {
  background: var(--orange);
  color: #1a0d06;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}

@media (max-width: 800px) {
  .products { grid-template-columns: 1fr; }
  .studio-header { flex-direction: column; align-items: flex-start; }
  .hero-banner { max-height: 240px; }
}
