/* ═══════════════════════════════════════════════════════════════════════════
   INFERNO THEME — Circles of Hell Portfolio CSS
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Circle color palettes */
  --c1: #2d4a1e;   /* Limbo — dim green */
  --c1-light: #4a7a34;
  --c2: #4a1a4a;   /* Lust — purple */
  --c2-light: #7a2d7a;
  --c3: #1a2a4a;   /* Gluttony — dark blue/rain */
  --c3-light: #2d4a7a;
  --c4: #4a3500;   /* Greed — dark amber */
  --c4-light: #7a5800;
  --c5: #5a1a00;   /* Anger — dark orange */
  --c5-light: #8a2a00;
  --c6: #3a0a5a;   /* Heresy — deep purple */
  --c6-light: #6a1a9a;
  --c7: #5a0a0a;   /* Violence — dark red */
  --c7-light: #8a1a1a;
  --c8: #2a0a3a;   /* Fraud — deepest purple */
  --c8-light: #4a1a6a;
  --c9: #000a1a;   /* Treachery — ice/void */
  --c9-light: #0a1a2a;

  /* Fire colors */
  --fire-1: #ff6b00;
  --fire-2: #ff3d00;
  --fire-3: #ffcc00;
  --ember: #ff8c00;

  /* Inferno background */
  --inferno-bg: #080008;
}

/* ─── GLOBAL HELL OVERRIDES ────────────────────────────────────────────────── */
/* body bg set via main.css --bg variable */

/* Override nav for hell theme */
.site-header {
  background: rgba(4, 0, 8, 0.92);
  border-bottom-color: rgba(255, 100, 0, 0.2);
}

/* ─── GATES OF HELL ─────────────────────────────────────────────────────────── */
.inferno-gates {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg,
    #0d0a14 0%,
    #1a0d00 40%,
    #2a1000 70%,
    #1a0500 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 64px;
}

/* Ember Canvas */
#ember-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* ─── PIXEL CITY SCENE ──────────────────────────────────────────────────────── */
.gates-city {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  height: 160px;
  z-index: 2;
  opacity: 0.6;
}

