/* villain.css — THE VILLAIN UNIVERSE | Shared Villain Episode System
   Each villain folder includes shared.css THEN this file for overrides  */

/* ── UNIVERSE NAV EXTENSION ── */
.universe-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 490;
  display: flex; align-items: center; justify-content: center; gap: 0;
  height: 38px;
  background: rgba(0,0,0,.92);
  border-top: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
}
.universe-link {
  flex: 1; height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', cursive; font-size: 11px; letter-spacing: .3em;
  color: rgba(255,255,255,.25); border-right: 1px solid rgba(255,255,255,.06);
  transition: all .25s ease; text-decoration: none; cursor: none;
  position: relative; overflow: hidden;
}
.universe-link::before {
  content: ''; position: absolute; inset: 0;
  background: var(--ul-color, rgba(255,255,255,.05));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.universe-link:hover::before, .universe-link.active::before { transform: scaleX(1); }
.universe-link:hover, .universe-link.active { color: #fff; }
.universe-link .ul-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ul-color, #fff); margin-right: 8px;
  box-shadow: 0 0 8px var(--ul-color, #fff);
}

/* ── VILLAIN INTRO CARD (used in villains.html) ── */
.villain-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(380px, 50vw, 560px);
  border: 1px solid rgba(255,255,255,.07);
  transition: all .4s ease; cursor: none;
}
.villain-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  filter: brightness(.28) saturate(.6);
  transition: filter .5s ease, transform .6s ease;
}
.villain-card:hover img { filter: brightness(.55) saturate(.9); transform: scale(1.03); }
.villain-card-grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.92) 100%);
}
.villain-card-content { position: relative; z-index: 5; padding: 28px; }
.villain-card-series {
  font-family: 'Rajdhani', sans-serif; font-size: 10px; letter-spacing: .45em;
  color: rgba(255,255,255,.3); margin-bottom: 4px;
}
.villain-card-name {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(36px, 5.5vw, 68px); line-height: .88;
  margin-bottom: 6px; display: block;
}
.villain-card-tag {
  font-family: 'Oswald', sans-serif; font-size: clamp(11px, 1.4vw, 14px);
  color: rgba(255,255,255,.38); margin-bottom: 14px;
  font-style: italic;
}
.villain-card-eps {
  font-family: 'Bebas Neue', cursive; font-size: 10px; letter-spacing: .35em;
  color: rgba(255,255,255,.2);
}
.villain-card-cta {
  display: inline-block; margin-top: 16px; padding: 8px 22px;
  font-family: 'Bebas Neue', cursive; font-size: 12px; letter-spacing: .3em;
  border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.5);
  transition: all .25s ease; opacity: 0;
}
.villain-card:hover .villain-card-cta { opacity: 1; border-color: var(--vc-color, #fff); color: var(--vc-color, #fff); }

/* ── CROSS-SERIES SECTION ── */
.cross-series {
  padding: 60px 52px 80px; /* extra bottom for universe-bar */
  background: #050505;
}
.cross-series-label {
  font-family: 'Rajdhani', sans-serif; font-size: 11px; letter-spacing: .5em;
  color: rgba(255,255,255,.25); margin-bottom: 10px;
}
.cross-series-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(28px, 4.5vw, 58px); letter-spacing: .04em;
  margin-bottom: 36px;
}
.cross-series-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 700px) { .cross-series-grid { grid-template-columns: 1fr; } }
.cs-card {
  position: relative; overflow: hidden; aspect-ratio: 16/9;
  border: 1px solid rgba(255,255,255,.07); cursor: none;
  display: flex; align-items: flex-end; padding: 18px;
  transition: border-color .3s;
}
.cs-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  filter: brightness(.22) saturate(.5);
  transition: filter .4s, transform .5s;
}
.cs-card:hover img { filter: brightness(.5) saturate(.8); transform: scale(1.04); }
.cs-card-info { position: relative; z-index: 2; }
.cs-card-villain {
  font-family: 'Bebas Neue', cursive; font-size: clamp(20px, 3vw, 36px);
  display: block; line-height: 1;
}
.cs-card-tag {
  font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: .2em;
  color: rgba(255,255,255,.3); font-style: italic;
}

