Spaces:
Running
Running
Create a single-page, futuristic crypto-themed web app called “QuantumPay”. It should simulate a crypto payment flow (no real payments).
08bb856 verified | @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
| :root { | |
| --cyan-glow: 0 0 10px rgba(0, 247, 255, 0.5), 0 0 20px rgba(0, 247, 255, 0.3); | |
| --purple-glow: 0 0 10px rgba(179, 0, 255, 0.5), 0 0 20px rgba(179, 0, 255, 0.3); | |
| } | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| background-color: #0a0a12; | |
| color: #f0f0f0; | |
| min-height: 100vh; | |
| overflow-x: hidden; | |
| } | |
| /* Animated gradient background */ | |
| #background { | |
| background: linear-gradient(-45deg, #0f0c29, #302b63, #24243e, #0a0a12); | |
| background-size: 400% 400%; | |
| animation: gradientShift 15s ease infinite; | |
| } | |
| @keyframes gradientShift { | |
| 0% { background-position: 0% 50%; } | |
| 50% { background-position: 100% 50%; } | |
| 100% { background-position: 0% 50%; } | |
| } | |
| /* Glassmorphism effect */ | |
| .glass { | |
| background: rgba(255, 255, 255, 0.05); | |
| backdrop-filter: blur(12px); | |
| -webkit-backdrop-filter: blur(12px); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| /* Custom button styles */ | |
| .amount-btn.selected, | |
| .currency-btn.selected { | |
| background: rgba(0, 247, 255, 0.15); | |
| border-color: #00f7ff; | |
| box-shadow: var(--cyan-glow); | |
| } | |
| .amount-btn:hover:not(.selected), | |
| .currency-btn:hover:not(.selected) { | |
| transform: translateY(-2px); | |
| box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); | |
| } | |
| /* Input focus glow */ | |
| input:focus { | |
| box-shadow: 0 0 0 3px rgba(0, 247, 255, 0.3); | |
| } | |
| /* Feather icons styling */ | |
| .feather { | |
| width: 20px; | |
| height: 20px; | |
| } | |
| /* Responsive adjustments */ | |
| @media (max-width: 1024px) { | |
| .grid-cols-2 { | |
| grid-template-columns: repeat(1, minmax(0, 1fr)); | |
| } | |
| .lg\:grid-cols-2 { | |
| grid-template-columns: 1fr; | |
| } | |
| } | |
| /* Animation for success message */ | |
| @keyframes pulse { | |
| 0% { transform: scale(1); opacity: 1; } | |
| 50% { transform: scale(1.05); opacity: 0.8; } | |
| 100% { transform: scale(1); opacity: 1; } | |
| } | |
| .pulse-animation { | |
| animation: pulse 1.5s infinite; | |
| } |