/* Hero proposals (Rosti 2026-10-28: «offer ideas for hero section, make 3 versions on v8-preview/hero1, hero2…»).
   Loaded only by app/templates/hero/heroN.php. Animations move only transform/opacity (cheap on phones). */
.hx { position: relative; overflow: hidden; min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); display: flex; align-items: center; padding: 96px 0 72px; background: #0b0606; }
.hx .container { position: relative; z-index: 2; width: 100%; }
.hx-chip { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--lime, #2bf31f); color: #050505; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hx-stats { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .78); font-size: 15px; }
.hx-stats b { color: #fff; font-size: 20px; font-weight: 800; margin-right: 4px; }
.hx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.hx-play { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .35); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.hx-play:hover { border-color: var(--lime, #2bf31f); }
.hx-play__icon { width: 26px; height: 26px; border-radius: 50%; background: var(--lime, #2bf31f); position: relative; }
.hx-play__icon::after { content: ''; position: absolute; left: 10px; top: 7px; border: 6px solid transparent; border-left: 9px solid #050505; border-right: 0; }
.hx-play.is-on .hx-play__icon::after { left: 8px; top: 8px; width: 3px; height: 10px; border: 0; background: #050505; box-shadow: 6px 0 0 #050505; }

/* 1 — the [SYNCHRO] poster fills the hero, pushing in slowly */
.hx1__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform-origin: 50% 70%; animation: hx1-push 24s ease-out forwards; }
@keyframes hx1-push { from { transform: scale(1.12); } to { transform: scale(1); } }
.hx1__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 3, 3, .92) 0%, rgba(8, 3, 3, .65) 38%, rgba(8, 3, 3, 0) 70%), linear-gradient(0deg, #0b0606 0%, rgba(11, 6, 6, 0) 30%); }
.hx1__title { margin: 16px 0 0; font-size: clamp(54px, 9vw, 120px); line-height: .95; font-weight: 800; letter-spacing: -.02em; color: #fff; text-shadow: 0 0 40px rgba(255, 0, 85, .35); }
.hx1__by { margin: 6px 0 0; font-size: 18px; font-weight: 600; color: var(--pink, #ff0055); letter-spacing: .04em; }
@media (max-width: 768px) {
  .hx1 { align-items: flex-end; }
  .hx1__art { object-position: 50% 30%; }
  .hx1__shade { background: linear-gradient(0deg, rgba(8, 3, 3, .97) 0%, rgba(8, 3, 3, .8) 45%, rgba(8, 3, 3, .1) 75%); }
  .hx-stats { font-size: 13px; } .hx-stats b { font-size: 17px; }
}

/* 2 — press play: a disc with the cover, a ring of bars around it that follows the audio */
.hx2 { background: radial-gradient(60% 70% at 72% 50%, rgba(255, 0, 85, .18), transparent 70%), #0b0606; }
.hx2__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hx2__text h1 { margin: 0 0 18px; }
.hx2__text p { margin: 0 0 26px; color: rgba(255, 255, 255, .75); }
.hx2__deck { position: relative; width: min(460px, 100%); aspect-ratio: 1; margin: 0 auto; }
.hx2__bars { position: absolute; inset: 0; width: 100%; height: 100%; }
.hx2__disc { position: absolute; inset: 17%; border-radius: 50%; padding: 0; border: 0; overflow: hidden; cursor: pointer; background: #000; box-shadow: 0 0 0 6px #111, 0 0 0 7px rgba(255, 255, 255, .12), 0 30px 60px rgba(0, 0, 0, .6); animation: hx2-spin 6s linear infinite paused; }
.hx2__disc img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hx2__hole { position: absolute; left: 50%; top: 50%; width: 14%; height: 14%; margin: -7% 0 0 -7%; border-radius: 50%; background: #0b0606; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .15); }
.hx2__deck.is-on .hx2__disc { animation-play-state: running; }
@keyframes hx2-spin { to { transform: rotate(360deg); } }
.hx2__deck:not(.is-on) .hx2__disc::after { content: ''; position: absolute; left: 50%; top: 50%; width: 0; height: 0; margin: -22px 0 0 -12px; border: 22px solid transparent; border-left: 34px solid #fff; border-right: 0; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .6)); }
.hx2__now { position: absolute; left: 0; right: 0; bottom: -54px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 10px; text-align: center; font-size: 14px; }
.hx2__label { font-weight: 700; color: #fff; }
.hx2__from { color: rgba(255, 255, 255, .6); } .hx2__from b { color: var(--lime, #2bf31f); }
.hx2__next { border: 0; background: none; color: #fff; font-size: 18px; cursor: pointer; padding: 4px 8px; opacity: .7; } .hx2__next:hover { opacity: 1; }
@media (max-width: 768px) {
  .hx2__inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .hx2__deck { width: min(340px, 86vw); margin-bottom: 60px; }
}

/* 3 — kinetic type: one huge word that glitches between the three, a ticker at the bottom */
.hx3 { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px), #0b0606; }
.hx3__inner { text-align: center; }
.hx3__kicker { margin: 0; font-size: clamp(16px, 2.2vw, 24px); font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--pink, #ff0055); }
.hx3__word { margin: 8px 0 0; font-size: clamp(56px, 13vw, 190px); line-height: .9; font-weight: 800; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 2px #fff; white-space: nowrap; }
.hx3__word { transition: color .6s ease, -webkit-text-stroke-color .6s ease; }
.hx3__word.is-glitch { color: rgba(43, 243, 31, .18); -webkit-text-stroke-color: var(--lime, #2bf31f); }   /* soft: a lime outline with a faint fill, not a solid flash */
.hx3__sub { margin: 18px 0 0; font-size: clamp(16px, 2vw, 22px); color: rgba(255, 255, 255, .75); }
.hx3 .hx-actions { justify-content: center; }
.hx3__free { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; font-size: 14px; }
.hx3__free img { border-radius: 50%; }
.hx3__free b { color: var(--lime, #2bf31f); }
.hx3__ticker { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; overflow: hidden; background: var(--lime, #2bf31f); color: #050505; font-weight: 800; font-size: 13px; letter-spacing: .14em; padding: 9px 0; }
.hx3__track { display: flex; width: max-content; animation: hx3-run 30s linear infinite; }
.hx3__track span { white-space: nowrap; padding-right: 0; }
@keyframes hx3-run { to { transform: translateX(-50%); } }
@media (max-width: 768px) { .hx3__word { -webkit-text-stroke-width: 1.5px; } }
@media (prefers-reduced-motion: reduce) { .hx1__art, .hx3__track { animation: none; } }

/* 404 (app/templates/404.php): a glitching 404 over a flatlined waveform and a DAW-style error box */
.nf { min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); display: flex; align-items: center; padding: 100px 0 60px; background: radial-gradient(50% 60% at 50% 35%, rgba(255, 0, 85, .14), transparent 70%), #0b0606; }
.nf__inner { text-align: center; }
.nf__code { position: relative; display: inline-block; margin: 0; font-size: clamp(110px, 22vw, 260px); line-height: .85; font-weight: 800; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px #fff; }
.nf__code::before, .nf__code::after { content: attr(data-text); position: absolute; inset: 0; -webkit-text-stroke: 0; mix-blend-mode: screen; animation: nf-split 2.8s steps(1) infinite; }
.nf__code::before { color: var(--pink, #ff0055); clip-path: inset(0 0 55% 0); }
.nf__code::after { color: var(--lime, #2bf31f); clip-path: inset(55% 0 0 0); animation-delay: -.7s; }
@keyframes nf-split { 0%, 86%, 100% { transform: none; opacity: 0; } 88% { transform: translate(-6px, 0); opacity: 1; } 91% { transform: translate(5px, 0); opacity: 1; } 94% { transform: translate(-2px, 0); opacity: .8; } }
.nf__wave { display: block; width: min(560px, 90%); height: 60px; margin: 14px auto 26px; }
.nf__wave path { fill: none; stroke: var(--lime, #2bf31f); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 760; stroke-dashoffset: 760; animation: nf-draw 1.6s ease-out .2s forwards; filter: drop-shadow(0 0 6px rgba(43, 243, 31, .6)); }
@keyframes nf-draw { to { stroke-dashoffset: 0; } }
.nf__box { max-width: 460px; margin: 0 auto; text-align: left; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; background: #141010; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); overflow: hidden; }
.nf__bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #1d1717; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.nf__bar span { margin-right: auto; }
.nf__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.nf__bar i:last-child { background: var(--pink, #ff0055); }
.nf__title { margin: 18px 20px 6px; font-size: 24px; font-weight: 800; color: #fff; }
.nf__text { margin: 0 20px; color: rgba(255, 255, 255, .7); font-size: 15px; line-height: 1.5; }
.nf__actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 20px 20px; }
.nf__btn2 { border: 1px solid rgba(255, 255, 255, .3); color: #fff; background: transparent; }
.nf__btn2:hover { border-color: var(--lime, #2bf31f); color: var(--lime, #2bf31f); }
.nf__play { margin-top: 26px; }
@media (prefers-reduced-motion: reduce) { .nf__code::before, .nf__code::after { animation: none; opacity: 0; } .nf__wave path { animation: none; stroke-dashoffset: 0; } }
/* the ticker, readable (Rosti 2026-10-28 «better spacing so it's readable»): air between the facts, a slower run */
.hx3__ticker { padding: 12px 0; font-size: 14px; letter-spacing: .08em; }
.hx3__track { animation-duration: 48s; align-items: center; }
.hx3__fact { white-space: nowrap; text-transform: uppercase; }
.hx3__dot { margin: 0 34px; font-style: normal; font-size: 10px; opacity: .55; }
@media (max-width: 640px) { .hx3__ticker { font-size: 12px; padding: 10px 0; } .hx3__dot { margin: 0 22px; } .hx3__track { animation-duration: 36s; } }
