/* ==========================================================================
   KittyCat.Games — Brochure Site Stylesheet (https://kittycat.games)
   ========================================================================== */
:root {
  --bg-dark: #090d16;
  --bg-surface: #131b2e;
  --bg-card: #1c2742;
  --gold: #ffd32a;
  --green: #05c46b;
  --red: #ff3f34;
  --cyan: #00d8d6;
  --text-light: #f8f9fa;
  --text-dim: #a4b0be;
  --font-sans: 'Trebuchet MS', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'Courier New', ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-sans);
  line-height: 1.55;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 13, 22, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--gold);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  font-size: 2rem;
}

.brand-title {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.brand-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a.cta-pill {
  background: var(--green);
  color: #06150d;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 800;
}

/* Hero */
.hero-section {
  background: radial-gradient(circle at 50% 10%, #2c1654 0%, var(--bg-dark) 72%);
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
  border-bottom: 1px solid #2f3542;
}

.hero-content {
  max-width: 980px;
  margin: 0 auto;
}

.protocol-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.pill {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pill.green {
  background: rgba(5, 196, 107, 0.2);
  border: 1px solid var(--green);
  color: #55efc4;
}

.pill.gold {
  background: rgba(255, 211, 42, 0.2);
  border: 1px solid var(--gold);
  color: var(--gold);
}

.pill.red {
  background: rgba(255, 63, 52, 0.2);
  border: 1px solid var(--red);
  color: #ff7675;
}

.hero-section h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-lead {
  font-size: 1.12rem;
  color: #dfe4ea;
  max-width: 820px;
  margin: 0 auto 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-hero {
  text-decoration: none;
  padding: 0.85rem 1.65rem;
  border-radius: 10px;
  font-weight: 900;
  font-size: 1.05rem;
  transition: transform 0.15s ease;
}

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

.btn-hero.primary {
  background: var(--gold);
  color: #111;
  box-shadow: 0 8px 24px rgba(255, 211, 42, 0.3);
}

.btn-hero.secondary {
  background: var(--bg-card);
  color: #fff;
  border: 2px solid var(--cyan);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin: 0;
}

.metric-box {
  background: rgba(28, 39, 66, 0.8);
  border: 1px solid #3c486b;
  border-radius: 10px;
  padding: 0.9rem;
}

.metric-box dt {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.metric-box dd {
  margin: 0.25rem 0 0;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--gold);
}

/* Sections */
.section-block {
  max-width: 1320px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.section-block.alt-bg {
  max-width: none;
  background: var(--bg-surface);
}

.section-block.alt-bg > * {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 0.1em;
}

.section-header h2 {
  font-size: 2rem;
  margin: 0.35rem 0 0.75rem;
  color: var(--gold);
}

/* Spin-Off Cards Grid */
.spinoff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.35rem;
}

.spinoff-card {
  background: var(--bg-card);
  border: 2px solid var(--game-accent, var(--gold));
  border-radius: 14px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}

.spinoff-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.spinoff-icon {
  font-size: 2.3rem;
}

.spinoff-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.badge-tag {
  font-size: 0.72rem;
  font-weight: 900;
  background: var(--game-accent, var(--gold));
  color: #090d16;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

.badge-players {
  font-size: 0.75rem;
  color: #55efc4;
  font-family: var(--font-mono);
}

.spinoff-card h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #fff;
}

.spinoff-genre {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gold);
}

.spinoff-desc {
  margin: 0;
  font-size: 0.9rem;
  color: #dfe4ea;
  flex: 1;
}

.spinoff-mechanic {
  background: rgba(9, 13, 22, 0.65);
  border-left: 3px solid var(--cyan);
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  border-radius: 6px;
}

.spinoff-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.btn-launch,
.btn-duel {
  flex: 1;
  text-align: center;
  text-decoration: none;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.88rem;
}

.btn-launch {
  background: var(--green);
  color: #06150d;
}

.btn-duel {
  background: rgba(255, 211, 42, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
}

/* Chia Architecture Steps */
.channel-architecture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.arch-step {
  background: var(--bg-card);
  border: 1px solid #3c486b;
  border-radius: 12px;
  padding: 1.25rem;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--cyan);
}

.arch-step h3 {
  margin: 0.4rem 0;
  color: var(--gold);
}

.arch-step p {
  margin: 0;
  font-size: 0.88rem;
  color: #dfe4ea;
}

.chialisp-figure {
  margin: 0;
  background: #070a12;
  border: 2px solid #2f3542;
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.chialisp-figure figcaption {
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.chialisp-figure pre {
  margin: 0;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #55efc4;
}

/* 10 Named Cats Showcase */
.cat-showcase-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 1rem;
}

.cat-card {
  background: var(--bg-card);
  border-top: 4px solid var(--cat-color, #ff8c24);
  border-radius: 10px;
  padding: 1rem;
}

.cat-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cat-num {
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--gold);
}

.cat-icon {
  font-size: 1.5rem;
}

.cat-card h3 {
  margin: 0.35rem 0 0.15rem;
  font-size: 1.1rem;
}

.cat-breed {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.cat-power {
  margin: 0;
  font-size: 0.82rem;
  color: #dfe4ea;
}

/* Live Channels Table */
.channels-table-wrap {
  overflow-x: auto;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid #3c486b;
}

.channels-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.channels-table th,
.channels-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #2f3542;
}

.channels-table th {
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.xch-amount {
  color: #55efc4;
  font-weight: 800;
  font-family: var(--font-mono);
}

.status-pill {
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.status-pill.active,
.status-pill.open {
  background: rgba(0, 216, 214, 0.2);
  color: var(--cyan);
}

.status-pill.settled {
  background: rgba(5, 196, 107, 0.2);
  color: #55efc4;
}

.site-footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-dim);
  font-size: 0.85rem;
  border-top: 1px solid #2f3542;
}
