/* MU Advanced VIP — tema azul noche y dorado (The King Team, 20/10/2026) */
:root, body.we-body {
  --we-bg: #060b14 !important; --we-bg-elevated: #0e1828 !important; --we-bg-glass: rgba(14, 24, 40, 0.8) !important;
  --we-border: rgba(120, 150, 200, 0.16) !important; --we-border-glow: rgba(232, 176, 74, 0.35) !important;
  --we-text: #eef2f8 !important; --we-text-muted: #b8c4d6 !important; --we-text-dim: #8c9ab0 !important;
  --we-primary: #e8b04a !important; --we-primary-light: #ffda8a !important; --we-primary-dark: #c8902f !important; --we-accent: #5aa0ff !important;
  --we-glow: 0 0 24px rgba(232, 176, 74, 0.3) !important; --we-glow-sm: 0 0 12px rgba(232, 176, 74, 0.22) !important;
  --we-font: 'Source Sans 3', system-ui, sans-serif !important; --we-font-display: 'Cinzel', 'Source Sans 3', serif !important;
  --we-scrollbar-track: rgba(6, 11, 20, 0.95) !important;
  --we-scrollbar-thumb: linear-gradient(180deg, #ffda8a 0%, #c8902f 55%, #8a6a35 100%) !important;
  --we-scrollbar-thumb-hover: linear-gradient(180deg, #ffe9b0 0%, #e8b04a 55%, #c8902f 100%) !important;
}
body { background: #060b14; font-family: 'Source Sans 3', system-ui, sans-serif; }
h1, h2, h3, .panel-title, .we-hero-title, .page-title { font-family: 'Cinzel', serif; letter-spacing: .02em; }
.we-btn-primary, .btn-primary, .we-btn-glow { color: #0a1220 !important; background: linear-gradient(180deg, #f4d27a, #c8902f) !important; border-color: #c8902f !important; text-shadow: none !important; }
.we-btn-primary:hover, .btn-primary:hover, .we-btn-glow:hover { color: #0a1220 !important; filter: brightness(1.08); box-shadow: 0 8px 28px rgba(232, 176, 74, .4) !important; }
.we-btn-primary svg, .btn-primary svg { stroke: currentColor; }
.we-navbar { border-bottom: 2px solid #e8b04a; }
.we-brand-logo { height: 54px; width: auto; filter: drop-shadow(0 0 8px rgba(255, 180, 80, .35)); }
.we-hero-bg { filter: hue-rotate(-45deg) saturate(.85) brightness(.75); }

/* barra superior */
.av-topbar { background: #08101c; border-bottom: 1px solid #1a2840; color: #8c9ab0; font: 600 13px 'Source Sans 3', sans-serif; }
.av-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }
.av-online { display: inline-flex; align-items: center; gap: 8px; }
.av-online i { width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 8px #2ecc71; animation: avPulse 2s ease-in-out infinite; }
.av-soc-top { display: flex; gap: 4px; }
.av-soc-top a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 6px; transition: background .2s; }
.av-soc-top a:hover { background: #16243a; }

/* barra lateral flotante */
.av-soc-side { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 1040; display: flex; flex-direction: column; gap: 6px; padding: 8px 6px; background: rgba(8, 16, 28, .94); border: 1px solid #263856; border-right: 0; border-radius: 10px 0 0 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.av-soc-side a { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; transition: background .2s, transform .2s; }
.av-soc-side a:hover { background: #16243a; transform: translateX(-2px); }
.av-tip { position: absolute; right: 54px; white-space: nowrap; padding: 5px 10px; border-radius: 4px; background: #16243a; border: 1px solid #263856; color: #eef2f8; font: 700 13px 'Source Sans 3', sans-serif; opacity: 0; pointer-events: none; transition: opacity .2s; }
.av-soc-side a:hover .av-tip { opacity: 1; }

/* pie: redes y firma */
.we-footer-social.av-wrap { display: block; }
.av-soc-footer { display: flex; gap: 10px; flex-wrap: wrap; }
.av-soc-footer a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid #263856; border-radius: 8px; background: #0b1524; color: #eef2f8; font-weight: 700; text-decoration: none; transition: border-color .2s, transform .2s; }
.av-soc-footer a:hover { border-color: #e8b04a; transform: translateY(-2px); color: #fff; text-decoration: none; }
.av-signature { display: flex; justify-content: center; padding: 20px 0 6px; }
.av-signature img { width: 320px; max-width: 85%; height: auto; filter: drop-shadow(0 0 14px rgba(80, 140, 255, .25)); }

/* logo grande del hero con efectos */
.we-hero-layout { display: flex; align-items: center; gap: 40px; }
.we-hero-layout .we-hero-main { flex: 1 1 auto; min-width: 0; }
.av-hero-logo { position: relative; flex: 0 0 380px; width: 380px; aspect-ratio: 1 / 1; animation: avFloat 6s ease-in-out infinite; }
.av-hero-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; animation: avGlow 4s ease-in-out infinite; }
.av-halo { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 190, 90, .38) 0%, rgba(60, 120, 255, .18) 45%, rgba(6, 11, 20, 0) 70%); filter: blur(10px); animation: avHalo 4s ease-in-out infinite; }
.av-ring { position: absolute; inset: 2%; border-radius: 50%; border: 1px solid rgba(232, 176, 74, .25); animation: avSpin 40s linear infinite; }
.av-ring::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #ffda8a; box-shadow: 0 0 14px 4px rgba(255, 218, 138, .8); }
.av-shine { position: absolute; inset: 0; -webkit-mask: url(../img/av-logo.webp) center / contain no-repeat; mask: url(../img/av-logo.webp) center / contain no-repeat; background: linear-gradient(110deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.6) 50%, rgba(255,255,255,0) 60%); background-size: 250% 100%; mix-blend-mode: screen; animation: avShine 5s ease-in-out infinite; }
@keyframes avFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes avGlow { 0%, 100% { filter: drop-shadow(0 16px 30px rgba(0,0,0,.8)) drop-shadow(0 0 18px rgba(255,170,60,.35)); } 50% { filter: drop-shadow(0 16px 30px rgba(0,0,0,.8)) drop-shadow(0 0 38px rgba(255,190,80,.7)); } }
@keyframes avHalo { 0%, 100% { opacity: .7; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes avSpin { to { transform: rotate(360deg); } }
@keyframes avShine { 0%, 55% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
@keyframes avPulse { 50% { opacity: .35; } }

@media (max-width: 991px) {
  .we-hero-layout { flex-direction: column; }
  .av-hero-logo { flex: none; width: 280px; margin: 8px auto 0; }
}
@media (max-width: 767px) {
  .av-hero-logo { width: 220px; }
  .av-soc-side { top: auto; bottom: 96px; transform: none; padding: 6px 4px; gap: 4px; }
  .av-soc-side a { width: 42px; height: 42px; }
  .av-tip { display: none; }
  .av-topbar-inner { justify-content: center; }
  .av-online span { display: none; }
  .av-soc-footer a { flex: 1 1 calc(50% - 10px); justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .av-hero-logo, .av-hero-logo img, .av-halo, .av-ring, .av-shine, .av-online i { animation: none; } }
/* ajustes finos de celular */
@media (max-width: 767px) {
  .av-soc-top a { width: 44px; height: 44px; }
  .av-soc-side { top: auto !important; bottom: 14px !important; right: 0; transform: none !important; padding: 4px 3px; gap: 2px; background: rgba(8, 16, 28, .9); }
  .av-soc-side a { width: 40px; height: 40px; }
  .av-soc-side svg { width: 20px; height: 20px; }
  .we-footer { padding-bottom: 24px; }
}
/* escritorio: tarjeta de usuarios en linea a la derecha, sin tapar los botones */
@media (min-width: 768px) {
  .we-hud-float-online { left: auto !important; right: 96px !important; transform: none !important; }
}
/* ===== Descargas: diseño limpio ===== */
.download-zone, .system-requirements { background: #0e1828; border: 1px solid #1e2d47; border-radius: 14px; padding: 26px 28px; margin: 0 0 20px; }
.download-zone:has(.download-empty) { display: none; }
.download-zone-heading, .requirements-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.download-zone-heading h2, .requirements-heading h2 { margin: 4px 0 6px; font-size: 26px; color: #fff; }
.download-zone-heading p, .requirements-heading p { margin: 0; color: #b8c4d6; font-size: 15px; max-width: 620px; }
.download-eyebrow { font: 700 12px 'Source Sans 3', sans-serif; letter-spacing: .18em; color: #e8b04a; }
.download-zone-badge, .requirements-note { padding: 5px 12px; border: 1px solid #8a6a35; border-radius: 999px; color: #ffda8a; font: 700 12px 'Source Sans 3', sans-serif; letter-spacing: .1em; background: rgba(232, 176, 74, .08); white-space: nowrap; }
.download-client-list { display: grid; gap: 12px; }
.download-item { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 18px; padding: 18px 20px; border: 1px solid #263856; border-radius: 12px; background: linear-gradient(90deg, rgba(232, 176, 74, .08), rgba(14, 24, 40, 0) 60%), #0b1524; }
.download-item-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(180deg, #f4d27a, #c8902f); color: #0a1220; font-size: 26px; font-weight: 800; }
.download-item-copy h3 { margin: 0 0 2px; font-size: 20px; color: #fff; }
.download-item-copy p { margin: 0; color: #8c9ab0; font-size: 14px; }
.download-item-meta { display: flex; align-items: center; gap: 14px; }
.download-size { font: 700 15px 'Orbitron', sans-serif; color: #b8c4d6; }
.download-action { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 8px; background: linear-gradient(180deg, #f4d27a, #c8902f); color: #0a1220 !important; font: 800 15px 'Source Sans 3', sans-serif; letter-spacing: .06em; text-transform: uppercase; text-decoration: none !important; transition: filter .2s, transform .2s, box-shadow .2s; }
.download-action:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 8px 26px rgba(232, 176, 74, .4); }
.requirements-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.requirement-card { padding: 14px 16px; border: 1px solid #1e2d47; border-radius: 10px; background: #0b1524; }
.requirement-card span { display: block; font: 700 11px 'Source Sans 3', sans-serif; letter-spacing: .14em; color: #e8b04a; margin-bottom: 4px; }
.requirement-card strong { color: #eef2f8; font-size: 15px; font-weight: 600; line-height: 1.35; }
.requirement-card small { color: #8c9ab0; font-weight: 400; }
.requirements-source { margin: 14px 0 0; color: #7a889e; font-size: 13px; }

/* ===== Rankings: tabla compacta ===== */
.rankings_menu { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.rankings_menu a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border: 1px solid #263856; border-radius: 999px; background: #0b1524; color: #b8c4d6 !important; font: 700 14px 'Source Sans 3', sans-serif; text-decoration: none !important; transition: border-color .2s, color .2s, background .2s; }
.rankings_menu a:hover { border-color: #e8b04a; color: #fff !important; }
.rankings_menu a.active { background: linear-gradient(180deg, #f4d27a, #c8902f); border-color: #c8902f; color: #0a1220 !important; }
.ranking-results { border: 1px solid #1e2d47; border-radius: 14px; overflow: hidden; background: #0e1828; }
.rankings-table { margin: 0 !important; background: transparent !important; }
.rankings-table tr:first-child td { padding: 12px 14px !important; background: #101b2d; color: #8c9ab0 !important; font: 700 12px 'Source Sans 3', sans-serif !important; letter-spacing: .12em; text-transform: uppercase; border: 0 !important; }
.rankings-table td { padding: 8px 14px !important; vertical-align: middle !important; border-top: 1px solid #1a2840 !important; color: #eef2f8; }
.rankings-table tr:not(:first-child):hover td { background: rgba(232, 176, 74, .05); }
.rankings-class-image { width: 40px !important; height: 40px !important; object-fit: cover; border-radius: 8px; border: 1px solid #263856; box-shadow: none !important; }
.rankings-table-place { width: 56px; font: 700 15px 'Orbitron', sans-serif; color: #8c9ab0; }
.rankings-table tr:nth-child(2) .rankings-table-place { color: #ffda8a; }
.rankings-table tr:nth-child(3) .rankings-table-place { color: #d9d9d9; }
.rankings-table tr:nth-child(4) .rankings-table-place { color: #e0915a; }
.rankings-table td a { color: #ffda8a; font-weight: 700; }
.rankings-table td:last-child { font: 700 15px 'Orbitron', sans-serif; color: #ffda8a; }
.rankings-table img[src*="/flags/"] { width: 20px; height: auto; border-radius: 2px; }
.online-status-indicator { width: 8px; height: 8px; margin-left: 6px; vertical-align: middle; }

@media (max-width: 767px) {
  .download-zone, .system-requirements { padding: 18px 16px; }
  .download-item { grid-template-columns: 44px 1fr; }
  .download-item-icon { width: 44px; height: 44px; font-size: 20px; }
  .download-item-meta { grid-column: 1 / -1; justify-content: space-between; }
  .download-action { flex: 1; justify-content: center; }
  .requirements-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ranking-results { overflow-x: auto; }
  .rankings-table td:nth-child(2), .rankings-table tr:first-child td:nth-child(2) { display: none; }
  .rankings-class-image { width: 34px !important; height: 34px !important; }
  .rankings-table td { padding: 8px 10px !important; }
  .rankings_menu a { flex: 1 1 calc(50% - 8px); justify-content: center; }
}
.rankings_menu a.active, .rankings_menu a.active:hover { background: linear-gradient(180deg, #f4d27a, #c8902f) !important; border-color: #c8902f !important; color: #0a1220 !important; box-shadow: 0 4px 16px rgba(232, 176, 74, .3); }
.rankings-table td { padding: 6px 14px !important; }
.rankings-table tr:nth-child(2) .rankings-table-place { color: #ffda8a !important; }
.rankings-table tr:nth-child(3) .rankings-table-place { color: #d9d9d9 !important; }
.rankings-table tr:nth-child(4) .rankings-table-place { color: #e0915a !important; }
/* ===== Informacion del servidor ===== */
.av-info .we-info-section { margin-bottom: 22px; }
.av-info-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.av-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 1px solid #263856; border-radius: 999px; background: #0b1524; color: #eef2f8; font-weight: 600; }
.av-chip b { color: #2ecc71; }
.av-chip-gold { border-color: #8a6a35; color: #ffda8a; background: rgba(232, 176, 74, .08); font-weight: 700; }
.av-info-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.av-info-list li { position: relative; padding: 12px 14px 12px 40px; border: 1px solid #1e2d47; border-radius: 10px; background: #0b1524; color: #eef2f8; font-weight: 600; }
.av-info-list li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: radial-gradient(circle, #ffda8a 0 35%, #c8902f 36% 100%); box-shadow: 0 0 10px rgba(232, 176, 74, .5); }
.av-info-cmds { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; }
.av-cmd { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #1e2d47; border-radius: 10px; background: #0b1524; }
.av-cmd code { flex: 0 0 auto; padding: 4px 10px; border: 1px solid #8a6a35; border-radius: 6px; background: #071019; color: #ffda8a; font: 700 14px 'Orbitron', monospace; }
.av-cmd span { color: #b8c4d6; font-size: 15px; }
.av-info-note { margin: 12px 0 0; color: #8c9ab0; }