/* Design reminder: Preserve the source's cinematic black-and-gold survival chronicle. The Survivor treatment should feel ceremonial, warm, and legible—not tropical or playful. */
.survivor-campaign-bar {
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
  min-height: 67px;
  padding: 0.33rem 1rem 0.38rem !important;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(255, 175, 45, 0.66), transparent 50%),
    linear-gradient(90deg, #0b0905 0%, #38220a 18%, #b96d16 50%, #38220a 82%, #0b0905 100%) !important;
  border-top: 1px solid rgba(255, 220, 130, 0.56);
  border-bottom: 1px solid rgba(255, 201, 90, 0.54);
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 248, 210, 0.28), inset 0 -1px 0 rgba(32, 13, 0, 0.55);
}

.survivor-campaign-bar::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(110deg, transparent 0 44%, rgba(255, 235, 174, 0.22) 47%, transparent 50%),
    repeating-linear-gradient(90deg, transparent 0 32px, rgba(255, 236, 185, 0.08) 33px 34px, transparent 35px 66px);
  mix-blend-mode: screen;
}

.survivor-campaign-bar::after {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: min(54vw, 620px);
  height: 100%;
  content: "";
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 185, 46, 0.33), transparent 68%);
  filter: blur(4px);
}

.survivor-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.52rem;
  min-height: 42px;
  color: #fff2c3 !important;
  font-family: "Cinzel", Georgia, serif !important;
  font-size: clamp(0.65rem, 1.25vw, 0.78rem) !important;
  font-weight: 900 !important;
  letter-spacing: 0.18em !important;
  line-height: 1.1;
  text-align: center;
  text-decoration: none !important;
  text-shadow: 0 1px 0 #160a00, 0 0 10px rgba(255, 196, 77, 0.72);
  transition: color 180ms var(--ease-out, ease-out), transform 180ms var(--ease-out, ease-out), text-shadow 180ms var(--ease-out, ease-out);
}

.survivor-cta:hover,
.survivor-cta:focus-visible {
  color: #fff9df !important;
  transform: translateY(-1px);
  text-shadow: 0 1px 0 #160a00, 0 0 16px rgba(255, 215, 115, 0.95);
}

.survivor-torch {
  display: inline-grid;
  place-items: center;
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 34px;
}

.survivor-torch::before {
  position: absolute;
  z-index: 0;
  bottom: 4px;
  width: 14px;
  height: 23px;
  content: "";
  clip-path: polygon(50% 0%, 78% 32%, 75% 65%, 50% 100%, 24% 65%, 21% 32%);
  background: radial-gradient(ellipse at 52% 76%, #fff7c5 0 13%, #ffb328 25%, #e44b0d 56%, rgba(126, 21, 0, 0.2) 76%);
  box-shadow: 0 0 11px 4px rgba(255, 130, 16, 0.52), 0 0 26px 8px rgba(255, 192, 61, 0.24);
  transform-origin: 50% 90%;
  animation: survivor-flame 2.6s ease-in-out infinite alternate;
}

.survivor-torch img {
  position: relative;
  z-index: 1;
  width: 31px;
  height: 31px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 5px rgba(255, 130, 18, 0.92)) drop-shadow(0 0 12px rgba(255, 197, 71, 0.62));
  transform-origin: 50% 83%;
  animation: survivor-flame 2.6s ease-in-out infinite alternate;
}

.survivor-cta:hover .survivor-torch img,
.survivor-cta:focus-visible .survivor-torch img {
  animation-duration: 1.25s;
}

.survivor-text {
  position: relative;
  top: 0;
}

.survivor-copy {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.13rem;
}

.survivor-proof {
  color: #ffdf89;
  font-family: "Inter", sans-serif;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.15;
  text-shadow: 0 0 8px rgba(255, 188, 50, 0.58);
}

.survivor-helper {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffe19a;
  font-family: "Inter", sans-serif;
  font-size: 0.49rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-shadow: 0 0 8px rgba(255, 197, 72, 0.78);
}

.survivor-helper::before,
.survivor-helper::after {
  width: 18px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, #ffc85a);
}

.survivor-helper::after {
  transform: rotate(180deg);
}

@keyframes survivor-flame {
  from { transform: rotate(-2deg) scale(0.96, 1); filter: drop-shadow(0 0 4px rgba(255, 131, 16, 0.78)) drop-shadow(0 0 9px rgba(255, 185, 62, 0.52)); }
  to { transform: rotate(2deg) scale(1.04, 1.08); filter: drop-shadow(0 0 7px rgba(255, 116, 12, 1)) drop-shadow(0 0 16px rgba(255, 216, 91, 0.8)); }
}

@media (max-width: 520px) {
  .survivor-campaign-bar { min-height: 63px; padding-inline: 0.5rem !important; }
  .survivor-cta { gap: 0.26rem; letter-spacing: 0.09em !important; }
  .survivor-torch { width: 23px; }
  .survivor-torch img { width: 25px; height: 25px; }
  .survivor-helper { font-size: 0.45rem; letter-spacing: 0.11em; }
  .survivor-proof { font-size: 0.4rem; letter-spacing: 0.08em; }
  .survivor-helper::before, .survivor-helper::after { width: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .survivor-torch img, .survivor-torch::before { animation: none; }
  .survivor-cta { transition: none; }
}
