/* ================================
   MU MYSTICAL – EPIC OVERLAY
   No rompe el template base
================================ */

/* 🔥 FONDO GENERAL CON PROFUNDIDAD */
body {
  background:
    radial-gradient(circle at top, rgba(40,80,120,0.35), rgba(0,0,0,0.95)),
    linear-gradient(180deg, #05080d 0%, #000000 100%);
  background-attachment: fixed;
  color: #e0e0e0;
}

/* 🌩 EFECTO ATMOSFÉRICO SUTIL */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(
      120deg,
      rgba(120,180,255,0.04) 0px,
      rgba(120,180,255,0.04) 1px,
      transparent 1px,
      transparent 120px
    );
  pointer-events: none;
  z-index: 0;
}

/* 🧱 TODAS LAS SECCIONES */
.container,
.section,
.card,
.box,
.content {
  position: relative;
  z-index: 1;
}

/* 📰 BLOQUES / TARJETAS */
.card,
.box,
.panel {
  background: linear-gradient(
    180deg,
    rgba(20,30,45,0.9),
    rgba(5,10,18,0.95)
  );
  border: 1px solid rgba(100,160,255,0.15);
  box-shadow:
    0 0 25px rgba(0,0,0,0.7),
    inset 0 0 15px rgba(100,160,255,0.05);
  border-radius: 12px;
}

/* ✨ TITULOS */
h1, h2, h3, h4 {
  color: #9fd0ff;
  text-shadow:
    0 0 6px rgba(120,180,255,0.6),
    0 0 18px rgba(40,120,255,0.4);
}

/* 🔘 BOTONES */
button,
.btn,
a.button {
  background: linear-gradient(180deg, #1c6ccf, #0a2a55);
  border: 1px solid rgba(120,180,255,0.6);
  color: #eaf6ff;
  box-shadow: 0 0 12px rgba(80,150,255,0.6);
  transition: all 0.25s ease;
}

button:hover,
.btn:hover,
a.button:hover {
  box-shadow: 0 0 25px rgba(120,200,255,0.9);
  transform: translateY(-2px);
}

/* 🧭 NAVBAR */
nav,
.navbar {
  background: linear-gradient(
    180deg,
    rgba(10,20,40,0.95),
    rgba(0,0,0,0.95)
  );
  box-shadow: 0 0 20px rgba(0,0,0,0.9);
  border-bottom: 1px solid rgba(100,160,255,0.25);
}

/* 🌀 SCROLLBAR OSCURO (NO BLANCO) */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #050a12;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    #1c4f7a,
    #0a1f33
  );
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    #2b78b5,
    #123a5c
  );
}

/* 🦶 FOOTER */
footer {
  background: linear-gradient(
    180deg,
    rgba(5,10,20,0.95),
    rgba(0,0,0,1)
  );
  border-top: 1px solid rgba(100,160,255,0.2);
}
/* ================================
   EPIC MU ONLINE STYLE
   ================================ */

:root {
  --mu-blue: #0aa2ff;
  --mu-cyan: #4cc9ff;
  --mu-dark: #070b12;
  --mu-deep: #0b1220;
  --mu-glow: rgba(10,162,255,0.6);
}

/* ================================
   BODY & BASE
   ================================ */

