/* =====================================================================
   Black Archlord — Halloween (halloween.php, halloween-event-2026.php)
   Tema del sitio con un acento naranja de calabaza.
   ===================================================================== */

.nw-hw {
  --hw-orange: #ff8a2b;
  --hw-orange-soft: rgba(255, 138, 43, 0.14);
  --hw-orange-line: rgba(255, 138, 43, 0.35);
  --hw-purple: #b98bd6;
}

.nw-hw-hero .nw-page-hero-bg {
  filter: hue-rotate(48deg) saturate(1.6) brightness(0.5) contrast(1.1);
}

.nw-hw .nw-auth-eyebrow {
  color: var(--hw-orange);
}

.nw-hw-tagline {
  margin: 0 0 10px;
  color: var(--hw-orange);
  font-family: var(--nw-font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nw-hw-pumpkin {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border: 1px solid var(--hw-orange-line);
  border-radius: 50%;
  color: var(--hw-orange);
  background: radial-gradient(circle, rgba(255, 138, 43, 0.22), rgba(0, 0, 0, 0.5));
  box-shadow: 0 0 40px rgba(255, 138, 43, 0.25);
  font-size: 52px;
}

.nw-hw-page {
  display: grid;
  gap: 30px;
  padding-top: 28px;
  padding-bottom: 60px;
}

.nw-hw-heading {
  margin-bottom: 16px;
}

.nw-hw-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  color: #fff;
  font-family: var(--nw-font-display);
  font-size: 26px;
  font-weight: 700;
}

.nw-hw-heading h2 i {
  color: var(--hw-orange);
  font-size: 20px;
}

.nw-hw-heading p {
  max-width: 760px;
  margin: 0;
  color: var(--nw-muted);
}

.nw-hw-heading--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 20px;
}

.nw-hw-subheading {
  margin: 26px 0 14px;
  text-align: center;
}

.nw-hw-subheading h3 {
  margin: 0 0 4px;
  color: var(--hw-orange);
  font-family: var(--nw-font-display);
  font-size: 21px;
}

.nw-hw-subheading p {
  margin: 0;
  color: var(--nw-muted);
}

.nw-hw-panel {
  padding: 22px 24px;
}

.nw-hw-card-title {
  margin: 0 0 8px;
  color: var(--hw-orange);
  font-family: var(--nw-font-display);
  font-size: 20px;
}

.nw-hw-panel p {
  color: #d9ccc6;
}

.nw-hw-grid {
  display: grid;
  gap: 14px;
}

.nw-hw-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nw-hw-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nw-hw-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.nw-hw-label {
  display: block;
  margin: 0 0 6px;
  color: var(--nw-gold);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Monstruos (2026) ---------- */

.nw-hw-monster {
  padding: 20px;
  border-top: 2px solid var(--hw-monster, var(--hw-orange));
  text-align: center;
}

.nw-hw-monster--green { --hw-monster: #4cd47a; }
.nw-hw-monster--yellow { --hw-monster: #f2c84b; }
.nw-hw-monster--red { --hw-monster: #ff5a4a; }

.nw-hw-monster-icon {
  margin-bottom: 10px;
  color: var(--hw-monster);
  font-size: 30px;
  filter: drop-shadow(0 0 10px var(--hw-monster));
}

.nw-hw-monster h3 {
  margin: 0 0 10px;
  color: var(--hw-monster);
  font-family: var(--nw-font-display);
  font-size: 20px;
}

.nw-hw-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}

.nw-hw-meta > span {
  padding: 3px 9px;
  border: 1px solid var(--nw-line-soft);
  color: #d9ccc6;
  background: rgba(0, 0, 0, 0.35);
  font-size: 12px;
}

.nw-hw-material {
  margin: 0;
  color: var(--nw-muted);
}

.nw-hw-material strong {
  color: #fff;
}

/* ---------- Materiales ---------- */

.nw-hw-drop {
  padding: 18px;
  border: 1px solid var(--hw-orange-line);
  border-top: 2px solid var(--hw-orange);
  background: linear-gradient(145deg, var(--hw-orange-soft), rgba(0, 0, 0, 0.25));
}

.nw-hw-drop strong {
  display: block;
  color: #fff;
  font-size: 18px;
}

.nw-hw-source {
  display: block;
  margin-top: 6px;
  color: var(--nw-muted);
  font-size: 13px;
}

.nw-hw-extra {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--nw-line-soft);
}

.nw-hw-extra p {
  margin: 0;
}

.nw-hw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.nw-hw-tags li {
  padding: 6px 12px;
  border: 1px solid rgba(185, 139, 214, 0.3);
  color: #eadcf2;
  background: rgba(115, 66, 135, 0.16);
  font-size: 13px;
}

.nw-hw-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0;
  padding: 13px 16px;
  border-left: 3px solid var(--hw-orange);
  color: #f6dcc0 !important;
  background: rgba(255, 138, 43, 0.08);
  font-size: 14px;
}

.nw-hw-note i {
  color: var(--hw-orange);
}

.nw-hw-note--warn {
  border-left-color: var(--nw-red-hot);
  background: rgba(227, 52, 42, 0.08);
}

.nw-hw-note--warn i {
  color: var(--nw-red-hot);
}

/* ---------- Listas ---------- */

.nw-hw-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nw-hw-list--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
}

