/* EntrenosFácil · capa de Halloween (se carga después de style.css; borra este archivo y su <link> para volver al diseño normal) */
:root {
  --bg: #0b0612; --bg2: #120a1d;
  --red: #ff6a00; --red2: #ff8a1f; --yellow: #ffa62b; --orange: #ff7a18;
  --purple: #a855f7; --slime: #9dff3a;
  --muted: #b5a3cf;
}
body { background: radial-gradient(1200px 700px at 80% -10%, rgba(109,40,217,.18), transparent 60%), var(--bg); }
::selection { background: var(--purple); color: #fff; }
.gauge svg #g1 stop:first-child { stop-color: var(--slime); }
.gauge svg #g1 stop:last-child { stop-color: var(--red); }
.orb.c { background: var(--purple); opacity: .35; }
.orb.b { background: var(--purple); opacity: .28; }
.art .ring.r2 { border-color: rgba(168,85,247,.55); }
.art img { box-shadow: 0 0 0 6px rgba(255,166,43,.25), 0 50px 120px -10px rgba(255,106,0,.55), 0 0 90px 10px rgba(168,85,247,.25); }

/* titulares con brillo de calabaza que parpadea como una vela */
.hero h1 em .w { filter: drop-shadow(0 0 14px rgba(255,106,0,.55)); }
.eyebrow, .logo span { text-shadow: 0 0 12px rgba(255,106,0,.55); }
.logo { animation: hwFlicker 7s infinite; }
@keyframes hwFlicker { 0%,17%,19%,22%,100% { opacity: 1; } 18%,21% { opacity: .55; } }
.stat b { filter: drop-shadow(0 0 10px rgba(255,106,0,.35)); }
.card:hover, .plan:hover { box-shadow: 0 24px 60px -24px rgba(255,106,0,.45); }

/* niebla que se desplaza por abajo */
.hw-fog { position: fixed; left: 0; right: 0; bottom: 0; height: 38vh; pointer-events: none; z-index: 5; overflow: hidden;
  -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent); mask-image: linear-gradient(0deg, #000 10%, transparent); }
.hw-fog i { position: absolute; left: -50%; bottom: -10%; width: 200%; height: 100%; opacity: .5; filter: blur(26px);
  background: radial-gradient(ellipse 18% 40% at 12% 70%, rgba(168,85,247,.45), transparent 70%), radial-gradient(ellipse 22% 36% at 38% 80%, rgba(157,255,58,.16), transparent 70%),
    radial-gradient(ellipse 20% 42% at 62% 66%, rgba(168,85,247,.4), transparent 70%), radial-gradient(ellipse 24% 38% at 88% 78%, rgba(255,106,0,.2), transparent 70%);
  animation: hwFog 46s linear infinite; }
.hw-fog i + i { opacity: .35; bottom: -20%; animation-duration: 70s; animation-direction: reverse; }
@keyframes hwFog { to { transform: translateX(50%); } }

/* relámpago suave */
.hw-flash { position: fixed; inset: 0; pointer-events: none; z-index: 65; background: radial-gradient(circle at 70% 0%, rgba(200,170,255,.55), rgba(168,85,247,.12) 55%, transparent 75%); opacity: 0; }
.hw-flash.go { animation: hwFlash 1.1s ease-out; }
@keyframes hwFlash { 0% { opacity: 0; } 8% { opacity: .9; } 16% { opacity: .1; } 26% { opacity: .75; } 100% { opacity: 0; } }

/* luna y telarañas en el hero */
.hw-moon { position: absolute; top: 40px; right: 6%; width: 120px; height: 120px; border-radius: 50%; z-index: -1; opacity: .85;
  background: radial-gradient(circle at 35% 35%, #fff7d6, #ffd98a 55%, #e9a94a); box-shadow: 0 0 60px 20px rgba(255,200,100,.28), 0 0 160px 60px rgba(255,140,40,.15); animation: hwMoon 9s ease-in-out infinite; }
.hw-moon::before, .hw-moon::after { content: ''; position: absolute; border-radius: 50%; background: rgba(160,110,40,.22); }
.hw-moon::before { width: 22px; height: 22px; left: 26px; top: 30px; } .hw-moon::after { width: 14px; height: 14px; left: 70px; top: 66px; }
@keyframes hwMoon { 50% { transform: translateY(10px); box-shadow: 0 0 80px 28px rgba(255,200,100,.34), 0 0 190px 70px rgba(255,140,40,.18); } }
.hw-web { position: absolute; top: 0; width: min(260px, 36vw); aspect-ratio: 1; pointer-events: none; z-index: 2; opacity: .5; }
.hw-web.l { left: 0; } .hw-web.r { right: 0; transform: scaleX(-1); }
.hw-web path, .hw-web circle { fill: none; stroke: #d9c8ff; stroke-width: 1; }
.hw-web { animation: hwSway 8s ease-in-out infinite; transform-origin: 0 0; }
.hw-web.r { animation-name: hwSwayR; transform-origin: 100% 0; }
@keyframes hwSway { 50% { transform: rotate(1.6deg) skewX(-1deg); } }
@keyframes hwSwayR { 0%,100% { transform: scaleX(-1); } 50% { transform: scaleX(-1) rotate(1.6deg) skewX(-1deg); } }

/* murciélagos y fantasmas */
.hw-bat { position: fixed; top: 0; left: 0; z-index: 66; pointer-events: none; width: 54px; height: 28px; will-change: transform; filter: drop-shadow(0 0 3px rgba(255,106,0,.9)) drop-shadow(0 0 10px rgba(168,85,247,.9)); }
.hw-bat svg { width: 100%; height: 100%; fill: #3b1763; stroke: #ff8a1f; stroke-width: .8; animation: hwFlap .22s ease-in-out infinite alternate; transform-origin: 50% 60%; }
@keyframes hwFlap { from { transform: scaleY(1); } to { transform: scaleY(.45); } }
.hw-ghost { position: fixed; left: 0; top: 0; z-index: 64; pointer-events: none; width: 54px; opacity: 0; will-change: transform, opacity; filter: drop-shadow(0 0 14px rgba(157,255,58,.55)); }
.hw-ghost svg { width: 100%; display: block; animation: hwWave 1.6s ease-in-out infinite; }
@keyframes hwWave { 50% { transform: translateY(-8px) rotate(4deg); } }

/* chip de calabaza en el hero y separadores de las marquesinas */
.chip.c4 { top: 44%; right: -6%; animation-delay: -3s; border-color: rgba(255,106,0,.55); }
.chip.c4 b { font-size: 16px; }
.marquee .track i { filter: drop-shadow(0 0 6px rgba(255,106,0,.6)); }

/* cursor y chispas */
.cur-dot { background: var(--red); box-shadow: 0 0 14px 3px rgba(255,106,0,.7); }
.cur-ring { border-color: rgba(168,85,247,.75); }
.hw-spark { position: fixed; left: 0; top: 0; z-index: 149; pointer-events: none; font-size: 14px; animation: hwSpark 1s ease-out forwards; }
@keyframes hwSpark { from { opacity: .9; transform: translate(var(--x), var(--y)) scale(1); } to { opacity: 0; transform: translate(calc(var(--x) + var(--dx)), calc(var(--y) + 40px)) scale(.3) rotate(120deg); } }

/* pie: cementerio */
.hw-grave { position: relative; height: 120px; margin-top: -10px; pointer-events: none; overflow: hidden; }
.hw-grave svg { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; }
.hw-grave .eye { animation: hwBlink 4s infinite; }
@keyframes hwBlink { 0%,92%,100% { opacity: 1; } 95% { opacity: 0; } }
footer { position: relative; }
.mega span:hover { color: var(--red); -webkit-text-stroke-color: var(--red); }

@media (max-width: 700px) { .hw-moon { width: 70px; height: 70px; top: 24px; } .chip.c4 { display: none; } .hw-grave { height: 80px; } }
@media (prefers-reduced-motion: reduce) { .hw-fog, .hw-flash, .hw-bat, .hw-ghost, .hw-spark { display: none !important; } .logo, .hw-moon, .hw-web { animation: none; } }
