Spaces:
Running
Running
File size: 2,822 Bytes
0b4e75b d7db51a 0b4e75b d7db51a 0b4e75b d7db51a 0b4e75b d7db51a 0b4e75b d7db51a 0b4e75b d7db51a 0b4e75b | 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 | @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 !important;
}
h2 {
font-size: 2rem !important;
}
}
/* 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);
} |