/* Ugly Pet – site styles. Dungeon theme: rust, brass, parchment, slime green. */
:root {
  --bg: #15110d;
  --panel: #231c16;
  --panel-edge: #3a2e22;
  --text: #ece2cf;
  --muted: #b3a58c;
  --brass: #d6a948;
  --brass-dark: #8a6420;
  --slime: #9bc33b;
  --link: #e6bf62;
  --maxw: 960px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--link); }
a:hover { color: var(--slime); }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--panel-edge);
  background: #100d0a;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 60px; flex-wrap: wrap;
}
.logo {
  font-family: "Alfa Slab One", Georgia, serif;
  font-size: 1.4rem; letter-spacing: 0.04em;
  color: var(--brass); text-decoration: none;
  text-shadow: 0 2px 0 #000;
}
.site-header nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--text); }

/* Hero */
.hero { padding: 32px 0 8px; }
.hero img {
  width: 100%; border-radius: 10px;
  border: 2px solid var(--panel-edge);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}
.tagline {
  font-family: "Alfa Slab One", Georgia, serif;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: var(--brass);
  margin: 28px 0 8px;
  line-height: 1.2;
  text-shadow: 0 2px 0 #000;
}
.lead { font-size: 1.1rem; color: var(--text); max-width: 640px; margin: 0 0 20px; }

.cta {
  display: inline-block;
  font-family: "Alfa Slab One", Georgia, serif;
  letter-spacing: 0.03em;
  padding: 12px 22px; border-radius: 999px;
  background: linear-gradient(#e2b85a, #a97a26);
  color: #1d140a; text-decoration: none;
  border: 2px solid #5c4313;
  box-shadow: 0 3px 0 #000;
}
.cta:hover { color: #1d140a; filter: brightness(1.08); }
.cta-note { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 10px; }

/* Sections */
section { padding: 40px 0 8px; }
h1, h2, h3 { font-family: "Alfa Slab One", Georgia, serif; font-weight: 400; color: var(--brass); line-height: 1.25; }
h1 { font-size: 2rem; margin: 32px 0 4px; }
h2 { font-size: 1.4rem; margin: 0 0 16px; }
h3 { font-size: 1.1rem; margin: 0 0 6px; color: var(--text); }

.features {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.card {
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: 10px;
  padding: 18px;
}
.card p { margin: 0; color: var(--muted); }

.shots {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.shots figure { margin: 0; flex: 0 1 280px; }
.shots img { border-radius: 14px; border: 2px solid var(--panel-edge); }
.shots figcaption { color: var(--muted); font-size: 0.9rem; text-align: center; margin-top: 8px; }

/* Legal pages */
.legal { max-width: 720px; padding-bottom: 48px; }
.legal h2 { font-size: 1.15rem; margin-top: 32px; margin-bottom: 8px; }
.legal .muted { color: var(--muted); font-size: 0.95rem; margin-top: 0; }

/* Footer */
.site-footer {
  margin-top: 48px; border-top: 1px solid var(--panel-edge);
  padding: 24px 0 40px; color: var(--muted); font-size: 0.9rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