body {
  background: radial-gradient(circle at top, #0c1a2f 0%, #05080e 70%);
  color: #dfefff;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

/* ================================
   SCROLLBAR (OSCURA, PRO)
   ================================ */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #05080e;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0aa2ff, #035c9c);
  border-radius: 10px;
}
/* ================================
   NAV / BOTONES
   ================================ */

a,
button {
  transition: all .35s ease;
}

nav a,
.menu a,
.btn {
  position: relative;
  color: #cfeaff;
  padding: 10px 18px;
  border-radius: 8px;
  background: rgba(10,162,255,0.08);
  border: 1px solid rgba(10,162,255,0.25);
  box-shadow: 0 0 15px rgba(10,162,255,0.15);
}

nav a:hover,
.menu a:hover,
.btn:hover {
  color: #ffffff;
  background: rgba(10,162,255,0.25);
  box-shadow:
    0 0 15px var(--mu-glow),
    0 0 35px rgba(10,162,255,0.35);
  transform: translateY(-2px);
}

/* ================================
   SECCIONES / CARDS
   ================================ */

.section,
.card,
.box {
  background: linear-gradient(180deg, rgba(10,20,40,0.85), rgba(5,8,14,0.95));
  border-radius: 14px;
  border: 1px solid rgba(10,162,255,0.2);
  box-shadow:
    inset 0 0 30px rgba(10,162,255,0.05),
    0 0 30px rgba(0,0,0,0.6);
  padding: 20px;
}

/* ================================
   TITULOS ÉPICOS
   ================================ */

h1, h2, h3 {
  font-family: 'Chakra Petch', sans-serif;
  text-transform: uppercase;
  color: #e8f6ff;
  text-shadow:
    0 0 10px rgba(10,162,255,0.4),
    0 0 25px rgba(10,162,255,0.25);
}

/* ================================
   HOVER DE LINKS
   ================================ */

a {
  color: var(--mu-cyan);
}

a:hover {
  text-shadow: 0 0 8px var(--mu-cyan);
}

/* ================================
   EFECTO PULSO MU
   ================================ */

@keyframes muPulse {
  0% { box-shadow: 0 0 10px rgba(10,162,255,0.3); }
  50% { box-shadow: 0 0 25px rgba(10,162,255,0.6); }
  100% { box-shadow: 0 0 10px rgba(10,162,255,0.3); }
}

.pulse {
  animation: muPulse 3s infinite;
}
/* ===============================
   FONDO LIMPIO – MU EPIC STYLE
   =============================== */

body {
  background: radial-gradient(
    circle at top,
    #0b1f3a 0%,
    #050e1a 55%,
    #02060c 100%
  );
  color: #e6f0ff;
  position: relative;
}

/* Luz mágica sutil */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(70,140,255,0.04),
    rgba(0,0,0,0),
    rgba(70,140,255,0.04)
  );
  z-index: 0;
}
/* ===============================
   BOTONES MU – EPIC HOVER
   =============================== */

a,
button,
.nav-link {
  position: relative;
  color: #cfe4ff;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Glow base */
a::after,
button::after,
.nav-link::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    120deg,
    rgba(80,160,255,0),
    rgba(80,160,255,0.6),
    rgba(80,160,255,0)
  );
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s ease;
  z-index: -1;
}

/* Hover mágico */
a:hover,
button:hover,
.nav-link:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(120,180,255,0.9);
}

/* Activar aura */
a:hover::after,
button:hover::after,
.nav-link:hover::after {
  opacity: 1;
}
/* ===============================
   MU PREMIUM – ESTILO GLOBAL
================================ */

