/* Cryptid Gaming landing page styles v1.1.1 (from Claude Design export) */

:root {
  --bg: #0D100B;
  --bg-alt: #11140E;
  --card: #161A12;
  --card-featured: #1D2218;
  --fg: #EEF0E8;
  --muted: #9AA38B;
  --muted-2: #AEB5A0;
  --nav: #C9CFBD;
  --olive: #9DB06A;
  --olive-light: #B5C48A;
  --orange: #E2772D;
  --amber: #FFA500;
  --amber-hover: #FFB733;
  --on-amber: #1A1206;
  --line: rgba(214,226,190,0.08);
  --line-2: rgba(214,226,190,0.10);
  --line-strong: rgba(214,226,190,0.22);
  --display: Montserrat, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Nunito, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--amber-hover); text-decoration: none; }
a:hover { color: #FFC966; }
img { display: block; }
h1, h2, h3, p { margin: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 104px 32px; }

/* Buttons */
.btn {
  display: inline-block;
  white-space: nowrap;
  font-weight: 700;
  border-radius: 10px;
  padding: 16px 28px;
  font-size: 17px;
}
.btn-primary { background: var(--amber); color: var(--on-amber); }
.btn-primary:hover { background: var(--amber-hover); color: var(--on-amber); }
.btn-outline { border: 1px solid var(--line-strong); color: var(--fg); }
.btn-outline:hover { border-color: var(--amber); color: #FFFFFF; }
.btn-sm { border-radius: 8px; font-size: 15px; }
.btn-outline.btn-sm { padding: 10px 18px; }
.btn-primary.btn-sm { padding: 11px 20px; }

/* Shared type */
.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
}
.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.lede { font-size: 17px; color: var(--muted); line-height: 1.5; }
.stack-14 { display: flex; flex-direction: column; gap: 14px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13,16,11,0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--fg); }
.brand:hover { color: var(--fg); }
.brand img { height: 40px; width: auto; }
.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  gap: 6px;
}
.wordmark .w1 { color: var(--olive-light); }
.wordmark .w2 { color: var(--orange); }
.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 15px;
  flex: 1;
  white-space: nowrap;
}
.main-nav a { color: var(--nav); }
.main-nav a:hover { color: #FFFFFF; }
.header-actions { display: flex; gap: 10px; align-items: center; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-glow {
  position: absolute;
  right: -10%;
  top: -20%;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226,119,45,0.16) 0%, rgba(226,119,45,0) 62%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  padding: 96px 32px 88px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 56px;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero h1 span { color: var(--orange); }
.hero-sub {
  font-size: 20px;
  line-height: 1.55;
  color: #B9C0AC;
  max-width: 520px;
  text-wrap: pretty;
}
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  margin-top: 12px;
  border-top: 1px solid var(--line-2);
  padding-top: 24px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat:not(:last-child) {
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid var(--line-2);
}
.stat strong { font-family: var(--display); font-weight: 700; font-size: 20px; }
.stat span { font-size: 14px; color: var(--muted); }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 460px; height: auto; }

/* Games */
.games { border-top: 1px solid var(--line); }
.games .container, .pricing .container { display: flex; flex-direction: column; gap: 48px; }
.games .lede { max-width: 380px; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 20px;
}
.game-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  color: var(--fg);
}
.game-card:hover { border-color: rgba(255,165,0,0.5); color: var(--fg); }
/* Placeholder art until real key art arrives in a later export.
   Art lives in assets/games/; the span fallback shows if an image is missing. */
