@katajere/recap 1.0.13 → 2.0.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.
Files changed (102) hide show
  1. package/dist/App.css +32 -12
  2. package/dist/LoginScreen.css +22 -21
  3. package/dist/OtpScreen.css +20 -17
  4. package/dist/RecapStory.css +148 -0
  5. package/dist/RecapStory.d.ts +2 -2
  6. package/dist/RecapStory.d.ts.map +1 -1
  7. package/dist/RecapStory.js +169 -81
  8. package/dist/StoryProgress.css +3 -3
  9. package/dist/StoryProgress.d.ts +3 -2
  10. package/dist/StoryProgress.d.ts.map +1 -1
  11. package/dist/StoryProgress.js +66 -12
  12. package/dist/assets/huxxle-login-blue-logo.svg +14 -0
  13. package/dist/assets/noisy-background.png +0 -0
  14. package/dist/assets/noisy-background.svg +23 -0
  15. package/dist/assets/search-icon.svg +4 -0
  16. package/dist/assets/share-button.svg +5 -0
  17. package/dist/assets/web-icon.png +0 -0
  18. package/dist/assets/web-icon.svg +14 -0
  19. package/dist/components/Header.css +12 -1
  20. package/dist/components/Header.js +2 -2
  21. package/dist/data/mock.d.ts +1 -1
  22. package/dist/data/mock.d.ts.map +1 -1
  23. package/dist/data/mock.js +36 -23
  24. package/dist/index.d.ts +0 -1
  25. package/dist/index.d.ts.map +1 -1
  26. package/dist/index.js +0 -1
  27. package/dist/slides/Slide10Final.css +73 -35
  28. package/dist/slides/Slide1Intro.css +204 -56
  29. package/dist/slides/Slide1Intro.d.ts +2 -1
  30. package/dist/slides/Slide1Intro.d.ts.map +1 -1
  31. package/dist/slides/Slide1Intro.js +41 -47
  32. package/dist/slides/Slide2Days.css +121 -34
  33. package/dist/slides/Slide2Days.d.ts +2 -1
  34. package/dist/slides/Slide2Days.d.ts.map +1 -1
  35. package/dist/slides/Slide2Days.js +45 -4
  36. package/dist/slides/Slide3Revenue.css +80 -38
  37. package/dist/slides/Slide3Revenue.d.ts.map +1 -1
  38. package/dist/slides/Slide3Revenue.js +31 -3
  39. package/dist/slides/Slide4Orders.css +93 -34
  40. package/dist/slides/Slide4Orders.d.ts +2 -1
  41. package/dist/slides/Slide4Orders.d.ts.map +1 -1
  42. package/dist/slides/Slide4Orders.js +45 -3
  43. package/dist/slides/Slide5Buyers.css +124 -67
  44. package/dist/slides/Slide5Buyers.d.ts +2 -1
  45. package/dist/slides/Slide5Buyers.d.ts.map +1 -1
  46. package/dist/slides/Slide5Buyers.js +43 -3
  47. package/dist/slides/Slide6Customer.css +294 -52
  48. package/dist/slides/Slide6Customer.d.ts +6 -3
  49. package/dist/slides/Slide6Customer.d.ts.map +1 -1
  50. package/dist/slides/Slide6Customer.js +25 -4
  51. package/dist/slides/Slide7Products.css +8 -7
  52. package/dist/slides/Slide7Products.js +3 -3
  53. package/dist/slides/Slide8Months.css +6 -6
  54. package/dist/slides/Slide9Year.css +4 -2
  55. package/dist/slides/Slide9Year.d.ts +2 -1
  56. package/dist/slides/Slide9Year.d.ts.map +1 -1
  57. package/dist/slides/Slide9Year.js +23 -2
  58. package/dist/types.d.ts +7 -0
  59. package/dist/types.d.ts.map +1 -1
  60. package/dist/utils/slideScreenshot.d.ts +27 -0
  61. package/dist/utils/slideScreenshot.d.ts.map +1 -0
  62. package/dist/utils/slideScreenshot.js +274 -0
  63. package/package.json +2 -1
  64. package/src/App.css +32 -12
  65. package/src/LoginScreen.css +22 -21
  66. package/src/LoginScreen.tsx +1 -1
  67. package/src/OtpScreen.css +20 -17
  68. package/src/OtpScreen.tsx +1 -1
  69. package/src/RecapStory.css +148 -0
  70. package/src/RecapStory.tsx +249 -118
  71. package/src/StoryProgress.css +3 -3
  72. package/src/StoryProgress.tsx +96 -21
  73. package/src/components/Header.css +12 -1
  74. package/src/components/Header.tsx +2 -2
  75. package/src/data/mock.ts +44 -24
  76. package/src/index.ts +0 -1
  77. package/src/slides/Slide10Final.css +73 -35
  78. package/src/slides/Slide1Intro.css +204 -56
  79. package/src/slides/Slide1Intro.tsx +89 -81
  80. package/src/slides/Slide2Days.css +121 -34
  81. package/src/slides/Slide2Days.tsx +67 -19
  82. package/src/slides/Slide3Revenue.css +80 -38
  83. package/src/slides/Slide3Revenue.tsx +43 -6
  84. package/src/slides/Slide4Orders.css +93 -34
  85. package/src/slides/Slide4Orders.tsx +71 -10
  86. package/src/slides/Slide5Buyers.css +124 -67
  87. package/src/slides/Slide5Buyers.tsx +97 -38
  88. package/src/slides/Slide6Customer.css +294 -52
  89. package/src/slides/Slide6Customer.tsx +68 -10
  90. package/src/slides/Slide7Products.css +8 -7
  91. package/src/slides/Slide7Products.tsx +3 -3
  92. package/src/slides/Slide8Months.css +6 -6
  93. package/src/slides/Slide9Year.css +4 -2
  94. package/src/slides/Slide9Year.tsx +35 -7
  95. package/src/types.ts +7 -0
  96. package/src/utils/slideScreenshot.ts +324 -0
  97. package/dist/FloatingFrames.css +0 -55
  98. package/dist/FloatingFrames.d.ts +0 -11
  99. package/dist/FloatingFrames.d.ts.map +0 -1
  100. package/dist/FloatingFrames.js +0 -12
  101. package/src/FloatingFrames.css +0 -55
  102. package/src/FloatingFrames.tsx +0 -27