/* Fondo general más profundo */
body {
    background: radial-gradient(circle at top, #0b1d2a 0%, #05080d 55%, #020304 100%);
    color: #dff6ff;
}

/* Contenedores principales */
.card,
.card-area,
.module-box,
.news,
.table {
    background: linear-gradient(180deg, rgba(8,18,28,0.92), rgba(4,8,14,0.92)) !important;
    border: 1px solid rgba(0,180,255,0.15);
    box-shadow: 
        0 0 18px rgba(0,120,200,0.12),
        inset 0 0 20px rgba(0,0,0,0.6);
    border-radius: 12px;
    transition: all .3s ease;
}

/* Hover suave premium */
.card:hover,
.card-area:hover {
    box-shadow: 
        0 0 28px rgba(0,180,255,0.35),
        inset 0 0 25px rgba(0,0,0,0.7);
}

/* Títulos */
h1, h2, h3, h4 {
    color: #9fe8ff;
    text-shadow: 0 0 8px rgba(0,180,255,0.35);
}

/* Tablas más limpias */
.table th {
    color: #6fdcff !important;
    border-bottom: 1px solid rgba(0,180,255,0.25);
}

.table td {
    border-color: rgba(0,120,200,0.15);
}

/* Botones generales */
.btn,
button {
    background: linear-gradient(180deg, #0e3a55, #0a2235);
    border: 1px solid rgba(0,180,255,0.4);
    color: #dff6ff;
    box-shadow: 0 0 12px rgba(0,180,255,0.25);
    transition: all .25s ease;
}

.btn:hover,
button:hover {
    box-shadow: 0 0 25px rgba(0,180,255,0.6);
    transform: translateY(-1px);
}

/* Navbar más pro */
.navbar,
.global-header {
    background: linear-gradient(180deg, rgba(6,14,22,0.95), rgba(2,6,10,0.95));
    border-bottom: 1px solid rgba(0,180,255,0.25);
}

/* Links */
a {
    color: #7fdcff;
    transition: .2s ease;
}

a:hover {
    color: #bdf2ff;
    text-shadow: 0 0 6px rgba(0,180,255,0.6);
}

/* Scroll DISCRETO (NO BLANCO) */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #050a0f;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0e3a55, #0a2235);
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1586c9, #0e3a55);
}
/* === FIX GUIAS - TEXTO CATEGORIA FANTASMA === */
.guide-card .category,
.guide-card .categoria,
.guide-card .guide-category,
.guide-card span.category,
.guide-card p.category {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* === ACOMODAR CONTENIDO DE LA TARJETA === */
.guide-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* === BOTON VER GUIA MAS PROLIJO === */
.guide-card .btn,
.guide-card a.btn,
.guide-card .ver-guia {
    margin-top: 16px;
    align-self: center;
}
/* ELIMINAR CATEGORIA DE GUIAS (TEXTO + ESPACIO) */
.card-body .card-text {
    display: none !important;
}
/* BOTÓN VER GUÍA BIEN POSICIONADO */
.card-body {
    justify-content: center;
}

.card-body .btn {
    margin-top: 12px !important;
    align-self: center;
}
card-body .btn {
    background: linear-gradient(180deg, #0e3a55, #0a2235);
    border: 1px solid rgba(0,180,255,.4);
    color: #dff6ff;
    box-shadow: 0 0 12px rgba(0,180,255,.25);
    border-radius: 10px;
}
.card-body .btn:hover {
    box-shadow: 0 0 22px rgba(0,180,255,.6);
    transform: translateY(-1px);
}
/* =========================
   GUIAS – CARDS EPICAS
========================= */

/* contenedor de la card */
.guide-card,
.card.guide,
.card-area .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 340px;
    background: linear-gradient(180deg, #071b26, #050f16);
    border-radius: 14px;
    border: 1px solid rgba(0,180,255,0.15);
    box-shadow: 0 0 18px rgba(0,180,255,0.12);
    transition: all .3s ease;
    overflow: hidden;
}

/* hover general */
.guide-card:hover,
.card.guide:hover,
.card-area .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(0,180,255,0.35);
}

/* imagen */
.guide-card img,
.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform .35s ease;
}

/* zoom imagen */
.guide-card:hover img,
.card:hover img {
    transform: scale(1.06);
}

/* titulo */
.guide-card h3,
.card h3,
.card-title {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #3ccfff;
    text-align: center;
    text-shadow: 0 0 8px rgba(0,180,255,.4);
}

/* categoria (la ocultamos bien) */
.guide-card .category,
.card .category,
.card small,
.card p.text-muted {
    display: none !important;
}

/* boton ver guia */
.guide-card .btn,
.card .btn,
.card a.btn {
    margin-top: auto;
    margin-bottom: 12px;
    align-self: center;
    padding: 10px 28px;
    font-weight: 700;
    border-radius: 30px;
    background: linear-gradient(180deg,#0e3a55,#0a2235);
    color: #dff6ff;
    border: 1px solid rgba(0,180,255,.6);
    box-shadow: 0 0 14px rgba(0,180,255,.35);
    transition: all .25s ease;
}

/* hover boton */
.guide-card .btn:hover,
.card .btn:hover {
    background: linear-gradient(180deg,#145d88,#0d3a55);
    box-shadow: 0 0 25px rgba(0,180,255,.7);
    transform: scale(1.05);
}
/* =========================
   ANIMACION ENTRADA CARDS
========================= */

/* estado inicial */
.guide-card,
.card.guide,
.card-area .card {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    animation: cardEnter .6s ease forwards;
}

/* pequeño delay escalonado */
.guide-card:nth-child(1),
.card:nth-child(1) { animation-delay: .05s; }

.guide-card:nth-child(2),
.card:nth-child(2) { animation-delay: .12s; }

.guide-card:nth-child(3),
.card:nth-child(3) { animation-delay: .18s; }

.guide-card:nth-child(4),
.card:nth-child(4) { animation-delay: .24s; }

.guide-card:nth-child(5),
.card:nth-child(5) { animation-delay: .30s; }

.guide-card:nth-child(6),
.card:nth-child(6) { animation-delay: .36s; }

/* keyframes */
@keyframes cardEnter {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.img-epic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(0,180,255,0.25),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.img-epic:hover::after {
  opacity: 1;
}
/* ===============================
   HERO SECTION - EPIC MU STYLE
================================ */

.hero-section {
    position: relative;
    background:
        radial-gradient(ellipse at top, rgba(0,140,255,0.15), transparent 60%),
        linear-gradient(180deg, #050b12 0%, #020406 100%);
    overflow: hidden;
}

/* efecto de energía suave */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            -45deg,
            rgba(0,180,255,0.04),
            rgba(0,180,255,0.04) 1px,
            transparent 1px,
            transparent 6px
        );
    opacity: 0.25;
    pointer-events: none;
}
/* brillo central */
.hero-section::after {
    content: "";
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,160,255,0.18), transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

/* ===============================
   LOGO / CONTENIDO HERO
================================ */

.hero-section img {
    filter: drop-shadow(0 0 20px rgba(0,170,255,0.4));
}

/* caja principal (donde está el contenido) */
.card-area {
    background: linear-gradient(
        180deg,
        rgba(8,20,30,0.92),
        rgba(5,10,15,0.95)
    ) !important;
    border: 1px solid rgba(0,170,255,0.25);
    box-shadow:
        0 0 25px rgba(0,120,255,0.25),
        inset 0 0 20px rgba(0,80,120,0.15);
}

/* ===============================
   TEXTO HERO
================================ */

.hero-section h1,
.hero-section h2,
.hero-section h3 {
    color: #e9f6ff;
    text-shadow:
        0 0 10px rgba(0,170,255,0.6),
        0 0 20px rgba(0,120,255,0.4);
}
/* ===============================
   LOGO MU - FUEGO AZUL ÉPICO
================================ */

.hero-section img {
    position: relative;
    z-index: 3;
    animation: logoPulse 4s ease-in-out infinite;
    filter:
        drop-shadow(0 0 12px rgba(0,160,255,0.6))
        drop-shadow(0 0 28px rgba(0,120,255,0.4));
}

.hero-section img::after {
    content: "";
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle,
        rgba(0,180,255,0.35),
        transparent 65%
    );
    filter: blur(25px);
    z-index: -1;
}

@keyframes logoPulse {
    0% {
        transform: scale(1);
        filter:
            drop-shadow(0 0 12px rgba(0,160,255,0.6))
            drop-shadow(0 0 28px rgba(0,120,255,0.4));
    }
    50% {
        transform: scale(1.03);
        filter:
            drop-shadow(0 0 20px rgba(0,200,255,0.85))
            drop-shadow(0 0 45px rgba(0,140,255,0.7));
    }
    100% {
        transform: scale(1);
    }
}
/* ===============================
   HERO CHARACTER – FUSIÓN REAL
   =============================== */

.hero-section {
    position: relative;
    overflow: hidden;
}

/* Personaje como atmósfera */
.hero-section::before {
    content: "";
    position: absolute;
    left: -80px;
    top: -50px;
    width: 620px;
    height: 720px;

    background: url("/templates/muarg/assets/img/hero-character.png") no-repeat center;
    background-size: contain;

    /* 🔥 CLAVE: borrar forma rectangular */
    mask-image: radial-gradient(
        ellipse at center,
        rgba(0,0,0,1) 35%,
        rgba(0,0,0,0.8) 55%,
        rgba(0,0,0,0.4) 70%,
        rgba(0,0,0,0) 100%
    );

    -webkit-mask-image: radial-gradient(
        ellipse at center,
        rgba(0,0,0,1) 35%,
        rgba(0,0,0,0.8) 55%,
        rgba(0,0,0,0.4) 70%,
        rgba(0,0,0,0) 100%
    );

    filter:
        drop-shadow(0 0 35px rgba(120, 80, 255, 0.35))
        brightness(1.05)
        contrast(1.1);

    opacity: 0.85;
    pointer-events: none;
    z-index: 1;
}

/* Oscurecer fondo para fusión */
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to right,
            rgba(0,0,0,0.65) 0%,
            rgba(0,0,0,0.3) 40%,
            rgba(0,0,0,0.1) 70%,
            rgba(0,0,0,0) 100%
        );
    z-index: 2;
    pointer-events: none;
}

