/* ==========================================================================
   Amigatos Marketing Website Stylesheet (amigatos.com)
   Design System: Neo-Retro Arcade Flyer on warm paper
   ========================================================================== */

:root {
  --nav-height: 72px;
  --max-w: 1200px;
}

/* Base resets & layout */
html {
  scroll-behavior: smooth;
}

body.marketing {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-image: 
    radial-gradient(rgba(36, 24, 38, 0.04) 1px, transparent 0);
  background-size: 20px 20px;
}

/* Accessibility: focus visible */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--tangerine);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------- Dev Banner */
.dev-banner {
  background: var(--ink);
  color: var(--paper);
  padding: 8px 16px;
  font-size: 13px;
  font-family: var(--font-mono);
  border-bottom: 2px solid var(--tangerine);
  position: relative;
  z-index: 1000;
}

.dev-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.dev-banner__info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dev-banner__badge {
  background: var(--butter);
  color: var(--ink);
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.dev-banner__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dev-banner__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(255, 243, 226, 0.12);
  color: var(--paper);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 243, 226, 0.25);
  font-size: 11px;
  transition: all 120ms ease;
}

.dev-banner__link:hover {
  background: var(--tangerine);
  color: var(--ink);
  border-color: var(--tangerine);
}

.dev-banner__link--primary {
  background: var(--tangerine);
  color: var(--ink);
  font-weight: 700;
  border-color: var(--tangerine);
}

.dev-banner__link--primary:hover {
  background: var(--butter);
  border-color: var(--butter);
}

/* ---------------------------------------------------------------- Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--ink); /* #241826 - dark arcade marquee */
  border-bottom: var(--line) solid var(--ink);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: box-shadow 0.2s ease;
  color: var(--paper);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.header-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--paper);
}

.brand-link:hover .brand__mark {
  transform: rotate(-4deg) scale(1.05);
}

.brand__mark {
  width: 38px;
  height: 38px;
  flex: none;
  transition: transform 180ms var(--ease-pop);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.1vw, 28px);
  letter-spacing: -0.035em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--paper);
}

.wordmark em {
  font-style: normal;
  color: var(--tangerine);
}

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

.nav-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper);
  transition: color 140ms ease;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--tangerine);
  transition: width 160ms ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 2px solid rgba(255, 243, 226, 0.35);
  border-radius: 8px;
  background: #1a121d;
  box-shadow: 2px 2px 0 #000;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--paper);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.03em;
  padding: 10px 18px;
  border-radius: 12px;
  border: var(--line) solid var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
  white-space: nowrap;
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink) !important;
}

.btn--primary {
  background: var(--tangerine);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  background: #ff7d4d;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn--outline {
  background: var(--paper-card);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.btn--outline:hover {
  background: var(--paper-deep);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn--butter {
  background: var(--butter);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.btn--butter:hover {
  background: #ffd56b;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn--mint {
  background: var(--mint);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.btn--mint:hover {
  background: #99ebce;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn--xl {
  font-size: 18px;
  padding: 14px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.btn--xl:hover {
  box-shadow: 9px 9px 0 var(--ink);
}

/* ---------------------------------------------------------------- Hero Section */
.hero-section {
  position: relative;
  padding: 40px 24px 64px;
  max-width: min(1560px, 95vw);
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(380px, 460px) 1.45fr;
  gap: 44px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 14px;
  background: var(--paper-deep);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 var(--ink);
}

.eyebrow-pill .star {
  color: var(--tangerine);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
  text-transform: uppercase;
}

.hero-title em {
  font-style: normal;
  color: var(--tangerine);
  position: relative;
  display: inline-block;
}

.hero-title em::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 12px;
  background: var(--butter);
  opacity: 0.5;
  z-index: -1;
  transform: skewX(-12deg);
}

.hero-lede {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 6px;
}

/* Quick join card */
.quick-join-box {
  background: var(--paper-card);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  max-width: 480px;
  margin-top: 8px;
  position: relative;
}

.quick-join-box::before {
  content: 'QUICK JOIN';
  position: absolute;
  top: -10px;
  right: 18px;
  background: var(--butter);
  border: 2px solid var(--ink);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 6px;
}

.quick-join-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 8px;
}

.quick-join-form {
  display: flex;
  gap: 8px;
}

.quick-join-input {
  flex: 1;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: inset 1px 1px 0 rgba(0,0,0,0.06);
}

.quick-join-input::placeholder {
  color: #a89fa8;
  letter-spacing: 0.08em;
}

.quick-join-btn {
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 0 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: all 120ms ease;
  white-space: nowrap;
}

.quick-join-btn:hover {
  background: var(--tangerine);
  color: var(--ink);
  transform: translateY(-1px);
}

.quick-join-help {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* ---------------------------------------------------------------- Hero Stage */
.hero-stage-card {
  background: var(--ink);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px 12px;
  color: var(--paper);
  border-bottom: 2px solid rgba(255, 243, 226, 0.15);
  margin-bottom: 10px;
}

.hero-stage-dots {
  display: flex;
  gap: 6px;
}

.hero-stage-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
}

.hero-stage-dot--red { background: var(--berry); }
.hero-stage-dot--yellow { background: var(--butter); }
.hero-stage-dot--green { background: var(--mint); }

.hero-stage-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--butter);
  text-transform: uppercase;
}

.hero-stage-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stage-bg-btn {
  background: rgba(255, 243, 226, 0.12);
  border: 1.5px solid rgba(255, 201, 74, 0.45);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  user-select: none;
}

.stage-bg-btn:hover {
  background: rgba(255, 201, 74, 0.25);
  border-color: var(--butter);
  color: var(--butter);
  transform: translateY(-1px);
}

.stage-bg-btn:active {
  transform: translateY(0);
}

.stage-bg-caret {
  font-size: 9px;
  opacity: 0.7;
}

.hero-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1a121d;
  border-radius: 14px;
  border: 2px solid rgba(255, 243, 226, 0.2);
  overflow: hidden;
}

#hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  cursor: pointer;
}

.canvas-scanlines {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(18, 16, 20, 0) 50%,
    rgba(0, 0, 0, 0.25) 50%
  );
  background-size: 100% 4px;
  pointer-events: none;
  opacity: 0.6;
}

.hero-canvas-hint {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(36, 24, 38, 0.75);
  color: var(--paper);
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  pointer-events: none;
  white-space: nowrap;
}

.hero-badges-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 12px;
  padding: 6px 0;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-badge-item {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
}

.hero-badge-item i {
  color: var(--mint);
  font-style: normal;
}

/* ---------------------------------------------------------------- Section Common */
.section {
  padding: 72px 24px;
  position: relative;
}

.section-container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tangerine);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------------- Modes Showcase */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}

.mode-card {
  background: var(--paper-card);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.mode-card:hover {
  transform: translateY(-4px);
  box-shadow: 10px 10px 0 var(--ink);
}

.mode-card--duelist {
  border-top: 8px solid var(--tangerine);
}

.mode-card--board {
  border-top: 8px solid var(--mint);
}

.mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.mode-card--duelist .mode-pill {
  background: var(--paper-deep);
  color: var(--ink);
}

.mode-card--board .mode-pill {
  background: #d4f7eb;
  color: var(--ink);
}

.mode-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.mode-tagline {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 24px;
  line-height: 1.4;
}

.mode-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mode-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.mode-feature__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: #fff;
  box-shadow: 2px 2px 0 var(--ink);
}

.mode-feature__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2px;
}

.mode-feature__text span {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* Hazard Arenas Mini Showcase */
.sub-showcase-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sub-showcase-title span {
  color: var(--tangerine);
}

.arenas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.arena-chip {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 2px 2px 0 var(--ink);
}

.arena-chip strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: 2px;
}

.arena-chip span {
  display: block;
  font-size: 11px;
  color: var(--ink-soft);
  line-height: 1.3;
}

/* Minigames Mini Showcase */
.minigames-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.minigame-chip {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 2px 2px 0 var(--ink);
}

.minigame-chip__emoji {
  font-size: 18px;
}

.minigame-chip__content {
  flex: 1;
}

.minigame-chip__name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  display: block;
}

.minigame-chip__desc {
  font-size: 11px;
  color: var(--ink-soft);
  display: block;
}

.mode-specs-bar {
  margin-top: auto;
  padding-top: 16px;
  border-top: 2px dashed rgba(36, 24, 38, 0.2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------------- Meet The Real Cats */
.cats-section {
  background: var(--paper-deep);
  border-top: var(--line) solid var(--ink);
  border-bottom: var(--line) solid var(--ink);
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.cat-card {
  background: var(--paper-card);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 160ms ease, box-shadow 160ms ease;
  position: relative;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cat-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.cat-card__identity {
  display: flex;
  flex-direction: column;
}

.cat-card__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.cat-card__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tangerine);
  letter-spacing: 0.05em;
}

.cat-card__archetype-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--paper-deep);
  border: 1.5px solid var(--ink);
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 5px;
  align-self: flex-start;
  box-shadow: 1px 1px 0 var(--ink);
}

.cat-card__bio {
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.cat-move-box {
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
  box-shadow: 2px 2px 0 var(--ink);
}

.cat-move-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tangerine);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 2px;
}

.cat-move-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 3px;
}

