/* FirewallX — fx-bits.css : styles for the React Bits ports in fx-bits.js */

/* SplitText / BlurText */
.rb-split .rb-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.rb-split .rb-wi, .rb-split .rb-c { display: inline-block; will-change: transform; }
html[lang="ar"] .rb-split .rb-w { padding: 0.12em 0 0.24em; margin: -0.12em 0 -0.24em; }
[data-blur].rb-split .rb-w { overflow: visible; }

/* Hide split targets until fx.js has translated + split them (CSS failsafe after 2.5s) */
html.fx-js:not(.fx-ready) [data-split],
html.fx-js:not(.fx-ready) [data-blur],
html.fx-js:not(.fx-ready) [data-fx-intro] { opacity: 0; animation: rbFailsafe 0s linear 2.5s forwards; }
@keyframes rbFailsafe { to { opacity: 1; } }

/* ScrollReveal words */
[data-scrub-words] .rb-wi { transition: none; }

/* TargetCursor (React Bits) */
.rb-target { position: fixed; left: 0; top: 0; z-index: 500; width: 0; height: 0; pointer-events: none; }
.rb-target__dot { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; background: var(--fire); border-radius: 50%; }
.rb-target__c { position: absolute; width: 14px; height: 14px; border: 2.5px solid var(--fire); }
.rb-target__c--tl { left: -18px; top: -18px; border-right: 0; border-bottom: 0; }
.rb-target__c--tr { left: 4px; top: -18px; border-left: 0; border-bottom: 0; }
.rb-target__c--br { left: 4px; top: 4px; border-left: 0; border-top: 0; }
.rb-target__c--bl { left: -18px; top: 4px; border-right: 0; border-top: 0; }
html.rb-has-target, html.rb-has-target a, html.rb-has-target button, html.rb-has-target summary { cursor: none; }
html.rb-has-target input, html.rb-has-target textarea, html.rb-has-target select { cursor: auto; }

/* ClickSpark */
.rb-spark { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 350; pointer-events: none; }

/* Squares canvas fills its parent */
canvas[data-squares] { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ScrollVelocity */
.rb-vel { overflow: hidden; white-space: nowrap; }
.rb-vel__track { display: inline-flex; will-change: transform; }
html[dir="rtl"] .rb-vel { direction: ltr; }

/* GlareHover */
.rb-glare { position: relative; overflow: hidden; }
.rb-glare > .rb-glare__l { display: none; }
