/* =========================================================
   ALPHA STRIKE — HERO DATA COMPONENT
   Version: 1.0
   Status: Active (Data Solutions page hero visual, 13 Oct 2026)

   Three 1-minute candle tapes - SPOT, FUTURES, OPTIONS - scroll
   right-to-left through a fixed "VALIDATED" gate. To the right of
   the gate the raw feed is dim and carries the occasional bad print
   (a spike wick); to the left of the gate the same candles come out
   clean and bright. Two identical tapes, clipped either side of the
   gate and translated together, so they always line up.

   Pure inline SVG + CSS. Colour follows the locked brand accent.
   ========================================================= */

.as-data-outer {
    --as-data-accent-rgb: 245, 184, 0;
    --as-data-accent: var(--alpha-color-brand-yellow, #F5B800);

    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

[data-theme="light"] .as-data-outer {
    --as-data-accent-rgb: 75, 85, 99;
    --as-data-accent: var(--alpha-color-brand-chrome-steel, #4B5563);
}

.as-data-svg { width: 100%; height: 100%; display: block; }

.as-data-glow-bg { fill: url(#asDataGlow); }
.as-data-glow-s0 { stop-color: var(--as-data-accent); stop-opacity: .13; }
.as-data-glow-s1 { stop-color: var(--as-data-accent); stop-opacity: .04; }
.as-data-glow-s2 { stop-color: var(--as-data-accent); stop-opacity: 0; }

.as-data-lane {
    fill: rgba(var(--as-data-accent-rgb), .03);
    stroke: rgba(var(--as-data-accent-rgb), .18);
    stroke-width: 1;
}

.as-data-label {
    fill: rgba(var(--as-data-accent-rgb), .85);
    font-family: var(--alpha-font-mono, ui-monospace, monospace);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
}

.as-data-label--muted { fill: rgba(var(--as-data-accent-rgb), .45); }

.as-data-tape {
    animation: as-data-scroll 22s linear infinite;
}

.as-data-tape--fut { animation-duration: 18s; }
.as-data-tape--opt { animation-duration: 26s; }

@keyframes as-data-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-360px); }
}

/* raw side (right of the gate) */
.as-data-raw line { stroke: rgba(var(--as-data-accent-rgb), .28); stroke-width: 1; }
.as-data-raw rect { fill: rgba(var(--as-data-accent-rgb), .14); stroke: rgba(var(--as-data-accent-rgb), .32); stroke-width: .8; }
.as-data-raw .as-data-bad { stroke: rgba(var(--as-data-accent-rgb), .55); stroke-dasharray: 2 2; }

/* clean side (left of the gate) */
.as-data-clean line { stroke: rgba(var(--as-data-accent-rgb), .75); stroke-width: 1; }
.as-data-clean rect { fill: rgba(var(--as-data-accent-rgb), .8); stroke: none; }
.as-data-clean rect.as-data-dn { fill: transparent; stroke: rgba(var(--as-data-accent-rgb), .85); stroke-width: 1; }
.as-data-clean .as-data-bad { display: none; }

/* the gate */
.as-data-gate {
    stroke: var(--as-data-accent);
    stroke-width: 1.5;
}

.as-data-gate__beam {
    fill: url(#asDataBeam);
    animation: as-data-beam 2.4s ease-in-out infinite;
}

@keyframes as-data-beam {
    0%, 100% { opacity: .45; }
    50%      { opacity: 1; }
}

.as-data-gate__badge {
    fill: var(--as-data-accent);
}

.as-data-gate__badge-text {
    fill: var(--alpha-surface-page, #050505);
    font-family: var(--alpha-font-mono, ui-monospace, monospace);
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: .14em;
}

.as-data-tick-dot {
    fill: var(--as-data-accent);
    animation: as-data-beam 1.2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .as-data-tape,
    .as-data-gate__beam,
    .as-data-tick-dot { animation: none; }
}