.cat-move-desc {
  font-size: 12px;
  line-height: 1.42;
  color: var(--ink-soft);
  margin: 0;
}

.cat-card__tag {
  background: #fff;
  border: 1.5px solid var(--ink);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 1px 1px 0 var(--ink);
}

/* Media Showcase (Photo vs Pixel) */
.cat-media-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #1e1522;
  border: 2px solid var(--ink);
  border-radius: 12px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 16px rgba(0,0,0,0.4);
}

.cat-media-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease;
}

.cat-media-canvas {
  width: 100%;
  height: 100%;
  display: none;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.cat-card.show-pixel .cat-media-photo {
  display: none;
}

.cat-card.show-pixel .cat-media-canvas {
  display: block;
}

.cat-media-toggle {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  background: rgba(36, 24, 38, 0.85);
  border: 1.5px solid var(--paper);
  border-radius: 999px;
  overflow: hidden;
  z-index: 10;
}

.cat-toggle-btn {
  background: none;
  border: none;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  padding: 4px 8px;
  cursor: pointer;
  transition: all 120ms ease;
}

.cat-toggle-btn.active {
  background: var(--tangerine);
  color: var(--ink);
}

.cat-toggle-btn.cat-sound-btn {
  border-left: 1px solid rgba(255, 243, 226, 0.3);
  color: var(--butter);
}

.cat-toggle-btn.cat-sound-btn:hover {
  background: rgba(255, 201, 74, 0.25);
  color: #fff;
}

.cat-toggle-btn.cat-sound-btn.meowing {
  background: var(--mint);
  color: var(--ink);
  transform: scale(1.08);
}

/* Stats Radar / Bars */
.cat-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.cat-stat-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
}

.cat-stat-name {
  width: 58px;
  font-weight: 700;
  color: var(--ink-soft);
}

.cat-stat-bar-track {
  flex: 1;
  height: 10px;
  background: rgba(36, 24, 38, 0.1);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.cat-stat-bar-fill {
  height: 100%;
  background: var(--tangerine);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.cat-stat-val {
  width: 38px;
  text-align: right;
  font-weight: 700;
  color: var(--ink);
}

/* Lore Quote */
.cat-quote {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: auto;
  position: relative;
  font-style: italic;
  box-shadow: 2px 2px 0 var(--ink);
}

.cat-quote::before {
  content: '“';
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--tangerine);
  font-weight: 800;
  margin-right: 4px;
}

/* ---------------------------------------------------------------- Setup / How To Play */
.setup-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.setup-card {
  background: var(--paper-card);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  display: flex;
  flex-direction: column;
}

.setup-step-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: var(--tangerine);
  margin-bottom: 12px;
  text-shadow: 2px 2px 0 var(--ink);
}

.setup-step-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--ink);
}

.setup-step-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.setup-step-visual {
  margin-top: auto;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: 2px 2px 0 var(--ink);
}

.setup-step-visual svg {
  max-width: 100%;
  height: 90px;
  margin: 0 auto;
  display: block;
}

/* Setup Tips */
.setup-tips-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  background: var(--paper-card);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
}

.setup-tip-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
}

.setup-tip-icon {
  font-size: 18px;
}

/* ---------------------------------------------------------------- Mobile & PWA */
.mobile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.platform-card {
  background: var(--paper-card);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.platform-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--paper-deep);
  border: 1.5px solid var(--ink);
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.platform-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.platform-desc {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.platform-perks {
  margin-top: auto;
  list-style: none;
  padding: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.platform-perk {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}

.platform-perk::before {
  content: '✓';
  color: #2fb99a;
  font-weight: 700;
}

/* ---------------------------------------------------------------- Final CTA */
.cta-banner-section {
  padding: 64px 24px 80px;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.cta-banner-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-ticket {
  border: 3px dashed var(--tangerine);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  background: #1a121d;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  color: var(--paper);
  margin-bottom: 14px;
}

.cta-title em {
  font-style: normal;
  color: var(--tangerine);
}

.cta-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 243, 226, 0.8);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------------------------------------------------------------- Footer */
.site-footer {
  background: var(--ink);
  border-top: var(--line) solid var(--ink);
  padding: 56px 24px 32px;
  color: var(--paper);
}

.footer-container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .wordmark {
  color: var(--paper);
}

.footer-brand .wordmark em {
  font-style: normal;
  color: var(--tangerine);
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 243, 226, 0.7);
  margin-top: 10px;
  line-height: 1.5;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--paper);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  text-decoration: none;
  font-size: 14px;
  color: rgba(255, 243, 226, 0.7);
  transition: color 120ms ease;
}

.footer-links a:hover {
  color: var(--tangerine);
}

