/* "Az Ősóriás Öröksége" – a teljes legenda aloldala, öreg pergamen-hatással. */

.scroll-intro {
  padding: 70px 0 30px;
  text-align: center;
}

.scroll-intro h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 4.6vw, 46px);
  margin: 10px 0 18px;
  background: linear-gradient(135deg, #fff, var(--amber-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.scroll-lead {
  max-width: 620px;
  margin: 0 auto;
  color: var(--ink-dim);
  font-size: 16px;
  line-height: 1.6;
}

.scroll-section {
  padding: 20px 0 80px;
}

/* ---------- A PERGAMEN ---------- */
.parchment {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(30px, 6vw, 76px) clamp(24px, 7vw, 84px);
  border-radius: 8px;
  color: #4a3115;

  background:
    radial-gradient(ellipse 480px 320px at 12% 15%, rgba(120, 88, 42, 0.16), transparent 60%),
    radial-gradient(ellipse 420px 300px at 88% 25%, rgba(120, 88, 42, 0.14), transparent 60%),
    radial-gradient(ellipse 500px 360px at 25% 90%, rgba(96, 66, 30, 0.14), transparent 60%),
    radial-gradient(ellipse 460px 320px at 82% 88%, rgba(96, 66, 30, 0.12), transparent 55%),
    radial-gradient(ellipse 900px 500px at 50% 50%, rgba(255, 246, 214, 0.5), transparent 70%),
    linear-gradient(155deg, #f4e6c1 0%, #ecdba7 35%, #e7d29a 65%, #f1e2b7 100%);

  box-shadow:
    inset 0 0 3px rgba(74, 49, 21, 0.5),
    inset 0 0 70px rgba(107, 74, 38, 0.35),
    inset 0 0 140px rgba(74, 49, 21, 0.18),
    0 25px 70px rgba(0, 0, 0, 0.55),
    0 2px 0 rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(107, 74, 38, 0.55);
  outline: 1px solid rgba(74, 49, 21, 0.25);
  outline-offset: -10px;
}

.parchment::before {
  /* Finom, szemcsés "papír" textúra - apró, véletlenszerűen elhelyezett pöttyök ismétlődő
     mintával, hogy ne legyen a felület túl sima/digitális. */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(rgba(107, 74, 38, 0.10) 1px, transparent 1px),
    radial-gradient(rgba(107, 74, 38, 0.08) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 2px 4px;
}

.parchment h2 {
  font-family: 'Cinzel', serif;
  text-align: center;
  color: #6b3a1a;
  font-size: clamp(19px, 2.6vw, 24px);
  margin: 46px 0 22px;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

.parchment h2:first-of-type { margin-top: 6px; }

.parchment p {
  font-family: 'EB Garamond', 'Georgia', serif;
  font-size: 19px;
  line-height: 1.75;
  text-align: justify;
  color: #4a3115;
  margin: 0 0 20px;
  position: relative;
  z-index: 1;
}

.parchment p.drop-cap::first-letter {
  font-family: 'Cinzel', serif;
  font-size: 3.6em;
  font-weight: 700;
  float: left;
  line-height: 0.8;
  padding: 0.06em 0.08em 0 0;
  color: #6b3a1a;
}

.parchment-quote {
  font-style: italic;
  text-align: center !important;
  font-size: 21px !important;
  color: #6b3a1a !important;
  padding: 4px 18px;
  border-top: 1px solid rgba(107, 74, 38, 0.35);
  border-bottom: 1px solid rgba(107, 74, 38, 0.35);
}

.parchment-ornament {
  text-align: center;
  color: rgba(107, 74, 38, 0.55);
  font-size: 22px;
  margin: 8px 0;
  position: relative;
  z-index: 1;
}

.parchment-signoff {
  text-align: center !important;
  font-family: 'Cinzel', serif !important;
  font-weight: 700;
  color: #8a4a1a !important;
  margin-top: 40px !important;
  font-size: 18px !important;
}

/* ---------- MORFONDOR MÁGUS PORTRÉ ---------- */
.wizard-portrait {
  margin: 8px auto 30px;
  max-width: 260px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.wizard-portrait img {
  width: 100%;
  border-radius: 6px;
  border: 6px solid #f4e6c1;
  outline: 2px solid #8a5a24;
  outline-offset: -1px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.wizard-portrait figcaption {
  margin-top: 12px;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #6b3a1a;
  font-style: normal;
}

.villain-portrait {
  margin: 8px auto 30px;
  max-width: 260px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.villain-portrait img {
  width: 100%;
  border-radius: 6px;
  border: 6px solid #2a1010;
  outline: 2px solid #7a0c0c;
  outline-offset: -1px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 22px rgba(180, 20, 20, 0.35);
}

.villain-portrait figcaption {
  margin-top: 12px;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #7a0c0c;
  font-style: normal;
}

.scroll-back {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 600px) {
  .parchment p { font-size: 17px; text-align: left; }
  .parchment p.drop-cap::first-letter { font-size: 3em; }
}