/* ── VILLAIN CARD THUMBNAIL (used in EP10 cross-series sections) ── */
.villain-card.mosquito,
.villain-card.cockroach,
.villain-card.housefly,
.villain-card.spider {
  position: relative; overflow: hidden;
  min-height: 200px; aspect-ratio: 3/4;
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: flex-end;
  cursor: none; transition: transform .35s ease, border-color .3s ease;
}
.villain-card.mosquito  { border-color: rgba(204,17,17,.25); }
.villain-card.cockroach { border-color: rgba(204,136,0,.25); }
.villain-card.housefly  { border-color: rgba(0,187,204,.25); }
.villain-card.spider    { border-color: rgba(136,34,204,.25); }
.villain-card.mosquito:hover  { border-color: rgba(204,17,17,.7); transform: translateY(-4px); }
.villain-card.cockroach:hover { border-color: rgba(204,136,0,.7); transform: translateY(-4px); }
.villain-card.housefly:hover  { border-color: rgba(0,187,204,.7); transform: translateY(-4px); }
.villain-card.spider:hover    { border-color: rgba(136,34,204,.7); transform: translateY(-4px); }

.vc-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: top center;
  filter: brightness(.25) saturate(.5);
  transition: filter .5s ease, transform .6s ease;
}
.villain-card.mosquito:hover  .vc-bg,
.villain-card.cockroach:hover .vc-bg,
.villain-card.housefly:hover  .vc-bg,
.villain-card.spider:hover    .vc-bg {
  filter: brightness(.55) saturate(.85); transform: scale(1.05);
}
/* fallback gradient overlay */
.villain-card.mosquito::after  { content:''; position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(80,0,0,.85) 100%); }
.villain-card.cockroach::after { content:''; position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(60,30,0,.85) 100%); }
.villain-card.housefly::after  { content:''; position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(0,30,40,.85) 100%); }
.villain-card.spider::after    { content:''; position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(20,0,50,.85) 100%); }

.vc-content {
  position: relative; z-index: 5; padding: 20px;
  width: 100%;
}
.vc-emoji {
  display: block; font-size: 28px; margin-bottom: 4px;
}
.vc-content h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(20px, 3vw, 30px); letter-spacing: .04em;
  color: #fff; margin: 0 0 4px;
}
.vc-content p {
  font-family: 'Oswald', sans-serif; font-size: 11px;
  color: rgba(255,255,255,.35); letter-spacing: .15em;
  font-style: italic; margin: 0;
}

/* Villain-card thumbnail used in villains.html series grid — use thumbnail.png */
.villain-card.use-thumb img { object-position: center; }

/* ── ADJUST PADDING FOR UNIVERSE BAR ── */
.next-ep-section { padding-bottom: 56px; }
.season-finale    { padding-bottom: 56px; }
body { padding-bottom: 38px; }

/* ── VILLAIN.CSS RESPONSIVE ── */
@media (max-width:900px) {
  .universe-bar { height:34px; }
  .universe-link { font-size:9px; letter-spacing:.15em; }
  .cross-series-grid { grid-template-columns:1fr; }
  .cross-series { padding:40px 20px 60px; }
  .cross-series-title { font-size:clamp(24px,5vw,40px); }
  .cs-card { aspect-ratio:16/9; }
  body { padding-bottom:34px; }
}
@media (max-width:600px) {
  .universe-bar { height:32px; gap:0; }
  .universe-link { font-size:7px; letter-spacing:.08em; padding:0 4px; }
  .ul-label { display:none; }
  .universe-link .ul-dot { margin-right:0; width:5px; height:5px; }
  .villain-card.mosquito,
  .villain-card.cockroach,
  .villain-card.housefly,
  .villain-card.spider { min-height:160px; }
  .vc-content h3 { font-size:clamp(16px,5vw,22px); }
  .vc-content p { font-size:10px; }
  .vc-emoji { font-size:22px; }
  body { padding-bottom:32px; }
}

