Spaces:
Running
Running
| @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap'); | |
| :root { | |
| --primary-gradient: linear-gradient(135deg, #ec4899, #8b5cf6, #4f46e5); | |
| --secondary-gradient: linear-gradient(135deg, #8b5cf6, #4f46e5, #2563eb); | |
| --accent-gradient: linear-gradient(135deg, #4f46e5, #2563eb, #0ea5e9); | |
| } | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Montserrat', sans-serif; | |
| overflow-x: hidden; | |
| background: linear-gradient(135deg, #0f0c29, #302b63, #24243e); | |
| color: white; | |
| } | |
| /* Particles container */ | |
| #particles-container { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| z-index: 0; | |
| pointer-events: none; | |
| } | |
| .particle { | |
| position: absolute; | |
| border-radius: 50%; | |
| background: var(--primary-gradient); | |
| opacity: 0.7; | |
| pointer-events: none; | |
| animation: float 15s infinite ease-in-out; | |
| } | |
| @keyframes float { | |
| 0%, 100% { | |
| transform: translate(0, 0); | |
| } | |
| 25% { | |
| transform: translate(20px, 20px); | |
| } | |
| 50% { | |
| transform: translate(-20px, 20px); | |
| } | |
| 75% { | |
| transform: translate(-20px, -20px); | |
| } | |
| } | |
| /* Optical Illusion Effects */ | |
| .illusion-card { | |
| position: relative; | |
| overflow: hidden; | |
| transform: perspective(1000px) rotateX(5deg); | |
| animation: shimmer 8s infinite; | |
| } | |
| @keyframes shimmer { | |
| 0% { | |
| background-position: -200% 0; | |
| } | |
| 100% { | |
| background-position: 200% 0; | |
| } | |
| } | |
| .illusion-circle { | |
| animation: pulse 6s infinite alternate; | |
| box-shadow: 0 0 60px rgba(236, 72, 153, 0.3); | |
| } | |
| @keyframes pulse { | |
| 0% { | |
| transform: scale(1); | |
| box-shadow: 0 0 60px rgba(236, 72, 153, 0.3); | |
| } | |
| 100% { | |
| transform: scale(1.05); | |
| box-shadow: 0 0 100px rgba(139, 92, 246, 0.5); | |
| } | |
| } | |
| /* Gradient borders */ | |
| .border-gradient { | |
| position: relative; | |
| background: linear-gradient(135deg, #0f0c29, #302b63, #24243e); | |
| border: none; | |
| z-index: 1; | |
| } | |
| .border-gradient::before { | |
| content: ''; | |
| position: absolute; | |
| top: -2px; | |
| left: -2px; | |
| right: -2px; | |
| bottom: -2px; | |
| background: var(--primary-gradient); | |
| z-index: -1; | |
| border-radius: inherit; | |
| animation: gradient-border 4s infinite alternate; | |
| } | |
| @keyframes gradient-border { | |
| 0% { | |
| background: var(--primary-gradient); | |
| } | |
| 100% { | |
| background: var(--accent-gradient); | |
| } | |
| } | |
| /* Responsive adjustments */ | |
| @media (max-width: 768px) { | |
| .illusion-card { | |
| transform: none; | |
| } | |
| h1 { | |
| font-size: 2.5rem ; | |
| } | |
| h2 { | |
| font-size: 2rem ; | |
| } | |
| } | |
| /* Scrollbar styling */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: rgba(30, 30, 46, 0.5); | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: linear-gradient(135deg, #ec4899, #8b5cf6); | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: linear-gradient(135deg, #8b5cf6, #4f46e5); | |
| } |