Promote version 27e11cd to main
Browse filesPromoted commit 27e11cdae722eed3f0e7c4c77e9d2700b65c55af to main branch
script.js
CHANGED
|
@@ -3,7 +3,17 @@ document.addEventListener('DOMContentLoaded', function() {
|
|
| 3 |
if (document.getElementById('coin-particles')) {
|
| 4 |
initCoinParticles();
|
| 5 |
}
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
const inputs = document.querySelectorAll('.input-glow input');
|
| 8 |
inputs.forEach(input => {
|
| 9 |
input.addEventListener('focus', function() {
|
|
|
|
| 3 |
if (document.getElementById('coin-particles')) {
|
| 4 |
initCoinParticles();
|
| 5 |
}
|
| 6 |
+
|
| 7 |
+
// Payment method selection
|
| 8 |
+
const paymentMethods = document.querySelectorAll('.payment-method');
|
| 9 |
+
paymentMethods.forEach(method => {
|
| 10 |
+
method.addEventListener('click', function() {
|
| 11 |
+
paymentMethods.forEach(m => m.classList.remove('active'));
|
| 12 |
+
this.classList.add('active');
|
| 13 |
+
});
|
| 14 |
+
});
|
| 15 |
+
|
| 16 |
+
// Input focus effects
|
| 17 |
const inputs = document.querySelectorAll('.input-glow input');
|
| 18 |
inputs.forEach(input => {
|
| 19 |
input.addEventListener('focus', function() {
|
style.css
CHANGED
|
@@ -135,6 +135,32 @@ body {
|
|
| 135 |
.progress-bar .step.active + .connector::after {
|
| 136 |
width: 100%;
|
| 137 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 138 |
.input-glow {
|
| 139 |
position: relative;
|
| 140 |
border-radius: 10px;
|
|
|
|
| 135 |
.progress-bar .step.active + .connector::after {
|
| 136 |
width: 100%;
|
| 137 |
}
|
| 138 |
+
|
| 139 |
+
.payment-method {
|
| 140 |
+
display: flex;
|
| 141 |
+
flex-direction: column;
|
| 142 |
+
align-items: center;
|
| 143 |
+
justify-content: center;
|
| 144 |
+
padding: 10px;
|
| 145 |
+
border-radius: 10px;
|
| 146 |
+
background: rgba(255, 255, 255, 0.05);
|
| 147 |
+
border: 1px solid rgba(255, 140, 0, 0.2);
|
| 148 |
+
color: var(--color-white-soft);
|
| 149 |
+
opacity: 0.7;
|
| 150 |
+
transition: all 0.3s ease;
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
.payment-method.active {
|
| 154 |
+
background: rgba(255, 140, 0, 0.1);
|
| 155 |
+
border: 1px solid var(--color-glow-orange);
|
| 156 |
+
box-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
|
| 157 |
+
opacity: 1;
|
| 158 |
+
}
|
| 159 |
+
|
| 160 |
+
.payment-method:hover {
|
| 161 |
+
opacity: 1;
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
.input-glow {
|
| 165 |
position: relative;
|
| 166 |
border-radius: 10px;
|