/* Zen Mahjong site — warm stone-garden aesthetic. */

:root {
  --bg-0: #1a1612;
  --bg-1: #221c16;
  --bg-2: #100e0b;
  --moss: #94b88c;
  --slate: #809eb9;
  --ember: #d96154;
  --gold: #d9b261;
  --copper: #d18c5c;
  --bone: #ede1c8;
  --plum: #a695bd;
  --text-dim: #a89c87;
  --tile-edge: #4a4035;
  --tile-face: #2d2620;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded",
               "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  font-feature-settings: "ss01", "cv01";
  background:
    radial-gradient(ellipse at top right, rgba(217, 178, 97, 0.10), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(209, 140, 92, 0.08), transparent 60%),
    linear-gradient(135deg, var(--bg-0) 0%, var(--bg-1) 50%, var(--bg-2) 100%);
  color: var(--bone);
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px dotted rgba(217, 178, 97, 0.4);
  transition: color 0.15s ease, border-color 0.15s ease;
}
a:hover { color: var(--copper); border-color: rgba(209, 140, 92, 0.7); }

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

header.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--tile-edge);
  margin-bottom: 40px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  border: none;
}
.brand-neon {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(217, 178, 97, 0.35);
}
.brand-mahjong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--bone);
  text-shadow: 0 0 8px rgba(209, 140, 92, 0.25);
}

nav.nav-links {
  display: flex;
  gap: 18px;
}
nav.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  color: var(--text-dim);
}
nav.nav-links a:hover { color: var(--gold); }

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--bone);
  margin: 0 0 16px;
}
h1 {
  font-size: 36px;
  background: linear-gradient(90deg, var(--gold), var(--copper));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h2 {
  font-size: 22px;
  color: var(--gold);
  margin-top: 36px;
}
h3 {
  font-size: 17px;
  color: var(--copper);
  margin-top: 24px;
}

p { color: var(--text-dim); }
p strong { color: var(--bone); font-weight: 600; }

ul {
  color: var(--text-dim);
  padding-left: 22px;
}
li { margin-bottom: 6px; }
li strong { color: var(--bone); }

.tagline {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dim);
  margin-top: -8px;
  margin-bottom: 32px;
  font-style: italic;
}

.card {
  background: rgba(26, 22, 18, 0.7);
  border: 1px solid var(--tile-edge);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}
.card.accent { border-color: rgba(217, 178, 97, 0.35); }

.cta {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--bg-0);
  background: linear-gradient(90deg, var(--gold), var(--copper));
  border: none;
  margin-top: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0;
}
.legend-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
}
.legend-dot::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color, var(--gold));
  box-shadow: 0 0 6px var(--color, var(--gold));
}

.muted {
  font-size: 12px;
  color: var(--text-dim);
  opacity: 0.8;
}

footer {
  text-align: center;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--tile-edge);
  font-size: 12px;
  color: var(--text-dim);
  opacity: 0.75;
}
footer a { color: var(--text-dim); border: none; }
footer a:hover { color: var(--gold); }

code {
  background: rgba(217, 178, 97, 0.08);
  border: 1px solid rgba(217, 178, 97, 0.2);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  color: var(--gold);
}