/* ── LAUGHING ANIMATION ── */
.dash-hero-bg.villain-laughing,
.univ-hero-bg.villain-laughing {
  animation: villainLaugh 0.8s infinite cubic-bezier(0.36, 0.07, 0.19, 0.97) alternate,
             villainPulse 3s infinite ease-in-out;
  transform-origin: center center;
}
@keyframes villainPulse {
  0%, 100% {
    filter: brightness(0.65) saturate(1.1) contrast(1.05);
  }
  50% {
    filter: brightness(0.8) saturate(1.25) contrast(1.12);
  }
}
@keyframes villainLaugh {
  0% { transform: scale(1.03) translate(0, 0) rotate(0deg); }
  5% { transform: scale(1.05) translate(-2px, 3px) rotate(-0.3deg); }
  10% { transform: scale(1.06) translate(3px, -4px) rotate(0.4deg); }
  15% { transform: scale(1.04) translate(-3px, 2px) rotate(-0.5deg); }
  20% { transform: scale(1.07) translate(4px, 3px) rotate(0.6deg); }
  25% { transform: scale(1.05) translate(-2px, -3px) rotate(-0.3deg); }
  30% { transform: scale(1.08) translate(3px, 4px) rotate(0.4deg); }
  35% { transform: scale(1.04) translate(-4px, -2px) rotate(-0.6deg); }
  40% { transform: scale(1.09) translate(4px, 2px) rotate(0.7deg); }
  45% { transform: scale(1.06) translate(-3px, 4px) rotate(-0.4deg); }
  50% { transform: scale(1.1) translate(2px, -4px) rotate(0.5deg); }
  55% { transform: scale(1.05) translate(-4px, 3px) rotate(-0.5deg); }
  60% { transform: scale(1.08) translate(3px, -2px) rotate(0.4deg); }
  65% { transform: scale(1.04) translate(-2px, 4px) rotate(-0.3deg); }
  70% { transform: scale(1.09) translate(4px, -3px) rotate(0.6deg); }
  75% { transform: scale(1.06) translate(-3px, 2px) rotate(-0.4deg); }
  80% { transform: scale(1.07) translate(3px, 4px) rotate(0.5deg); }
  85% { transform: scale(1.04) translate(-4px, -3px) rotate(-0.5deg); }
  90% { transform: scale(1.08) translate(2px, 3px) rotate(0.4deg); }
  95% { transform: scale(1.05) translate(-3px, -2px) rotate(-0.3deg); }
  100% { transform: scale(1.03) translate(0, 0) rotate(0deg); }
}

/* Dossier Selector styles updated to full-image cover cards */

/* ── SHAME QUOTE TERMINAL STYLE ── */
.shame-quote-wrap {
  position: relative;
  background: rgba(4, 4, 4, 0.85);
  border-left: 4px solid var(--ep-color);
  padding: 16px 20px;
  margin: 24px 0 20px;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), inset 0 0 15px rgba(var(--v-theme-rgb), 0.08);
  overflow: hidden;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--ep-color);
  transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.shame-quote-wrap::before {
  content: '▼ CLASSIFIED DOSSIER TAUNT // DECRYPTING SYSTEM MOCKERY';
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ep-color);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.sq-body {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  letter-spacing: 0.02em;
  min-height: 45px;
}
.sq-scanner-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ep-color), transparent);
  opacity: 0.35;
  animation: sqScan 4s linear infinite;
}
@keyframes sqScan {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

/* ── PREMIUM NEON OUTLINES (for villains.html cards) ── */
.villain-card.neon-glow {
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.villain-card.neon-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 1px solid rgba(var(--vc-color-rgb, 255,255,255), 0.15);
  transition: border-color 0.5s, box-shadow 0.5s;
  pointer-events: none;
  z-index: 10;
}
.villain-card.neon-glow:hover::after {
  border-color: var(--vc-color, #fff);
  box-shadow: inset 0 0 15px rgba(var(--vc-color-rgb, 255,255,255), 0.35), 0 0 25px rgba(var(--vc-color-rgb, 255,255,255), 0.2);
}
.villain-card.neon-glow:hover {
  transform: translateY(-8px) scale(1.02);
}
.villain-card.neon-glow img {
  border-radius: 11px;
}
.villain-card.neon-glow .villain-card-grad {
  border-radius: 11px;
}

/* ── UNIVERSE MANIFESTO & DECRYPTION ACCESS STYLING ── */
.universe-manifesto-section {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 100px 52px 110px;
  position: relative;
  overflow: hidden;
}

.m-scanner-line {
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204, 17, 17, 0.6), transparent);
  animation: manifestoScan 8s linear infinite;
  pointer-events: none;
}

