File size: 11,865 Bytes
2be25fd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Neon Futuristic Pill Buttons</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <style>
        /* Predefined custom properties for each button */
        :root {
            /* Glow intensities */
            --glow-intensity: 12px;
            /* Button colors */
            --cyan: rgba(0, 255, 255, 0.9);
            --purple: rgba(128, 0, 128, 0.9);
            --green: rgba(50, 255, 150, 0.9);
            --red: rgba(255, 69, 0, 0.9);
            --orange: rgba(255, 165, 0, 0.9);
            --pink: rgba(255, 20, 147, 0.9);
        }

        /* Required property declaration for animation */
        @property --a {
            syntax: "<angle>";
            inherits: false;
            initial-value: 0turn;
        }

        /* Required border spin animation */
        @keyframes border-spin {
            from { --a: 0turn; }
            to { --a: 1turn; }
        }

        /* Glowing grid background */
        .page-bg {
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, #0c0b15 0%, #111 50%, #080710 100%);
        }

        .page-bg::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image:
                linear-gradient(rgba(21, 20, 38, 0.5) 1px, transparent 1px),
                linear-gradient(90deg, rgba(21, 20, 38, 0.5) 1px, transparent 1px);
            background-size: 50px 50px;
            filter: blur(0.3px);
            opacity: 0.25;
            z-index: 1;
        }

        .glow-effects::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 150%;
            height: 150%;
            background: radial-gradient(ellipse at center, 
                rgba(7, 213, 231, 0.05) 0%, 
                rgba(183, 68, 184, 0.03) 40%, 
                rgba(0,0,0,0) 70%);
            animation: rotate-glow 90s linear infinite;
            transform: translate(-20%, -20%); 
            z-index: 2;
        }

        @keyframes rotate-glow {
            from { transform: translate(-20%, -20%) rotate(0deg); }
            to { transform: translate(-20%, -20%) rotate(360deg); }
        }

        /* Button container */
        .button-container {
            position: relative;
            z-index: 10;
            padding: 2rem;
            opacity: 0.98;
        }

        /* Button Base Styling */
        .neon-button {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.25rem 2.5rem;
            border-radius: 9999px;
            background: #080516; /* Deep matte black */
            color: white;
            font-size: 1.5rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 2.5px;
            transition: all 0.3s ease;
            cursor: pointer;
            margin: 1.5rem;
            min-width: 220px;
            box-shadow: 0 0 15px rgba(0, 231, 255, 0.1);
            z-index: 3;
        }

        /* Required border animation styling from prompt */
        .neon-button::before {
            --a: 0turn;
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 9999px;
            padding: 3px; /* Border thickness */
            background: conic-gradient(from var(--a), 
                rgba(255,0,0,.9), 
                rgba(255,165,0,.9), 
                rgba(255,255,0,.9),
                rgba(0,255,255,.9), 
                rgba(128,0,128,.9), 
                rgba(255,0,0,.9));
            animation: border-spin 3s linear infinite;
            -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            z-index: -1;
        }

        /* Hover effects */
        .neon-button:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 195, 255, 0.2);
        }

        .neon-button:active {
            transform: translateY(2px);
            box-shadow: 0 0 10px rgba(0, 217, 255, 0.2);
        }

        /* Button-specific colors */
        .cyan-button {
            text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
            box-shadow: 0 0 30px rgba(0, 217, 255, 0.25);
        }
        .cyan-button:hover {
            box-shadow: 0 0 40px rgba(0, 195, 255, 0.5);
            text-shadow: 0 0 15px var(--cyan);
        }

        .purple-button {
            text-shadow: 0 0 10px rgba(128, 0, 128, 0.7);
            box-shadow: 0 0 30px rgba(128, 0, 128, 0.25);
        }
        .purple-button:hover {
            box-shadow: 0 0 40px rgba(128, 0, 128, 0.5);
            text-shadow: 0 0 15px var(--purple);
        }

        .green-button {
            text-shadow: 0 0 10px rgba(0, 255, 100, 0.7);
            box-shadow: 0 0 30px rgba(0, 255, 100, 0.25);
        }
        .green-button:hover {
            box-shadow: 0 0 40px rgba(0, 255, 100, 0.5);
            text-shadow: 0 0 15px var(--green);
        }

        .orange-button {
            text-shadow: 0 0 10px rgba(255, 165, 0, 0.7);
            box-shadow: 0 0 30px rgba(255, 165, 0, 0.25);
        }
        .orange-button:hover {
            box-shadow: 0 0 40px rgba(255, 165, 0, 0.5);
            text-shadow: 0 0 15px var(--orange);
        }

        .pink-button {
            text-shadow: 0 0 10px rgba(255, 20, 147, 0.7);
            box-shadow: 0 0 30px rgba(255, 20, 147, 0.25);
        }
        .pink-button:hover {
            box-shadow: 0 0 40px rgba(255, 20, 147, 0.5);
            text-shadow: 0 0 15px var(--pink);
        }

        /* Title styling */
        .futuristic-title {
            position: relative;
            font-size: 4rem;
            font-weight: 800;
            background: linear-gradient(to right, 
                #00eeff, 
                #ff00c3 30%, 
                #ff8c00 60%, 
                #d400ff 80%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-align: center;
            letter-spacing: 0.08em;
            text-shadow: 0 0 15px rgba(255,255,255,0.3);
            margin-bottom: 2rem;
            animation: title-shine 3s infinite alternate;
        }

        @keyframes title-shine {
            from { filter: hue-rotate(0deg); }
            to { filter: hue-rotate(45deg); }
        }

        @media (max-width: 640px) {
            .futuristic-title {
                font-size: 2.5rem;
            }
            .neon-button {
                font-size: 1.2rem;
                padding: 1rem 2rem;
                min-width: 200px;
            }
        }
    </style>
</head>
<body class="page-bg min-h-screen flex flex-col items-center justify-center overflow-hidden relative glow-effects">
    
    <!-- Decorative floating particles -->
    <div class="particles">
        <!-- Generated using JS -->
    </div>
    
    <div class="flex flex-col items-center justify-center h-full pb-12 button-container">
        <h1 class="futuristic-title pt-10 mb-8 px-4">
            Neon Border Controls
        </h1>

        <div class="flex flex-wrap justify-center items-center">
            <!-- Cyan Button -->
            <button class="neon-button cyan-button">
                <span class="drop-shadow-glow">CYAN CHANNEL</span>
            </button>
            
            <!-- Purple Button -->
            <button class="neon-button purple-button">
                <span class="drop-shadow-glow">PURPLE WAVE</span>
            </button>
            
            <!-- Green Button -->
            <button class="neon-button green-button">
                <span class="drop-shadow-glow">GREEN SCANNER</span>
            </button>
        </div>

        <div class="flex flex-wrap justify-center items-center">
            <!-- Orange Button -->
            <button class="neon-button orange-button">
                <span class="drop-shadow-glow">ORANGE SYSTEM</span>
            </button>
            
            <!-- Pink Button -->
            <button class="neon-button pink-button">
                <span class="drop-shadow-glow">PINK MATRIX</span>
            </button>
        </div>
    </div>

    <!-- Subtle footer with reflection -->
    <div class="absolute bottom-0 w-full text-center p-4 text-blue-200/30 text-sm tracking-wider font-light">
        SECURITY ACCESS PANEL | VER 2.3.9
    </div>
    
    <script>
        // Create floating particles effect
        document.addEventListener('DOMContentLoaded', () => {
            const particlesContainer = document.querySelector('.particles');
            const particleCount = 20;
            
            for (let i = 0; i < particleCount; i++) {
                const particle = document.createElement('div');
                particle.classList.add('particle');
                particle.style.position = 'absolute';
                particle.style.borderRadius = '50%';
                particle.style.width = `${Math.random() * 5 + 1}px`;
                particle.style.height = particle.style.width;
                particle.style.background = i % 3 === 0 
                    ? 'rgba(0,200,255,0.8)' 
                    : i % 3 === 1 
                        ? 'rgba(200,0,255,0.5)' 
                        : 'rgba(255,150,0,0.5)';
                particle.style.left = `${Math.random() * 100}%`;
                particle.style.top = `${Math.random() * 100}%`;
                particle.style.boxShadow = `0 0 ${Math.random() * 15 + 5}px ${particle.style.background}`;
                
                // Animation properties
                particle.animate([
                    {
                        transform: 'translateY(0)',
                        opacity: 0.7
                    },
                    {
                        transform: `translateY(${Math.random() > 0.5 ? '-' : ''}${Math.random() * 20 + 10}px)`,
                        opacity: 0.2
                    }
                ], {
                    duration: Math.random() * 5000 + 3000,
                    iterations: Infinity,
                    direction: 'alternate',
                    easing: 'ease-in-out'
                });
                
                particlesContainer.appendChild(particle);
            }

            // Button hover enhancement
            document.querySelectorAll('.neon-button').forEach(button => {
                button.addEventListener('mouseenter', () => {
                    button.classList.add('transform', 'transition');
                });
                
                button.addEventListener('mouseleave', () => {
                    button.classList.remove('transform', 'transition');
                });
            });
        });
    </script>
    
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=ProjectGenesis/awesome-button-ui" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>