/* La Loi du Sang — page styles v3 (6 tiers) */

.ls-page { padding-top: 64px; }

/* Hero — unified pattern: left-heavy dark vignette for text legibility,
   fading right so the image breathes. */
.ls-hero {
  position: relative;
  padding: 120px 0 80px;
  background:
    /* Bottom fade: pushed down (75% -> bottom) and a touch lighter (0.85 vs 1.0) */
    linear-gradient(180deg, transparent 0%, transparent 75%, rgba(0,0,0,0.85) 100%),
    /* Left vignette: lighter overall so the artwork breathes more.
       Text legibility is preserved since text sits in the 0-30% zone
       which still has 0.80 -> 0.60 darkening. */
    linear-gradient(90deg, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.60) 30%, rgba(0,0,0,0.30) 55%, rgba(0,0,0,0.05) 80%, rgba(0,0,0,0.15) 100%),
    /* "center 30%" — heads visible without dropping the bodies too low. */
    url('/images/loi_du_sang.png') center 30% / cover no-repeat,
    #000;
  overflow: hidden;
  text-align: left;
}
.ls-hero .container { position: relative; z-index: 1; }
.ls-title {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800; color: #fff;
  margin-top: 4px; letter-spacing: -0.01em;
}
.ls-sub {
  font-size: 16px; color: var(--muted);
  margin-top: 14px; max-width: 640px; line-height: 1.6;
}

/* Sections */
.ls-section { padding: 60px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.ls-section:last-child { border-bottom: none; }
.ls-section-title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: #fff; margin-bottom: 12px; }
.ls-section-desc { font-size: 14.5px; color: var(--muted); max-width: 720px; margin-bottom: 28px; line-height: 1.6; }

/* ─── Two-path layout (Good / Evil) ─── */
.ls-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .ls-paths { grid-template-columns: 1fr; }
}

/* Path heading — large serif title with side ornaments and an iconic glyph
   ("crystal" for Justice, "skull" for Crime). Inspired by the ChatGPT mockup. */
.ls-path-title {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  font-family: 'Cinzel', 'Playfair Display', 'Inter', serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 6px 0;
  padding: 0 0 10px 0;
}
.ls-path-title::before, .ls-path-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0.45;
  max-width: 80px;
}
.ls-path-glyph {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  font-size: 22px; line-height: 1;
  filter: drop-shadow(0 0 8px currentColor);
}
.ls-path--good .ls-path-title { color: #f1c40f; }      /* both headers in gold per mockup */
.ls-path--evil .ls-path-title { color: #f1c40f; }
.ls-path-tiers { display: flex; flex-direction: column; gap: 14px; }

/* Tier cards — left icon panel | center text | right scenic ambient zone */
.ls-tier {
  position: relative;
  border-radius: 14px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 150px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(13,16,22,0.92), rgba(13,16,22,0.96));
  border: 1px solid var(--border2);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.ls-tier:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(0,0,0,0.45); }
.ls-tier-body { flex: 1 1 auto; min-width: 0; position: relative; z-index: 1; }

/* Scenic ambient gradient on the right side of each tier card. Each tier
   has its own colour palette layered through 2 radial gradients to suggest
   distant architecture / dungeons. Replaceable with real images later. */
.ls-tier::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 55%;
  pointer-events: none;
  opacity: 0.85;
  background:
    radial-gradient(60% 90% at 100% 50%, var(--tier-ambient-2, rgba(80,80,80,0.35)), transparent 70%),
    radial-gradient(80% 70% at 70% 60%, var(--tier-ambient-1, rgba(40,40,40,0.45)), transparent 75%);
  z-index: 0;
}
.ls-tier::before {
  /* Soft mask fading the ambient zone into the card so the right edge isn't a hard line */
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,16,22,0.95) 0%, rgba(13,16,22,0.65) 35%, transparent 65%);
  z-index: 0;
  pointer-events: none;
}

/* Tier border colors + ambient palettes per tier */
.ls-tier--vaillant   {
  border-color: rgba(85,170,255,0.45);
  --tier-ambient-1: rgba(40,90,180,0.40);
  --tier-ambient-2: rgba(20,40,90,0.55);
}
.ls-tier--vaillant:hover { border-color: rgba(85,170,255,0.75); }

.ls-tier--justicier  {
  /* Silver tier — neutral steel palette between blue Valiant and gold Hero */
  border-color: rgba(192,200,210,0.45);
  --tier-ambient-1: rgba(150,165,180,0.35);
  --tier-ambient-2: rgba(60,75,90,0.55);
}
.ls-tier--justicier:hover { border-color: rgba(192,200,210,0.75); }

.ls-tier--hero       {
  border-color: rgba(241,196,15,0.55);
  --tier-ambient-1: rgba(201,147,58,0.45);
  --tier-ambient-2: rgba(120,80,20,0.55);
  background: linear-gradient(135deg, rgba(20,16,8,0.92), rgba(13,16,22,0.96));
}
.ls-tier--hero:hover { border-color: rgba(241,196,15,0.85); }

