/* Burnt Burger Studios. Fonts: Bricolage Grotesque (display) + Inter (text). Icons: Font Awesome Free only. */
:root {
  --bg: #130e0b;
  --bg-2: #1b1410;
  --surface: #221913;
  --line: #3a2c22;
  --text: #f4ece2;
  --muted: #b3a597;
  --flame: #ff6a2b;
  --flame-2: #ffa23d;
  --discord: #5865f2;
  --radius: 6px;
  --header-bg: rgba(19,14,11,.9);
  color-scheme: dark;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased;
  min-height: 100dvh; display: flex; flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--flame-2); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--flame-2); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 70rem; margin: 0 auto; padding: 0 max(1.25rem, env(safe-area-inset-left)); }

h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .75rem; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 6.5vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 38rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--header-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--text); text-decoration: none; font: 700 1.1rem var(--display); letter-spacing: -.01em; }
.brand img { width: 40px; height: 40px; border-radius: 6px; }
.site-header nav { display: flex; align-items: center; gap: .25rem; }
.site-header nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; padding: .5rem .85rem; border-radius: 6px; }
.site-header nav a:hover { color: var(--text); background: var(--surface); }
.site-header nav a[aria-current="page"] { color: var(--text); background: var(--surface); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 46px;
  padding: .65rem 1.3rem; border-radius: 6px; font: 600 .95rem var(--sans);
  text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--line);
  transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-2px); border-color: var(--muted); color: var(--text); }
.btn i { font-size: 1.1rem; }
.btn-primary { background: var(--flame); color: #1a0e06; border-color: transparent; }
.btn-primary:hover { color: #1a0e06; border-color: transparent; }
.btn-discord { background: var(--discord); border-color: transparent; color: #fff; }
.btn-discord:hover { color: #fff; border-color: transparent; background: #4752c4; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 9vw, 7rem) 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; gap: 3rem; align-items: center; grid-template-columns: 1.3fr 1fr; }
.hero-art img { width: min(100%, 340px); margin-left: auto; border: 1px solid var(--line); border-radius: 8px; }
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 0; }
.page-hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section + .section { border-top: 1px solid var(--line); }

/* Game card */
.game-card { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.game-card .shot { background: #4a95fb; position: relative; min-height: 300px; }
.game-card .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; image-rendering: pixelated; }
.game-card .body { padding: clamp(1.5rem, 4vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.tags li { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 500; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: .25rem .7rem; background: var(--bg-2); }
.tags i { color: var(--flame-2); }

/* Feature grid */
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: 2.5rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--line); color: var(--flame); font-size: 1.15rem; margin-bottom: 1rem; }
.card p { margin: 0; color: var(--muted); }
.principles { counter-reset: p; list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; max-width: 46rem; }
.principles li { counter-increment: p; display: flex; gap: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.principles li::before { content: counter(p); flex: none; font: 800 1.5rem/1.2 var(--display); color: var(--flame); }

/* Discord CTA */
.cta { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: clamp(2rem, 5vw, 3.5rem); }
.cta p { color: var(--muted); max-width: 36rem; }

/* Footer */
.site-footer { margin-top: auto; border-top: 1px solid var(--line); background: var(--bg-2); padding: 2.5rem 0; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.site-footer p { margin: .15rem 0; }
.social { display: flex; gap: .5rem; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 6px; border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 1.15rem; }
.social a:hover { background: var(--surface); color: var(--flame-2); }

@media (max-width: 760px) {
  .hero .wrap, .game-card { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { width: 88px; margin: 0; }
  .site-header nav a { padding: .5rem .6rem; }
  .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Light display */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #faf6f1; --bg-2: #f1eae1; --surface: #ffffff; --line: #ded3c6;
    --text: #1f1612; --muted: #5f5249; --flame: #d9480f; --flame-2: #b43c0a;
    --header-bg: rgba(250,246,241,.92); color-scheme: light;
  }
  .btn-primary { color: #fff; }
  .btn-primary:hover { color: #fff; }
}
/* Large displays */
@media (min-width: 1600px) { .wrap { max-width: 80rem; } body { font-size: 1.0625rem; } }
@media (min-width: 2200px) { .wrap { max-width: 96rem; } body { font-size: 1.1875rem; } }
/* Short/landscape phones */
@media (max-height: 480px) { .site-header { position: static; } }
/* High contrast / forced colors */
@media (forced-colors: active) { .btn, .card, .game-card, .cta, .social a { border: 1px solid CanvasText; } }