/* Contenido arriba */
.hero-section > * {
    position: relative;
    z-index: 3;
}
/* Resplandor leve del personaje */
.hero-epic .hero-character {
    position: absolute;
    left: -40px;
    bottom: -20px;
    height: 520px;
    max-height: 90%;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 0 35px rgba(0, 180, 255, 0.35));
    animation: glowHero 2.5s ease-in-out infinite alternate;
}

/* Animación de brillo azul leve */
@keyframes glowHero {
    0% {
        filter: drop-shadow(0 0 20px rgba(0, 180, 255, 0.25))
                drop-shadow(0 0 10px rgba(0, 150, 255, 0.15));
    }
    50% {
        filter: drop-shadow(0 0 35px rgba(0, 200, 255, 0.4))
                drop-shadow(0 0 20px rgba(0, 180, 255, 0.25));
    }
    100% {
        filter: drop-shadow(0 0 25px rgba(0, 170, 255, 0.35))
                drop-shadow(0 0 15px rgba(0, 160, 255, 0.2));
    }
}

/* Opcional: leve humo azul detrás del personaje */
.hero-epic .hero-character::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    height: 120%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0,180,255,0.15), transparent 70%);
    filter: blur(40px);
    z-index: -1;
}
/* HERO CHARACTER COMO FONDO */
.hero-character {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px; /* ajusta según convenga */
    height: 500px;
    background-image: url('../assets/img/hero-character.png'); /* ruta correcta desde css */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
    pointer-events: none;
    z-index: 1;
    transition: all 0.5s ease;
    filter: drop-shadow(0 0 25px rgba(0,200,255,0.8)); /* resplandor azul */
}
.hero-character {
    position: absolute;
    bottom:0;
    left:0;
    width:300px; /* ajustar según convenga */
    height:500px;
    background-image: url('templates/assets/img/hero-character.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
    pointer-events: none;
    z-index:1;

    /* Brillo suave azul */
    filter: drop-shadow(0 0 15px rgba(0,200,255,0.8)) drop-shadow(0 0 25px rgba(0,150,255,0.6));

    /* Animación flotante */
    animation: floatHero 4s ease-in-out infinite, glowHero 2s ease-in-out infinite alternate;
    transform-origin: bottom center;
}

/* Flotación leve */
@keyframes floatHero {
    0%   { transform: translateY(0) }
    50%  { transform: translateY(-10px) }
    100% { transform: translateY(0) }
}

/* Resplandor animado */
@keyframes glowHero {
    0%   { filter: drop-shadow(0 0 15px rgba(0,200,255,0.8)) drop-shadow(0 0 25px rgba(0,150,255,0.6)) }
    50%  { filter: drop-shadow(0 0 25px rgba(0,200,255,0.9)) drop-shadow(0 0 35px rgba(0,150,255,0.7)) }
    100% { filter: drop-shadow(0 0 15px rgba(0,200,255,0.8)) drop-shadow(0 0 25px rgba(0,150,255,0.6)) }
}
/* ===============================
   HERO CHARACTER – MU MYSTICAL EPIC COMPACT
================================ */

/* Hero section ya definida */
.hero-section {
    position: relative;
    overflow: hidden;
}

/* Personaje hero – fondo animado + glow + electricidad + fuego/humo compacto */
.hero-character {
    position: absolute;
    top: 1px; /* según tu ajuste */
    left: 80px;
    width: 320px;
    height: 520px;
    background-image: url('templates/assets/img/hero-character.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
    pointer-events: none;
    z-index: 2;

    /* Brillo base azul más compacto */
    filter: drop-shadow(0 0 15px rgba(0,180,255,0.35))
            drop-shadow(0 0 30px rgba(0,150,255,0.2));

    /* Animación flotante + glow */
    animation: floatHero 4s ease-in-out infinite,
               glowHero 2.5s ease-in-out infinite alternate;

    transform-origin: bottom center;
}

/* Flotación suave */
@keyframes floatHero {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

/* Glow azul animado más compacto */
@keyframes glowHero {
    0% {
        filter: drop-shadow(0 0 12px rgba(0,180,255,0.3))
                drop-shadow(0 0 25px rgba(0,150,255,0.15));
    }
    50% {
        filter: drop-shadow(0 0 28px rgba(0,220,255,0.5))
                drop-shadow(0 0 45px rgba(0,180,255,0.3));
    }
    100% {
        filter: drop-shadow(0 0 15px rgba(0,180,255,0.3))
                drop-shadow(0 0 30px rgba(0,160,255,0.2));
    }
}

/* ===============================
   HUMO / AURA MÁS COMPACTA
================================ */
.hero-character::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 300px; /* más compacto */
    height: 300px; /* más compacto */
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0,180,255,0.25), transparent 70%);
    filter: blur(60px); /* menos disperso */
    z-index: -2;
    pointer-events: none;

    /* Animación pulsante */
    animation: auraPulse 3s ease-in-out infinite alternate;
}