.ls-tier--malfaiteur {
  border-color: rgba(230,126,34,0.45);
  --tier-ambient-1: rgba(180,90,30,0.40);
  --tier-ambient-2: rgba(90,40,15,0.55);
}
.ls-tier--malfaiteur:hover { border-color: rgba(230,126,34,0.75); }

.ls-tier--criminel   {
  /* Per mockup: shifted from red toward purple to differentiate from Murderer */
  border-color: rgba(155,89,182,0.50);
  --tier-ambient-1: rgba(120,60,170,0.40);
  --tier-ambient-2: rgba(60,20,90,0.55);
}
.ls-tier--criminel:hover { border-color: rgba(155,89,182,0.80); }

.ls-tier--meurtrier  {
  border-color: rgba(192,57,43,0.65);
  --tier-ambient-1: rgba(180,40,40,0.45);
  --tier-ambient-2: rgba(80,15,15,0.65);
  background: linear-gradient(135deg, rgba(22,8,8,0.94), rgba(13,16,22,0.96));
}
.ls-tier--meurtrier:hover { border-color: rgba(192,57,43,0.95); }

.ls-tier-badge {
  position: absolute; top: 14px; right: 16px;
  font-size: 12px; font-weight: 700;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(241,196,15,0.20);
  color: #f1c40f;
  border: 1px solid rgba(241,196,15,0.55);
  z-index: 2;
  box-shadow: 0 0 12px rgba(241,196,15,0.35);
}
.ls-tier-badge--evil {
  background: rgba(192,57,43,0.20);
  color: #ff8888;
  border-color: rgba(192,57,43,0.55);
  box-shadow: 0 0 12px rgba(192,57,43,0.35);
}

/* Tier image — slightly larger, framed by drop-shadow */
.ls-tier-img {
  flex: 0 0 auto;
  width: 120px; height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.55));
  transition: transform 0.25s ease;
  position: relative; z-index: 1;
}
.ls-tier:hover .ls-tier-img { transform: scale(1.05); }
.ls-tier--hero .ls-tier-img      { filter: drop-shadow(0 0 18px rgba(241,196,15,0.45)) drop-shadow(0 4px 12px rgba(0,0,0,0.55)); }
.ls-tier--meurtrier .ls-tier-img { filter: drop-shadow(0 0 18px rgba(192,57,43,0.50)) drop-shadow(0 4px 12px rgba(0,0,0,0.55)); }

