/* Floppy Arcade - site styles
   Accent colour lives in --accent; change it once to retheme. */

:root {
  --bg: #0a0c10;
  --bg-alt: #0e1116;
  --bg-card: #151921;
  --bg-hero-bar: #0f1a14;
  --bg-footer: #06080b;
  --line: #1f252e;
  --line-strong: #2c313b;
  --text: #d6dbe3;
  --text-bright: #f3f6f9;
  --text-muted: #9aa4b2;
  --accent: #7cf2a3;
  --accent-dim: #9fd9b4;
  --display: 'Press Start 2P', monospace;
  --body: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
}

a { color: var(--accent); }
a:hover { color: #b6ffd0; }

h1, h2, h3 { margin: 0; color: var(--text-bright); }
p { margin: 0; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.display { font-family: var(--display); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 12px;
  padding: 18px 26px;
  text-decoration: none;
  cursor: pointer;
  border: 3px solid var(--text);
  background: transparent;
  color: var(--text);
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--bg);
  box-shadow: 4px 4px 0 var(--text);
}
.btn-primary:hover { color: var(--bg); transform: translate(1px, 1px); box-shadow: 3px 3px 0 var(--text); }
.btn-primary:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--text); }
.btn-ghost:hover { color: var(--text-bright); border-color: var(--text-bright); }
.btn-sm { font-size: 11px; padding: 16px 22px; }

/* Header */
.site-header {
  background: var(--bg-hero-bar);
  border-bottom: 2px solid var(--accent);
  padding: 0 24px;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--accent);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 1px;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; font-weight: 500; }
.nav-links a { text-decoration: none; padding: 10px 0; }

/* Hero */
.hero {
  padding: 96px 24px 80px;
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,.18) 3px 4px);
}
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.prompt { font-size: 13px; letter-spacing: 3px; color: var(--accent); }
.hero h1 {
  font-family: var(--display);
  font-size: 44px;
  line-height: 1.35;
  text-shadow: 0 0 18px rgba(124,242,163,.35);
}
.tagline { font-size: 22px; line-height: 1.5; }
.lede { font-size: 16px; line-height: 1.7; color: var(--text-muted); max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.blink-line { font-size: 13px; color: var(--text-muted); }
.blink-line::after { content: "_"; animation: blink 1s steps(2) infinite; }
@keyframes blink { to { visibility: hidden; } }

/* CRT monitor */
.monitor-wrap { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.monitor {
  width: 100%;
  max-width: 460px;
  background: #1a1d24;
  border: 4px solid var(--line-strong);
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
}
.screen {
  background: #061008;
  border: 3px solid #0f2a16;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
  color: var(--accent);
  box-shadow: inset 0 0 40px rgba(124,242,163,.12);
}
.screen .dim { color: var(--accent-dim); }
.screen .bright { color: var(--text-bright); }
.monitor-foot {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 2px;
}
.led { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* Sections */
.section { padding: 80px 24px; border-top: 2px solid var(--line); }
.section-alt { background: var(--bg-alt); }
.section .wrap { display: flex; flex-direction: column; gap: 40px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; }
.section h2 { font-family: var(--display); font-size: 22px; }
.section-head span { font-size: 13px; color: var(--text-muted); }

/* Featured game */
.feature {
  display: flex;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 3px solid var(--line-strong);
}
.feature-shot {
  flex: 1 1 480px;
  min-width: 0;
  min-height: 360px;
  background: #0b1a26;
  border-right: 3px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
}
.feature-shot img { width: 100%; height: auto; image-rendering: pixelated; display: block; }
.feature-shot.has-image { padding: 0; background: #5a9cf8; min-height: 0; }
.feature-body { flex: 1 1 360px; min-width: 0; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.badge {
  align-self: flex-start;
  background: var(--accent);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 10px;
}
.feature h3 { font-family: var(--display); font-size: 20px; line-height: 1.5; }
.feature-body > p { font-size: 15px; line-height: 1.7; }
.specs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; font-size: 13px; }
.specs div { display: flex; flex-direction: column; gap: 4px; }
.specs dt { color: var(--text-muted); }
.specs dd { margin: 0; }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.slot {
  background: var(--bg-card);
  border: 3px dashed var(--line-strong);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
}
.slot.ready { border-style: solid; }
.slot .label { font-size: 11px; letter-spacing: 2px; color: var(--text-muted); }
.slot .title { font-family: var(--display); font-size: 12px; line-height: 1.6; color: var(--text); }
.slot .desc { font-size: 13px; color: var(--text-muted); }

.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--bg-card);
  border: 3px solid var(--line-strong);
}

/* Pricing plans */
.plans { align-items: stretch; }
.plan {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  background: var(--bg-alt);
  border: 3px solid var(--line-strong);
}
.plan-featured {
  background: var(--bg-hero-bar);
  border-color: var(--accent);
  box-shadow: 6px 6px 0 var(--accent);
}
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan .label { font-size: 11px; letter-spacing: 2px; color: var(--text-muted); }
.plan-featured .label { color: var(--accent); }
.plan .price { font-family: var(--display); font-size: 22px; line-height: 1.4; color: var(--text-bright); }
.plan .per { font-size: 13px; color: var(--text-muted); }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.6; }
.plan .btn { margin-top: auto; justify-content: center; }
.badge-sm { font-size: 10px; padding: 5px 8px; align-self: auto; }
.card h3 { font-size: 16px; font-weight: 700; }
.card p { font-size: 14px; line-height: 1.7; color: var(--text-muted); }
.card svg { color: var(--accent); }

/* Newsletter */
.newsletter { background: var(--bg-hero-bar); border-top-color: var(--accent); }
.newsletter .wrap { max-width: 720px; align-items: center; text-align: center; gap: 24px; }
.newsletter h2 { font-size: 18px; line-height: 1.6; }
.newsletter form { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; width: 100%; }
.newsletter input {
  flex: 1 1 280px;
  min-width: 0;
  font-family: var(--body);
  font-size: 15px;
  padding: 16px;
  background: var(--bg);
  color: var(--text-bright);
  border: 3px solid var(--text);
}
.newsletter input:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Footer */
.site-footer { padding: 40px 24px; background: var(--bg-footer); border-top: 2px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--text-muted); }
.site-footer nav { display: flex; gap: 20px; }
.site-footer nav a { text-decoration: none; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .hero { padding: 64px 16px 56px; }
  .hero h1 { font-size: 30px; }
  .section { padding: 56px 16px; }
  .grid-3 { grid-template-columns: 1fr; }
  .feature-shot { border-right: 0; border-bottom: 3px solid var(--line-strong); min-height: 240px; }
  .feature-body { padding: 28px 20px; }
  .btn { width: 100%; justify-content: center; }
  .specs { grid-template-columns: 1fr; }
}