@keyframes auraPulse {
    0% { transform: translateX(-50%) scale(1); opacity: 0.6; }
    50% { transform: translateX(-50%) scale(1.1); opacity: 0.8; }
    100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
}

/* ===============================
   ELECTRICIDAD RAMIFICADA COMPACTA
================================ */
.hero-character::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 10%;
    width: 250px; /* más compacto */
    height: 250px; /* más compacto */
    transform: translateX(-50%);
    background:
        repeating-linear-gradient(
            45deg,
            rgba(0,220,255,0) 0px,
            rgba(0,220,255,0) 6px,
            rgba(0,255,255,0.25) 8px,
            rgba(0,220,255,0) 10px
        ),
        repeating-linear-gradient(
            -30deg,
            rgba(0,220,255,0) 0px,
            rgba(0,220,255,0) 5px,
            rgba(0,200,255,0.2) 7px,
            rgba(0,220,255,0) 9px
        );
    filter: blur(25px);
    z-index: -1;
    pointer-events: none;

    /* Animación eléctrica ramificada */
    animation: electricBranch 1.5s infinite alternate;
}

@keyframes electricBranch {
    0% {
        transform: translateX(-50%) scale(0.95) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateX(-50%) scale(1.05) rotate(5deg);
        opacity: 0.5;
    }
    50% {
        transform: translateX(-50%) scale(0.98) rotate(-5deg);
        opacity: 0.45;
    }
    75% {
        transform: translateX(-50%) scale(1.08) rotate(3deg);
        opacity: 0.55;
    }
    100% {
        transform: translateX(-50%) scale(0.95) rotate(0deg);
        opacity: 0.35;
    }
}