@keyframes manifestoScan {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

.m-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.m-card {
  background: rgba(8, 8, 8, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(20px);
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.m-headline {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(28px, 4vw, 48px);
  color: #fff;
  letter-spacing: 0.06em;
  line-height: 1;
  margin: 0 0 28px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  position: relative;
}

.m-headline::after {
  content: '';
  position: absolute;
  bottom: -10px; left: 0; width: 40px; height: 2px;
  background: var(--ep-color, #cc1111);
  box-shadow: 0 0 8px var(--ep-color, #cc1111);
}

.m-para {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(14px, 1.6vw, 17px);
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}

.m-para strong {
  color: #fff;
  font-weight: 500;
  text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.brief-box {
  margin-bottom: 36px;
}

.brief-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 20px;
}

.brief-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brief-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.brief-icon {
  font-size: 22px;
  background: rgba(255, 255, 255, 0.03);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.brief-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.4);
}

.brief-text strong {
  color: #fff;
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

/* PAYWALL PASS CARD */
.paywall-pass-card {
  position: relative;
  background: linear-gradient(135deg, rgba(20, 2, 2, 0.95) 0%, rgba(5, 5, 5, 0.98) 100%);
  border: 1.5px solid rgba(204, 17, 17, 0.35);
  border-radius: 14px;
  padding: 32px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.9), 0 0 25px rgba(204, 17, 17, 0.15);
  transition: all 0.4s ease;
}

.paywall-pass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(204, 17, 17, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.paywall-pass-card:hover {
  border-color: rgba(204, 17, 17, 0.85);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.95), 0 0 35px rgba(204, 17, 17, 0.3);
  transform: translateY(-4px);
}

.pp-scanner {
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #cc1111, transparent);
  opacity: 0.5;
  animation: ppScan 3s linear infinite;
  pointer-events: none;
}

@keyframes ppScan {
  0% { top: 0%; }
  100% { top: 100%; }
}

.pp-badge {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #cc1111;
  background: rgba(204, 17, 17, 0.12);
  border: 1px solid rgba(204, 17, 17, 0.25);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.pp-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 28px;
  letter-spacing: 0.05em;
  color: #fff;
  margin: 0 0 10px;
}

.pp-desc {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 24px;
}

.pp-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 18px;
}

.pp-price-amount {
  font-family: 'Oswald', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.pp-price-term {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.3);
}

.pp-btn {
  width: 100%;
  background: #cc1111;
  border: none;
  border-radius: 6px;
  padding: 14px;
  font-family: 'Bebas Neue', cursive;
  font-size: 15px;
  letter-spacing: 0.15em;
  color: #fff;
  text-align: center;
  text-decoration: none;
  cursor: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 15px rgba(204, 17, 17, 0.4);
  display: block;
}

.pp-btn:hover {
  background: #ff2222;
  box-shadow: 0 0 25px rgba(204, 17, 17, 0.7);
  transform: scale(1.01);
}

/* SYSTEM DECRYPTION OVERLAY */
.decryption-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(15px);
}

.decryption-terminal {
  width: 100%;
  max-width: 600px;
  background: #020202;
  border: 1px solid rgba(204, 17, 17, 0.3);
  box-shadow: 0 0 50px rgba(204, 17, 17, 0.25);
  border-radius: 10px;
  padding: 30px;
  box-sizing: border-box;
}

.dec-line {
  font-family: 'Share Tech Mono', monospace;
  font-size: 14px;
  line-height: 1.8;
  color: #cc1111;
  text-shadow: 0 0 8px rgba(204, 17, 17, 0.6);
  margin-bottom: 10px;
}

.dec-line.header {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
  margin-bottom: 20px;
  font-size: 16px;
  text-shadow: none;
}

.dec-content {
  max-height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Mobile responsive styles for Manifesto */
@media (max-width: 950px) {
  .universe-manifesto-section {
    padding: 70px 24px 80px;
  }
  .m-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .m-card {
    padding: 24px;
  }
  .paywall-pass-card {
    padding: 24px;
  }
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
  .dash-hero-bg {
    background-position: center 12% !important;
  }
  .univ-hero-bg {
    background-position: center top !important;
  }
  .dash-hero-bg.villain-laughing,
  .univ-hero-bg.villain-laughing {
    animation: villainLaughMobile 1.2s infinite ease-in-out alternate,
               villainPulse 3s infinite ease-in-out;
  }
}
@media (max-width: 600px) {

@keyframes villainLaughMobile {
  0% { transform: scale(1.01) translate(0, 0) rotate(0deg); }
  25% { transform: scale(1.02) translate(-1px, 1px) rotate(-0.1deg); }
  50% { transform: scale(1.03) translate(1px, -1px) rotate(0.1deg); }
  75% { transform: scale(1.02) translate(-1px, -1px) rotate(-0.05deg); }
  100% { transform: scale(1.01) translate(0, 0) rotate(0deg); }
}




