/* MAIN */
.triad-lore {
  width: 760px;
  margin: 0px auto;
  color: #9a9a9a;
  font-family: 'Inter', sans-serif;
}

/* HEADER */
.triad-header {
  position: relative;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
border-left: 1px solid rgba(255,0,0,0.15);
  border-right: 1px solid rgba(255,0,0,0.15);
  border-bottom: 1px solid rgba(255,0,0,0.15);
  border-top: 1px solid rgba(255,0,0,0.15);
}

/* IMAGE + FADE */
.triad-header::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(to bottom, 
      rgba(0,0,0,0) 50%, 
      rgba(0,0,0,0.85) 85%, 
      rgba(10,6,6,1) 100%
    ),
    url(https://i.postimg.cc/526khSP6/Put-a-half-broken-oni-mask-on-Nano-Banana-2-40271.jpg);

  background-size: cover;
  background-position: center top;

  z-index: 0;
}

/* VIGNETTE */
.triad-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0) 60%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

/* SYMBOL */
.triad-symbol {
  font-size: 26px;
  color: #d62828;
  margin-bottom: 6px;

  text-shadow:
    0 0 8px rgba(214,40,40,0.7),
    0 0 20px rgba(120,0,0,0.6);

  position: relative;
  z-index: 2;
}

/* TITLE (FIX HERE) */
.triad-title {
  font-family: 'Cinzel', serif;
  font-size: 40px;
  letter-spacing: 6px;
  color: #bcbcbc;

  text-shadow: 
    0 0 10px rgba(0,0,0,0.9),
    0 0 30px rgba(150,0,0,0.4);

  transform: translateY(-12px);

  position: relative;
  z-index: 2;
}

/* CONTENT */
.triad-content {
  position: relative;
  margin-top: -40px;

  padding: 50px 30px 30px;

  background:
    linear-gradient(to bottom, rgba(10,6,6,0) 0%, #0a0606 40%),
    radial-gradient(circle at center, rgba(80,0,0,0.2), transparent 70%),
    #0a0606;

border-left: 1px solid rgba(255,0,0,0.15);
  border-right: 1px solid rgba(255,0,0,0.15);
  border-bottom: 1px solid rgba(255,0,0,0.15);
  border-top: none;
}

/* RED LINE */
.triad-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;

  background: rgba(255,0,0,0.4);

  z-index: 3;
}

/* PAPER */
.triad-paper {
  padding: 30px;

  background: linear-gradient(
      rgba(30,20,15,0.95),
      rgba(20,10,8,0.95)
    ),
    url(https://www.transparenttextures.com/patterns/old-paper.png);

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    inset 0 0 40px rgba(0,0,0,0.8),
    0 0 30px rgba(0,0,0,0.6);

  position: relative;
}

/* PAPER TITLE */
.triad-paper-title {
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 24px;
  letter-spacing: 4px;
  margin-bottom: 20px;
  color: #b0b0b0;

  position: relative;
}

.triad-paper-title::before,
.triad-paper-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background: rgba(200,0,0,0.3);
}

.triad-paper-title::before {
  left: 0;
}

.triad-paper-title::after {
  right: 0;
}

/* TEXT */
.triad-text {
  font-size: 11px;
  line-height: 1.4;
  color: #8f8f8f;
  text-align: justify;
}

/* GRAIN */
.triad-paper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url(https://www.transparenttextures.com/patterns/noise.png);
  opacity: 0.15;
  pointer-events: none;
}