.nw-hw-list li {
  position: relative;
  padding-left: 18px;
  color: #e0d4ce;
  font-size: 14px;
}

.nw-hw-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 3px;
  width: 7px;
  height: 7px;
  background: var(--hw-orange);
  transform: rotate(45deg);
}

/* ---------- Receta de refinería ---------- */

.nw-hw-recipe {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.2fr);
  align-items: stretch;
  gap: 10px;
}

.nw-hw-ingredient {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 18px 12px;
  border: 1px solid var(--nw-line-soft);
  background: rgba(6, 4, 5, 0.55);
  text-align: center;
}

.nw-hw-ingredient strong {
  color: #fff;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.nw-hw-emoji {
  font-size: 26px;
  line-height: 1;
}

.nw-hw-qty {
  display: block;
  margin: 4px 0 4px;
  color: var(--hw-orange);
  font-family: var(--nw-font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
}

.nw-hw-op {
  align-self: center;
  color: var(--nw-gold-soft);
  font-size: 24px;
  font-weight: 700;
}

.nw-hw-result {
  border-color: var(--hw-orange-line);
  background: linear-gradient(145deg, rgba(255, 138, 43, 0.2), rgba(96, 41, 10, 0.18));
  box-shadow: 0 0 24px rgba(255, 138, 43, 0.12);
}

.nw-hw-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(76, 212, 122, 0.4);
  color: #b6e8c4;
  background: rgba(54, 210, 107, 0.1);
  font-size: 13px;
  font-weight: 600;
}

.nw-hw-badge--soon {
  margin-bottom: 10px;
  border-color: rgba(242, 200, 75, 0.45);
  color: #f6e2a6;
  background: rgba(242, 200, 75, 0.1);
}

.nw-hw-batch {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--nw-line-soft);
}

.nw-hw-batch > div {
  flex: 1;
}

.nw-hw-batch strong {
  color: #fff;
  font-size: 16px;
}

.nw-hw-batch p {
  flex: 1;
  margin: 0;
  color: var(--nw-muted);
}

/* ---------- Tabla de intercambios ---------- */

.nw-hw-table th[scope="row"] {
  width: 140px;
  color: var(--hw-orange);
  font-family: var(--nw-font-display);
  font-size: 18px;
}

.nw-hw-table td {
  color: #e0d4ce;
}

/* ---------- Cuenta atrás (2025) ---------- */

.nw-hw-countdown {
  padding: 18px 20px;
  text-align: center;
}

.nw-hw-countdown-title {
  margin-bottom: 12px;
  color: var(--hw-orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nw-hw-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(64px, 1fr));
  gap: 8px;
}

.nw-hw-countdown-grid > div {
  padding: 10px 6px;
  border: 1px solid var(--nw-line-soft);
  background: rgba(0, 0, 0, 0.45);
}