.city-train {
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 60px;
  background: #2a4a7a;
  border-radius: 4px 4px 0 0;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
  border: 2px solid #3a5a8a;
  animation: train-sway 4s ease-in-out infinite;
}
@keyframes train-sway {
  0%,100% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
}
.train-window {
  width: 28px;
  height: 20px;
  background: #8abcdc;
  border: 2px solid #6a9abc;
  border-radius: 2px;
  flex-shrink: 0;
  animation: window-flicker 3s ease-in-out infinite var(--i, 0s);
}
.train-window:nth-child(2) { --i: 0.5s; }
.train-window:nth-child(3) { --i: 1s; }
.train-window:nth-child(4) { --i: 1.5s; }
.train-window:nth-child(5) { --i: 0.3s; }
.train-window:nth-child(6) { --i: 0.8s; }
@keyframes window-flicker {
  0%,90%,100% { background: #8abcdc; }
  95% { background: #5a8aaa; }
}
.train-wheels {
  position: absolute;
  bottom: -12px;
  left: 20px;
  display: flex;
  gap: 40px;
}
.wheel {
  width: 20px;
  height: 20px;
  background: #1a2a3a;
  border: 3px solid #4a6a8a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { from{transform:rotate(0)} to{transform:rotate(360deg)} }

.city-ground {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 24px;
  background: repeating-linear-gradient(90deg, #2a2a2a 0, #2a2a2a 40px, #3a3a3a 40px, #3a3a3a 80px);
}

.city-people {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  height: 40px;
}
.pixel-person {
  position: absolute;
  bottom: 0;
  width: 12px;
  height: 32px;
}
.pixel-person::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.pixel-person::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 12px;
  height: 22px;
  border-radius: 2px;
}
.p1 { left: 10%; animation: person-walk 3s ease-in-out infinite; }
.p2 { left: 25%; animation: person-walk 2.5s ease-in-out infinite 0.5s; }
.p3 { left: 70%; animation: person-walk 3.5s ease-in-out infinite 1s; }
.p4 { left: 85%; animation: person-walk 2.8s ease-in-out infinite 0.3s; }
.p1::before,.p2::before { background: #c8a882; }
.p3::before,.p4::before { background: #8a6040; }
.p1::after { background: #3a6a4a; }
.p2::after { background: #4a4a8a; }
.p3::after { background: #6a3a3a; }
.p4::after { background: #2a4a6a; }
@keyframes person-walk {
  0%,100% { transform: translateX(0) scaleX(1); }
  25% { transform: translateX(6px) scaleX(1); }
  50% { transform: translateX(12px) scaleX(1); }
  75% { transform: translateX(18px) scaleX(-1); }
}

/* ─── INFERNO TITLE ────────────────────────────────────────────────────────── */
.gates-title {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 160px 1rem 3rem;
}

.gates-quote {
  background: rgba(255, 200, 100, 0.08);
  border: 1px solid rgba(255, 150, 0, 0.2);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  display: inline-block;
  margin-bottom: 2rem;
  max-width: 520px;
}
.quote-line {
  display: block;
  font-style: italic;
  color: rgba(255, 220, 160, 0.85);
  font-size: 0.9rem;
  line-height: 1.6;
}
.gates-quote cite {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 160, 80, 0.7);
  margin-top: 0.5rem;
  font-style: normal;
}

.inferno-title {
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.inferno-ix {
  font-size: 0.4em;
  letter-spacing: 0.3em;
  color: var(--fire-1);
  text-shadow: 0 0 20px rgba(255, 107, 0, 0.6);
  font-weight: 300;
}
.inferno-word {
  background: linear-gradient(135deg, #fff5e0, #ffd080, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 30px rgba(255, 140, 0, 0.4));
}
.inferno-word.accent {
  background: linear-gradient(135deg, #ff6b00, #ff3d00, #cc0000);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(255, 60, 0, 0.5));
}

.inferno-sub {
  color: rgba(255, 200, 150, 0.7);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.inferno-sub strong { color: rgba(255, 200, 150, 1); }

/* Stats in gates */
.gates-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.gate-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.gate-stat-icon { font-size: 1.5rem; }
.gate-stat-val {
  font-size: 2rem;
  font-weight: 900;
  color: var(--fire-3);
  letter-spacing: -0.03em;
}
.gate-stat-plus { font-size: 1rem; color: var(--fire-1); margin-left: 2px; }
.gate-stat-label { font-size: 0.75rem; color: rgba(255, 200, 150, 0.6); text-transform: uppercase; letter-spacing: 0.08em; }

/* Descend button */
.descend-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 2.5rem;
  border: 2px solid rgba(255, 107, 0, 0.5);
  border-radius: 4px;
  color: var(--fire-1);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.descend-btn::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: rgba(255, 107, 0, 0.15);
  transition: height 0.3s ease;
}
.descend-btn:hover { color: #fff; border-color: var(--fire-1); }
.descend-btn:hover::before { height: 100%; }
.descend-arrow { font-size: 1.5rem; animation: bounce-arrow 1.5s ease-in-out infinite; }
@keyframes bounce-arrow {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Gate fire row */
.gates-fire-row {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  z-index: 4;
  overflow: hidden;
}
.fire-col {
  flex: 1;
  position: relative;
  animation: fire-flicker 0.3s ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
}
.fire-col::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -5%;
  right: -5%;
  height: 80px;
  background: linear-gradient(to top, #ff2200 0%, #ff6600 30%, #ff9900 55%, #ffcc00 75%, transparent 100%);
  clip-path: polygon(
    0% 100%, 20% 30%, 40% 80%, 60% 20%, 80% 70%, 100% 100%
  );
}
.fire-col::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -5%;
  right: -5%;
  height: 60px;
  background: linear-gradient(to top, rgba(255,255,255,0.3) 0%, transparent 100%);
  clip-path: polygon(0% 100%, 25% 40%, 50% 90%, 75% 30%, 100% 100%);
  animation: fire-inner 0.2s ease-in-out infinite alternate;
  animation-delay: calc(var(--d, 0s) + 0.1s);
}
@keyframes fire-flicker {
  0% { transform: scaleY(1) scaleX(1); }
  100% { transform: scaleY(1.15) scaleX(0.97); }
}
@keyframes fire-inner {
  0% { transform: scaleY(0.9); opacity: 0.7; }
  100% { transform: scaleY(1.1); opacity: 1; }
}

/* ─── HELL CIRCLES BASE ──────────────────────────────────────────────────────── */
.hell-circle {
  position: relative;
  padding: 5rem 0 3rem;
  overflow: hidden;
  transition: none;
}

/* Funnel/wedge shape for each circle */
.circle-funnel-top {
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 2;
}

.circle-fire-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 3;
  display: flex;
  overflow: hidden;
}
.circle-fire-bottom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg,
    transparent 0, transparent 12%, rgba(0,0,0,.5) 12%, rgba(0,0,0,.5) 12.5%
  );
}

/* Each circle fires get taller/more intense deeper down */
.hell-circle::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 70px;
  z-index: 4;
}

/* ─── INDIVIDUAL CIRCLE THEMES ────────────────────────────────────────────── */
.circle-1 {
  background: linear-gradient(180deg, #0e1a08 0%, #1a2d0e 50%, #122008 100%);
  border-top: 3px solid rgba(80, 160, 60, 0.3);
}
.circle-1::after { background: linear-gradient(to bottom, var(--c2), transparent); }

.circle-2 {
  background: linear-gradient(180deg, #200a28 0%, #361040 50%, #280c30 100%);
  border-top: 3px solid rgba(160, 60, 180, 0.3);
}
.circle-2::after { background: linear-gradient(to bottom, var(--c3), transparent); }

.circle-3 {
  background: linear-gradient(180deg, #080e1e 0%, #0e1a30 50%, #0a1020 100%);
  border-top: 3px solid rgba(60, 100, 180, 0.3);
}
.circle-3::after { background: linear-gradient(to bottom, var(--c4), transparent); }

.circle-4 {
  background: linear-gradient(180deg, #1e0e00 0%, #321800 50%, #281200 100%);
  border-top: 3px solid rgba(180, 120, 0, 0.3);
}
.circle-4::after { background: linear-gradient(to bottom, var(--c5), transparent); }

.circle-5 {
  background: linear-gradient(180deg, #240800 0%, #3a0e00 50%, #2e0800 100%);
  border-top: 3px solid rgba(200, 80, 0, 0.3);
}
.circle-5::after { background: linear-gradient(to bottom, var(--c6), transparent); }

.circle-6 {
  background: linear-gradient(180deg, #180424 0%, #280838 50%, #1e0430 100%);
  border-top: 3px solid rgba(140, 40, 220, 0.3);
}
.circle-6::after { background: linear-gradient(to bottom, var(--c7), transparent); }

.circle-7 {
  background: linear-gradient(180deg, #240404 0%, #380808 50%, #2c0404 100%);
  border-top: 3px solid rgba(180, 20, 20, 0.3);
}
.circle-7::after { background: linear-gradient(to bottom, var(--c8), transparent); }

.circle-8 {
  background: linear-gradient(180deg, #100418 0%, #1c0828 50%, #140420 100%);
  border-top: 3px solid rgba(100, 20, 160, 0.3);
}
.circle-8::after { background: linear-gradient(to bottom, var(--c9), transparent); }

.circle-9 {
  background: linear-gradient(180deg, #000410 0%, #000818 50%, #00040e 100%);
  border-top: 3px solid rgba(20, 60, 120, 0.4);
  padding-bottom: 6rem;
}

/* ─── CIRCLE HEADERS ──────────────────────────────────────────────────────── */
.circle-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.circle-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.circle-numeral {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 2px currentColor;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.5;
}
.circle-1 .circle-numeral { color: #4a9a34; }
.circle-2 .circle-numeral { color: #9a4aaa; }
.circle-3 .circle-numeral { color: #4a7aaa; }
.circle-4 .circle-numeral { color: #ca9a00; }
.circle-5 .circle-numeral { color: #ca5a00; }
.circle-6 .circle-numeral { color: #8a2aee; }
.circle-7 .circle-numeral { color: #cc2a2a; }
.circle-8 .circle-numeral { color: #7a2acc; }
.circle-9 .circle-numeral { color: #4a8acc; }

.circle-name {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.15em;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}
.circle-1 .circle-name { color: #7acc54; text-shadow: 0 0 20px rgba(80, 200, 60, 0.3); }
.circle-2 .circle-name { color: #cc7aee; text-shadow: 0 0 20px rgba(180, 80, 220, 0.3); }
.circle-3 .circle-name { color: #7aaaee; text-shadow: 0 0 20px rgba(80, 140, 220, 0.3); }
.circle-4 .circle-name { color: #eecc4a; text-shadow: 0 0 20px rgba(220, 180, 0, 0.3); }
.circle-5 .circle-name { color: #ee7a3a; text-shadow: 0 0 20px rgba(220, 100, 0, 0.4); }
.circle-6 .circle-name { color: #bb5aff; text-shadow: 0 0 30px rgba(160, 60, 255, 0.4); }
.circle-7 .circle-name { color: #ff5a5a; text-shadow: 0 0 30px rgba(255, 60, 60, 0.4); }
.circle-8 .circle-name { color: #aa6aff; text-shadow: 0 0 30px rgba(140, 80, 255, 0.4); }
.circle-9 .circle-name { color: #6abaff; text-shadow: 0 0 40px rgba(80, 160, 255, 0.5); }

.circle-sin-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  font-weight: 500;
  color: rgba(255, 200, 150, 0.7);
}

.circle-description {
  max-width: 700px;
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid currentColor;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0 8px 8px 0;
}
.circle-1 .circle-description { border-color: #4a9a34; color: rgba(180, 255, 160, 0.8); }
.circle-2 .circle-description { border-color: #9a4aaa; color: rgba(220, 180, 255, 0.8); }
.circle-3 .circle-description { border-color: #4a7aaa; color: rgba(160, 200, 255, 0.8); }
.circle-4 .circle-description { border-color: #ca9a00; color: rgba(255, 220, 140, 0.8); }
.circle-5 .circle-description { border-color: #ca5a00; color: rgba(255, 180, 120, 0.8); }
.circle-6 .circle-description { border-color: #8a2aee; color: rgba(220, 160, 255, 0.8); }
.circle-7 .circle-description { border-color: #cc2a2a; color: rgba(255, 180, 180, 0.8); }
.circle-8 .circle-description { border-color: #7a2acc; color: rgba(200, 160, 255, 0.8); }
.circle-9 .circle-description { border-color: #4a8acc; color: rgba(160, 220, 255, 0.8); }
.circle-description p { margin: 0; font-size: 0.95rem; line-height: 1.75; }

/* ─── SOULS GRID ─────────────────────────────────────────────────────────── */
.souls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}
.skills-souls { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.treachery-souls { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* ─── SOUL CARD ─────────────────────────────────────────────────────────────── */
.soul-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.soul-card:hover {
  transform: translateY(-6px);
}
.circle-1 .soul-card:hover { box-shadow: 0 12px 40px rgba(80, 200, 60, 0.2); border-color: rgba(80, 200, 60, 0.3); }
.circle-2 .soul-card:hover { box-shadow: 0 12px 40px rgba(180, 80, 220, 0.2); border-color: rgba(180, 80, 220, 0.3); }
.circle-3 .soul-card:hover { box-shadow: 0 12px 40px rgba(80, 140, 220, 0.2); border-color: rgba(80, 140, 220, 0.3); }
.circle-4 .soul-card:hover { box-shadow: 0 12px 40px rgba(220, 180, 0, 0.2); border-color: rgba(220, 180, 0, 0.3); }
.circle-5 .soul-card:hover { box-shadow: 0 12px 40px rgba(255, 100, 0, 0.25); border-color: rgba(255, 100, 0, 0.4); }
.circle-6 .soul-card:hover { box-shadow: 0 12px 40px rgba(160, 60, 255, 0.25); border-color: rgba(160, 60, 255, 0.4); }
.circle-7 .soul-card:hover { box-shadow: 0 12px 40px rgba(255, 40, 40, 0.25); border-color: rgba(255, 40, 40, 0.4); }
.circle-8 .soul-card:hover { box-shadow: 0 12px 40px rgba(140, 80, 255, 0.25); border-color: rgba(140, 80, 255, 0.4); }
.circle-9 .soul-card:hover { box-shadow: 0 12px 40px rgba(100, 180, 255, 0.3); border-color: rgba(100, 180, 255, 0.4); }

.soul-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0%, currentColor 25%, transparent 50%, currentColor 75%, transparent 100%);
  animation: glow-spin 4s linear infinite;
}
@keyframes glow-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.soul-card:hover .soul-card-glow { opacity: 0.08; }

/* Portfolio soul image */
.soul-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.soul-card-img-ph {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: 0.4;
  background: rgba(0,0,0,0.3);
}
.soul-card-img-ph span { filter: grayscale(0.5); }
.treachery-ph { height: 160px; opacity: 0.6; font-size: 3rem; }

.soul-title {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 240, 220, 0.95);
  padding: 0.85rem 1rem 0.4rem;
  margin: 0;
  line-height: 1.3;
}
.soul-excerpt {
  font-size: 0.82rem;
  color: rgba(200, 180, 160, 0.7);
  padding: 0 1rem 0.75rem;
  margin: 0;
  line-height: 1.55;
}
.soul-link, .soul-link-ext {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  margin: 0 0 0.85rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: 0.03em;
}
.soul-link {
  background: rgba(255, 107, 0, 0.15);
  color: #ff9a4a;
  border: 1px solid rgba(255, 107, 0, 0.3);
}
.soul-link:hover {
  background: rgba(255, 107, 0, 0.3);
  color: #ffcc88;
  transform: translateX(3px);
}
.soul-link-ext {
  background: rgba(255,255,255,0.05);
  color: rgba(200,200,200,0.7);
  border: 1px solid rgba(255,255,255,0.1);
}
.soul-link-ext:hover { background: rgba(255,255,255,0.1); color: #fff; }
.soul-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.soul-tags { display: flex; gap: 0.3rem; flex-wrap: wrap; padding: 0 1rem 0.5rem; }
.soul-tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: rgba(255,107,0,0.12);
  color: rgba(255,160,80,0.9);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* ─── SKILL SOULS (Limbo) ────────────────────────────────────────────────── */
.skill-soul {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  cursor: default;
  animation: soul-float var(--delay, 1s) ease-in-out infinite alternate;
}
@keyframes soul-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}
.soul-orb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #7acc54;
  box-shadow: 0 0 12px rgba(120, 200, 80, 0.6);
  margin-bottom: 0.2rem;
  animation: orb-pulse 2s ease-in-out infinite;
}
@keyframes orb-pulse {
  0%,100% { box-shadow: 0 0 8px rgba(120,200,80,.6); }
  50% { box-shadow: 0 0 20px rgba(120,200,80,.9); }
}
.soul-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(180, 255, 160, 0.95);
  font-family: var(--mono, monospace);
}
.soul-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.soul-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #4a9a34, #7acc54);
  border-radius: 999px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.soul-pct { font-size: 0.72rem; color: rgba(120, 200, 80, 0.7); font-family: var(--mono, monospace); }

/* ─── GREED PRICING ────────────────────────────────────────────────────────── */
.greed-pricing-row {
  grid-column: 1 / -1;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.greed-plan {
  flex: 1;
  min-width: 160px;
  padding: 1.5rem;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(200, 150, 0, 0.2);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}
.greed-plan:hover { border-color: rgba(200, 150, 0, 0.5); transform: translateY(-4px); }
.greed-plan--hl {
  border-color: rgba(220, 170, 0, 0.5);
  background: rgba(100, 60, 0, 0.3);
  box-shadow: 0 0 30px rgba(200, 140, 0, 0.15);
}
.plan-name { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(220, 180, 100, 0.7); margin-bottom: 0.5rem; }
.plan-price { font-size: 2rem; font-weight: 900; color: #eecc4a; margin-bottom: 1rem; }
.plan-price sup { font-size: 0.7em; vertical-align: super; }
.plan-price sub { font-size: 0.5em; vertical-align: baseline; color: rgba(220, 180, 100, 0.6); }

/* ─── TESTIMONIAL SOULS (Fraud) ───────────────────────────────────────────── */
.testimonial-soul { padding: 1.25rem; }
.testimonial-stars-hell { color: #cc9a00; font-size: 0.9rem; margin-bottom: 0.75rem; letter-spacing: 0.2em; }
.testimonial-author-hell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.t-avatar-hell {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7a2acc, #3a0a5a);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: #cc9aff;
  border: 1px solid rgba(140, 80, 255, 0.3);
  flex-shrink: 0;
}
.testimonial-author-hell strong { display: block; font-size: 0.88rem; color: rgba(220,200,255,.95); }
.t-project { font-size: 0.75rem; color: rgba(180,140,255,.6); }

/* ─── TREACHERY CARDS ─────────────────────────────────────────────────────── */
.treachery-card {
  border-color: rgba(80, 160, 255, 0.15) !important;
}
.treachery-card:hover {
  border-color: rgba(80, 160, 255, 0.4) !important;
  box-shadow: 0 12px 60px rgba(60, 140, 255, 0.25) !important;
}
.treachery-ice {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(100,180,255,0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(60,140,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* ─── INFERNO BOTTOM / SATAN CTA ─────────────────────────────────────────── */
.inferno-bottom {
  position: relative;
  background: linear-gradient(180deg, #00040e 0%, #000208 100%);
  padding: 6rem 0 4rem;
  overflow: hidden;
  text-align: center;
}

/* Pixel Satan face */
/* satan redesigned as SVG */

.inferno-cta { position: relative; z-index: 2; }
.cta-inferno-title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  color: #6abaff;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-shadow: 0 0 40px rgba(80, 160, 255, 0.4);
}
.inferno-cta p { color: rgba(180, 200, 255, 0.6); font-size: 1rem; margin-bottom: 2rem; }
.cta-inferno-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-inferno {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, #8a0000, #cc2200);
  color: #ffddcc;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid rgba(255, 100, 60, 0.4);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(200, 30, 0, 0.3);
}
.btn-inferno:hover {
  background: linear-gradient(135deg, #cc2200, #ff4400);
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(255, 60, 0, 0.4);
}
.btn-inferno-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 2rem;
  background: transparent;
  color: rgba(160, 200, 255, 0.8);
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid rgba(80, 140, 255, 0.3);
  transition: all 0.3s ease;
}
.btn-inferno-ghost:hover {
  border-color: rgba(80, 140, 255, 0.7);
  color: #8adcff;
  transform: translateY(-3px);
}

/* Lava waves */
.lava-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  overflow: hidden;
}
.wave {
  position: absolute;
  bottom: 0;
  left: -100%;
  right: -100%;
  height: 40px;
  border-radius: 50%;
  animation: wave-move 4s ease-in-out infinite;
}
.w1 { background: rgba(180, 20, 0, 0.4); animation-delay: 0s; }
.w2 { background: rgba(140, 10, 0, 0.3); animation-delay: 1.3s; bottom: 5px; }
.w3 { background: rgba(100, 5, 0, 0.2); animation-delay: 0.7s; bottom: 10px; }
@keyframes wave-move {
  0%,100% { transform: translateX(-5%) scaleY(0.8); }
  50% { transform: translateX(5%) scaleY(1.2); }
}

/* ─── SCROLL REVEAL ────────────────────────────────────────────────────────── */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-aos].aos-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.souls-grid [data-aos]:nth-child(1) { transition-delay: 0s; }
.souls-grid [data-aos]:nth-child(2) { transition-delay: 0.08s; }
.souls-grid [data-aos]:nth-child(3) { transition-delay: 0.16s; }
.souls-grid [data-aos]:nth-child(4) { transition-delay: 0.24s; }
.souls-grid [data-aos]:nth-child(5) { transition-delay: 0.32s; }
.souls-grid [data-aos]:nth-child(6) { transition-delay: 0.40s; }

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .souls-grid { grid-template-columns: 1fr; }
  .treachery-souls { grid-template-columns: 1fr; }
  .circle-header { gap: 1rem; }
  .inferno-title { font-size: clamp(2.5rem, 10vw, 5rem); }
  .gates-stats { gap: 1rem; }
  .greed-pricing-row { flex-direction: column; }
  .gates-city { opacity: 0.35; }
}

@media (max-width: 480px) {
  .circle-numeral { font-size: 2.5rem; }
  .circle-name { font-size: 1.8rem; }
}

/* ─── FIRE COLUMNS (in circle dividers) ─────────────────────────────────── */
.circle-fire-bottom .fire-col {
  flex: 1;
  position: relative;
  animation: fire-flicker 0.25s ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
}
.circle-fire-bottom .fire-col::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -8%;
  right: -8%;
  height: 80px;
  clip-path: polygon(0% 100%, 15% 20%, 35% 75%, 55% 15%, 75% 65%, 90% 5%, 100% 100%);
  animation: fire-shape 0.3s ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
}

/* Per-circle fire colors */
.circle-1 .fire-col::before { background: linear-gradient(to top, #003300, #005500, #008800, transparent); }
.circle-2 .fire-col::before { background: linear-gradient(to top, #330033, #660044, #aa0077, transparent); }
.circle-3 .fire-col::before { background: linear-gradient(to top, #000033, #001155, #002288, transparent); }
.circle-4 .fire-col::before { background: linear-gradient(to top, #331100, #662200, #aa5500, transparent); }
.circle-5 .fire-col::before { background: linear-gradient(to top, #440000, #880000, #cc3300, transparent); }
.circle-6 .fire-col::before { background: linear-gradient(to top, #220044, #440088, #8800cc, transparent); }
.circle-7 .fire-col::before { background: linear-gradient(to top, #330000, #660000, #cc0000, transparent); }
.circle-8 .fire-col::before { background: linear-gradient(to top, #110022, #220044, #660088, transparent); }

@keyframes fire-shape {
  0%   { clip-path: polygon(0% 100%, 15% 20%, 35% 75%, 55% 15%, 75% 65%, 90% 5%, 100% 100%); transform: scaleX(1.02); }
  50%  { clip-path: polygon(0% 100%, 12% 28%, 32% 70%, 52% 8%,  72% 60%, 88% 12%, 100% 100%); transform: scaleX(0.98); }
  100% { clip-path: polygon(0% 100%, 10% 35%, 30% 65%, 50% 5%,  70% 55%, 85% 25%, 100% 100%); transform: scaleX(1.02); }
}
@keyframes cursor-blink { 0%,100%{border-color:currentColor} 50%{border-color:transparent} }