.game-art {
  aspect-ratio: 4 / 3;
  width: 100%;
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 70% 25%, rgba(226,119,45,0.14), transparent 60%),
    linear-gradient(160deg, #1D2218 0%, #12150F 100%);
  border-bottom: 1px solid var(--line);
}
.game-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game-art span {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(214,226,190,0.22);
  text-align: center;
  padding: 0 16px;
}
.game-meta {
  padding: 20px 22px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.game-meta div { display: flex; flex-direction: column; gap: 4px; }
.game-name { font-family: var(--display); font-weight: 700; font-size: 19px; }
.game-genre { font-size: 14px; color: var(--muted); }
.deploy { font-weight: 700; font-size: 14px; color: var(--amber-hover); }

/* Pricing */
.pricing, .panel-preview {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pricing .head { align-items: center; text-align: center; }
.pricing .lede { max-width: 520px; }
.plan-grid { align-items: stretch; }
.plan {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line-2);
}
.plan.featured {
  background: var(--card-featured);
  border-color: var(--amber);
  box-shadow: 0 20px 60px rgba(255,165,0,0.10);
}
.plan-top { display: flex; justify-content: space-between; align-items: center; min-height: 26px; }
.plan-name { font-family: var(--display); font-weight: 800; font-size: 22px; }
.badge {
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-amber);
  background: var(--amber);
  padding: 5px 9px;
  border-radius: 5px;
}
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.02em;
  color: var(--amber-hover);
}
.plan-price span { font-size: 16px; color: var(--muted); }
.plan-mem { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; justify-content: space-between; gap: 12px; }
.plan-mem .row { font-size: 14px; }
.row span:first-child { color: var(--muted); }
.row span:last-child { font-weight: 700; }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.meter i { height: 6px; border-radius: 3px; background: rgba(214,226,190,0.12); }
.meter i.on { background: var(--olive); }
.specs { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.specs .row { padding: 11px 0; border-bottom: 1px solid rgba(214,226,190,0.07); font-size: 15px; }
.plan .btn-primary {
  margin-top: auto;
  display: block;
  text-align: center;
  padding: 13px 0;
  border-radius: 8px;
  font-size: 16px;
}

/* Features */
.features .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 56px;
  align-items: start;
}
.features .intro { position: sticky; top: 110px; }
.features .section-title { text-wrap: balance; }
.features .lede { line-height: 1.55; max-width: 380px; }
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  border-top: 1px solid var(--line-2);
}
.feature {
  padding: 28px 24px 28px 0;
  border-bottom: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature .num { font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--orange); }
.feature h3 { font-family: var(--display); font-weight: 700; font-size: 20px; }
.feature p { font-size: 16px; line-height: 1.55; color: var(--muted-2); }

/* Control panel preview */
.panel-preview .container { display: flex; flex-direction: column; gap: 40px; }
.panel-preview .lede { max-width: 520px; }
.tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  flex-wrap: wrap;
}
.tabs button {
  border: none;
  cursor: pointer;
  padding: 9px 16px;
  border-radius: 7px;
  font-family: Nunito, sans-serif;
  font-weight: 700;
  font-size: 14px;
  background: transparent;
  color: var(--nav);
}
.tabs button[aria-selected="true"] { background: var(--amber); color: var(--on-amber); }
.browser {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(214,226,190,0.14);
  background: #141414;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #1C1C1C;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #3A3A3A; }
.url {
  flex: 1;
  max-width: 440px;
  padding: 6px 12px;
  border-radius: 6px;
  background: #121212;
  font-size: 13px;
  color: #A0A0A0;
}
.browser img { width: 100%; height: auto; }
.center { display: flex; justify-content: center; }
.panel-preview .btn-outline { padding: 14px 26px; font-size: 16px; }

/* Discord */
.community-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 40px;
  align-items: center;
  padding: 56px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line-2);
}
.community-card .section-title { font-size: clamp(30px, 3.6vw, 44px); }
.community-card .lede { color: var(--muted-2); line-height: 1.55; max-width: 480px; }
.community-card .btn-row { justify-content: flex-end; }

/* Final CTA */
.final-cta { border-top: 1px solid var(--line); }
.final-cta .container {
  padding: 112px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.final-cta img { height: 96px; width: auto; }
.final-cta h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.final-cta p { font-size: 18px; color: var(--muted); max-width: 460px; line-height: 1.5; }
.final-cta .btn-row { justify-content: center; margin-top: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #8A9279;
}
.site-footer .copy { display: flex; align-items: center; gap: 10px; }
.site-footer .copy img { height: 28px; width: auto; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer nav a { color: var(--muted-2); }
.site-footer nav a:hover { color: #FFFFFF; }

/* Phones: the design uses 32px gutters; drop to 16px on narrow screens */
@media (max-width: 560px) {
  .container, .site-header .inner, .site-footer .inner { padding-left: 16px; padding-right: 16px; }
  .hero .container { padding: 64px 16px 64px; }
  .container { padding-top: 80px; padding-bottom: 80px; }
  .community-card { padding: 32px 24px; }
  .community-card .btn-row { justify-content: flex-start; }
  .features .intro { position: static; }
  .stat:not(:last-child) { padding-right: 18px; margin-right: 18px; }
}
