/* ============================================================
   PvP Maintenance Modal — 2026-05-11
   Paleta ámbar/naranja (warning/maintenance vibe)
   ============================================================ */

.pvp-maint-overlay {
  background: rgba(0, 0, 0, 0.70) !important;
  backdrop-filter: blur(6px);
}

.pvp-maint-modal {
  position: relative;
  max-width: 440px;
  width: 100%;
  padding: 26px 22px 18px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255, 140, 60, 0.22), transparent 65%),
    linear-gradient(180deg, rgba(28, 16, 8, 0.96), rgba(14, 8, 4, 0.99));
  border: 2px solid rgba(255, 140, 60, 0.55);
  border-radius: 18px;
  text-align: center;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.7),
    0 0 50px rgba(255, 140, 60, 0.25);
  overflow: hidden;
  animation: pvpMaintIn 0.5s cubic-bezier(.2,.9,.3,1.1);
}
@keyframes pvpMaintIn {
  from { opacity: 0; transform: translateY(22px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* Glow halo */
.pvp-maint-glow {
  position: absolute;
  top: -30%; left: 50%;
  width: 320px; height: 320px;
  margin-left: -160px;
  background: radial-gradient(circle, rgba(255, 140, 60, 0.25) 0%, transparent 60%);
  pointer-events: none;
  animation: pvpMaintGlow 3.5s ease-in-out infinite;
}
@keyframes pvpMaintGlow {
  0%, 100% { opacity: 0.7; transform: translateY(0); }
  50%      { opacity: 1;   transform: translateY(6px); }
}

/* Icono wrench con halo y rotación suave */
.pvp-maint-icon-wrap {
  position: relative;
  width: 86px;
  height: 86px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.pvp-maint-icon-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 170, 80, 0.55) 0%, rgba(255, 140, 60, 0.18) 45%, transparent 70%);
  filter: blur(8px);
  animation: pvpMaintGlow 3.5s ease-in-out infinite 0.4s;
  border-radius: 50%;
}
.pvp-maint-icon {
  position: relative;
  z-index: 2;
  font-size: 56px;
  color: #ffb066;
  filter: drop-shadow(0 4px 14px rgba(255, 140, 60, 0.55));
  animation: pvpMaintIconWobble 4.5s ease-in-out infinite;
}
@keyframes pvpMaintIconWobble {
  0%, 100% { transform: rotate(-8deg); }
  50%      { transform: rotate(10deg); }
}

/* Título */
.pvp-maint-title {
  position: relative;
  z-index: 1;
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #ffe1a8 0%, #ffaa50 60%, #d97a20 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 22px rgba(255, 140, 60, 0.35);
  margin-bottom: 8px;
}

/* Subtítulo / ETA */
.pvp-maint-sub {
  position: relative;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  line-height: 1.4;
  color: rgba(255, 230, 200, 0.86);
  margin-bottom: 16px;
}
.pvp-maint-sub b {
  color: #ffd24a;
  font-weight: 700;
}

/* Lista de estados */
.pvp-maint-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 140, 60, 0.25);
  border-radius: 12px;
  text-align: left;
  margin-bottom: 16px;
}
.pvp-maint-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 230, 200, 0.85);
  font-weight: 500;
}
.pvp-maint-line i { font-size: 16px; flex-shrink: 0; }
.pvp-maint-line:nth-child(1) i,
.pvp-maint-line:nth-child(2) i { color: #ff8898; }
.pvp-maint-line:nth-child(3) i { color: #5fd684; }

/* CTA Entendido */
.pvp-maint-ok {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 13px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 11px;
  border: 1px solid rgba(255, 200, 87, 0.6);
  background: linear-gradient(180deg, #ffd991 0%, #ffaa50 50%, #d97a20 100%);
  color: #2a1700;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(255, 170, 80, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform .15s ease, filter .15s ease;
}
.pvp-maint-ok:hover { transform: translateY(-2px); filter: brightness(1.06); }
.pvp-maint-ok:active { transform: translateY(0); }

/* Mobile */
@media (max-width: 480px) {
  .pvp-maint-modal { padding: 22px 18px 16px; }
  .pvp-maint-title { font-size: 20px; }
  .pvp-maint-icon { font-size: 48px; }
  .pvp-maint-icon-wrap { width: 76px; height: 76px; }
}

/* ============================================================
   PvP RULES Modal (2026-05-12) — modal informativo al entrar
   a zona PvP. Paleta crimson/blood para diferenciar del de
   mantenimiento (ámbar/naranja).
   ============================================================ */
.pvp-rules-overlay {
  background: rgba(0, 0, 0, 0.72) !important;
  backdrop-filter: blur(6px);
}

.pvp-rules-modal {
  position: relative;
  max-width: 460px;
  width: 100%;
  padding: 26px 22px 18px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(200, 30, 50, 0.20), transparent 65%),
    linear-gradient(180deg, rgba(28, 8, 12, 0.96), rgba(14, 4, 6, 0.99));
  border: 2px solid rgba(200, 30, 50, 0.50);
  border-radius: 18px;
  text-align: center;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.7),
    0 0 50px rgba(200, 30, 50, 0.25);
  overflow: hidden;
  animation: pvpRulesIn 0.5s cubic-bezier(.2,.9,.3,1.1);
}
@keyframes pvpRulesIn {
  from { opacity: 0; transform: translateY(22px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.pvp-rules-glow {
  position: absolute;
  top: -30%; left: 50%;
  width: 340px; height: 340px;
  margin-left: -170px;
  background: radial-gradient(circle, rgba(200, 30, 50, 0.22) 0%, transparent 60%);
  pointer-events: none;
  animation: pvpMaintGlow 3.5s ease-in-out infinite;
}

.pvp-rules-icon {
  position: relative;
  z-index: 1;
  font-size: 54px;
  color: #ff7a8a;
  filter: drop-shadow(0 4px 14px rgba(200, 30, 50, 0.55));
  margin-bottom: 6px;
  animation: pvpMaintIconWobble 4.5s ease-in-out infinite;
}

.pvp-rules-title {
  position: relative;
  z-index: 1;
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #ffd0d0 0%, #ff7a8a 50%, #b41e2e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 22px rgba(200, 30, 50, 0.35);
  margin-bottom: 6px;
}

.pvp-rules-sub {
  position: relative;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  color: rgba(255, 220, 220, 0.82);
  margin-bottom: 16px;
}

.pvp-rules-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.40);
  border: 1px solid rgba(200, 30, 50, 0.25);
  border-radius: 12px;
  text-align: left;
  margin-bottom: 16px;
}
.pvp-rules-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 230, 230, 0.88);
  line-height: 1.4;
}
.pvp-rules-line i {
  color: #ff7a8a;
  font-size: 13px;
  margin-top: 3px;
  flex-shrink: 0;
}
.pvp-rules-line b { color: #ffeac0; font-weight: 700; }

.pvp-rules-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pvp-rules-cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
@media (max-width: 480px) {
  .pvp-rules-modal { padding: 22px 18px 16px; }
  .pvp-rules-title { font-size: 20px; }
  .pvp-rules-icon { font-size: 46px; }
}