/* Tier name in serif — larger and elegant per mockup */
.ls-tier-name {
  font-family: 'Cinzel', 'Playfair Display', 'Inter', serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
  line-height: 1;
}
.ls-tier--vaillant   .ls-tier-name { color: #6cb6ff; }
.ls-tier--justicier  .ls-tier-name { color: #d0d8e0; }
.ls-tier--hero       .ls-tier-name { color: #f1c40f; }
.ls-tier--malfaiteur .ls-tier-name { color: #f0974a; }
.ls-tier--criminel   .ls-tier-name { color: #c184ff; }
.ls-tier--meurtrier  .ls-tier-name { color: #ff8888; }

.ls-tier-threshold {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  margin-bottom: 14px; opacity: 0.95;
}
/* threshold takes the tier colour for that signature header tint */
.ls-tier--vaillant   .ls-tier-threshold { color: #6cb6ff; }
.ls-tier--justicier  .ls-tier-threshold { color: #d0d8e0; }
.ls-tier--hero       .ls-tier-threshold { color: #f1c40f; }
.ls-tier--malfaiteur .ls-tier-threshold { color: #f0974a; }
.ls-tier--criminel   .ls-tier-threshold { color: #c184ff; }
.ls-tier--meurtrier  .ls-tier-threshold { color: #ff8888; }

.ls-tier-effects { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 5px; }
.ls-tier-effects li {
  font-size: 13px; color: var(--text); line-height: 1.5;
  padding-left: 14px; position: relative;
}
.ls-tier-effects li::before { content: "•"; position: absolute; left: 2px; color: currentColor; opacity: 0.5; }

@media (max-width: 600px) {
  .ls-tier { padding: 18px 20px; gap: 16px; min-height: 0; flex-direction: column; align-items: flex-start; text-align: left; }
  .ls-tier::after { width: 100%; opacity: 0.4; }
  .ls-tier-img { width: 84px; height: 84px; align-self: center; }
}

.ls-priority-rule {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 10px;
  background: rgba(192,57,43,0.06);
  border: 1px solid rgba(192,57,43,0.2);
  font-size: 13.5px; color: var(--text); line-height: 1.5;
}
.ls-priority-icon { font-size: 18px; flex-shrink: 0; }

/* ─── Points grid (Justice / Crime gain & lose) ─── */
.ls-points-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 900px) {
  .ls-points-grid { grid-template-columns: 1fr; }
}
.ls-points-block {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 20px 22px;
}
.ls-points-block--good { border-color: rgba(241,196,15,0.30); }
.ls-points-block--bad  { border-color: rgba(192,57,43,0.25); }
.ls-points-title {
  font-size: 13px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--muted);
  margin: 0 0 14px 0;
}
.ls-points-block--good .ls-points-title { color: #f1c40f; }
.ls-points-block--bad  .ls-points-title { color: #e74c3c; }
.ls-points-list { display: flex; flex-direction: column; gap: 8px; }
.ls-points-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; border-radius: 8px;
  background: rgba(255,255,255,0.025);
  font-size: 13.5px;
}
.ls-points-label { color: var(--text); display: flex; align-items: center; gap: 8px; }
.ls-points-val { font-weight: 800; font-size: 14px; }
.ls-points-val--good { color: #f1c40f; }
.ls-points-val--bad  { color: #e74c3c; }

.ls-inline-icon {
  width: 18px; height: 18px;
  object-fit: contain;
  vertical-align: middle;
}

/* Generic info rule (replaces several rule banners) */
.ls-info-rule {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 18px; border-radius: 10px;
  font-size: 13.5px; color: var(--text); line-height: 1.5;
}
.ls-info-rule--good { background: rgba(241,196,15,0.06); border: 1px solid rgba(241,196,15,0.22); }
.ls-info-rule--blood { background: rgba(192,57,43,0.06); border: 1px solid rgba(192,57,43,0.2); }
.ls-info-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

/* Provocateur flow */
.ls-prov-flow {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 24px;
}
.ls-prov-step {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border2);
  border-radius: 12px; padding: 18px 22px;
}
.ls-prov-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(241,196,15,0.12);
  border: 1px solid rgba(241,196,15,0.35);
  color: #f1c40f;
  font-size: 14px; font-weight: 800;
}
.ls-prov-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.ls-prov-text { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Drop cards */
.ls-drop-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}
@media (max-width: 700px) {
  .ls-drop-cards { grid-template-columns: 1fr; }
}
.ls-drop-card {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.ls-drop-card:hover { transform: translateY(-2px); }
.ls-drop-card--vaillant   { border-color: rgba(85,170,255,0.4); }
.ls-drop-card--vaillant:hover   { border-color: rgba(85,170,255,0.7); }
.ls-drop-card--justicier  { border-color: rgba(192,200,210,0.4); }
.ls-drop-card--justicier:hover  { border-color: rgba(192,200,210,0.7); }
.ls-drop-card--hero       { border-color: rgba(241,196,15,0.5); }
.ls-drop-card--hero:hover { border-color: rgba(241,196,15,0.8); }
.ls-drop-card--malfaiteur { border-color: rgba(230,126,34,0.4); }
.ls-drop-card--malfaiteur:hover { border-color: rgba(230,126,34,0.7); }
.ls-drop-card--criminel   { border-color: rgba(192,57,43,0.4); }
.ls-drop-card--criminel:hover   { border-color: rgba(192,57,43,0.7); }
.ls-drop-card--meurtrier  { border-color: rgba(120,30,30,0.6); }
.ls-drop-card--meurtrier:hover { border-color: rgba(192,57,43,0.9); }
.ls-drop-card-img {
  width: 80px; height: 80px; object-fit: contain;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
.ls-drop-card-tier { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.ls-drop-card--vaillant   .ls-drop-card-tier { color: #5ab0ff; }
.ls-drop-card--justicier  .ls-drop-card-tier { color: #d0d8e0; }
.ls-drop-card--hero       .ls-drop-card-tier { color: #f1c40f; }
.ls-drop-card--malfaiteur .ls-drop-card-tier { color: #e67e22; }
.ls-drop-card--criminel   .ls-drop-card-tier { color: #e74c3c; }
.ls-drop-card--meurtrier  .ls-drop-card-tier { color: #c0392b; }
.ls-drop-card-pct {
  font-size: 38px; font-weight: 900;
  background: linear-gradient(180deg, #fff, #c0392b);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  line-height: 1;
}
.ls-drop-card-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted); margin-top: 6px;
}

.ls-drop-rule {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 18px; border-radius: 10px;
  background: rgba(192,57,43,0.06);
  border: 1px solid rgba(192,57,43,0.2);
  font-size: 13.5px; color: var(--text); line-height: 1.5;
}
.ls-drop-rule-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

/* ---- Privilege block (sub-section inside justice/crime) ---- */
.ls-privilege {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border2);
}
.ls-privilege-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.ls-privilege-desc {
  font-size: 14px;
  color: var(--text2);
  margin: 0 0 24px;
  line-height: 1.55;
}
