File size: 7,166 Bytes
9c08905
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0101e1d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>SuperHighFive | Heroic Animation</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <style>
        @keyframes wave {
            0%, 100% { transform: rotate(0deg); }
            25% { transform: rotate(15deg); }
            50% { transform: rotate(-10deg); }
            75% { transform: rotate(5deg); }
        }
        .superman-arm {
            animation: wave 0.8s infinite;
            transform-origin: 80% 20%;
        }
        .bg-gradient {
            background: linear-gradient(135deg, #0066CC 0%, #FF0000 50%, #FFFF00 100%);
            background-size: 200% 200%;
            animation: gradient 8s ease infinite;
        }
        @keyframes gradient {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        .shine {
            position: relative;
            overflow: hidden;
        }
        .shine::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                to bottom right,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0) 45%,
                rgba(255, 255, 255, 0.5) 50%,
                rgba(255, 255, 255, 0) 55%,
                rgba(255, 255, 255, 0) 100%
            );
            transform: rotate(30deg);
            animation: shine 3s infinite;
        }
        @keyframes shine {
            0% { left: -50%; top: -50%; }
            100% { left: 150%; top: 150%; }
        }
    </style>
</head>
<body class="bg-black overflow-hidden h-screen flex items-center justify-center">
    <div id="hero-container" class="relative w-full h-full flex items-center justify-center">
        <!-- Background Elements -->
        <div class="absolute inset-0 bg-gradient opacity-70"></div>
        <div class="absolute inset-0 bg-black/20"></div>
        
        <!-- Superman Silhouette -->
        <div class="relative z-10 w-64 h-96 md:w-80 md:h-[28rem]">
            <!-- Body -->
            <div class="absolute w-full h-full">
                <!-- Cape -->
                <div class="absolute top-0 left-1/4 w-1/2 h-3/5 bg-red-600 rounded-b-full transform -rotate-6 origin-top"></div>
                
                <!-- Torso -->
                <div class="absolute top-1/4 left-1/4 w-1/2 h-2/5 bg-blue-600 rounded-t-3xl">
                    <!-- S Shield -->
                    <div class="absolute top-1/4 left-1/4 w-1/2 h-1/2 bg-yellow-400 rounded-full flex items-center justify-center">
                        <div class="text-red-600 font-bold text-2xl md:text-3xl">S</div>
                    </div>
                </div>
                
                <!-- Head -->
                <div class="absolute top-0 left-1/3 w-1/3 h-1/4 bg-skin-500 rounded-full">
                    <!-- Eyes -->
                    <div class="absolute top-1/3 left-1/4 w-1/12 h-1/12 bg-white rounded-full"></div>
                    <div class="absolute top-1/3 right-1/4 w-1/12 h-1/12 bg-white rounded-full"></div>
                </div>
                
                <!-- Legs -->
                <div class="absolute bottom-0 left-1/4 w-1/2 h-1/3 flex">
                    <div class="w-1/2 h-full bg-blue-600 rounded-b-lg"></div>
                    <div class="w-1/2 h-full bg-blue-600 rounded-b-lg"></div>
                </div>
                
                <!-- Arms -->
                <div class="absolute top-1/3 left-0 w-full h-1/3 flex justify-between">
                    <!-- Left Arm (Static) -->
                    <div class="w-1/4 h-3/4 bg-blue-600 rounded-r-lg"></div>
                    
                    <!-- Right Arm (Waving) -->
                    <div class="w-1/4 h-3/4 bg-blue-600 rounded-l-lg superman-arm">
                        <!-- Hand -->
                        <div class="absolute bottom-0 left-0 w-full h-1/3 bg-skin-500 rounded-b-lg">
                            <div class="absolute bottom-0 left-1/4 w-1/2 h-1/2 bg-skin-400 rounded-b-lg"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- Motion Lines -->
        <div class="absolute z-0 w-full h-full overflow-hidden">
            <div class="absolute top-0 left-0 w-full h-full">
                <div class="absolute top-1/2 left-0 w-full h-1 bg-white/10 transform -rotate-6"></div>
                <div class="absolute top-1/2 left-0 w-full h-1 bg-white/10 transform rotate-3"></div>
                <div class="absolute top-1/2 left-0 w-full h-1 bg-white/10 transform -rotate-12"></div>
            </div>
        </div>
        
        <!-- UI Elements -->
        <div class="absolute bottom-10 left-0 right-0 text-center z-20">
            <h1 class="text-4xl md:text-5xl font-bold text-white mb-2">HIGH FIVE!</h1>
            <p class="text-xl text-white/80 mb-6">Superman wants to celebrate with you</p>
            <button class="px-8 py-3 bg-red-600 hover:bg-red-700 text-white font-bold rounded-full transition-all transform hover:scale-105 shadow-lg shine">
                <span class="flex items-center">
                    <i data-feather="zap" class="mr-2"></i> 
                    SLAP THAT HAND!
                </span>
            </button>
        </div>
    </div>

    <script>
        feather.replace();
        
        // Add interactive elements
        document.querySelector('button').addEventListener('click', function() {
            const container = document.getElementById('hero-container');
            container.classList.add('animate-pulse');
            
            // Create explosion effect
            for (let i = 0; i < 20; i++) {
                const star = document.createElement('div');
                star.className = 'absolute w-2 h-2 bg-yellow-400 rounded-full';
                star.style.left = `${Math.random() * 100}%`;
                star.style.top = `${Math.random() * 100}%`;
                star.style.opacity = '0';
                star.style.transform = 'scale(0)';
                container.appendChild(star);
                
                anime({
                    targets: star,
                    opacity: [0, 1, 0],
                    scale: [0, 2, 0],
                    translateX: () => anime.random(-50, 50),
                    translateY: () => anime.random(-50, 50),
                    duration: 1000,
                    easing: 'easeOutExpo'
                });
            }
            
            setTimeout(() => {
                container.classList.remove('animate-pulse');
            }, 1000);
        });
    </script>
</body>
</html>