/* SlopCity site, "Overclock" look: a night city where Slop is the neon.
   Violet-black ground, Slop pink and acid lime accents, amber for numbers.
   Unbounded display, Space Grotesk body, JetBrains Mono for data. */

@font-face { font-family: 'Unbounded'; font-weight: 500; font-display: swap; src: url('/assets/fonts/Unbounded-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Unbounded'; font-weight: 800; font-display: swap; src: url('/assets/fonts/Unbounded-ExtraBold.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 400; font-display: swap; src: url('/assets/fonts/SpaceGrotesk-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 500; font-display: swap; src: url('/assets/fonts/SpaceGrotesk-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-display: swap; src: url('/assets/fonts/SpaceGrotesk-Bold.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url('/assets/fonts/JetBrainsMono-Regular.woff') format('woff'); }

:root {
  --bg: #140c20;
  --panel: #1d1330;
  --panel-2: #2d2046;
  --line: #4a3670;
  --pink: #ff4fa3;
  --pink-soft: #ff8ec4;
  --lime: #c6ff3d;
  --amber: #ffd98a;
  --text: #f4eefb;
  --text-2: #d9cfe8;
  --muted: #b3a6c9;
  --radius: 6px;
  --wrap: 1240px;
  --font-title: 'Unbounded', 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0 0 0.6em; }
h1, h2 { font-family: var(--font-title); font-weight: 800; text-transform: uppercase; }
h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1.08; }
h3 { font-family: var(--font-title); font-weight: 500; font-size: 1.1rem; line-height: 1.3; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--font-mono); font-size: 0.92em; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.center { text-align: center; }
.accent { color: var(--pink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

.eyebrow {
  font: 400 0.8rem/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1.2em;
}
.eyebrow.gold { color: var(--amber); }

/* Buttons: square-ish, lime on violet. */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 4px;
  background: var(--lime);
  color: var(--bg);
  font: 700 1rem/1.2 var(--font-body);
  border: 1px solid var(--lime);
  transition: transform 0.18s cubic-bezier(.34, 1.56, .64, 1), background 0.18s;
}
.btn:hover { text-decoration: none; background: #d8ff7a; transform: scale(1.04); }
.btn-small { padding: 8px 16px; font-size: 0.92rem; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--muted); }
.btn.is-soon { cursor: default; color: var(--text); }
.btn.is-soon:hover { transform: none; background: transparent; }
.btn.is-soon em { font: 400 0.72em/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--pink-soft); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 1em; }
.center .stores { justify-content: center; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(20, 12, 32, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; color: var(--text); font: 800 1.15rem/1 var(--font-title); letter-spacing: 0.02em; text-transform: uppercase; }
.brand b { font-weight: 800; color: var(--pink); }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); font: 400 0.8rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 12px 0; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Hero: three stacked words, copy beside them, the game underneath. */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero-top { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 32px 64px; margin-bottom: 56px; }
.hero-top h1 { flex: 3 1 520px; margin: 0; font-size: clamp(2.6rem, 8.4vw, 6.4rem); line-height: 0.98; }
.hero-copy { flex: 2 1 340px; padding-bottom: 8px; }
.hero-copy .small { font-family: var(--font-mono); margin: 0; }
.lede { font-size: 1.15rem; color: var(--text-2); max-width: 34em; }
.hero-shot, .shot { margin: 0; }
.hero-shot img, .shot img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.hero-shot img { box-shadow: 0 0 0 6px rgba(255, 79, 163, 0.08), 0 50px 100px -40px rgba(255, 79, 163, 0.45); }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--panel); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p:last-child { color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col-flip > :first-child { order: 0; }

.steps { padding-left: 0; margin: 1.5em 0 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 3.2em; margin-bottom: 0.9em; color: var(--text-2); }
.steps li strong { color: var(--text); }
.steps li::before { content: '0' counter(step); position: absolute; left: 0; top: 0.15em; font: 400 0.85rem/1.6 var(--font-mono); color: var(--lime); }

.ticks { list-style: none; padding: 0; margin: 1.2em 0 0; }
.ticks li { position: relative; padding-left: 1.5em; margin-bottom: 0.6em; color: var(--text-2); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; background: var(--lime); }

/* Chat mock: lime bubbles for the player, panel bubbles for the AI, mono tool lines. */
.chat {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 40px 80px -40px rgba(198, 255, 61, 0.35);
}
.section-alt .chat { background: var(--bg); }
.chat-head { font: 400 0.76rem/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.chat-head::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--lime); margin-right: 8px; }
.msg { font-size: 0.95rem; line-height: 1.5; }
.msg-user { align-self: flex-end; max-width: 92%; background: var(--lime); color: var(--bg); font-weight: 500; padding: 10px 14px; border-radius: 4px; }
.msg-ai { max-width: 96%; background: var(--panel-2); color: var(--text); padding: 10px 14px; border-radius: 4px; }
.msg-tool { font: 400 0.8rem/1.4 var(--font-mono); color: var(--muted); margin-bottom: -6px; }
.msg-tool code { color: var(--pink-soft); margin-right: 0.5em; font-size: 1em; }
.msg-tool + .msg-ai { margin-top: 8px; }
.chat-input { margin-top: 6px; padding: 12px 14px; border-radius: 4px; border: 1px solid var(--lime); background: var(--bg); color: var(--muted); font-size: 0.92rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--panel);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 26px 26px 12px;
  transition: border-color 0.2s, transform 0.2s;
}
.section-alt .card { background: var(--bg); }
.card:hover { border-color: var(--pink); transform: translateY(-2px); }
.card p { color: var(--text-2); font-size: 0.97rem; }

