/* Yleinen tausta – tumma OSRS-tyylinen tunnelma */
body {
  margin: 0;
  padding: 0;
  background-color: #050308;
  background-image:
    radial-gradient(circle at top, #3b2916 0, #050308 55%);
  font-family: "Georgia", "Times New Roman", serif;
  color: #e3d5b8;
}

/* GitHub Pages käyttää usein .markdown-body, otetaan se kiinni myös */
main,
.markdown-body {
  box-sizing: border-box;
  max-width: 900px;
  margin: 40px auto;
  padding: 24px 32px;
  background: #241a10;
  border-radius: 6px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
  border: 2px solid #8a6a2f;
}

/* Pääotsikko – kuin quest journalissa */
h1 {
  font-size: 2.4em;
  text-align: center;
  color: #ffcc00;
  text-shadow: 2px 2px 3px #000;
  margin-top: 0;
  border-bottom: 2px solid #704b1f;
  padding-bottom: 8px;
}

/* Väliotsikot */
h2, h3, h4 {
  color: #ffdd66;
  text-shadow: 1px 1px 2px #000;
  border-bottom: 1px solid #5a3b17;
  padding-bottom: 4px;
  margin-top: 24px;
}

/* Perusteksti */
p {
  line-height: 1.6;
  margin: 8px 0 10px;
}

/* Listat – vähän sisennystä & väliä */
ul, ol {
  margin: 8px 0 12px 24px;
}

li {
  margin: 3px 0;
}

/* Lainaukset – käytetään mm. dialogeihin ja cutsceneihin */
blockquote {
  background: rgba(0, 0, 0, 0.45);
  border-left: 4px solid #d4af37;
  padding: 8px 14px;
  margin: 12px 0;
  font-style: italic;
}

blockquote p {
  margin: 4px 0;
}

/* Cutscene-ruudut: kaikki ```-koodilootat näyttävät kivikehyksiltä */
pre {
  background: #15100c;
  border-radius: 4px;
  border: 1px solid #7a5a2a;
  padding: 10px 12px;
  overflow-x: auto;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.7);
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.95em;
}

code {
  background: rgba(0, 0, 0, 0.35);
  padding: 1px 3px;
  border-radius: 3px;
}

/* Linkit */
a {
  color: #ffcc33;
}

a:hover {
  color: #ffffff;
  text-shadow: 0 0 4px #ffcc33;
}

/* Pienet “quest journal” -tunnisteet */
strong {
  color: #f0d8a0;
}

em {
  color: #f5e2bb;
}

/* Pieni marginaali yläreunaan kun GitHub näyttää markdownin */
.markdown-body > :first-child {
  margin-top: 0;
}