/* ===============================
   FUEGO / HUMO ESTILO SUPER SAIYAN COMPACTO
================================ */
.hero-character .fire-smoke {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 250px; /* más compacto */
    height: 400px; /* más compacto */
    transform: translateX(-50%);
    pointer-events: none;
    z-index: -2;

    background: radial-gradient(circle, rgba(0,220,255,0.15) 10%, rgba(0,180,255,0.05) 40%, transparent 80%);
    filter: blur(60px);
    animation: smokeFire 3.5s ease-in-out infinite alternate;
}

@keyframes smokeFire {
    0% { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateX(-50%) translateY(-10px) scale(1.1); opacity: 0.8; }
    100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.6; }
}
/* Contenedor de partículas */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1; /* detrás del personaje pero encima del fondo */
}

/* Chispa individual */
.hero-particles .spark {
  position: absolute;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(0,255,255,0.9), transparent 70%);
  border-radius: 50%;
  opacity: 0.7;
  filter: blur(3px);
  animation: sparkMove 3s infinite ease-in-out;
}

/* Animaciones distintas para cada spark */
.spark1 { top: 40%; left: 30%; animation-delay: 0s; }
.spark2 { top: 60%; left: 50%; animation-delay: 0.5s; }
.spark3 { top: 20%; left: 70%; animation-delay: 1s; }
.spark4 { top: 50%; left: 20%; animation-delay: 1.5s; }
.spark5 { top: 70%; left: 80%; animation-delay: 2s; }

