@alivecss/aliveui 1.1.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -2496,6 +2496,2047 @@ video {
2496
2496
  .alive-terminal-out { color: rgba(255,255,255,0.45); }
2497
2497
  .alive-terminal-ok { color: #4ade80; }
2498
2498
  .alive-terminal-err { color: #f87171; }
2499
+
2500
+ /* \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
2501
+ AliveUI Video Blocks \u2014 cinematic building blocks for product videos
2502
+ \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550 */
2503
+
2504
+ /* \u2500\u2500 Gradient Mesh Background \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
2505
+ @keyframes alive-mesh-shift {
2506
+ 0% { background-position: 0% 50%; }
2507
+ 50% { background-position: 100% 50%; }
2508
+ 100% { background-position: 0% 50%; }
2509
+ }
2510
+ .alive-gradient-mesh {
2511
+ background: linear-gradient(
2512
+ 135deg,
2513
+ #6366f1 0%,
2514
+ #8b5cf6 25%,
2515
+ #06b6d4 50%,
2516
+ #6366f1 75%,
2517
+ #8b5cf6 100%
2518
+ );
2519
+ background-size: 300% 300%;
2520
+ animation: alive-mesh-shift 8s ease infinite;
2521
+ }
2522
+ .alive-gradient-mesh-warm {
2523
+ background: linear-gradient(
2524
+ 135deg,
2525
+ #f59e0b 0%,
2526
+ #ef4444 25%,
2527
+ #ec4899 50%,
2528
+ #f59e0b 75%,
2529
+ #ef4444 100%
2530
+ );
2531
+ background-size: 300% 300%;
2532
+ animation: alive-mesh-shift 8s ease infinite;
2533
+ }
2534
+ .alive-gradient-mesh-cool {
2535
+ background: linear-gradient(
2536
+ 135deg,
2537
+ #0ea5e9 0%,
2538
+ #6366f1 25%,
2539
+ #14b8a6 50%,
2540
+ #0ea5e9 75%,
2541
+ #6366f1 100%
2542
+ );
2543
+ background-size: 300% 300%;
2544
+ animation: alive-mesh-shift 8s ease infinite;
2545
+ }
2546
+ .alive-gradient-mesh-dark {
2547
+ background: linear-gradient(
2548
+ 135deg,
2549
+ #1e1b4b 0%,
2550
+ #312e81 20%,
2551
+ #1e3a5f 40%,
2552
+ #0f172a 60%,
2553
+ #1e1b4b 80%,
2554
+ #312e81 100%
2555
+ );
2556
+ background-size: 300% 300%;
2557
+ animation: alive-mesh-shift 10s ease infinite;
2558
+ }
2559
+ /* Noise overlay layer \u2014 place over any bg */
2560
+ .alive-gradient-mesh::after,
2561
+ .alive-gradient-mesh-warm::after,
2562
+ .alive-gradient-mesh-cool::after,
2563
+ .alive-gradient-mesh-dark::after {
2564
+ content: '';
2565
+ position: absolute;
2566
+ inset: 0;
2567
+ background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
2568
+ pointer-events: none;
2569
+ }
2570
+
2571
+ /* \u2500\u2500 Counter \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
2572
+ @keyframes alive-count-up {
2573
+ from { opacity: 0; transform: translateY(12px); }
2574
+ to { opacity: 1; transform: translateY(0); }
2575
+ }
2576
+ .alive-counter {
2577
+ display: inline-flex;
2578
+ flex-direction: column;
2579
+ align-items: center;
2580
+ gap: 4px;
2581
+ }
2582
+ .alive-counter-value {
2583
+ font-size: 3rem;
2584
+ font-weight: 800;
2585
+ letter-spacing: -0.03em;
2586
+ line-height: 1;
2587
+ animation: alive-count-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
2588
+ }
2589
+ .alive-counter-label {
2590
+ font-size: 0.8125rem;
2591
+ font-weight: 500;
2592
+ text-transform: uppercase;
2593
+ letter-spacing: 0.08em;
2594
+ opacity: 0.55;
2595
+ }
2596
+ .alive-counter-prefix,
2597
+ .alive-counter-suffix {
2598
+ font-size: 1.25rem;
2599
+ font-weight: 700;
2600
+ opacity: 0.7;
2601
+ align-self: flex-start;
2602
+ margin-top: 6px;
2603
+ }
2604
+ /* JS-driven counter \u2014 add data-target="4200" and call aliveCounter() */
2605
+ [data-alive-counter] { counter-reset: none; }
2606
+
2607
+ /* \u2500\u2500 Toast Notification \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
2608
+ @keyframes alive-toast-loop {
2609
+ 0% { opacity: 0; transform: translateY(16px) scale(0.95); }
2610
+ 8% { opacity: 1; transform: translateY(0) scale(1); }
2611
+ 70% { opacity: 1; transform: translateY(0) scale(1); }
2612
+ 80% { opacity: 0; transform: translateY(-10px) scale(0.97); }
2613
+ 100% { opacity: 0; transform: translateY(16px) scale(0.95); }
2614
+ }
2615
+ .alive-toast {
2616
+ display: inline-flex;
2617
+ align-items: center;
2618
+ gap: 10px;
2619
+ padding: 12px 18px;
2620
+ border-radius: 14px;
2621
+ background: var(--alive-toast-bg, rgba(255,255,255,0.08));
2622
+ backdrop-filter: blur(16px);
2623
+ -webkit-backdrop-filter: blur(16px);
2624
+ border: 1px solid var(--alive-toast-border, rgba(255,255,255,0.12));
2625
+ box-shadow: 0 8px 32px rgba(0,0,0,0.24), 0 1px 0 rgba(255,255,255,0.06) inset;
2626
+ font-size: 0.875rem;
2627
+ font-weight: 500;
2628
+ color: var(--alive-toast-color, #fff);
2629
+ animation: alive-toast-loop 5s cubic-bezier(0.22, 1, 0.36, 1) infinite both;
2630
+ }
2631
+ .alive-toast-icon {
2632
+ width: 28px;
2633
+ height: 28px;
2634
+ border-radius: 8px;
2635
+ display: flex;
2636
+ align-items: center;
2637
+ justify-content: center;
2638
+ flex-shrink: 0;
2639
+ font-size: 14px;
2640
+ background: var(--alive-toast-icon-bg, rgba(255,255,255,0.1));
2641
+ color: var(--alive-toast-icon-color, currentColor);
2642
+ }
2643
+ .alive-toast-title { font-weight: 600; font-size: 0.875rem; }
2644
+ .alive-toast-body { font-size: 0.8125rem; opacity: 0.65; margin-top: 1px; }
2645
+ .alive-toast-content { display: flex; flex-direction: column; }
2646
+ /* variants */
2647
+ .alive-toast-success { border-color: rgba(74,222,128,0.3); background: rgba(74,222,128,0.08); }
2648
+ .alive-toast-success .alive-toast-icon { background: rgba(74,222,128,0.15); color: #4ade80; }
2649
+ .alive-toast-error { border-color: rgba(248,113,113,0.3); background: rgba(248,113,113,0.08); }
2650
+ .alive-toast-error .alive-toast-icon { background: rgba(248,113,113,0.15); color: #f87171; }
2651
+ .alive-toast-info { border-color: rgba(99,102,241,0.35); background: rgba(99,102,241,0.08); }
2652
+ .alive-toast-info .alive-toast-icon { background: rgba(99,102,241,0.15); color: #818cf8; }
2653
+ .alive-toast-warning { border-color: rgba(251,191,36,0.3); background: rgba(251,191,36,0.08); }
2654
+ .alive-toast-warning .alive-toast-icon { background: rgba(251,191,36,0.15); color: #fbbf24; }
2655
+ /* light bg variant */
2656
+ .alive-toast-light {
2657
+ background: #fff;
2658
+ border-color: rgba(0,0,0,0.08);
2659
+ color: #111;
2660
+ box-shadow: 0 8px 32px rgba(0,0,0,0.12);
2661
+ }
2662
+
2663
+ /* \u2500\u2500 Typewriter \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
2664
+ @keyframes alive-blink {
2665
+ 0%, 100% { opacity: 1; }
2666
+ 50% { opacity: 0; }
2667
+ }
2668
+ @keyframes alive-type-in {
2669
+ from { clip-path: inset(0 100% 0 0); }
2670
+ to { clip-path: inset(0 0% 0 0); }
2671
+ }
2672
+ .alive-typewriter {
2673
+ display: inline-block;
2674
+ white-space: nowrap;
2675
+ border-right: 2px solid var(--alive-typewriter-cursor, currentColor);
2676
+ animation:
2677
+ alive-type-in 2s steps(40, end) both,
2678
+ alive-blink 0.8s step-end infinite;
2679
+ }
2680
+ .alive-typewriter-fast {
2681
+ animation:
2682
+ alive-type-in 1s steps(30, end) both,
2683
+ alive-blink 0.8s step-end infinite;
2684
+ }
2685
+ .alive-typewriter-slow {
2686
+ animation:
2687
+ alive-type-in 3.5s steps(60, end) both,
2688
+ alive-blink 0.8s step-end infinite;
2689
+ }
2690
+ .alive-typewriter-no-cursor {
2691
+ border-right: none;
2692
+ animation: alive-type-in 2s steps(40, end) both;
2693
+ }
2694
+
2695
+ /* \u2500\u2500 Word Reveal \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
2696
+ @keyframes alive-word-in {
2697
+ from { opacity: 0; transform: translateY(20px); filter: blur(4px); }
2698
+ to { opacity: 1; transform: translateY(0); filter: blur(0); }
2699
+ }
2700
+ @keyframes alive-word-in-up {
2701
+ from { opacity: 0; transform: translateY(-20px); }
2702
+ to { opacity: 1; transform: translateY(0); }
2703
+ }
2704
+ @keyframes alive-word-in-scale {
2705
+ from { opacity: 0; transform: scale(0.7); }
2706
+ to { opacity: 1; transform: scale(1); }
2707
+ }
2708
+ /* paused by default \u2014 add .alive-run to the wrapper to trigger */
2709
+ .alive-word-reveal > * {
2710
+ display: inline-block;
2711
+ opacity: 0;
2712
+ animation: alive-word-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
2713
+ animation-play-state: paused;
2714
+ }
2715
+ .alive-word-reveal.alive-run > * {
2716
+ animation-play-state: running;
2717
+ }
2718
+ /* stagger helpers \u2014 add these to children */
2719
+ .alive-delay-1 { animation-delay: 0.1s; }
2720
+ .alive-delay-2 { animation-delay: 0.2s; }
2721
+ .alive-delay-3 { animation-delay: 0.3s; }
2722
+ .alive-delay-4 { animation-delay: 0.4s; }
2723
+ .alive-delay-5 { animation-delay: 0.5s; }
2724
+ .alive-delay-6 { animation-delay: 0.6s; }
2725
+ .alive-delay-7 { animation-delay: 0.7s; }
2726
+ .alive-delay-8 { animation-delay: 0.8s; }
2727
+ .alive-delay-9 { animation-delay: 0.9s; }
2728
+ .alive-delay-10 { animation-delay: 1.0s; }
2729
+ .alive-delay-12 { animation-delay: 1.2s; }
2730
+ .alive-delay-15 { animation-delay: 1.5s; }
2731
+ /* char-by-char variant */
2732
+ .alive-char-reveal > * {
2733
+ display: inline-block;
2734
+ opacity: 0;
2735
+ animation: alive-word-in-scale 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
2736
+ animation-play-state: paused;
2737
+ }
2738
+ .alive-char-reveal.alive-run > * {
2739
+ animation-play-state: running;
2740
+ }
2741
+
2742
+ /* \u2500\u2500 Animated Light Beam \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
2743
+ @keyframes alive-beam-sweep {
2744
+ 0% { transform: translateX(-100%) rotate(25deg); opacity: 0; }
2745
+ 15% { opacity: 1; }
2746
+ 85% { opacity: 1; }
2747
+ 100% { transform: translateX(200%) rotate(25deg); opacity: 0; }
2748
+ }
2749
+ @keyframes alive-beam-pulse {
2750
+ 0%, 100% { opacity: 0.3; }
2751
+ 50% { opacity: 0.7; }
2752
+ }
2753
+ .alive-beam {
2754
+ position: relative;
2755
+ overflow: hidden;
2756
+ }
2757
+ .alive-beam::before {
2758
+ content: '';
2759
+ position: absolute;
2760
+ top: -50%;
2761
+ left: 0;
2762
+ width: 60%;
2763
+ height: 200%;
2764
+ background: linear-gradient(
2765
+ 90deg,
2766
+ transparent 0%,
2767
+ rgba(255,255,255,0.06) 40%,
2768
+ rgba(255,255,255,0.12) 50%,
2769
+ rgba(255,255,255,0.06) 60%,
2770
+ transparent 100%
2771
+ );
2772
+ animation: alive-beam-sweep 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
2773
+ animation-delay: 1s;
2774
+ pointer-events: none;
2775
+ }
2776
+ /* radial glow beam from top */
2777
+ .alive-beam-glow::after {
2778
+ content: '';
2779
+ position: absolute;
2780
+ top: -20%;
2781
+ left: 50%;
2782
+ transform: translateX(-50%);
2783
+ width: 60%;
2784
+ height: 50%;
2785
+ background: radial-gradient(ellipse at top, rgba(99,102,241,0.35) 0%, transparent 70%);
2786
+ animation: alive-beam-pulse 3s ease-in-out infinite;
2787
+ pointer-events: none;
2788
+ }
2789
+
2790
+ /* \u2500\u2500 Noise / Film Grain \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
2791
+ @keyframes alive-noise-shift {
2792
+ 0% { transform: translate(0, 0); }
2793
+ 10% { transform: translate(-2%, -2%); }
2794
+ 20% { transform: translate(2%, 2%); }
2795
+ 30% { transform: translate(-1%, 1%); }
2796
+ 40% { transform: translate(1%, -1%); }
2797
+ 50% { transform: translate(-2%, 1%); }
2798
+ 60% { transform: translate(2%, -2%); }
2799
+ 70% { transform: translate(-1%, -1%); }
2800
+ 80% { transform: translate(1%, 2%); }
2801
+ 90% { transform: translate(-2%, 2%); }
2802
+ 100% { transform: translate(0, 0); }
2803
+ }
2804
+ .alive-noise {
2805
+ position: relative;
2806
+ }
2807
+ .alive-noise::after {
2808
+ content: '';
2809
+ position: absolute;
2810
+ inset: -10%;
2811
+ width: 120%;
2812
+ height: 120%;
2813
+ background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
2814
+ opacity: 0.04;
2815
+ animation: alive-noise-shift 0.3s steps(1) infinite;
2816
+ pointer-events: none;
2817
+ z-index: 10;
2818
+ }
2819
+ .alive-noise-subtle::after { opacity: 0.025; }
2820
+ .alive-noise-strong::after { opacity: 0.07; }
2821
+
2822
+ /* \u2500\u2500 Animated Grid Background \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
2823
+ @keyframes alive-grid-scroll {
2824
+ from { background-position: 0 0; }
2825
+ to { background-position: 40px 40px; }
2826
+ }
2827
+ @keyframes alive-grid-fade {
2828
+ 0%, 100% { opacity: 0.4; }
2829
+ 50% { opacity: 0.8; }
2830
+ }
2831
+ .alive-grid {
2832
+ background-image:
2833
+ linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
2834
+ linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
2835
+ background-size: 40px 40px;
2836
+ animation: alive-grid-scroll 4s linear infinite;
2837
+ }
2838
+ .alive-grid-dark {
2839
+ background-image:
2840
+ linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
2841
+ linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
2842
+ background-size: 40px 40px;
2843
+ }
2844
+ .alive-grid-light {
2845
+ background-image:
2846
+ linear-gradient(rgba(0,0,0,0.06) 1px, transparent 1px),
2847
+ linear-gradient(90deg, rgba(0,0,0,0.06) 1px, transparent 1px);
2848
+ background-size: 40px 40px;
2849
+ }
2850
+ .alive-grid-sm { background-size: 20px 20px; }
2851
+ .alive-grid-lg { background-size: 60px 60px; }
2852
+ /* center fade \u2014 vignette over the grid */
2853
+ .alive-grid-vignette::after {
2854
+ content: '';
2855
+ position: absolute;
2856
+ inset: 0;
2857
+ background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.7) 100%);
2858
+ pointer-events: none;
2859
+ }
2860
+
2861
+ /* \u2500\u2500 Spotlight \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
2862
+ @keyframes alive-spotlight-in {
2863
+ from { opacity: 0; transform: scale(0.8); }
2864
+ to { opacity: 1; transform: scale(1); }
2865
+ }
2866
+ .alive-spotlight {
2867
+ position: relative;
2868
+ }
2869
+ .alive-spotlight::before {
2870
+ content: '';
2871
+ position: absolute;
2872
+ inset: -24px;
2873
+ border-radius: inherit;
2874
+ background: radial-gradient(ellipse at center, var(--alive-spotlight-color, rgba(99,102,241,0.25)) 0%, var(--alive-spotlight-color-mid, rgba(99,102,241,0.08)) 50%, transparent 70%);
2875
+ animation: alive-spotlight-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
2876
+ pointer-events: none;
2877
+ z-index: -1;
2878
+ }
2879
+ .alive-spotlight-ring::after {
2880
+ content: '';
2881
+ position: absolute;
2882
+ inset: -4px;
2883
+ border-radius: inherit;
2884
+ border: 1px solid var(--alive-spotlight-ring-color, rgba(99,102,241,0.4));
2885
+ box-shadow: 0 0 24px var(--alive-spotlight-glow, rgba(99,102,241,0.3)), 0 0 48px var(--alive-spotlight-glow-far, rgba(99,102,241,0.15));
2886
+ animation: alive-spotlight-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
2887
+ pointer-events: none;
2888
+ }
2889
+ .alive-spotlight-white::before {
2890
+ background: radial-gradient(ellipse at center, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.06) 50%, transparent 70%);
2891
+ }
2892
+
2893
+ /* \u2500\u2500 Badge Pulse / Live Indicator \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
2894
+ @keyframes alive-pulse-ring {
2895
+ 0% { transform: scale(1); opacity: 0.7; }
2896
+ 100% { transform: scale(2.5); opacity: 0; }
2897
+ }
2898
+ @keyframes alive-badge-in {
2899
+ from { opacity: 0; transform: scale(0.7); }
2900
+ to { opacity: 1; transform: scale(1); }
2901
+ }
2902
+ .alive-badge-pulse {
2903
+ display: inline-flex;
2904
+ align-items: center;
2905
+ gap: 7px;
2906
+ padding: 5px 12px 5px 8px;
2907
+ border-radius: 999px;
2908
+ font-size: 0.75rem;
2909
+ font-weight: 600;
2910
+ letter-spacing: 0.02em;
2911
+ background: var(--alive-badge-bg, transparent);
2912
+ color: var(--alive-badge-color, inherit);
2913
+ border: 1px solid var(--alive-badge-border, transparent);
2914
+ animation: alive-badge-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
2915
+ }
2916
+ .alive-badge-pulse .alive-badge-dot {
2917
+ position: relative;
2918
+ width: 8px;
2919
+ height: 8px;
2920
+ border-radius: 50%;
2921
+ flex-shrink: 0;
2922
+ background: var(--alive-badge-dot, currentColor);
2923
+ }
2924
+ .alive-badge-pulse .alive-badge-dot::before {
2925
+ content: '';
2926
+ position: absolute;
2927
+ inset: 0;
2928
+ border-radius: 50%;
2929
+ animation: alive-pulse-ring 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
2930
+ background: inherit;
2931
+ }
2932
+ /* color variants */
2933
+ .alive-badge-live {
2934
+ background: rgba(239,68,68,0.12);
2935
+ color: #ef4444;
2936
+ border: 1px solid rgba(239,68,68,0.2);
2937
+ }
2938
+ .alive-badge-live .alive-badge-dot { background: #ef4444; }
2939
+ .alive-badge-online {
2940
+ background: rgba(34,197,94,0.12);
2941
+ color: #22c55e;
2942
+ border: 1px solid rgba(34,197,94,0.2);
2943
+ }
2944
+ .alive-badge-online .alive-badge-dot { background: #22c55e; }
2945
+ .alive-badge-recording {
2946
+ background: rgba(239,68,68,0.1);
2947
+ color: #f87171;
2948
+ border: 1px solid rgba(239,68,68,0.15);
2949
+ }
2950
+ .alive-badge-recording .alive-badge-dot { background: #f87171; }
2951
+ .alive-badge-beta {
2952
+ background: rgba(99,102,241,0.12);
2953
+ color: #818cf8;
2954
+ border: 1px solid rgba(99,102,241,0.2);
2955
+ }
2956
+ .alive-badge-beta .alive-badge-dot { background: #818cf8; }
2957
+
2958
+ /* \u2500\u2500 Code Block (Syntax Highlight) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
2959
+ @keyframes alive-code-reveal {
2960
+ from { opacity: 0; transform: translateY(8px); }
2961
+ to { opacity: 1; transform: translateY(0); }
2962
+ }
2963
+ @keyframes alive-code-scan {
2964
+ 0% { top: 0%; opacity: 0; }
2965
+ 5% { opacity: 1; }
2966
+ 95% { opacity: 1; }
2967
+ 100% { top: 100%; opacity: 0; }
2968
+ }
2969
+ @keyframes alive-code-glow {
2970
+ 0%, 100% { box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
2971
+ 50% { box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(99,102,241,0.2), 0 0 24px rgba(99,102,241,0.1); }
2972
+ }
2973
+ .alive-code-block {
2974
+ border-radius: 12px;
2975
+ overflow: hidden;
2976
+ background: #0d1117;
2977
+ border: 1px solid rgba(255,255,255,0.06);
2978
+ box-shadow: 0 20px 60px rgba(0,0,0,0.5);
2979
+ font-family: ui-monospace, 'Cascadia Code', 'Fira Code', 'JetBrains Mono', monospace;
2980
+ animation: alive-code-reveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) both, alive-code-glow 4s ease-in-out 1s infinite;
2981
+ position: relative;
2982
+ }
2983
+ /* scanning line \u2014 active code highlight */
2984
+ .alive-code-block::after {
2985
+ content: '';
2986
+ position: absolute;
2987
+ left: 0;
2988
+ right: 0;
2989
+ height: 1.75rem;
2990
+ background: linear-gradient(180deg, transparent 0%, rgba(99,102,241,0.07) 50%, transparent 100%);
2991
+ animation: alive-code-scan 3s ease-in-out 1s infinite;
2992
+ pointer-events: none;
2993
+ }
2994
+ .alive-code-block-bar {
2995
+ display: flex;
2996
+ align-items: center;
2997
+ justify-content: space-between;
2998
+ padding: 10px 16px;
2999
+ background: #161b22;
3000
+ border-bottom: 1px solid rgba(255,255,255,0.06);
3001
+ }
3002
+ .alive-code-block-dots {
3003
+ display: flex;
3004
+ gap: 6px;
3005
+ }
3006
+ .alive-code-block-dots span {
3007
+ width: 12px;
3008
+ height: 12px;
3009
+ border-radius: 50%;
3010
+ }
3011
+ .alive-code-block-dots span:nth-child(1) { background: #ff5f57; }
3012
+ .alive-code-block-dots span:nth-child(2) { background: #febc2e; }
3013
+ .alive-code-block-dots span:nth-child(3) { background: #28c840; }
3014
+ .alive-code-block-filename {
3015
+ font-size: 0.75rem;
3016
+ color: rgba(255,255,255,0.35);
3017
+ font-family: inherit;
3018
+ }
3019
+ .alive-code-block-lang {
3020
+ font-size: 0.6875rem;
3021
+ text-transform: uppercase;
3022
+ letter-spacing: 0.08em;
3023
+ color: rgba(255,255,255,0.25);
3024
+ }
3025
+ .alive-code-block-body {
3026
+ padding: 1.25rem 1.5rem;
3027
+ font-size: 0.8125rem;
3028
+ line-height: 1.75;
3029
+ overflow: auto;
3030
+ }
3031
+ /* line-by-line reveal \u2014 add alive-delay-* to each line */
3032
+ .alive-code-block-body .line {
3033
+ display: block;
3034
+ animation: alive-code-reveal 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
3035
+ }
3036
+ /* syntax tokens */
3037
+ .alive-token-keyword { color: #ff7b72; }
3038
+ .alive-token-string { color: #a5d6ff; }
3039
+ .alive-token-number { color: #79c0ff; }
3040
+ .alive-token-comment { color: rgba(255,255,255,0.3); font-style: italic; }
3041
+ .alive-token-fn { color: #d2a8ff; }
3042
+ .alive-token-var { color: #ffa657; }
3043
+ .alive-token-op { color: rgba(255,255,255,0.55); }
3044
+ .alive-token-type { color: #79c0ff; }
3045
+ .alive-token-punct { color: rgba(255,255,255,0.4); }
3046
+
3047
+ /* \u2500\u2500 Testimonial Card \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3048
+ @keyframes alive-card-in {
3049
+ from { opacity: 0; transform: translateY(24px) scale(0.97); }
3050
+ to { opacity: 1; transform: translateY(0) scale(1); }
3051
+ }
3052
+ @keyframes alive-float {
3053
+ 0%, 100% { transform: translateY(0px); }
3054
+ 50% { transform: translateY(-6px); }
3055
+ }
3056
+ .alive-testimonial {
3057
+ display: flex;
3058
+ flex-direction: column;
3059
+ gap: 16px;
3060
+ padding: 24px;
3061
+ border-radius: 16px;
3062
+ background: rgba(255,255,255,0.05);
3063
+ border: 1px solid rgba(255,255,255,0.08);
3064
+ box-shadow: 0 8px 32px rgba(0,0,0,0.2);
3065
+ animation: alive-card-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both, alive-float 4s ease-in-out 0.5s infinite;
3066
+ max-width: 400px;
3067
+ }
3068
+ .alive-testimonial-quote {
3069
+ font-size: 1rem;
3070
+ line-height: 1.6;
3071
+ color: rgba(255,255,255,0.85);
3072
+ font-weight: 400;
3073
+ }
3074
+ .alive-testimonial-quote::before { content: '\u201C'; }
3075
+ .alive-testimonial-quote::after { content: '\u201D'; }
3076
+ .alive-testimonial-author {
3077
+ display: flex;
3078
+ align-items: center;
3079
+ gap: 12px;
3080
+ }
3081
+ .alive-testimonial-avatar {
3082
+ width: 36px;
3083
+ height: 36px;
3084
+ border-radius: 50%;
3085
+ background: linear-gradient(135deg, #6366f1, #8b5cf6);
3086
+ flex-shrink: 0;
3087
+ overflow: hidden;
3088
+ }
3089
+ .alive-testimonial-name {
3090
+ font-size: 0.875rem;
3091
+ font-weight: 600;
3092
+ color: #fff;
3093
+ }
3094
+ .alive-testimonial-role {
3095
+ font-size: 0.75rem;
3096
+ color: rgba(255,255,255,0.4);
3097
+ margin-top: 1px;
3098
+ }
3099
+ .alive-testimonial-stars {
3100
+ display: flex;
3101
+ gap: 3px;
3102
+ color: #fbbf24;
3103
+ font-size: 0.75rem;
3104
+ margin-bottom: 4px;
3105
+ }
3106
+ /* light variant */
3107
+ .alive-testimonial-light {
3108
+ background: #fff;
3109
+ border-color: rgba(0,0,0,0.06);
3110
+ box-shadow: 0 8px 32px rgba(0,0,0,0.08);
3111
+ }
3112
+ .alive-testimonial-light .alive-testimonial-quote { color: #1a1a1a; }
3113
+ .alive-testimonial-light .alive-testimonial-name { color: #111; }
3114
+ .alive-testimonial-light .alive-testimonial-role { color: rgba(0,0,0,0.4); }
3115
+
3116
+ /* \u2500\u2500 Metric Card \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3117
+ @keyframes alive-metric-in {
3118
+ from { opacity: 0; transform: translateY(16px); }
3119
+ to { opacity: 1; transform: translateY(0); }
3120
+ }
3121
+ @keyframes alive-bar-grow {
3122
+ from { transform: scaleX(0); }
3123
+ to { transform: scaleX(1); }
3124
+ }
3125
+ @keyframes alive-bar-shimmer {
3126
+ 0% { background-position: -200% center; }
3127
+ 100% { background-position: 200% center; }
3128
+ }
3129
+ @keyframes alive-value-pulse {
3130
+ 0%, 100% { opacity: 1; }
3131
+ 50% { opacity: 0.75; }
3132
+ }
3133
+ .alive-metric-card {
3134
+ display: flex;
3135
+ flex-direction: column;
3136
+ gap: 8px;
3137
+ padding: 20px 24px;
3138
+ border-radius: 14px;
3139
+ background: var(--alive-metric-bg, rgba(255,255,255,0.04));
3140
+ border: 1px solid var(--alive-metric-border, rgba(255,255,255,0.08));
3141
+ animation: alive-metric-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
3142
+ min-width: 160px;
3143
+ }
3144
+ .alive-metric-card-label {
3145
+ font-size: 0.75rem;
3146
+ font-weight: 500;
3147
+ text-transform: uppercase;
3148
+ letter-spacing: 0.07em;
3149
+ color: var(--alive-metric-label-color, rgba(255,255,255,0.4));
3150
+ }
3151
+ .alive-metric-card-value {
3152
+ font-size: 2.25rem;
3153
+ font-weight: 800;
3154
+ letter-spacing: -0.04em;
3155
+ line-height: 1;
3156
+ color: var(--alive-metric-value-color, #fff);
3157
+ }
3158
+ .alive-metric-card-change {
3159
+ display: inline-flex;
3160
+ align-items: center;
3161
+ gap: 4px;
3162
+ font-size: 0.8125rem;
3163
+ font-weight: 600;
3164
+ padding: 3px 8px;
3165
+ border-radius: 6px;
3166
+ width: fit-content;
3167
+ }
3168
+ .alive-metric-card-up { color: #4ade80; background: rgba(74,222,128,0.12); }
3169
+ .alive-metric-card-down { color: #f87171; background: rgba(248,113,113,0.12); }
3170
+ .alive-metric-card-bar {
3171
+ height: 3px;
3172
+ border-radius: 2px;
3173
+ background: rgba(255,255,255,0.08);
3174
+ margin-top: 4px;
3175
+ overflow: hidden;
3176
+ }
3177
+ .alive-metric-card-bar-fill {
3178
+ height: 100%;
3179
+ border-radius: 2px;
3180
+ background: linear-gradient(90deg, var(--alive-metric-accent, #6366f1), var(--alive-metric-accent-2, #8b5cf6), var(--alive-metric-accent, #6366f1));
3181
+ background-size: 200% auto;
3182
+ transform-origin: left;
3183
+ animation:
3184
+ alive-bar-grow 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both,
3185
+ alive-bar-shimmer 2.5s linear 1.3s infinite;
3186
+ }
3187
+ /* light variant */
3188
+ .alive-metric-card-light {
3189
+ background: #fff;
3190
+ border-color: rgba(0,0,0,0.06);
3191
+ box-shadow: 0 4px 16px rgba(0,0,0,0.06);
3192
+ }
3193
+ .alive-metric-card-light .alive-metric-card-label { color: rgba(0,0,0,0.4); }
3194
+ .alive-metric-card-light .alive-metric-card-value { color: #111; }
3195
+
3196
+ /* \u2500\u2500 Logo Marquee \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3197
+ @keyframes alive-marquee {
3198
+ from { transform: translateX(0); }
3199
+ to { transform: translateX(-50%); }
3200
+ }
3201
+ @keyframes alive-marquee-reverse {
3202
+ from { transform: translateX(-50%); }
3203
+ to { transform: translateX(0); }
3204
+ }
3205
+ .alive-marquee {
3206
+ display: flex;
3207
+ overflow: hidden;
3208
+ width: 100%;
3209
+ position: relative;
3210
+ }
3211
+ /* fade edges */
3212
+ .alive-marquee::before,
3213
+ .alive-marquee::after {
3214
+ content: '';
3215
+ position: absolute;
3216
+ top: 0;
3217
+ bottom: 0;
3218
+ width: 80px;
3219
+ z-index: 2;
3220
+ pointer-events: none;
3221
+ }
3222
+ .alive-marquee::before { left: 0; background: linear-gradient(to right, rgba(0,0,0,0.8), transparent); }
3223
+ .alive-marquee::after { right: 0; background: linear-gradient(to left, rgba(0,0,0,0.8), transparent); }
3224
+ .alive-marquee-track {
3225
+ display: flex;
3226
+ gap: 40px;
3227
+ align-items: center;
3228
+ flex-shrink: 0;
3229
+ animation: alive-marquee 20s linear infinite;
3230
+ will-change: transform;
3231
+ }
3232
+ .alive-marquee-track-slow { animation-duration: 35s; }
3233
+ .alive-marquee-track-fast { animation-duration: 12s; }
3234
+ .alive-marquee-track-reverse { animation-name: alive-marquee-reverse; }
3235
+ .alive-marquee-item {
3236
+ display: flex;
3237
+ align-items: center;
3238
+ justify-content: center;
3239
+ flex-shrink: 0;
3240
+ height: 32px;
3241
+ opacity: 0.45;
3242
+ filter: grayscale(1);
3243
+ transition: opacity 0.2s, filter 0.2s;
3244
+ }
3245
+ .alive-marquee-item:hover { opacity: 0.8; filter: grayscale(0); }
3246
+ .alive-marquee-item img { height: 100%; width: auto; object-fit: contain; }
3247
+ /* light bg variant */
3248
+ .alive-marquee-light::before { background: linear-gradient(to right, rgba(255,255,255,0.9), transparent); }
3249
+ .alive-marquee-light::after { background: linear-gradient(to left, rgba(255,255,255,0.9), transparent); }
3250
+ .alive-marquee-light .alive-marquee-item { filter: grayscale(1) invert(1); opacity: 0.35; }
3251
+
3252
+ /* \u2500\u2500 Glitch Text \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3253
+ @keyframes alive-glitch-1 {
3254
+ 0%, 100% { clip-path: inset(0 0 95% 0); transform: translate(-3px, 0); }
3255
+ 20% { clip-path: inset(20% 0 60% 0); transform: translate(3px, 0); }
3256
+ 40% { clip-path: inset(50% 0 30% 0); transform: translate(-3px, 0); }
3257
+ 60% { clip-path: inset(80% 0 5% 0); transform: translate(3px, 0); }
3258
+ 80% { clip-path: inset(10% 0 80% 0); transform: translate(-2px, 0); }
3259
+ }
3260
+ @keyframes alive-glitch-2 {
3261
+ 0%, 100% { clip-path: inset(50% 0 30% 0); transform: translate(3px, 0); }
3262
+ 25% { clip-path: inset(10% 0 70% 0); transform: translate(-3px, 0); }
3263
+ 50% { clip-path: inset(70% 0 10% 0); transform: translate(2px, 0); }
3264
+ 75% { clip-path: inset(30% 0 50% 0); transform: translate(-2px, 0); }
3265
+ }
3266
+ @keyframes alive-glitch-shake {
3267
+ 0%, 100% { transform: translate(0); }
3268
+ 10% { transform: translate(-2px, 1px); }
3269
+ 20% { transform: translate(2px, -1px); }
3270
+ 30% { transform: translate(-1px, 2px); }
3271
+ 40% { transform: translate(1px, -2px); }
3272
+ 50% { transform: translate(-2px, -1px); }
3273
+ }
3274
+ .alive-glitch {
3275
+ position: relative;
3276
+ display: inline-block;
3277
+ }
3278
+ .alive-glitch::before,
3279
+ .alive-glitch::after {
3280
+ content: attr(data-text);
3281
+ position: absolute;
3282
+ top: 0;
3283
+ left: 0;
3284
+ width: 100%;
3285
+ height: 100%;
3286
+ }
3287
+ .alive-glitch::before {
3288
+ color: #ff2d78;
3289
+ animation: alive-glitch-1 2.5s infinite linear alternate-reverse;
3290
+ }
3291
+ .alive-glitch::after {
3292
+ color: #00f5d4;
3293
+ animation: alive-glitch-2 2s infinite linear alternate-reverse;
3294
+ }
3295
+ .alive-glitch-shake {
3296
+ animation: alive-glitch-shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both infinite;
3297
+ }
3298
+
3299
+ /* \u2500\u2500 Scene Transitions \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
3300
+ Usage: stack two scene layers (position:absolute, same inset).
3301
+ Add .alive-transition-*-out to the LEAVING layer.
3302
+ Add .alive-transition-*-in to the ENTERING layer.
3303
+ Both run for --alive-tr-dur (default 600ms).
3304
+ For video export: render each layer separately and composite.
3305
+ \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3306
+ .alive-transition-fade-out,
3307
+ .alive-transition-fade-in,
3308
+ .alive-transition-wipe-left-out,
3309
+ .alive-transition-wipe-left-in,
3310
+ .alive-transition-wipe-right-out,
3311
+ .alive-transition-wipe-right-in,
3312
+ .alive-transition-wipe-up-out,
3313
+ .alive-transition-wipe-up-in,
3314
+ .alive-transition-wipe-down-out,
3315
+ .alive-transition-wipe-down-in,
3316
+ .alive-transition-slide-left-out,
3317
+ .alive-transition-slide-left-in,
3318
+ .alive-transition-slide-right-out,
3319
+ .alive-transition-slide-right-in,
3320
+ .alive-transition-slide-up-out,
3321
+ .alive-transition-slide-up-in,
3322
+ .alive-transition-slide-down-out,
3323
+ .alive-transition-slide-down-in,
3324
+ .alive-transition-zoom-in-out,
3325
+ .alive-transition-zoom-in-in,
3326
+ .alive-transition-zoom-out-out,
3327
+ .alive-transition-zoom-out-in,
3328
+ .alive-transition-blur-out,
3329
+ .alive-transition-blur-in,
3330
+ .alive-transition-flip-out,
3331
+ .alive-transition-flip-in,
3332
+ .alive-transition-clock-out,
3333
+ .alive-transition-clock-in {
3334
+ --alive-tr-dur: 600ms;
3335
+ --alive-tr-ease: cubic-bezier(0.4, 0, 0.2, 1);
3336
+ animation-duration: var(--alive-tr-dur);
3337
+ animation-timing-function: var(--alive-tr-ease);
3338
+ animation-fill-mode: both;
3339
+ }
3340
+
3341
+ /* \u2500\u2500 Fade \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3342
+ @keyframes alive-tr-fade-out {
3343
+ from { opacity: 1; }
3344
+ to { opacity: 0; }
3345
+ }
3346
+ @keyframes alive-tr-fade-in {
3347
+ from { opacity: 0; }
3348
+ to { opacity: 1; }
3349
+ }
3350
+ .alive-transition-fade-out { animation-name: alive-tr-fade-out; }
3351
+ .alive-transition-fade-in { animation-name: alive-tr-fade-in; }
3352
+
3353
+ /* \u2500\u2500 Wipe left (reveal from right) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3354
+ @keyframes alive-tr-wipe-left-out {
3355
+ from { clip-path: inset(0 0 0 0); }
3356
+ to { clip-path: inset(0 100% 0 0); }
3357
+ }
3358
+ @keyframes alive-tr-wipe-left-in {
3359
+ from { clip-path: inset(0 0 0 100%); }
3360
+ to { clip-path: inset(0 0 0 0); }
3361
+ }
3362
+ .alive-transition-wipe-left-out { animation-name: alive-tr-wipe-left-out; }
3363
+ .alive-transition-wipe-left-in { animation-name: alive-tr-wipe-left-in; }
3364
+
3365
+ /* \u2500\u2500 Wipe right (reveal from left) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3366
+ @keyframes alive-tr-wipe-right-out {
3367
+ from { clip-path: inset(0 0 0 0); }
3368
+ to { clip-path: inset(0 0 0 100%); }
3369
+ }
3370
+ @keyframes alive-tr-wipe-right-in {
3371
+ from { clip-path: inset(0 100% 0 0); }
3372
+ to { clip-path: inset(0 0 0 0); }
3373
+ }
3374
+ .alive-transition-wipe-right-out { animation-name: alive-tr-wipe-right-out; }
3375
+ .alive-transition-wipe-right-in { animation-name: alive-tr-wipe-right-in; }
3376
+
3377
+ /* \u2500\u2500 Wipe up (reveal from bottom) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3378
+ @keyframes alive-tr-wipe-up-out {
3379
+ from { clip-path: inset(0 0 0 0); }
3380
+ to { clip-path: inset(100% 0 0 0); }
3381
+ }
3382
+ @keyframes alive-tr-wipe-up-in {
3383
+ from { clip-path: inset(0 0 100% 0); }
3384
+ to { clip-path: inset(0 0 0 0); }
3385
+ }
3386
+ .alive-transition-wipe-up-out { animation-name: alive-tr-wipe-up-out; }
3387
+ .alive-transition-wipe-up-in { animation-name: alive-tr-wipe-up-in; }
3388
+
3389
+ /* \u2500\u2500 Wipe down (reveal from top) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3390
+ @keyframes alive-tr-wipe-down-out {
3391
+ from { clip-path: inset(0 0 0 0); }
3392
+ to { clip-path: inset(0 0 100% 0); }
3393
+ }
3394
+ @keyframes alive-tr-wipe-down-in {
3395
+ from { clip-path: inset(100% 0 0 0); }
3396
+ to { clip-path: inset(0 0 0 0); }
3397
+ }
3398
+ .alive-transition-wipe-down-out { animation-name: alive-tr-wipe-down-out; }
3399
+ .alive-transition-wipe-down-in { animation-name: alive-tr-wipe-down-in; }
3400
+
3401
+ /* \u2500\u2500 Slide left (new scene pushes in from right) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3402
+ @keyframes alive-tr-slide-left-out {
3403
+ from { transform: translateX(0); opacity: 1; }
3404
+ to { transform: translateX(-40%); opacity: 0; }
3405
+ }
3406
+ @keyframes alive-tr-slide-left-in {
3407
+ from { transform: translateX(100%); opacity: 0; }
3408
+ to { transform: translateX(0); opacity: 1; }
3409
+ }
3410
+ .alive-transition-slide-left-out { animation-name: alive-tr-slide-left-out; }
3411
+ .alive-transition-slide-left-in { animation-name: alive-tr-slide-left-in; }
3412
+
3413
+ /* \u2500\u2500 Slide right (new scene pushes in from left) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3414
+ @keyframes alive-tr-slide-right-out {
3415
+ from { transform: translateX(0); opacity: 1; }
3416
+ to { transform: translateX(40%); opacity: 0; }
3417
+ }
3418
+ @keyframes alive-tr-slide-right-in {
3419
+ from { transform: translateX(-100%); opacity: 0; }
3420
+ to { transform: translateX(0); opacity: 1; }
3421
+ }
3422
+ .alive-transition-slide-right-out { animation-name: alive-tr-slide-right-out; }
3423
+ .alive-transition-slide-right-in { animation-name: alive-tr-slide-right-in; }
3424
+
3425
+ /* \u2500\u2500 Slide up (new scene pushes in from bottom) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3426
+ @keyframes alive-tr-slide-up-out {
3427
+ from { transform: translateY(0); opacity: 1; }
3428
+ to { transform: translateY(-40%); opacity: 0; }
3429
+ }
3430
+ @keyframes alive-tr-slide-up-in {
3431
+ from { transform: translateY(100%); opacity: 0; }
3432
+ to { transform: translateY(0); opacity: 1; }
3433
+ }
3434
+ .alive-transition-slide-up-out { animation-name: alive-tr-slide-up-out; }
3435
+ .alive-transition-slide-up-in { animation-name: alive-tr-slide-up-in; }
3436
+
3437
+ /* \u2500\u2500 Slide down (new scene pushes in from top) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3438
+ @keyframes alive-tr-slide-down-out {
3439
+ from { transform: translateY(0); opacity: 1; }
3440
+ to { transform: translateY(40%); opacity: 0; }
3441
+ }
3442
+ @keyframes alive-tr-slide-down-in {
3443
+ from { transform: translateY(-100%); opacity: 0; }
3444
+ to { transform: translateY(0); opacity: 1; }
3445
+ }
3446
+ .alive-transition-slide-down-out { animation-name: alive-tr-slide-down-out; }
3447
+ .alive-transition-slide-down-in { animation-name: alive-tr-slide-down-in; }
3448
+
3449
+ /* \u2500\u2500 Zoom in (old scene shrinks away) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3450
+ @keyframes alive-tr-zoom-in-out {
3451
+ from { transform: scale(1); opacity: 1; }
3452
+ to { transform: scale(0.75); opacity: 0; }
3453
+ }
3454
+ @keyframes alive-tr-zoom-in-in {
3455
+ from { transform: scale(1.25); opacity: 0; }
3456
+ to { transform: scale(1); opacity: 1; }
3457
+ }
3458
+ .alive-transition-zoom-in-out { animation-name: alive-tr-zoom-in-out; }
3459
+ .alive-transition-zoom-in-in { animation-name: alive-tr-zoom-in-in; }
3460
+
3461
+ /* \u2500\u2500 Zoom out (old scene blows up) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3462
+ @keyframes alive-tr-zoom-out-out {
3463
+ from { transform: scale(1); opacity: 1; }
3464
+ to { transform: scale(1.3); opacity: 0; }
3465
+ }
3466
+ @keyframes alive-tr-zoom-out-in {
3467
+ from { transform: scale(0.7); opacity: 0; }
3468
+ to { transform: scale(1); opacity: 1; }
3469
+ }
3470
+ .alive-transition-zoom-out-out { animation-name: alive-tr-zoom-out-out; }
3471
+ .alive-transition-zoom-out-in { animation-name: alive-tr-zoom-out-in; }
3472
+
3473
+ /* \u2500\u2500 Blur \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3474
+ @keyframes alive-tr-blur-out {
3475
+ from { filter: blur(0px); opacity: 1; transform: scale(1); }
3476
+ to { filter: blur(20px); opacity: 0; transform: scale(1.05); }
3477
+ }
3478
+ @keyframes alive-tr-blur-in {
3479
+ from { filter: blur(20px); opacity: 0; transform: scale(0.95); }
3480
+ to { filter: blur(0px); opacity: 1; transform: scale(1); }
3481
+ }
3482
+ .alive-transition-blur-out { animation-name: alive-tr-blur-out; }
3483
+ .alive-transition-blur-in { animation-name: alive-tr-blur-in; }
3484
+
3485
+ /* \u2500\u2500 Flip (3-D card flip on Y axis) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3486
+ @keyframes alive-tr-flip-out {
3487
+ from { transform: perspective(800px) rotateY(0deg); opacity: 1; }
3488
+ to { transform: perspective(800px) rotateY(-90deg); opacity: 0; }
3489
+ }
3490
+ @keyframes alive-tr-flip-in {
3491
+ from { transform: perspective(800px) rotateY(90deg); opacity: 0; }
3492
+ to { transform: perspective(800px) rotateY(0deg); opacity: 1; }
3493
+ }
3494
+ .alive-transition-flip-out { animation-name: alive-tr-flip-out; }
3495
+ .alive-transition-flip-in { animation-name: alive-tr-flip-in; }
3496
+
3497
+ /* \u2500\u2500 Clock wipe (radial reveal) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3498
+ @keyframes alive-tr-clock-out {
3499
+ from { clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%, 50% 0%); opacity: 1; }
3500
+ to { clip-path: polygon(50% 50%, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%); opacity: 0; }
3501
+ }
3502
+ @keyframes alive-tr-clock-in {
3503
+ from { clip-path: polygon(50% 50%, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%); }
3504
+ to { clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%, 50% 0%); }
3505
+ }
3506
+ .alive-transition-clock-out { animation-name: alive-tr-clock-out; }
3507
+ .alive-transition-clock-in { animation-name: alive-tr-clock-in; }
3508
+
3509
+ /* \u2500\u2500 Duration overrides \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3510
+ .alive-tr-fast { --alive-tr-dur: 300ms; }
3511
+ .alive-tr-slow { --alive-tr-dur: 900ms; }
3512
+ .alive-tr-xslow { --alive-tr-dur: 1400ms; }
3513
+
3514
+ /* \u2500\u2500 3D Scenes \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
3515
+ CSS 3D building blocks for cinematic product videos.
3516
+ Most require a perspective parent (.alive-3d-scene).
3517
+ Note: opacity/filter/clip-path on a parent flatten preserve-3d
3518
+ contexts \u2014 keep 3D wrappers free of those properties.
3519
+ \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3520
+
3521
+ /* \u2500\u2500 Foundation \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3522
+ .alive-3d-scene {
3523
+ perspective: var(--alive-3d-perspective, 900px);
3524
+ perspective-origin: 50% 40%;
3525
+ }
3526
+ .alive-3d-preserve { transform-style: preserve-3d; }
3527
+ .alive-3d-backface-hidden { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
3528
+
3529
+ /* \u2500\u2500 Spinning cube \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3530
+ @keyframes alive-cube-spin {
3531
+ from { transform: rotateX(-18deg) rotateY(0deg); }
3532
+ to { transform: rotateX(-18deg) rotateY(360deg); }
3533
+ }
3534
+ .alive-3d-cube {
3535
+ --alive-cube-size: 80px;
3536
+ width: var(--alive-cube-size);
3537
+ height: var(--alive-cube-size);
3538
+ transform-style: preserve-3d;
3539
+ animation: alive-cube-spin 8s linear infinite;
3540
+ position: relative;
3541
+ }
3542
+ .alive-3d-cube .face {
3543
+ position: absolute;
3544
+ width: 100%;
3545
+ height: 100%;
3546
+ border: 1px solid rgba(255,255,255,0.12);
3547
+ backdrop-filter: blur(4px);
3548
+ }
3549
+ .alive-3d-cube .face-front { transform: translateZ(calc(var(--alive-cube-size) / 2)); background: rgba(99,102,241,0.22); }
3550
+ .alive-3d-cube .face-back { transform: rotateY(180deg) translateZ(calc(var(--alive-cube-size) / 2)); background: rgba(99,102,241,0.08); }
3551
+ .alive-3d-cube .face-left { transform: rotateY(-90deg) translateZ(calc(var(--alive-cube-size) / 2)); background: rgba(139,92,246,0.16); }
3552
+ .alive-3d-cube .face-right { transform: rotateY(90deg) translateZ(calc(var(--alive-cube-size) / 2)); background: rgba(139,92,246,0.16); }
3553
+ .alive-3d-cube .face-top { transform: rotateX(90deg) translateZ(calc(var(--alive-cube-size) / 2)); background: rgba(167,139,250,0.24); }
3554
+ .alive-3d-cube .face-bottom { transform: rotateX(-90deg) translateZ(calc(var(--alive-cube-size) / 2)); background: rgba(99,102,241,0.06); }
3555
+ .alive-3d-cube-sm { --alive-cube-size: 56px; }
3556
+ .alive-3d-cube-lg { --alive-cube-size: 120px; }
3557
+ /* Slow/fast spin */
3558
+ .alive-3d-cube.alive-tr-slow { animation-duration: 16s; }
3559
+ .alive-3d-cube.alive-tr-fast { animation-duration: 4s; }
3560
+
3561
+ /* \u2500\u2500 Card flip \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3562
+ @keyframes alive-3d-flip-loop {
3563
+ 0%, 35% { transform: rotateY(0deg); }
3564
+ 50%, 85% { transform: rotateY(180deg); }
3565
+ 100% { transform: rotateY(360deg); }
3566
+ }
3567
+ .alive-3d-flip {
3568
+ transform-style: preserve-3d;
3569
+ animation: alive-3d-flip-loop 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
3570
+ position: relative;
3571
+ }
3572
+ .alive-3d-flip-front,
3573
+ .alive-3d-flip-back {
3574
+ backface-visibility: hidden;
3575
+ -webkit-backface-visibility: hidden;
3576
+ }
3577
+ .alive-3d-flip-back {
3578
+ position: absolute;
3579
+ inset: 0;
3580
+ transform: rotateY(180deg);
3581
+ }
3582
+ /* Flip on X axis variant */
3583
+ @keyframes alive-3d-flip-x-loop {
3584
+ 0%, 35% { transform: rotateX(0deg); }
3585
+ 50%, 85% { transform: rotateX(180deg); }
3586
+ 100% { transform: rotateX(360deg); }
3587
+ }
3588
+ .alive-3d-flip-x {
3589
+ transform-style: preserve-3d;
3590
+ animation: alive-3d-flip-x-loop 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
3591
+ position: relative;
3592
+ }
3593
+ .alive-3d-flip-x .alive-3d-flip-back {
3594
+ transform: rotateX(180deg);
3595
+ }
3596
+
3597
+ /* \u2500\u2500 Stacked deck of cards \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3598
+ .alive-3d-stack {
3599
+ transform-style: preserve-3d;
3600
+ position: relative;
3601
+ }
3602
+ .alive-3d-stack > *:nth-child(1) {
3603
+ position: relative;
3604
+ transform: translateZ(0px) rotateX(0deg);
3605
+ z-index: 3;
3606
+ }
3607
+ .alive-3d-stack > *:nth-child(2) {
3608
+ position: absolute; inset: 0;
3609
+ transform: translateZ(-20px) translateY(10px) scale(0.96);
3610
+ z-index: 2;
3611
+ }
3612
+ .alive-3d-stack > *:nth-child(3) {
3613
+ position: absolute; inset: 0;
3614
+ transform: translateZ(-40px) translateY(20px) scale(0.92);
3615
+ z-index: 1;
3616
+ }
3617
+
3618
+ /* \u2500\u2500 Float layers (parallax Z depth) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3619
+ @keyframes alive-3d-float-anim {
3620
+ 0%, 100% { transform: translateZ(var(--alive-z, 0px)) translateY(0px); }
3621
+ 50% { transform: translateZ(var(--alive-z, 0px)) translateY(-10px); }
3622
+ }
3623
+ .alive-3d-float-layer { animation: alive-3d-float-anim 4s ease-in-out infinite; }
3624
+ .alive-3d-float-near { --alive-z: 80px; animation-delay: 0s; }
3625
+ .alive-3d-float-mid { --alive-z: 40px; animation-delay: -0.6s; }
3626
+ .alive-3d-float-base { --alive-z: 0px; animation-delay: -1.2s; }
3627
+ .alive-3d-float-far { --alive-z: -30px; animation-delay: -1.8s; }
3628
+
3629
+ /* \u2500\u2500 Extruded 3D text \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3630
+ .alive-3d-text {
3631
+ text-shadow:
3632
+ 1px 1px 0 rgba(0,0,0,0.28),
3633
+ 2px 2px 0 rgba(0,0,0,0.22),
3634
+ 3px 3px 0 rgba(0,0,0,0.18),
3635
+ 4px 4px 0 rgba(0,0,0,0.14),
3636
+ 5px 5px 0 rgba(0,0,0,0.10),
3637
+ 6px 6px 16px rgba(0,0,0,0.3);
3638
+ }
3639
+ .alive-3d-text-indigo {
3640
+ text-shadow:
3641
+ 1px 1px 0 rgba(79,70,229,0.7),
3642
+ 2px 2px 0 rgba(79,70,229,0.6),
3643
+ 3px 3px 0 rgba(79,70,229,0.5),
3644
+ 4px 4px 0 rgba(79,70,229,0.4),
3645
+ 5px 5px 0 rgba(79,70,229,0.3),
3646
+ 6px 6px 20px rgba(99,102,241,0.5);
3647
+ }
3648
+ .alive-3d-text-glow {
3649
+ text-shadow:
3650
+ 1px 1px 0 rgba(0,0,0,0.3),
3651
+ 2px 2px 0 rgba(0,0,0,0.22),
3652
+ 3px 3px 0 rgba(0,0,0,0.14),
3653
+ 0 0 40px rgba(99,102,241,0.7),
3654
+ 0 0 80px rgba(99,102,241,0.3);
3655
+ }
3656
+
3657
+ /* \u2500\u2500 Looping perspective tilt \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3658
+ @keyframes alive-3d-tilt-loop {
3659
+ 0% { transform: rotateX(0deg) rotateY(0deg); }
3660
+ 25% { transform: rotateX(8deg) rotateY(10deg); }
3661
+ 50% { transform: rotateX(0deg) rotateY(0deg); }
3662
+ 75% { transform: rotateX(-8deg) rotateY(-10deg); }
3663
+ 100% { transform: rotateX(0deg) rotateY(0deg); }
3664
+ }
3665
+ @keyframes alive-3d-tilt-loop-sm {
3666
+ 0% { transform: rotateX(0deg) rotateY(0deg); }
3667
+ 25% { transform: rotateX(4deg) rotateY(5deg); }
3668
+ 50% { transform: rotateX(0deg) rotateY(0deg); }
3669
+ 75% { transform: rotateX(-4deg) rotateY(-5deg); }
3670
+ 100% { transform: rotateX(0deg) rotateY(0deg); }
3671
+ }
3672
+ .alive-3d-tilt { transform-style: preserve-3d; animation: alive-3d-tilt-loop 6s ease-in-out infinite; }
3673
+ .alive-3d-tilt-sm { transform-style: preserve-3d; animation: alive-3d-tilt-loop-sm 6s ease-in-out infinite; }
3674
+
3675
+ /* \u2500\u2500 Continuous axis rotations \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3676
+ @keyframes alive-rotate-y { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
3677
+ @keyframes alive-rotate-x { from { transform: rotateX(0deg); } to { transform: rotateX(360deg); } }
3678
+ @keyframes alive-rotate-z { from { transform: rotateZ(0deg); } to { transform: rotateZ(360deg); } }
3679
+ .alive-3d-rotate-y { animation: alive-rotate-y 6s linear infinite; transform-style: preserve-3d; }
3680
+ .alive-3d-rotate-x { animation: alive-rotate-x 8s linear infinite; transform-style: preserve-3d; }
3681
+ .alive-3d-rotate-z { animation: alive-rotate-z 6s linear infinite; }
3682
+ .alive-3d-rotate-y.alive-tr-fast { animation-duration: 3s; }
3683
+ .alive-3d-rotate-y.alive-tr-slow { animation-duration: 12s; }
3684
+ .alive-3d-rotate-x.alive-tr-fast { animation-duration: 4s; }
3685
+ .alive-3d-rotate-x.alive-tr-slow { animation-duration: 16s; }
3686
+
3687
+ /* \u2500\u2500 3D Carousel (6-item ring) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3688
+ @keyframes alive-carousel-spin {
3689
+ from { transform: rotateY(0deg); }
3690
+ to { transform: rotateY(-360deg); }
3691
+ }
3692
+ .alive-3d-carousel {
3693
+ transform-style: preserve-3d;
3694
+ animation: alive-carousel-spin 12s linear infinite;
3695
+ position: relative;
3696
+ width: 100%;
3697
+ height: 100%;
3698
+ }
3699
+ .alive-3d-carousel > * { position: absolute; top: 50%; left: 50%; }
3700
+ .alive-3d-carousel > *:nth-child(1) { transform: translate(-50%,-50%) rotateY(0deg) translateZ(var(--alive-carousel-r, 140px)); }
3701
+ .alive-3d-carousel > *:nth-child(2) { transform: translate(-50%,-50%) rotateY(60deg) translateZ(var(--alive-carousel-r, 140px)); }
3702
+ .alive-3d-carousel > *:nth-child(3) { transform: translate(-50%,-50%) rotateY(120deg) translateZ(var(--alive-carousel-r, 140px)); }
3703
+ .alive-3d-carousel > *:nth-child(4) { transform: translate(-50%,-50%) rotateY(180deg) translateZ(var(--alive-carousel-r, 140px)); }
3704
+ .alive-3d-carousel > *:nth-child(5) { transform: translate(-50%,-50%) rotateY(240deg) translateZ(var(--alive-carousel-r, 140px)); }
3705
+ .alive-3d-carousel > *:nth-child(6) { transform: translate(-50%,-50%) rotateY(300deg) translateZ(var(--alive-carousel-r, 140px)); }
3706
+ /* 4-item variant */
3707
+ .alive-3d-carousel-4 > *:nth-child(1) { transform: translate(-50%,-50%) rotateY(0deg) translateZ(var(--alive-carousel-r, 120px)); }
3708
+ .alive-3d-carousel-4 > *:nth-child(2) { transform: translate(-50%,-50%) rotateY(90deg) translateZ(var(--alive-carousel-r, 120px)); }
3709
+ .alive-3d-carousel-4 > *:nth-child(3) { transform: translate(-50%,-50%) rotateY(180deg) translateZ(var(--alive-carousel-r, 120px)); }
3710
+ .alive-3d-carousel-4 > *:nth-child(4) { transform: translate(-50%,-50%) rotateY(270deg) translateZ(var(--alive-carousel-r, 120px)); }
3711
+ .alive-3d-carousel.alive-tr-slow { animation-duration: 24s; }
3712
+ .alive-3d-carousel.alive-tr-fast { animation-duration: 6s; }
3713
+
3714
+ /* \u2500\u2500 Charts & Data Visualization \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3715
+ @keyframes alive-bar-grow {
3716
+ from { transform: scaleY(0); }
3717
+ to { transform: scaleY(1); }
3718
+ }
3719
+ @keyframes alive-bar-shimmer {
3720
+ 0% { background-position: -200% 0; }
3721
+ 100% { background-position: 200% 0; }
3722
+ }
3723
+ .alive-bar-chart {
3724
+ display: flex;
3725
+ align-items: flex-end;
3726
+ gap: 6px;
3727
+ height: 100px;
3728
+ }
3729
+ .alive-bar {
3730
+ flex: 1;
3731
+ transform-origin: bottom;
3732
+ border-radius: 4px 4px 0 0;
3733
+ animation: alive-bar-grow 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
3734
+ background: linear-gradient(180deg, rgba(99,102,241,0.9) 0%, rgba(99,102,241,0.5) 100%);
3735
+ position: relative;
3736
+ overflow: hidden;
3737
+ }
3738
+ .alive-bar::after {
3739
+ content: '';
3740
+ position: absolute; inset: 0;
3741
+ background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
3742
+ background-size: 200% 100%;
3743
+ animation: alive-bar-shimmer 2s ease-in-out infinite;
3744
+ animation-delay: inherit;
3745
+ }
3746
+ .alive-bar:nth-child(1) { animation-delay: 0ms; }
3747
+ .alive-bar:nth-child(2) { animation-delay: 80ms; }
3748
+ .alive-bar:nth-child(3) { animation-delay: 160ms; }
3749
+ .alive-bar:nth-child(4) { animation-delay: 240ms; }
3750
+ .alive-bar:nth-child(5) { animation-delay: 320ms; }
3751
+ .alive-bar:nth-child(6) { animation-delay: 400ms; }
3752
+ .alive-bar:nth-child(7) { animation-delay: 480ms; }
3753
+ /* Color variants */
3754
+ .alive-bar-indigo { background: linear-gradient(180deg, rgba(99,102,241,0.9), rgba(99,102,241,0.4)); }
3755
+ .alive-bar-violet { background: linear-gradient(180deg, rgba(139,92,246,0.9), rgba(139,92,246,0.4)); }
3756
+ .alive-bar-sky { background: linear-gradient(180deg, rgba(14,165,233,0.9), rgba(14,165,233,0.4)); }
3757
+ .alive-bar-emerald { background: linear-gradient(180deg, rgba(16,185,129,0.9), rgba(16,185,129,0.4)); }
3758
+ .alive-bar-rose { background: linear-gradient(180deg, rgba(244,63,94,0.9), rgba(244,63,94,0.4)); }
3759
+ .alive-bar-amber { background: linear-gradient(180deg, rgba(251,191,36,0.9), rgba(251,191,36,0.4)); }
3760
+ /* Chart axis / labels */
3761
+ .alive-chart-axis {
3762
+ display: flex;
3763
+ align-items: flex-end;
3764
+ gap: 6px;
3765
+ border-top: 1px solid rgba(255,255,255,0.1);
3766
+ padding-top: 6px;
3767
+ margin-top: 4px;
3768
+ }
3769
+ .alive-chart-label {
3770
+ flex: 1;
3771
+ text-align: center;
3772
+ font-size: 0.625rem;
3773
+ color: rgba(255,255,255,0.35);
3774
+ font-weight: 500;
3775
+ }
3776
+ /* Donut / ring chart \u2014 use SVG stroke-dashoffset */
3777
+ @keyframes alive-donut-fill {
3778
+ from { stroke-dashoffset: var(--alive-donut-circ, 283); }
3779
+ to { stroke-dashoffset: var(--alive-donut-gap, 0); }
3780
+ }
3781
+ .alive-donut-arc {
3782
+ fill: none;
3783
+ stroke-linecap: round;
3784
+ animation: alive-donut-fill 1s cubic-bezier(0.22, 1, 0.36, 1) both;
3785
+ transform-origin: center;
3786
+ transform: rotate(-90deg);
3787
+ }
3788
+ /* Line chart path draw */
3789
+ @keyframes alive-line-draw {
3790
+ from { stroke-dashoffset: var(--alive-line-len, 500); }
3791
+ to { stroke-dashoffset: 0; }
3792
+ }
3793
+ .alive-line-path {
3794
+ fill: none;
3795
+ stroke-linecap: round;
3796
+ stroke-linejoin: round;
3797
+ animation: alive-line-draw 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
3798
+ }
3799
+ /* Area fill under line */
3800
+ @keyframes alive-area-fill {
3801
+ from { opacity: 0; }
3802
+ to { opacity: 1; }
3803
+ }
3804
+ .alive-area-fill {
3805
+ animation: alive-area-fill 1.2s ease 0.3s both;
3806
+ }
3807
+
3808
+ /* \u2500\u2500 Device Frames \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3809
+ /* Browser */
3810
+ .alive-device-browser {
3811
+ border-radius: 12px;
3812
+ border: 1px solid rgba(255,255,255,0.1);
3813
+ background: rgba(255,255,255,0.03);
3814
+ overflow: hidden;
3815
+ box-shadow: 0 24px 64px rgba(0,0,0,0.4);
3816
+ }
3817
+ .alive-device-browser-bar {
3818
+ height: 38px;
3819
+ background: rgba(255,255,255,0.05);
3820
+ border-bottom: 1px solid rgba(255,255,255,0.07);
3821
+ display: flex;
3822
+ align-items: center;
3823
+ gap: 6px;
3824
+ padding: 0 14px;
3825
+ flex-shrink: 0;
3826
+ }
3827
+ .alive-device-browser-dot {
3828
+ width: 10px; height: 10px;
3829
+ border-radius: 50%;
3830
+ flex-shrink: 0;
3831
+ }
3832
+ .alive-device-browser-dot:nth-child(1) { background: rgba(255,95,87,0.8); }
3833
+ .alive-device-browser-dot:nth-child(2) { background: rgba(254,188,46,0.8); }
3834
+ .alive-device-browser-dot:nth-child(3) { background: rgba(40,200,64,0.8); }
3835
+ .alive-device-browser-url {
3836
+ flex: 1;
3837
+ height: 20px;
3838
+ background: rgba(255,255,255,0.07);
3839
+ border-radius: 5px;
3840
+ margin: 0 10px;
3841
+ }
3842
+ .alive-device-browser-screen {
3843
+ overflow: hidden;
3844
+ }
3845
+ /* Phone */
3846
+ .alive-device-phone {
3847
+ border-radius: 36px;
3848
+ border: 1.5px solid rgba(255,255,255,0.12);
3849
+ background: rgba(255,255,255,0.03);
3850
+ padding: 44px 10px 28px;
3851
+ position: relative;
3852
+ overflow: hidden;
3853
+ box-shadow: 0 24px 64px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
3854
+ }
3855
+ .alive-device-phone::before {
3856
+ content: '';
3857
+ position: absolute;
3858
+ top: 14px; left: 50%; transform: translateX(-50%);
3859
+ width: 64px; height: 20px;
3860
+ border-radius: 999px;
3861
+ background: rgba(255,255,255,0.08);
3862
+ border: 1px solid rgba(255,255,255,0.1);
3863
+ }
3864
+ .alive-device-phone::after {
3865
+ content: '';
3866
+ position: absolute;
3867
+ bottom: 10px; left: 50%; transform: translateX(-50%);
3868
+ width: 80px; height: 4px;
3869
+ border-radius: 2px;
3870
+ background: rgba(255,255,255,0.25);
3871
+ }
3872
+ .alive-device-phone-screen {
3873
+ border-radius: 24px;
3874
+ overflow: hidden;
3875
+ }
3876
+ /* Tablet */
3877
+ .alive-device-tablet {
3878
+ border-radius: 20px;
3879
+ border: 1.5px solid rgba(255,255,255,0.12);
3880
+ background: rgba(255,255,255,0.03);
3881
+ padding: 32px 16px;
3882
+ position: relative;
3883
+ overflow: hidden;
3884
+ box-shadow: 0 24px 64px rgba(0,0,0,0.4);
3885
+ }
3886
+ .alive-device-tablet::after {
3887
+ content: '';
3888
+ position: absolute;
3889
+ right: 6px; top: 50%; transform: translateY(-50%);
3890
+ width: 3px; height: 36px;
3891
+ border-radius: 2px;
3892
+ background: rgba(255,255,255,0.15);
3893
+ }
3894
+ /* Laptop */
3895
+ .alive-device-laptop {
3896
+ position: relative;
3897
+ }
3898
+ .alive-device-laptop-screen {
3899
+ border-radius: 12px 12px 0 0;
3900
+ border: 1.5px solid rgba(255,255,255,0.12);
3901
+ border-bottom: none;
3902
+ background: rgba(255,255,255,0.03);
3903
+ padding: 6px;
3904
+ overflow: hidden;
3905
+ box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
3906
+ }
3907
+ .alive-device-laptop-base {
3908
+ height: 16px;
3909
+ background: rgba(255,255,255,0.06);
3910
+ border-radius: 0 0 4px 4px;
3911
+ border: 1px solid rgba(255,255,255,0.08);
3912
+ border-top: none;
3913
+ position: relative;
3914
+ }
3915
+ .alive-device-laptop-base::after {
3916
+ content: '';
3917
+ position: absolute;
3918
+ top: 4px; left: 50%; transform: translateX(-50%);
3919
+ width: 40px; height: 4px;
3920
+ border-radius: 2px;
3921
+ background: rgba(255,255,255,0.12);
3922
+ }
3923
+
3924
+ /* \u2500\u2500 Cursor & Interactions \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3925
+ @keyframes alive-cursor-blink {
3926
+ 0%, 100% { opacity: 1; }
3927
+ 50% { opacity: 0; }
3928
+ }
3929
+ @keyframes alive-click-ripple {
3930
+ 0% { transform: scale(0); opacity: 0.8; }
3931
+ 100% { transform: scale(3); opacity: 0; }
3932
+ }
3933
+ @keyframes alive-cursor-appear {
3934
+ from { transform: scale(0.5) translateY(-8px); opacity: 0; }
3935
+ to { transform: scale(1) translateY(0); opacity: 1; }
3936
+ }
3937
+ .alive-cursor {
3938
+ width: 12px; height: 12px;
3939
+ border-radius: 50%;
3940
+ background: #fff;
3941
+ position: absolute;
3942
+ pointer-events: none;
3943
+ z-index: 9999;
3944
+ box-shadow: 0 0 0 1.5px rgba(0,0,0,0.3);
3945
+ animation: alive-cursor-appear 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
3946
+ }
3947
+ .alive-cursor-ring {
3948
+ width: 32px; height: 32px;
3949
+ border-radius: 50%;
3950
+ border: 1.5px solid rgba(255,255,255,0.6);
3951
+ position: absolute;
3952
+ pointer-events: none;
3953
+ z-index: 9998;
3954
+ transform: translate(-10px, -10px);
3955
+ transition: transform 0.1s ease;
3956
+ }
3957
+ .alive-click-ripple {
3958
+ width: 24px; height: 24px;
3959
+ border-radius: 50%;
3960
+ background: rgba(255,255,255,0.3);
3961
+ position: absolute;
3962
+ pointer-events: none;
3963
+ animation: alive-click-ripple 0.6s ease-out forwards;
3964
+ }
3965
+ /* Hover highlight glow */
3966
+ @keyframes alive-hover-pulse {
3967
+ 0%, 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0.4); }
3968
+ 50% { box-shadow: 0 0 0 8px rgba(99,102,241,0); }
3969
+ }
3970
+ .alive-hover-glow {
3971
+ animation: alive-hover-pulse 2s ease-in-out infinite;
3972
+ }
3973
+ /* Text cursor (caret) */
3974
+ @keyframes alive-caret-blink {
3975
+ 0%, 100% { border-right-color: currentColor; }
3976
+ 50% { border-right-color: transparent; }
3977
+ }
3978
+ .alive-text-cursor {
3979
+ border-right: 2px solid currentColor;
3980
+ animation: alive-caret-blink 1s step-end infinite;
3981
+ }
3982
+ /* Scroll indicator */
3983
+ @keyframes alive-scroll-bounce {
3984
+ 0%, 100% { transform: translateY(0); opacity: 1; }
3985
+ 50% { transform: translateY(6px); opacity: 0.4; }
3986
+ }
3987
+ .alive-scroll-indicator {
3988
+ animation: alive-scroll-bounce 1.5s ease-in-out infinite;
3989
+ }
3990
+
3991
+ /* \u2500\u2500 Lower Thirds \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
3992
+ @keyframes alive-lower-third-in {
3993
+ from { transform: translateX(-40px); opacity: 0; }
3994
+ to { transform: translateX(0); opacity: 1; }
3995
+ }
3996
+ @keyframes alive-lower-third-bar {
3997
+ from { transform: scaleX(0); }
3998
+ to { transform: scaleX(1); }
3999
+ }
4000
+ .alive-lower-third {
4001
+ display: inline-flex;
4002
+ flex-direction: column;
4003
+ gap: 3px;
4004
+ padding: 10px 16px 10px 14px;
4005
+ background: rgba(0,0,0,0.75);
4006
+ backdrop-filter: blur(12px);
4007
+ border-left: 3px solid #6366f1;
4008
+ border-radius: 0 8px 8px 0;
4009
+ animation: alive-lower-third-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
4010
+ }
4011
+ .alive-lower-third-name {
4012
+ font-size: 0.9375rem;
4013
+ font-weight: 700;
4014
+ color: #fff;
4015
+ letter-spacing: -0.01em;
4016
+ }
4017
+ .alive-lower-third-title {
4018
+ font-size: 0.75rem;
4019
+ color: rgba(255,255,255,0.55);
4020
+ font-weight: 500;
4021
+ animation: alive-lower-third-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
4022
+ }
4023
+ /* variants */
4024
+ .alive-lower-third-indigo { border-left-color: #6366f1; }
4025
+ .alive-lower-third-sky { border-left-color: #0ea5e9; }
4026
+ .alive-lower-third-emerald{ border-left-color: #10b981; }
4027
+ .alive-lower-third-rose { border-left-color: #f43f5e; }
4028
+ .alive-lower-third-amber { border-left-color: #f59e0b; }
4029
+ /* light variant */
4030
+ .alive-lower-third-light {
4031
+ background: rgba(255,255,255,0.92);
4032
+ }
4033
+ .alive-lower-third-light .alive-lower-third-name { color: #111; }
4034
+ .alive-lower-third-light .alive-lower-third-title { color: rgba(0,0,0,0.5); }
4035
+ /* News ticker */
4036
+ @keyframes alive-ticker-scroll {
4037
+ from { transform: translateX(100%); }
4038
+ to { transform: translateX(-100%); }
4039
+ }
4040
+ .alive-ticker {
4041
+ overflow: hidden;
4042
+ white-space: nowrap;
4043
+ background: rgba(99,102,241,0.9);
4044
+ padding: 8px 0;
4045
+ font-size: 0.8125rem;
4046
+ font-weight: 600;
4047
+ color: #fff;
4048
+ letter-spacing: 0.01em;
4049
+ }
4050
+ .alive-ticker-track {
4051
+ display: inline-block;
4052
+ animation: alive-ticker-scroll 18s linear infinite;
4053
+ padding-right: 4rem;
4054
+ }
4055
+ .alive-ticker-sep {
4056
+ display: inline-block;
4057
+ margin: 0 1.5rem;
4058
+ opacity: 0.5;
4059
+ }
4060
+ /* Chapter / scene title card */
4061
+ @keyframes alive-title-card-in {
4062
+ from { transform: translateY(20px); opacity: 0; }
4063
+ to { transform: translateY(0); opacity: 1; }
4064
+ }
4065
+ .alive-title-card {
4066
+ text-align: center;
4067
+ animation: alive-title-card-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
4068
+ }
4069
+ .alive-title-card-eyebrow {
4070
+ font-size: 0.6875rem;
4071
+ font-weight: 600;
4072
+ letter-spacing: 0.1em;
4073
+ text-transform: uppercase;
4074
+ color: #818cf8;
4075
+ margin-bottom: 6px;
4076
+ animation: alive-title-card-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
4077
+ }
4078
+ .alive-title-card-heading {
4079
+ font-size: 1.5rem;
4080
+ font-weight: 800;
4081
+ color: #fff;
4082
+ letter-spacing: -0.03em;
4083
+ line-height: 1.1;
4084
+ animation: alive-title-card-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 140ms both;
4085
+ }
4086
+
4087
+ /* \u2500\u2500 Callouts & Annotations \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
4088
+ @keyframes alive-callout-in {
4089
+ from { transform: scale(0.8) translateY(8px); opacity: 0; }
4090
+ to { transform: scale(1) translateY(0); opacity: 1; }
4091
+ }
4092
+ @keyframes alive-highlight-draw {
4093
+ from { clip-path: inset(0 100% 0 0 round 6px); }
4094
+ to { clip-path: inset(0 0% 0 0 round 6px); }
4095
+ }
4096
+ @keyframes alive-line-draw-in {
4097
+ from { stroke-dashoffset: 100; }
4098
+ to { stroke-dashoffset: 0; }
4099
+ }
4100
+ /* Callout bubble */
4101
+ .alive-callout {
4102
+ display: inline-flex;
4103
+ align-items: center;
4104
+ gap: 8px;
4105
+ padding: 8px 14px;
4106
+ background: rgba(99,102,241,0.15);
4107
+ border: 1px solid rgba(99,102,241,0.35);
4108
+ border-radius: 999px;
4109
+ font-size: 0.8125rem;
4110
+ font-weight: 600;
4111
+ color: #a5b4fc;
4112
+ animation: alive-callout-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
4113
+ }
4114
+ .alive-callout-arrow {
4115
+ display: inline-block;
4116
+ animation: alive-callout-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) 60ms both;
4117
+ }
4118
+ /* Highlight box around an element */
4119
+ .alive-highlight-box {
4120
+ position: absolute;
4121
+ border: 2px solid #6366f1;
4122
+ border-radius: 8px;
4123
+ pointer-events: none;
4124
+ animation: alive-callout-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
4125
+ box-shadow: 0 0 0 4px rgba(99,102,241,0.15);
4126
+ }
4127
+ /* Underline highlight (text marker) */
4128
+ .alive-underline-highlight {
4129
+ position: relative;
4130
+ display: inline-block;
4131
+ }
4132
+ .alive-underline-highlight::after {
4133
+ content: '';
4134
+ position: absolute;
4135
+ left: 0; bottom: -2px;
4136
+ height: 3px;
4137
+ width: 100%;
4138
+ background: linear-gradient(90deg, #6366f1, #8b5cf6);
4139
+ border-radius: 2px;
4140
+ transform-origin: left;
4141
+ animation: alive-lower-third-bar 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
4142
+ }
4143
+ /* Step marker */
4144
+ @keyframes alive-step-in {
4145
+ from { transform: scale(0) rotate(-90deg); opacity: 0; }
4146
+ to { transform: scale(1) rotate(0deg); opacity: 1; }
4147
+ }
4148
+ .alive-step-marker {
4149
+ width: 28px; height: 28px;
4150
+ border-radius: 50%;
4151
+ background: #6366f1;
4152
+ display: flex; align-items: center; justify-content: center;
4153
+ font-weight: 700; font-size: 0.8125rem; color: #fff;
4154
+ flex-shrink: 0;
4155
+ animation: alive-step-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
4156
+ }
4157
+ .alive-step-marker-outline {
4158
+ background: transparent;
4159
+ border: 2px solid #6366f1;
4160
+ color: #818cf8;
4161
+ }
4162
+ /* Zoom lens */
4163
+ .alive-zoom-lens {
4164
+ border-radius: 50%;
4165
+ border: 2px solid rgba(99,102,241,0.5);
4166
+ box-shadow: 0 0 0 4px rgba(99,102,241,0.1), 0 8px 32px rgba(0,0,0,0.3);
4167
+ overflow: hidden;
4168
+ animation: alive-callout-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
4169
+ }
4170
+ /* SVG annotation line */
4171
+ .alive-annotation-line {
4172
+ stroke-dasharray: 100;
4173
+ animation: alive-line-draw-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
4174
+ }
4175
+
4176
+ /* \u2500\u2500 Kinetic Typography \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
4177
+ /* Slam \u2014 drops from above, impacts with squash */
4178
+ @keyframes alive-kinetic-slam {
4179
+ 0% { transform: translateY(-60px) scaleY(1.3); opacity: 0; }
4180
+ 55% { transform: translateY(6px) scaleY(0.88); opacity: 1; }
4181
+ 75% { transform: translateY(-3px) scaleY(1.04); }
4182
+ 100% { transform: translateY(0) scaleY(1); }
4183
+ }
4184
+ .alive-kinetic-slam {
4185
+ display: inline-block;
4186
+ animation: alive-kinetic-slam 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
4187
+ }
4188
+ /* Pop \u2014 scale in with overshoot */
4189
+ @keyframes alive-kinetic-pop {
4190
+ 0% { transform: scale(0); opacity: 0; }
4191
+ 55% { transform: scale(1.15); opacity: 1; }
4192
+ 75% { transform: scale(0.92); }
4193
+ 100% { transform: scale(1); }
4194
+ }
4195
+ .alive-kinetic-pop {
4196
+ display: inline-block;
4197
+ animation: alive-kinetic-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
4198
+ }
4199
+ /* Roll \u2014 comes from below with perspective */
4200
+ @keyframes alive-kinetic-roll {
4201
+ from { transform: translateY(80%) rotateX(60deg); opacity: 0; }
4202
+ to { transform: translateY(0) rotateX(0deg); opacity: 1; }
4203
+ }
4204
+ .alive-kinetic-roll {
4205
+ display: inline-block;
4206
+ transform-style: preserve-3d;
4207
+ animation: alive-kinetic-roll 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
4208
+ }
4209
+ /* Stretch \u2014 squishes then stretches to final size */
4210
+ @keyframes alive-kinetic-stretch {
4211
+ 0% { transform: scaleX(0.1) scaleY(1.5); opacity: 0; }
4212
+ 40% { transform: scaleX(1.1) scaleY(0.9); opacity: 1; }
4213
+ 70% { transform: scaleX(0.96) scaleY(1.04); }
4214
+ 100% { transform: scaleX(1) scaleY(1); }
4215
+ }
4216
+ .alive-kinetic-stretch {
4217
+ display: inline-block;
4218
+ animation: alive-kinetic-stretch 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
4219
+ }
4220
+ /* Neon flicker */
4221
+ @keyframes alive-kinetic-neon {
4222
+ 0%, 18%, 22%, 25%, 53%, 57%, 100% {
4223
+ text-shadow:
4224
+ 0 0 6px rgba(99,102,241,0.9),
4225
+ 0 0 16px rgba(99,102,241,0.7),
4226
+ 0 0 32px rgba(99,102,241,0.5),
4227
+ 0 0 64px rgba(99,102,241,0.3);
4228
+ }
4229
+ 20%, 24%, 55% { text-shadow: none; }
4230
+ }
4231
+ .alive-kinetic-neon {
4232
+ animation: alive-kinetic-neon 2.5s ease-in-out infinite;
4233
+ color: #a5b4fc;
4234
+ }
4235
+ /* Wave \u2014 each character waves */
4236
+ @keyframes alive-kinetic-wave-char {
4237
+ 0%, 100% { transform: translateY(0); }
4238
+ 50% { transform: translateY(-12px); }
4239
+ }
4240
+ .alive-kinetic-wave > span {
4241
+ display: inline-block;
4242
+ animation: alive-kinetic-wave-char 1s ease-in-out infinite;
4243
+ }
4244
+ .alive-kinetic-wave > span:nth-child(1) { animation-delay: 0ms; }
4245
+ .alive-kinetic-wave > span:nth-child(2) { animation-delay: 80ms; }
4246
+ .alive-kinetic-wave > span:nth-child(3) { animation-delay: 160ms; }
4247
+ .alive-kinetic-wave > span:nth-child(4) { animation-delay: 240ms; }
4248
+ .alive-kinetic-wave > span:nth-child(5) { animation-delay: 320ms; }
4249
+ .alive-kinetic-wave > span:nth-child(6) { animation-delay: 400ms; }
4250
+ .alive-kinetic-wave > span:nth-child(7) { animation-delay: 480ms; }
4251
+ .alive-kinetic-wave > span:nth-child(8) { animation-delay: 560ms; }
4252
+ .alive-kinetic-wave > span:nth-child(9) { animation-delay: 640ms; }
4253
+ .alive-kinetic-wave > span:nth-child(10) { animation-delay: 720ms; }
4254
+ /* Scramble placeholder \u2014 apply class, JS runtime handles character cycling */
4255
+ .alive-kinetic-scramble {
4256
+ font-family: ui-monospace, monospace;
4257
+ letter-spacing: 0.02em;
4258
+ }
4259
+ /* Gradient text animation */
4260
+ @keyframes alive-text-gradient-shift {
4261
+ 0% { background-position: 0% 50%; }
4262
+ 50% { background-position: 100% 50%; }
4263
+ 100% { background-position: 0% 50%; }
4264
+ }
4265
+ .alive-kinetic-gradient {
4266
+ background: linear-gradient(135deg, #6366f1, #8b5cf6, #0ea5e9, #6366f1);
4267
+ background-size: 300% 300%;
4268
+ -webkit-background-clip: text;
4269
+ -webkit-text-fill-color: transparent;
4270
+ background-clip: text;
4271
+ animation: alive-text-gradient-shift 4s ease infinite;
4272
+ }
4273
+
4274
+ /* \u2500\u2500 Scene Backgrounds \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
4275
+ /* Aurora */
4276
+ @keyframes alive-aurora-drift {
4277
+ 0% { background-position: 0% 50%; }
4278
+ 50% { background-position: 100% 50%; }
4279
+ 100% { background-position: 0% 50%; }
4280
+ }
4281
+ .alive-aurora {
4282
+ background: linear-gradient(135deg,
4283
+ rgba(99,102,241,0.5) 0%,
4284
+ rgba(14,165,233,0.4) 20%,
4285
+ rgba(139,92,246,0.5) 40%,
4286
+ rgba(16,185,129,0.35) 60%,
4287
+ rgba(99,102,241,0.5) 80%,
4288
+ rgba(14,165,233,0.4) 100%
4289
+ );
4290
+ background-size: 400% 400%;
4291
+ animation: alive-aurora-drift 10s ease infinite;
4292
+ }
4293
+ .alive-aurora-dark {
4294
+ background: linear-gradient(135deg,
4295
+ rgba(49,46,129,0.8) 0%,
4296
+ rgba(7,89,133,0.7) 25%,
4297
+ rgba(76,29,149,0.8) 50%,
4298
+ rgba(6,78,59,0.6) 75%,
4299
+ rgba(49,46,129,0.8) 100%
4300
+ );
4301
+ background-size: 400% 400%;
4302
+ animation: alive-aurora-drift 12s ease infinite;
4303
+ }
4304
+ /* Bokeh \u2014 blurred orbs */
4305
+ @keyframes alive-bokeh-drift {
4306
+ 0%, 100% { transform: translate(0, 0) scale(1); }
4307
+ 33% { transform: translate(20px, -15px) scale(1.1); }
4308
+ 66% { transform: translate(-15px, 10px) scale(0.9); }
4309
+ }
4310
+ .alive-bokeh {
4311
+ position: relative;
4312
+ overflow: hidden;
4313
+ }
4314
+ .alive-bokeh::before,
4315
+ .alive-bokeh::after {
4316
+ content: '';
4317
+ position: absolute;
4318
+ border-radius: 50%;
4319
+ filter: blur(40px);
4320
+ animation: alive-bokeh-drift 8s ease-in-out infinite;
4321
+ }
4322
+ .alive-bokeh::before {
4323
+ width: 200px; height: 200px;
4324
+ background: rgba(99,102,241,0.35);
4325
+ top: -50px; left: -50px;
4326
+ }
4327
+ .alive-bokeh::after {
4328
+ width: 160px; height: 160px;
4329
+ background: rgba(139,92,246,0.3);
4330
+ bottom: -40px; right: -40px;
4331
+ animation-delay: -4s;
4332
+ animation-direction: reverse;
4333
+ }
4334
+ /* Light rays / crepuscular */
4335
+ @keyframes alive-rays-spin {
4336
+ from { transform: rotate(0deg); }
4337
+ to { transform: rotate(360deg); }
4338
+ }
4339
+ .alive-rays {
4340
+ background: conic-gradient(
4341
+ rgba(99,102,241,0.12) 0deg, transparent 25deg,
4342
+ rgba(99,102,241,0.08) 50deg, transparent 75deg,
4343
+ rgba(99,102,241,0.12) 100deg, transparent 125deg,
4344
+ rgba(99,102,241,0.08) 150deg, transparent 175deg,
4345
+ rgba(99,102,241,0.12) 200deg, transparent 225deg,
4346
+ rgba(99,102,241,0.08) 250deg, transparent 275deg,
4347
+ rgba(99,102,241,0.12) 300deg, transparent 325deg,
4348
+ rgba(99,102,241,0.08) 350deg, transparent 360deg
4349
+ );
4350
+ animation: alive-rays-spin 24s linear infinite;
4351
+ }
4352
+ /* Starfield \u2014 dot pattern with twinkle */
4353
+ @keyframes alive-star-twinkle {
4354
+ 0%, 100% { opacity: 0.8; }
4355
+ 50% { opacity: 0.2; }
4356
+ }
4357
+ .alive-starfield {
4358
+ position: relative;
4359
+ overflow: hidden;
4360
+ }
4361
+ .alive-starfield::before {
4362
+ content: '';
4363
+ position: absolute; inset: 0;
4364
+ background-image:
4365
+ radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.7) 0%, transparent 100%),
4366
+ radial-gradient(1px 1px at 25% 60%, rgba(255,255,255,0.5) 0%, transparent 100%),
4367
+ radial-gradient(1px 1px at 40% 30%, rgba(255,255,255,0.8) 0%, transparent 100%),
4368
+ radial-gradient(1px 1px at 55% 70%, rgba(255,255,255,0.6) 0%, transparent 100%),
4369
+ radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,0.7) 0%, transparent 100%),
4370
+ radial-gradient(1px 1px at 80% 50%, rgba(255,255,255,0.5) 0%, transparent 100%),
4371
+ radial-gradient(1px 1px at 15% 85%, rgba(255,255,255,0.6) 0%, transparent 100%),
4372
+ radial-gradient(1px 1px at 90% 80%, rgba(255,255,255,0.8) 0%, transparent 100%),
4373
+ radial-gradient(1.5px 1.5px at 35% 45%, rgba(255,255,255,0.9) 0%, transparent 100%),
4374
+ radial-gradient(1.5px 1.5px at 60% 10%, rgba(255,255,255,0.7) 0%, transparent 100%),
4375
+ radial-gradient(1px 1px at 5% 40%, rgba(255,255,255,0.5) 0%, transparent 100%),
4376
+ radial-gradient(1px 1px at 95% 35%, rgba(255,255,255,0.6) 0%, transparent 100%),
4377
+ radial-gradient(1px 1px at 48% 90%, rgba(255,255,255,0.5) 0%, transparent 100%),
4378
+ radial-gradient(1px 1px at 72% 65%, rgba(255,255,255,0.7) 0%, transparent 100%),
4379
+ radial-gradient(1px 1px at 20% 5%, rgba(255,255,255,0.8) 0%, transparent 100%);
4380
+ animation: alive-star-twinkle 4s ease-in-out infinite;
4381
+ }
4382
+ .alive-starfield::after {
4383
+ content: '';
4384
+ position: absolute; inset: 0;
4385
+ background-image:
4386
+ radial-gradient(1px 1px at 8% 55%, rgba(255,255,255,0.6) 0%, transparent 100%),
4387
+ radial-gradient(1px 1px at 30% 75%, rgba(255,255,255,0.5) 0%, transparent 100%),
4388
+ radial-gradient(1px 1px at 45% 20%, rgba(255,255,255,0.7) 0%, transparent 100%),
4389
+ radial-gradient(1px 1px at 65% 40%, rgba(255,255,255,0.6) 0%, transparent 100%),
4390
+ radial-gradient(1.5px 1.5px at 85% 15%, rgba(255,255,255,0.9) 0%, transparent 100%),
4391
+ radial-gradient(1px 1px at 92% 60%, rgba(255,255,255,0.5) 0%, transparent 100%),
4392
+ radial-gradient(1px 1px at 18% 95%, rgba(255,255,255,0.6) 0%, transparent 100%),
4393
+ radial-gradient(1px 1px at 50% 50%, rgba(255,255,255,0.4) 0%, transparent 100%),
4394
+ radial-gradient(1px 1px at 75% 88%, rgba(255,255,255,0.7) 0%, transparent 100%),
4395
+ radial-gradient(1px 1px at 3% 25%, rgba(255,255,255,0.5) 0%, transparent 100%);
4396
+ animation: alive-star-twinkle 6s ease-in-out infinite reverse;
4397
+ animation-delay: -2s;
4398
+ }
4399
+ /* Noise overlay */
4400
+ .alive-film-grain {
4401
+ position: relative;
4402
+ }
4403
+ .alive-film-grain::after {
4404
+ content: '';
4405
+ position: absolute; inset: 0;
4406
+ background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
4407
+ pointer-events: none;
4408
+ opacity: 0.35;
4409
+ }
4410
+
4411
+ /* \u2500\u2500 Particles & FX \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
4412
+ /* Energy ring pulse */
4413
+ @keyframes alive-ring-expand {
4414
+ 0% { transform: scale(0.6); opacity: 0.9; }
4415
+ 100% { transform: scale(2.2); opacity: 0; }
4416
+ }
4417
+ .alive-energy-ring {
4418
+ border-radius: 50%;
4419
+ border: 2px solid rgba(99,102,241,0.7);
4420
+ position: relative;
4421
+ animation: alive-ring-expand 2s ease-out infinite;
4422
+ }
4423
+ .alive-energy-ring::before,
4424
+ .alive-energy-ring::after {
4425
+ content: '';
4426
+ position: absolute; inset: 0;
4427
+ border-radius: 50%;
4428
+ border: 2px solid rgba(99,102,241,0.5);
4429
+ animation: alive-ring-expand 2s ease-out infinite;
4430
+ }
4431
+ .alive-energy-ring::before { animation-delay: 0.65s; border-color: rgba(139,92,246,0.5); }
4432
+ .alive-energy-ring::after { animation-delay: 1.3s; border-color: rgba(99,102,241,0.3); }
4433
+ /* Glow burst */
4434
+ @keyframes alive-glow-burst {
4435
+ 0% { transform: scale(0.5); opacity: 1; }
4436
+ 100% { transform: scale(2); opacity: 0; }
4437
+ }
4438
+ .alive-glow-burst {
4439
+ border-radius: 50%;
4440
+ background: radial-gradient(circle, rgba(99,102,241,0.8) 0%, rgba(99,102,241,0.3) 40%, transparent 70%);
4441
+ animation: alive-glow-burst 1.5s ease-out infinite;
4442
+ }
4443
+ /* Floating orb */
4444
+ @keyframes alive-orb-drift {
4445
+ 0%, 100% { transform: translate(0, 0) scale(1); }
4446
+ 33% { transform: translate(12px, -16px) scale(1.08); }
4447
+ 66% { transform: translate(-8px, 8px) scale(0.94); }
4448
+ }
4449
+ .alive-orb {
4450
+ border-radius: 50%;
4451
+ filter: blur(var(--alive-orb-blur, 20px));
4452
+ animation: alive-orb-drift 6s ease-in-out infinite;
4453
+ }
4454
+ .alive-orb-indigo { background: rgba(99,102,241,0.6); --alive-orb-blur: 24px; }
4455
+ .alive-orb-violet { background: rgba(139,92,246,0.6); --alive-orb-blur: 28px; animation-delay: -2s; }
4456
+ .alive-orb-sky { background: rgba(14,165,233,0.5); --alive-orb-blur: 20px; animation-delay: -4s; }
4457
+ .alive-orb-emerald { background: rgba(16,185,129,0.5); --alive-orb-blur: 22px; animation-delay: -1s; }
4458
+ .alive-orb-rose { background: rgba(244,63,94,0.5); --alive-orb-blur: 26px; animation-delay: -3s; }
4459
+ /* Sparkle star */
4460
+ @keyframes alive-sparkle-burst {
4461
+ 0% { transform: scale(0) rotate(0deg); opacity: 0; }
4462
+ 40% { transform: scale(1.2) rotate(120deg); opacity: 1; }
4463
+ 80% { transform: scale(0.8) rotate(240deg); opacity: 0.6; }
4464
+ 100% { transform: scale(0) rotate(360deg); opacity: 0; }
4465
+ }
4466
+ .alive-sparkle {
4467
+ display: inline-block;
4468
+ color: #fbbf24;
4469
+ animation: alive-sparkle-burst 1.8s ease-in-out infinite;
4470
+ }
4471
+ .alive-sparkle:nth-child(2) { animation-delay: 0.3s; color: #818cf8; }
4472
+ .alive-sparkle:nth-child(3) { animation-delay: 0.6s; color: #34d399; }
4473
+ .alive-sparkle:nth-child(4) { animation-delay: 0.9s; color: #f472b6; }
4474
+ .alive-sparkle:nth-child(5) { animation-delay: 1.2s; color: #60a5fa; }
4475
+ /* Confetti pieces */
4476
+ @keyframes alive-confetti-fall {
4477
+ 0% { transform: translateY(-20px) rotate(0deg); opacity: 1; }
4478
+ 100% { transform: translateY(120px) rotate(720deg); opacity: 0; }
4479
+ }
4480
+ .alive-confetti-piece {
4481
+ position: absolute;
4482
+ width: 8px; height: 8px;
4483
+ border-radius: 2px;
4484
+ animation: alive-confetti-fall 2s ease-in infinite;
4485
+ }
4486
+ .alive-confetti-piece:nth-child(1) { left: 10%; background: #6366f1; animation-delay: 0s; animation-duration: 2.1s; }
4487
+ .alive-confetti-piece:nth-child(2) { left: 20%; background: #f43f5e; animation-delay: 0.2s; animation-duration: 1.8s; width: 6px; height: 10px; }
4488
+ .alive-confetti-piece:nth-child(3) { left: 30%; background: #fbbf24; animation-delay: 0.4s; animation-duration: 2.3s; border-radius: 50%; }
4489
+ .alive-confetti-piece:nth-child(4) { left: 42%; background: #10b981; animation-delay: 0.1s; animation-duration: 1.9s; width: 10px; height: 6px; }
4490
+ .alive-confetti-piece:nth-child(5) { left: 53%; background: #8b5cf6; animation-delay: 0.5s; animation-duration: 2.2s; }
4491
+ .alive-confetti-piece:nth-child(6) { left: 63%; background: #0ea5e9; animation-delay: 0.3s; animation-duration: 1.7s; border-radius: 50%; }
4492
+ .alive-confetti-piece:nth-child(7) { left: 72%; background: #f97316; animation-delay: 0.6s; animation-duration: 2.4s; width: 6px; height: 10px; }
4493
+ .alive-confetti-piece:nth-child(8) { left: 83%; background: #ec4899; animation-delay: 0.15s; animation-duration: 2.0s; }
4494
+ .alive-confetti-piece:nth-child(9) { left: 91%; background: #6366f1; animation-delay: 0.45s; animation-duration: 1.85s; border-radius: 50%; }
4495
+ .alive-confetti-piece:nth-child(10) { left: 5%; background: #34d399; animation-delay: 0.7s; animation-duration: 2.15s; width: 10px; height: 6px; }
4496
+ .alive-confetti { position: relative; overflow: hidden; }
4497
+ /* Meteor / shooting star */
4498
+ @keyframes alive-meteor {
4499
+ 0% { transform: translateX(0) translateY(0) rotate(-45deg); opacity: 1; }
4500
+ 70% { opacity: 1; }
4501
+ 100% { transform: translateX(200px) translateY(200px) rotate(-45deg); opacity: 0; }
4502
+ }
4503
+ .alive-meteor {
4504
+ position: absolute;
4505
+ width: 60px; height: 1.5px;
4506
+ background: linear-gradient(90deg, rgba(255,255,255,0.9), transparent);
4507
+ border-radius: 1px;
4508
+ animation: alive-meteor 2s ease-in infinite;
4509
+ }
4510
+ .alive-meteor:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; animation-duration: 2.2s; }
4511
+ .alive-meteor:nth-child(2) { top: 25%; left: 30%; animation-delay: 0.8s; animation-duration: 1.8s; width: 40px; }
4512
+ .alive-meteor:nth-child(3) { top: 5%; left: 60%; animation-delay: 1.5s; animation-duration: 2.5s; }
4513
+ .alive-meteor:nth-child(4) { top: 40%; left: 75%; animation-delay: 0.4s; animation-duration: 1.6s; width: 80px; }
4514
+
4515
+ /* \u2500\u2500 Scene Sequencer \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
4516
+ Pair with [data-alive-sequence] + [data-alive-scene] attributes.
4517
+ The runtime (./runtime) drives is-active and transition classes.
4518
+ See: data-alive-duration, data-alive-transition, data-alive-loop.
4519
+ \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
4520
+ [data-alive-sequence] {
4521
+ position: relative;
4522
+ overflow: hidden;
4523
+ }
4524
+ [data-alive-scene] {
4525
+ position: absolute;
4526
+ inset: 0;
4527
+ opacity: 0;
4528
+ pointer-events: none;
4529
+ }
4530
+ [data-alive-scene].is-active {
4531
+ opacity: 1;
4532
+ pointer-events: auto;
4533
+ z-index: 1;
4534
+ }
4535
+ /* Outgoing scene (has a -out class) must stay visible during the transition */
4536
+ [data-alive-scene][class*="-out"] {
4537
+ opacity: 1;
4538
+ z-index: 2;
4539
+ }
2499
4540
  `;
2500
4541
  }
2501
4542