.nw-hw-countdown-grid span {
  display: block;
  color: #fff;
  font-family: var(--nw-font-display);
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.nw-hw-countdown-grid small {
  color: var(--nw-muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Trajes (2025) ---------- */

.nw-hw-facts {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.nw-hw-facts > span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f6dcc0;
  font-size: 14px;
}

.nw-hw-facts i {
  color: var(--hw-orange);
}

.nw-hw-suits {
  display: grid;
  gap: 10px;
}

.nw-hw-suits > div {
  padding: 12px 14px;
  border: 1px solid var(--nw-line-soft);
  border-left: 3px solid var(--hw-orange);
  background: rgba(6, 4, 5, 0.5);
}

.nw-hw-suits strong {
  display: block;
  margin-bottom: 4px;
  color: var(--hw-orange);
  font-family: var(--nw-font-display);
}

.nw-hw-suits span {
  color: #e0d4ce;
  font-size: 14px;
}

/* ---------- Jefes (2025) ---------- */

.nw-hw-boss-main {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  padding: 22px;
  border-top: 2px solid var(--hw-orange);
}

.nw-hw-boss-main img {
  width: 100%;
  border: 1px solid var(--nw-frame);
}

.nw-hw-boss-main h3 {
  margin: 0 0 8px;
  color: var(--hw-orange);
  font-family: var(--nw-font-display);
  font-size: 30px;
}

.nw-hw-boss-main p {
  color: #d9ccc6;
}

.nw-hw-drops-label {
  display: block;
  margin-top: 12px;
  color: var(--nw-gold);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nw-hw-varied {
  margin: 12px 0 0;
  color: #f6dcc0 !important;
  font-size: 13.5px;
  font-style: italic;
}

.nw-hw-center {
  text-align: center;
}

.nw-hw-boss {
  padding: 14px;
  text-align: center;
}

.nw-hw-boss-img {
  margin-bottom: 10px;
  border: 1px solid var(--nw-frame);
  background: rgba(0, 0, 0, 0.5);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.nw-hw-boss-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nw-hw-boss h3 {
  margin: 0;
  color: #fff;
  font-family: var(--nw-font-display);
  font-size: 19px;
}

.nw-hw-boss .nw-hw-tags {
  justify-content: center;
}

/* ---------- Cofres (2025) ---------- */

.nw-hw-vault {
  padding: 20px;
  border-top: 2px solid var(--hw-vault);
}

.nw-hw-vault--bronze { --hw-vault: #cd7f32; }
.nw-hw-vault--silver { --hw-vault: #c9ced6; }
.nw-hw-vault--gold { --hw-vault: #f2c84b; }
.nw-hw-vault--platinum { --hw-vault: #e5e4e2; }

.nw-hw-vault-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--nw-line-soft);
}

.nw-hw-vault-head > i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--hw-vault);
  color: var(--hw-vault);
  background: rgba(0, 0, 0, 0.45);
  font-size: 20px;
  box-shadow: 0 0 14px color-mix(in srgb, var(--hw-vault) 30%, transparent);
}

.nw-hw-vault-head h3 {
  margin: 0;
  color: var(--hw-vault);
  font-family: var(--nw-font-display);
  font-size: 19px;
}

.nw-hw-vault-head span {
  color: var(--nw-muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nw-hw-odds {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nw-hw-odds li {
  padding: 6px 8px;
  border-bottom: 1px solid var(--nw-line-soft);
  color: #e0d4ce;
  font-size: 13.5px;
}

.nw-hw-odds li:last-child {
  border-bottom: 0;
}

.nw-hw-commands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.nw-hw-commands code {
  padding: 5px 10px;
  border: 1px solid var(--hw-orange-line);
  color: var(--hw-orange);
  background: rgba(0, 0, 0, 0.45);
  font-size: 13px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nw-hw-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .nw-hw-grid--2,
  .nw-hw-grid--3 {
    grid-template-columns: 1fr;
  }

  .nw-hw-recipe {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .nw-hw-op {
    justify-self: center;
  }

  .nw-hw-batch {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nw-hw-boss-main {
    grid-template-columns: 1fr;
  }

  .nw-hw-countdown {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .nw-hw-pumpkin {
    display: none;
  }

  .nw-hw-panel,
  .nw-hw-boss-main {
    padding: 18px 16px;
  }

  .nw-hw-list--2 {
    grid-template-columns: 1fr;
  }

  .nw-hw-grid--4 {
    grid-template-columns: 1fr;
  }

  .nw-hw-countdown-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .nw-hw-countdown-grid span {
    font-size: 22px;
  }

  .nw-hw-table th[scope="row"] {
    width: 80px;
  }
}