/* Movimiento aleatorio y leve */
@keyframes sparkMove {
  0%   { transform: translate(0,0) scale(1); opacity: 0.7; }
  25%  { transform: translate(5px,-8px) scale(1.2); opacity: 0.9; }
  50%  { transform: translate(-5px,5px) scale(0.8); opacity: 0.6; }
  75%  { transform: translate(8px,3px) scale(1.1); opacity: 0.8; }
  100% { transform: translate(0,0) scale(1); opacity: 0.7; }
}

/* Opcional: rayos eléctricos estilo MU Mystical */
.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: repeating-linear-gradient(
    120deg,
    rgba(0,180,255,0.02) 0px,
    rgba(0,180,255,0.02) 2px,
    transparent 2px,
    transparent 15px
  );
  animation: electricFlash 2s infinite linear;
  z-index: 0; /* detrás de héroe y partículas */
}

@keyframes electricFlash {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.25; }
}
.sets-slider-section::before {
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: radial-gradient(circle, rgba(0,200,255,0.05), transparent 70%);
  filter: blur(60px);
  z-index:0;
  pointer-events:none;
  animation: pulseSmoke 4s ease-in-out infinite alternate;
}

@keyframes pulseSmoke {
  0% { transform: scale(1); opacity:0.4; }
  50% { transform: scale(1.1); opacity:0.7; }
  100% { transform: scale(1); opacity:0.4; }
}
/* ===== SLIDER BASE ===== */

.text-slider-section {
    background: #000;
    padding: 25px 15px;
    overflow: hidden;
    border-radius: 15px;
}

.text-slider-container {
    display: flex;
    gap: 5px;
}

.text-slide {
    font-size: 28px;
    font-weight: 600;
    color: #00f0ff;
    white-space: nowrap;
}

/* Animación */
@keyframes slideText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {

    .text-slider-container {
        flex-direction: column;
        animation: none;
        gap: 12px;
    }

    .text-slide {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 12px 14px;
        background: rgba(0,255,255,0.05);
        border: 1px solid rgba(0,255,255,0.15);
        border-radius: 12px;
        box-shadow: 0 0 10px rgba(0,255,255,0.08);
    }

    .text-slide .icon {
        font-size: 22px;
        min-width: 30px;
    }

    .text-slide .info strong {
        display: block;
        font-size: 16px;
        color: #00f0ff;
    }

    .text-slide .info small {
        font-size: 13px;
        color: #aaa;
    }

}
/* FIX DESBORDE MOBILE */
@media (max-width: 768px) {

    .text-slider-section {
        padding: 15px;
        overflow: hidden;
    }

    .text-slider-container {
        width: 100%;
        max-width: 100%;
    }

    .text-slide {
        width: 100%;
        box-sizing: border-box;
    }

}
body {
    overflow-x: hidden;
}
/* ===== FIX DESBORDE REAL MOBILE ===== */
@media (max-width: 768px) {

    .text-slider-section {
        overflow: hidden;
        padding: 15px;
    }

    .text-slider-container {
        width: 100%;
        max-width: 100%;
    }

    .text-slide {
        width: 100%;
        box-sizing: border-box;
    }

    /* 🔥 FIX PARA BOOTSTRAP ROW */
    .text-slider-section .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

}
.text-slider-section {
    width: 100%;
}
/* ===== CONTENEDOR GENERAL ===== */
.text-slider-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    flex-wrap: wrap; /* CLAVE para que no se rompa en móvil */
}