/* Slop */
.slop-panel {
  background: var(--panel);
  border: 1px solid var(--pink);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 0 0 6px rgba(255, 79, 163, 0.08), 0 40px 90px -40px rgba(255, 79, 163, 0.55);
}
.slop-row { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; color: var(--text); }
.slop-icon { font-size: 2rem; line-height: 1; color: var(--pink); }
.bar { height: 10px; border-radius: 2px; background: var(--panel-2); margin: 16px 0 22px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--pink); }
.slop-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.slop-stats div { background: var(--bg); padding: 14px 16px; }
.slop-stats dt { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.slop-stats dd { margin: 0; font-size: 1.2rem; color: var(--text); }
.slop-stats dd.warn { color: var(--pink); }

/* Rules of war: the numbers that decide a fight. */
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; margin-top: 56px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rule { background: var(--bg); padding: 24px 22px; }
.rule b { display: block; font: 800 2.6rem/1 var(--font-title); color: var(--text); }
.rule:nth-child(1) b { color: var(--pink); }
.rule:nth-child(2) b { color: var(--lime); }
.rule:nth-child(3) b { color: var(--amber); }
.rule p { margin: 12px 0 0; color: var(--text-2); font-size: 0.92rem; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.plan h3 { font: 400 0.85rem/1.3 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 0.6em; }
.price .mono { font: 800 2.8rem/1 var(--font-title); color: var(--text); }
.price small { color: var(--muted); font-size: 0.9rem; }
.plan .ticks li { font-size: 0.96rem; }
.plan-featured { background: var(--lime); border-color: var(--lime); color: var(--bg); }
.plan-featured h3, .plan-featured .price .mono, .plan-featured .price small { color: var(--bg); }
.plan-featured .ticks li { color: var(--bg); font-weight: 500; }
.plan-featured .ticks li::before { background: var(--bg); }
.plan-pro_slopmaxxx_2000 { border-color: var(--pink); }
.plan-pro_slopmaxxx_2000 h3 { color: var(--pink); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 16px 32px 16px 0; position: relative;
  font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 12px;
  font: 400 1.5rem/1 var(--font-mono); color: var(--lime);
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding-right: 32px; }

/* Closing call: a full pink band. */
.cta { text-align: center; background: var(--pink); color: var(--bg); }
.cta h2 { font-size: clamp(1.8rem, 4.6vw, 3.6rem); line-height: 1.02; }
.cta .btn { background: var(--bg); border-color: var(--bg); color: var(--lime); }
.cta .btn.is-soon { color: var(--text); }
.cta .btn.is-soon:hover { background: var(--bg); }

/* Prose pages */
.prose h1 { font-size: clamp(2rem, 5vw, 3rem); }
.prose h2 { font: 500 1.15rem/1.3 var(--font-title); text-transform: none; margin-top: 2.2em; color: var(--lime); }
.prose p { color: var(--text-2); }

/* Footer */
.footer { padding: 40px 0 24px; }
.cta + .footer, main + .footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-inner .brand { font-size: 1rem; margin-bottom: 10px; }
.footer-links { display: flex; gap: 8px 24px; flex-wrap: wrap; align-items: flex-start; }
.footer-links a { color: var(--muted); font: 400 0.8rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 0; }
.copyright { margin-top: 24px; font-family: var(--font-mono); }

/* Staggered fade-in. Only when JS runs, so content is never hidden without
   a way to show it. */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s cubic-bezier(.22, .61, .36, 1), transform 0.6s cubic-bezier(.22, .61, .36, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col-flip > :first-child { order: 1; }
  .cards, .plans { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-inner .btn { margin-left: auto; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 24px; }
  .hero-top { margin-bottom: 36px; }
  .cards, .plans { grid-template-columns: 1fr; }
}