@@ -1,6 +1,5 @@
1
- import React, { useEffect, useState } from 'react';
2
- import { motion } from 'framer-motion';
3
- import './StoryProgress.css';
1
+ import React, { useEffect, useState, useRef } from "react";
2
+ import "./StoryProgress.css";
4
3
 
5
4
  interface StoryProgressProps {
6
5
  total: number;
@@ -9,44 +8,120 @@ interface StoryProgressProps {
9
8
  onComplete: () => void;
10
9
  onBarClick: (index: number) => void;
11
10
  hideBorder?: boolean;
11
+ isPaused?: boolean;
12
12
  }
13
13
 
14
14
  /**
15
15
  * StoryProgress - Story-style progress bars at the top
16
16
  */
17
- function StoryProgress({ total, active, duration, onComplete, onBarClick, hideBorder }: StoryProgressProps) {
18
- const [key, setKey] = useState(0);
17
+ function StoryProgress({
18
+ total,
19
+ active,
20
+ duration,
21
+ onComplete,
22
+ onBarClick,
23
+ hideBorder,
24
+ isPaused,
25
+ }: StoryProgressProps) {
26
+ const [progress, setProgress] = useState(0);
27
+ const progressRef = useRef(0);
28
+ const startTimeRef = useRef<number>(0);
29
+ const pausedProgressRef = useRef<number>(0);
30
+ const animationFrameRef = useRef<number | null>(null);
31
+ const onCompleteRef = useRef(onComplete);
19
32
 
20
- // Reset animation key when active slide changes
33
+ // Keep onComplete ref up to date
21
34
  useEffect(() => {
22
- setKey(prev => prev + 1);
35
+ onCompleteRef.current = onComplete;
36
+ }, [onComplete]);
37
+
38
+ // Reset progress when active slide changes
39
+ useEffect(() => {
40
+ setProgress(0);
41
+ progressRef.current = 0;
42
+ pausedProgressRef.current = 0;
43
+ startTimeRef.current = performance.now();
23
44
  }, [active]);
24
45
 
46
+ // Animation loop with pause support
47
+ useEffect(() => {
48
+ if (isPaused) {
49
+ // Save current progress when pausing
50
+ pausedProgressRef.current = progressRef.current;
51
+ if (animationFrameRef.current) {
52
+ cancelAnimationFrame(animationFrameRef.current);
53
+ animationFrameRef.current = null;
54
+ }
55
+ return;
56
+ }
57
+
58
+ // Resume from paused progress
59
+ startTimeRef.current = performance.now();
60
+ const startProgress = pausedProgressRef.current;
61
+ if (startProgress >= 1) {
62
+ return;
63
+ }
64
+ if (startProgress >= 1) {
65
+ setProgress(1);
66
+ onCompleteRef.current();
67
+ return;
68
+ }
69
+ const remainingDuration = duration * (1 - startProgress) * 1000;
70
+
71
+ const animate = (currentTime: number) => {
72
+ const elapsed = currentTime - startTimeRef.current;
73
+ const newProgress =
74
+ startProgress + (elapsed / remainingDuration) * (1 - startProgress);
75
+
76
+ if (newProgress >= 1) {
77
+ progressRef.current = 1;
78
+ setProgress(1);
79
+ onCompleteRef.current();
80
+ return;
81
+ }
82
+
83
+ progressRef.current = newProgress;
84
+ setProgress(newProgress);
85
+ animationFrameRef.current = requestAnimationFrame(animate);
86
+ };
87
+
88
+ animationFrameRef.current = requestAnimationFrame(animate);
89
+
90
+ return () => {
91
+ if (animationFrameRef.current) {
92
+ cancelAnimationFrame(animationFrameRef.current);
93
+ }
94
+ };
95
+ }, [isPaused, duration, active]);
96
+
25
97
  return (
26
- <div className={`story-progress${hideBorder ? ' story-progress--no-border' : ''}`}>
98
+ <div
99
+ className={`story-progress${
100
+ hideBorder ? " story-progress--no-border" : ""
101
+ }`}
102
+ >
27
103
  {Array.from({ length: total }).map((_, index) => {
28
104
  const isActive = index === active;
29
105
  const isCompleted = index < active;
30
-
106
+
31
107
  return (
32
- <div
33
- key={index}
108
+ <div
109
+ key={index}
34
110
  className="story-progress__bar-container"
35
111
  onClick={() => onBarClick(index)}
36
112
  >
37
- <div className={`story-progress__bar ${isCompleted ? 'completed' : ''}`}>
113
+ <div
114
+ className={`story-progress__bar ${
115
+ isCompleted ? "completed" : ""
116
+ }`}
117
+ >
38
118
  {isActive && (
39
- <motion.div
40
- key={key}
119
+ <div
41
120
  className="story-progress__bar-fill"
42
- initial={{ scaleX: 0 }}
43
- animate={{ scaleX: 1 }}
44
- transition={{
45
- duration: duration,
46
- ease: 'linear'
121
+ style={{
122
+ transform: `scaleX(${progress})`,
123
+ transformOrigin: "left",
47
124
  }}
48
- onAnimationComplete={onComplete}
49
- style={{ transformOrigin: 'left' }}
50
125
  />
51
126
  )}
52
127
  </div>
@@ -23,7 +23,7 @@
23
23
  font-weight: 700;
24
24
  font-size: clamp(14px, 5.13vw, 20px);
25
25
  line-height: 1.2;
26
- background-image: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
26
+ background-image: linear-gradient(90deg, #2724A7 0%, #4F4CD8 100%);
27
27
  -webkit-background-clip: text;
28
28
  -webkit-text-fill-color: transparent;
29
29
  background-clip: text;
@@ -44,3 +44,14 @@
44
44
  background-size: 100%;
45
45
  background-position: 0;
46
46
  }
47
+
48
+ /* Screenshot mode - solid color fallback for gradient text */
49
+ .screenshot-mode .header__badge {
50
+ -webkit-text-fill-color: #4F4CD8 !important;
51
+ color: #4F4CD8 !important;
52
+ }
53
+
54
+ .screenshot-mode .header--new-user .header__badge {
55
+ -webkit-text-fill-color: #FF9900 !important;
56
+ color: #FF9900 !important;
57
+ }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import './Header.css';
3
- import loginLogo from '../assets/login-logo.svg';
4
- import slideLogo from '../assets/slide-logo.svg';
3
+ import loginLogo from '../assets/huxxle-login-blue-logo.svg';
4
+ import slideLogo from '../assets/huxxle-blue-logo.svg';
5
5
  import huxxleBlueLogo from '../assets/huxxle-blue-logo.svg';
6
6
 
7
7
  interface HeaderProps {
package/src/data/mock.ts CHANGED
@@ -1,54 +1,74 @@
1
- import { BUSINESS_CATEGORIES } from '../types';
2
- import type { RecapData } from '../types';
1
+ import { BUSINESS_CATEGORIES } from "../types";
2
+ import type { RecapData } from "../types";
3
3
 
4
4
  /**
5
5
  * Mock data for the recap experience
6
6
  * This will be replaced with real API data later
7
7
  */
8
8
  export const mockRecapData: RecapData = {
9
- businessName: 'RICHYO ENTERPRISES',
9
+ businessName: "RICHYO ENTERPRISES",
10
10
  days: 259,
11
11
  streak: 47,
12
- revenue: 22594,
12
+ revenue: 22594000,
13
13
  orders: 487,
14
14
  firstTimeBuyers: 234,
15
15
  repeatBuyers: 65,
16
- topCustomerName: 'Micheal Scoffy',
17
- currency: 'GBP',
16
+ topCustomerName: "Micheal Scoffy",
17
+ currency: "NGN",
18
18
  year: 2025,
19
- introHeadline: 'You Be New Face OOO....',
20
- introSubtitle: 'Come back for 6 days time, we dey for you 😉',
19
+ introHeadline: "This Year You Carry Your Hustle For Head",
20
+ introSubtitle: "Make we look the numbers 🔥",
21
21
  topProducts: [
22
22
  {
23
- name: 'Vanilla Yoghurt',
23
+ name: "Vanilla Yoghurt",
24
24
  units: 45,
25
- productImage: 'https://images.unsplash.com/photo-1447078806655-40579c2520d6?auto=format&fit=crop&w=400&q=80'
25
+ productImage:
26
+ "https://images.unsplash.com/photo-1447078806655-40579c2520d6?auto=format&fit=crop&w=400&q=80",
26
27
  },
27
28
  {
28
- name: 'Cocoa Milkshake',
29
+ name: "Cocoa Milkshake",
29
30
  units: 38,
30
- productImage: 'https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=400&q=80'
31
+ productImage:
32
+ "https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=400&q=80",
31
33
  },
32
34
  {
33
- name: 'Spicy Crunch',
35
+ name: "Spicy Crunch",
34
36
  units: 33,
35
- productImage: 'https://images.unsplash.com/photo-1447078806655-40579c2520d6?auto=format&fit=crop&w=400&q=80'
37
+ productImage:
38
+ "https://images.unsplash.com/photo-1447078806655-40579c2520d6?auto=format&fit=crop&w=400&q=80",
36
39
  },
37
40
  {
38
- name: 'Fresh Plantain Chips',
41
+ name: "Fresh Plantain Chips",
39
42
  units: 29,
40
- productImage: 'https://images.unsplash.com/photo-1506084868230-bb9d95c24759?auto=format&fit=crop&w=400&q=80'
43
+ productImage:
44
+ "https://images.unsplash.com/photo-1506084868230-bb9d95c24759?auto=format&fit=crop&w=400&q=80",
41
45
  },
42
46
  {
43
- name: 'Mango Juice',
47
+ name: "Mango Juice",
44
48
  units: 27,
45
- productImage: 'https://images.unsplash.com/photo-1447078806655-40579c2520d6?auto=format&fit=crop&w=400&q=80'
46
- }
49
+ productImage:
50
+ "https://images.unsplash.com/photo-1447078806655-40579c2520d6?auto=format&fit=crop&w=400&q=80",
51
+ },
52
+ ],
53
+ productImages: [
54
+ "https://images.unsplash.com/photo-1447078806655-40579c2520d6?auto=format&fit=crop&w=400&q=80",
55
+ "https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=400&q=80",
56
+ "https://images.unsplash.com/photo-1506084868230-bb9d95c24759?auto=format&fit=crop&w=400&q=80",
57
+ "https://images.unsplash.com/photo-1447078806655-40579c2520d6?auto=format&fit=crop&w=400&q=80",
58
+ "https://images.unsplash.com/photo-1498837167922-ddd27525d352?auto=format&fit=crop&w=400&q=80",
59
+ "https://images.unsplash.com/photo-1470337458703-46ad1756a187?auto=format&fit=crop&w=400&q=80",
47
60
  ],
48
- businessCategory: BUSINESS_CATEGORIES.NEW_USER,
49
- busiestMonth: 'Oct',
50
- videoUrl: 'https://katajereassets.blob.core.windows.net/sp-list-assets/mocksite_walkthrough_a75c98dd-47ef-4f2c-a97c-ab2b3c3c97a5_2315a6b2d671d142f34e08cad43929c5.mp4',
51
- downloadUrl: 'https://api.huxxle.com/api/download?fileUrl=https://katajereassets.blob.core.windows.net/sp-list-assets/mocksite_walkthrough_a75c98dd-47ef-4f2c-a97c-ab2b3c3c97a5_2315a6b2d671d142f34e08cad43929c5.mp4'
61
+ businessCategory: BUSINESS_CATEGORIES.THRIVING,
62
+ busiestMonth: "Oct",
63
+ videoUrl:
64
+ "https://katajereassets.blob.core.windows.net/sp-list-assets/recap_4e5f6a7b-8c9d-0e1f-2a3b-4c5d6e7f8a9b_b5aac4492a8b453fbdbdbc8ed96f04f0.mp4",
65
+ downloadUrl:
66
+ "https://api.huxxle.com/api/download?fileUrl=https://katajereassets.blob.core.windows.net/sp-list-assets/recap_4e5f6a7b-8c9d-0e1f-2a3b-4c5d6e7f8a9b_b5aac4492a8b453fbdbdbc8ed96f04f0.mp4",
67
+ isVideo: false,
68
+ websiteLink: "https://vendor.huxxle.com",
69
+ websiteVisits: 123400,
70
+ mostViewedProduct: "Vanilla Yoghurt",
71
+ mostViewedProductCount: 567,
52
72
  };
53
73
 
54
74
  // Slide durations in seconds - each slide can have its own timing
@@ -62,5 +82,5 @@ export const slideDurations: Record<string, number> = {
62
82
  products: 8,
63
83
  months: 8,
64
84
  year: 8,
65
- final: 8
85
+ final: 8,
66
86
  };
package/src/index.ts CHANGED
@@ -15,7 +15,6 @@
15
15
  export { default as RecapApp } from './RecapApp';
16
16
  export { default as RecapStory } from './RecapStory';
17
17
  export { default as StoryProgress } from './StoryProgress';
18
- export { default as FloatingFrames } from './FloatingFrames';
19
18
  export { default as Header } from './components/Header';
20
19
 
21
20
  // ============================================================================
@@ -2,34 +2,31 @@
2
2
  position: relative;
3
3
  width: 100%;
4
4
  height: 100%;
5
- color: #FCFCFC;
5
+ color: var(--primary-blue);
6
6
  display: flex;
7
7
  flex-direction: column;
8
8
  align-items: center;
9
9
  justify-content: center;
10
- gap: 3.79%;
11
- padding-top: 41.65vh;
12
- margin-bottom: 2.84vh;
13
- }
14
-
15
- @media (max-height: 720px), (orientation: landscape) {
16
- .slide10-final {
17
- gap: clamp(16px, 2vh, 32px);
18
- }
19
-
20
- .slide10-final__button-group {
21
- margin-top: clamp(32px, 5vh, 80px);
22
- }
10
+ gap: clamp(12px, 3vh, 32px);
11
+ padding: clamp(60px, 15vh, 120px) 4.1% clamp(24px, 4vh, 48px);
12
+ box-sizing: border-box;
13
+ overflow-y: auto;
23
14
  }
24
15
 
25
16
  .slide10-final__badge {
26
17
  box-sizing: border-box;
27
- border: 0.5px solid #FCFCFC;
28
- padding: 0.95% 4.1%;
18
+ /* Use 1px minimum for reliable border rendering on all devices */
19
+ border: 1px solid var(--primary-blue);
20
+ padding: 8px 16px;
29
21
  font-family: 'Lora', serif;
30
22
  font-size: clamp(10px, 3.08vw, 12px);
31
23
  font-weight: 600;
32
24
  letter-spacing: 0.08em;
25
+ background: var(--bg-gradient);
26
+ -webkit-background-clip: text;
27
+ -webkit-text-fill-color: transparent;
28
+ background-clip: text;
29
+ flex-shrink: 0;
33
30
  }
34
31
 
35
32
  .slide10-final__title {
@@ -41,10 +38,11 @@
41
38
  text-align: center;
42
39
  width: 92.31%;
43
40
  max-width: 360px;
44
- background: linear-gradient(90deg, #FFFFFF 0%, #FFCC80 100%);
41
+ background: var(--bg-gradient);
45
42
  -webkit-background-clip: text;
46
43
  -webkit-text-fill-color: transparent;
47
44
  background-clip: text;
45
+ flex-shrink: 0;
48
46
  }
49
47
 
50
48
  .slide10-final__button-group {
@@ -52,36 +50,76 @@
52
50
  max-width: 358px;
53
51
  display: flex;
54
52
  flex-direction: column;
55
- gap: 8px;
56
- margin-top: 14.16vh;
57
- padding-bottom: 2.84vh;
58
- margin-bottom: 2.84vh;
53
+ gap: clamp(6px, 1.5vh, 10px);
54
+ margin-top: clamp(24px, 6vh, 80px);
55
+ padding-bottom: calc(24px + env(safe-area-inset-bottom));
56
+ flex-shrink: 0;
59
57
  }
60
58
 
61
59
  .slide10-final__button {
62
- border: 1px solid #FCFCFC;
60
+ border: 1px solid var(--primary-blue);
63
61
  background: transparent;
64
- color: #FCFCFC;
62
+ color: var(--text-primary);
65
63
  font-family: 'Lora', serif;
66
64
  font-weight: 600;
67
65
  font-size: clamp(12px, 4.1vw, 16px);
68
- padding: 1.42% 4.1%;
69
- min-height: 40px;
66
+ padding: clamp(10px, 2vh, 14px) 16px;
67
+ min-height: clamp(36px, 6vh, 44px);
70
68
  display: flex;
71
69
  justify-content: center;
72
70
  align-items: center;
73
71
  cursor: pointer;
72
+ flex-shrink: 0;
74
73
  }
75
74
 
76
- /* .slide10-final__button--replay {
77
- width: 122px;
78
- align-self: flex-start;
79
- padding: 8px 16px;
80
- font-size: 14px;
81
- } */
75
+ /* Responsive adjustments for shorter screens */
76
+ @media (max-height: 700px) {
77
+ .slide10-final {
78
+ padding-top: clamp(48px, 10vh, 80px);
79
+ gap: clamp(8px, 2vh, 16px);
80
+ }
81
+
82
+ .slide10-final__button-group {
83
+ margin-top: clamp(16px, 4vh, 40px);
84
+ gap: clamp(4px, 1vh, 8px);
85
+ }
86
+
87
+ .slide10-final__button {
88
+ min-height: clamp(32px, 5vh, 40px);
89
+ padding: clamp(8px, 1.5vh, 12px) 16px;
90
+ }
91
+ }
92
+
93
+ @media (max-height: 600px) {
94
+ .slide10-final {
95
+ padding-top: clamp(40px, 8vh, 60px);
96
+ gap: clamp(6px, 1.5vh, 12px);
97
+ }
98
+
99
+ .slide10-final__button-group {
100
+ margin-top: clamp(12px, 3vh, 24px);
101
+ }
102
+
103
+ .slide10-final__title {
104
+ font-size: clamp(20px, 8vw, 32px);
105
+ }
106
+ }
107
+
108
+ /* Landscape orientation */
109
+ @media (orientation: landscape) {
110
+ .slide10-final {
111
+ padding-top: clamp(32px, 8vh, 60px);
112
+ gap: clamp(8px, 2vh, 16px);
113
+ }
114
+
115
+ .slide10-final__button-group {
116
+ margin-top: clamp(16px, 4vh, 40px);
117
+ }
118
+ }
82
119
 
120
+ /* Fallback and manual link styles */
83
121
  .slide10-final__fallback {
84
- margin-top: 1.42%;
122
+ margin-top: clamp(8px, 1.5vh, 12px);
85
123
  font-size: clamp(12px, 3.59vw, 14px);
86
124
  color: #FFCC80;
87
125
  text-align: center;
@@ -89,13 +127,13 @@
89
127
  }
90
128
 
91
129
  .slide10-final__manual-link {
92
- margin-top: 0.95%;
130
+ margin-top: clamp(6px, 1vh, 10px);
93
131
  border: 1px dashed #FFCC80;
94
132
  background: transparent;
95
133
  color: #FFCC80;
96
134
  font-weight: 600;
97
- padding: 1.19% 4.1%;
98
- min-height: 36px;
135
+ padding: clamp(8px, 1.5vh, 12px) 16px;
136
+ min-height: clamp(32px, 5vh, 36px);
99
137
  cursor: pointer;
100
138
  font-size: clamp(12px, 3.59vw, 14px);
101
139
  }