/* ===== CADA BLOQUE ===== */
.text-slide {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    padding: 15px 20px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    transition: 0.3s ease;
    min-width: 220px;
}

.text-slide:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.08);
}

/* ===== ICONO ===== */
.text-slide .icon {
    font-size: 24px;
}

/* ===== TEXTO ===== */
.text-slide .info {
    display: flex;
    flex-direction: column;
}

.text-slide strong {
    font-size: 16px;
    letter-spacing: 1px;
}

.text-slide small {
    font-size: 13px;
    opacity: 0.7;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .text-slider-wrapper {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .text-slide {
        width: 100%;
        justify-content: flex-start;
    }

}
.text-slide {
    flex: 1;
    min-width: 10; /* evita que empuje el ancho */
}
/* =====================================
   TEXT SLIDER – BLOQUES INFO EPIC
===================================== */

.text-slider-wrapper {
    display: flex;
    gap: 25px;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: nowrap;
}

.text-slide {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px 28px; /* 🔥 más grande el recuadro */
    border-radius: 14px;

    background: linear-gradient(
        180deg,
        rgba(8,18,28,0.95),
        rgba(4,8,14,0.95)
    );

    border: 1px solid rgba(0,180,255,0.25);
    box-shadow:
        0 0 18px rgba(0,120,200,0.2),
        inset 0 0 18px rgba(0,0,0,0.6);

    transition: all .3s ease;
}

.text-slide:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 30px rgba(0,180,255,0.45),
        inset 0 0 20px rgba(0,0,0,0.7);
}

.text-slide .icon {
    font-size: 26px;
}

.text-slide strong {
    font-size: 18px;
    letter-spacing: 1px;
    color: #9fe8ff;
    text-shadow: 0 0 6px rgba(0,180,255,.4);
}

.text-slide small {
    font-size: 14px;
    opacity: 0.75;
}

/* MOBILE */
@media (max-width: 768px) {

    .text-slider-wrapper {
        flex-direction: column;
        gap: 18px;
        padding: 0 15px;
    }

    .text-slide {
        width: 100%;
    }

}
/* ===== FIX CENTRADO DEFINITIVO ===== */

.text-slide {
    display: flex;
    flex-direction: column;   /* Apila icono + texto */
    align-items: center;      /* Centra horizontal */
    justify-content: center;  /* Centra vertical */
    text-align: center;       /* Centra texto */
}

.text-slide .icon {
    margin-bottom: 8px;
}

.text-slide strong,
.text-slide small {
    display: block;
    width: 90%;
    text-align: center;
}
/* ===== AUTO SLIDE LENTO ÉPICO ===== */

.text-slider-wrapper {
    overflow: hidden;
    position: relative;
}

.text-slider-track {
    display: flex;
    gap: 25px;
    animation: slowSlide 60s linear infinite; /* 🔥 60 segundos ultra lento */
}

@keyframes slowSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.hero-section img {
    transition: all .4s ease;
    filter: drop-shadow(0 0 15px rgba(0,234,255,0.6));
}

.hero-section img:hover {
    filter: drop-shadow(0 0 25px rgba(0,234,255,1))
            drop-shadow(0 0 35px rgba(255,0,0,0.5));
}
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,0,0,0.08), transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.hero-section > .container {
    position: relative;
    z-index: 2;
}
.hero-section img {
    transition: all .4s ease;
    filter: drop-shadow(0 0 15px rgba(0,234,255,0.6));
}

.hero-section img:hover {
    filter: drop-shadow(0 0 25px rgba(0,234,255,1))
            drop-shadow(0 0 35px rgba(255,0,0,0.5));
}
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,0,0,0.08), transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.hero-section > .container {
    position: relative;
    z-index: 2;
}
.text-slider-container {
  display: flex;
  width: 800%; /* 8 slides */
}

.text-slide {
  width: 12.5%; /* 100 / 8 */
  flex-shrink: 0;
  text-align: center;
  color: #00eaff;
  font-size: 22px;
  font-weight: 700;
  padding: 20px;
}

@keyframes slideTexts {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.text-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}