/* grunge.chatnet.gg -- deliberately its own visual identity, not a reskin
   of chatnet.gg's own style.css: overcast Pacific Northwest greys, flannel-
   adjacent muted colors, rough-edged type. */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Special+Elite&display=swap');

:root {
  --bg: #1a1a1a;
  --bg-panel: #232320;
  --bg-recessed: #161614;
  --ink: #d8d2c4;
  --ink-dim: #948d7c;
  --rust: #a5502b;
  --moss: #5c6b4f;
  --flannel-red: #8f3d33;
  --border: #3a382f;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  line-height: 1.6;
}

body {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.75)),
    repeating-linear-gradient(45deg, #202019 0, #202019 2px, #1a1a1a 2px, #1a1a1a 4px);
}

#shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

#banner {
  padding: 40px 0 20px;
  border-bottom: 3px solid var(--rust);
  text-align: center;
}

#banner h1 {
  font-family: 'Special Elite', 'Courier New', monospace;
  font-size: 3rem;
  letter-spacing: 2px;
  margin: 0;
  color: var(--ink);
  text-shadow: 2px 2px 0 var(--flannel-red), 4px 4px 0 rgba(0,0,0,.4);
}

#banner .tagline {
  color: var(--ink-dim);
  font-size: 1.05rem;
  margin-top: 8px;
  font-style: italic;
}

#nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  justify-content: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}

#nav a {
  color: var(--ink-dim);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: 1px;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}

#nav a:hover, #nav a.active {
  color: var(--ink);
  border-bottom-color: var(--rust);
}

.lang-switch {
  display: inline-flex;
  gap: 6px;
  margin-left: 4px;
}

.lang-switch a {
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2px 8px !important;
}

.lang-switch a.active {
  background: var(--rust);
  color: #fff !important;
  border-color: #6e3115;
}

h2 {
  font-family: 'Special Elite', 'Courier New', monospace;
  color: var(--ink);
  border-left: 4px solid var(--rust);
  padding-left: 14px;
  margin-top: 44px;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink);
  border-left: 3px solid var(--moss);
  padding-left: 16px;
  margin: 20px 0 30px;
}

p { color: var(--ink); }

a { color: #c98a55; }
a:hover { color: #e0a72b; }

.box {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 18px 20px;
  margin: 20px 0;
}

.box.recessed {
  background: var(--bg-recessed);
  box-shadow: inset 0 2px 6px rgba(0,0,0,.5);
}

.cta-chat {
  display: inline-block;
  background: var(--rust);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 26px;
  border-radius: 3px;
  text-decoration: none;
  margin: 10px 0;
  border: 2px solid #6e3115;
}

.cta-chat:hover {
  background: #b85f37;
  color: #fff;
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.band-card {
  display: block;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-left: 4px solid var(--moss);
  border-radius: 4px;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .15s;
}

.band-card:hover {
  border-left-color: var(--rust);
}

.band-card .b-name {
  font-family: 'Special Elite', 'Courier New', monospace;
  font-size: 1.15rem;
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.band-card .b-meta {
  color: var(--ink-dim);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.factbox {
  background: var(--bg-recessed);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: .95rem;
}

.factbox dt {
  color: var(--ink-dim);
  text-transform: uppercase;
  font-size: .75rem;
  letter-spacing: 1px;
  margin-top: 10px;
}

.factbox dt:first-child { margin-top: 0; }

.factbox dd {
  margin: 2px 0 0;
  color: var(--ink);
}

.timeline {
  list-style: none;
  padding: 0;
  border-left: 2px solid var(--border);
  margin: 20px 0 20px 8px;
}

.timeline li {
  position: relative;
  padding: 4px 0 4px 22px;
  margin-bottom: 6px;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 12px;
  width: 10px;
  height: 10px;
  background: var(--rust);
  border-radius: 50%;
}

.timeline .yr {
  color: var(--rust);
  font-weight: 700;
  margin-right: 8px;
}

#footer {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--ink-dim);
  font-size: .85rem;
}

#footer a { color: var(--ink-dim); }
#footer a:hover { color: var(--ink); }