.footer-notes {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 243, 226, 0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 243, 226, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 243, 226, 0.6);
}

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .setup-steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--ink);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: var(--line) solid var(--ink);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    z-index: 950;
  }
  .nav-links.is-open a {
    color: var(--paper);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 243, 226, 0.12);
  }
  .nav-links.is-open a:hover {
    color: var(--tangerine);
  }
  .mobile-toggle {
    display: flex;
  }
  .mobile-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 42px;
  }
  .cta-title {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------------- Marketing Roster Tabs & Location Search */
.marketing-roster-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.roster-tab {
  background: var(--paper-card);
  border: var(--line) solid var(--ink);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.roster-tab:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--ink);
}

.roster-tab.active {
  background: var(--tangerine);
  color: #fffaf1;
  box-shadow: 4px 4px 0 var(--ink);
}

.marketing-location-box {
  background: var(--paper-card);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.marketing-location-status {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.location-badge {
  background: var(--mint);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1.5px solid var(--ink);
}

.marketing-location-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.marketing-location-text b {
  color: var(--tangerine);
}

.marketing-location-search {
  display: flex;
  gap: 10px;
  max-width: 520px;
}

.marketing-location-search input {
  flex: 1;
  background: #fffaf1;
  border: var(--line) solid var(--ink);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.marketing-location-search input:focus {
  outline: none;
  border-color: var(--tangerine);
}

.cat-card__shelter {
  font-size: 12px;
  font-weight: 700;
  color: var(--slate);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn--adopt {
  background: linear-gradient(135deg, var(--tangerine) 0%, var(--berry) 100%);
  color: #fffaf1 !important;
  font-family: var(--font-display);
  font-weight: 800;
  border: var(--line) solid var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  padding: 12px 18px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.btn--adopt:hover {
  transform: translateY(-2px);
  box-shadow: 5px 5px 0 var(--ink);
}

/* ---------------------------------------------------------------- Waitlist Modal Dialog (modern-web-guidance) */
dialog#waitlist-dialog:modal {
  overscroll-behavior: contain;
  padding: 0;
  border: 4px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--paper-card);
  color: var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  max-width: min(520px, calc(100vw - 32px));
  width: 100%;
  margin: auto;
}

dialog#waitlist-dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background-color: rgba(36, 24, 38, 0.75);
  backdrop-filter: blur(4px);
}

.waitlist-dialog__card {
  position: relative;
  padding: 32px 26px 26px;
}

.waitlist-dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  background: var(--paper-deep);
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 120ms ease, background-color 120ms ease;
}

.waitlist-dialog__close:hover {
  background: var(--tangerine);
  color: #fffaf1;
  transform: scale(1.08);
}

.waitlist-dialog__badge {
  display: inline-block;
  background: var(--tangerine);
  color: #fffaf1;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  margin-bottom: 12px;
}

.waitlist-dialog__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 26px);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.waitlist-dialog__subtitle {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.waitlist-field {
  margin-bottom: 12px;
}

.waitlist-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: var(--ink);
}

.waitlist-req {
  color: var(--berry);
  font-weight: 900;
}

.waitlist-opt {
  font-size: 10px;
  color: var(--ink-soft);
  font-weight: normal;
  text-transform: none;
}

.waitlist-input,
.waitlist-select {
  width: 100%;
  box-sizing: border-box;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.waitlist-input:focus,
.waitlist-select:focus {
  outline: none;
  border-color: var(--tangerine);
  box-shadow: 4px 4px 0 var(--tangerine);
}

.waitlist-field-error {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--berry);
  min-height: 18px;
  margin-top: 4px;
  font-weight: 700;
}

.waitlist-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 500px) {
  .waitlist-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.waitlist-checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 14px;
  cursor: pointer;
  user-select: none;
}

.waitlist-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--tangerine);
  cursor: pointer;
}

.waitlist-checkbox-text {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
}

.waitlist-checkbox-text strong {
  color: var(--ink);
}

.waitlist-actions {
  margin-top: 10px;
}

.waitlist-submit-btn {
  width: 100%;
  justify-content: center;
}

.waitlist-disclaimer {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--ink-soft);
  text-align: center;
  margin: 12px 0 0;
}

/* Success state */
.waitlist-success {
  text-align: center;
  padding: 12px 0 6px;
}

.waitlist-success__icon {
  font-size: 44px;
  margin-bottom: 10px;
}

.waitlist-success__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 10px;
}

.waitlist-success__msg {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.waitlist-success__cat-badge {
  background: var(--paper-deep);
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  margin-bottom: 22px;
  box-shadow: 3px 3px 0 var(--ink);
  display: inline-block;
}

.footer-waitlist-btn {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 120ms ease;
}

.footer-waitlist-btn:hover {
  color: var(--tangerine);
}
