/* ELDERCS – modo ligero (html.ec-lite = móvil / equipo lento). En PC normal no cambia nada. */

/* Animaciones fuera de pantalla: en pausa (todos los equipos) */
.ec-off, .ec-off > i { animation-play-state: paused !important; }

/* 1. Sin desenfoque de fondo: es lo más caro en móvil. Fondo algo más opaco para que se lea igual. */
html.ec-lite .card,
html.ec-lite .ec-featured-server,
html.ec-lite nav#sidebar,
html.ec-lite .sidebar-wrapper,
html.ec-lite .header-container .header,
html.ec-lite .header-container,
html.ec-lite .cc-box, html.ec-lite .cc-server,
html.ec-lite .pt-box,
html.ec-lite .ec-shop .tier-card, html.ec-lite .ec-shop .compare-scroll, html.ec-lite .ec-shop .faq details,
html.ec-lite .ec-shop .live-status {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}
html.ec-lite .card, html.ec-lite .ec-featured-server { background-color: rgba(16, 16, 18, 0.92) !important; }
html.ec-lite nav#sidebar, html.ec-lite .sidebar-wrapper { background-color: rgba(10, 10, 12, 0.96) !important; }

/* 2. Fondo sin "fixed" (en móvil obliga a repintar toda la pantalla al hacer scroll) */
html.ec-lite { background-attachment: scroll !important; }

/* 3. Cuadrícula del fondo quieta (el resplandor se queda: es barato) */
html.ec-lite #ec-grid { animation: none !important; }

/* 4. Menú lateral: sin el brillo que recorre cada texto (está oculto casi siempre en el móvil) */
html.ec-lite #sidebar .menu-categories li.menu > a span,
html.ec-lite #sidebar .menu-categories .submenu a span { animation: none !important; }

/* 5. Rayos de borde: una sola sombra en vez de dos (se ven casi igual y cuestan la mitad) */
html.ec-lite .ec-ray, html.ec-lite .cc-bray, html.ec-lite .pt-ray, html.ec-lite .cc-ray {
    filter: drop-shadow(0 0 4px rgba(229, 141, 39, .8)) !important;
}
html.ec-lite .ec-concurs .cc-ray { filter: drop-shadow(0 0 4px var(--metal)) !important; }

/* 6. Concurso: focos y chispas más ligeros */
html.ec-lite .ec-concurs .cc-spotlight { animation-duration: 80s; }
html.ec-lite .ec-concurs .cc-sparks i:nth-child(n+7) { display: none; }

/* 7. Lo que está muy abajo no se pinta hasta que llegas (reglamento, preguntas, etc.) */
html.ec-lite .ec-concurs .cc-rules,
html.ec-lite .ec-concurs .cc-last,
html.ec-lite .ec-shop .faq,
html.ec-lite .ec-shop .compare-scroll { content-visibility: auto; contain-intrinsic-size: 1px 900px; }
