Spaces:
Running
Running
Update styles.css
Browse files- styles.css +81 -68
styles.css
CHANGED
|
@@ -8,9 +8,9 @@ body {
|
|
| 8 |
font-family: 'Arial', sans-serif;
|
| 9 |
background: #000;
|
| 10 |
color: #fff;
|
| 11 |
-
overflow-x: hidden;
|
| 12 |
position: relative;
|
| 13 |
-
min-height: 100vh;
|
| 14 |
}
|
| 15 |
|
| 16 |
.cosmo-bg {
|
|
@@ -19,14 +19,14 @@ body {
|
|
| 19 |
left: 0;
|
| 20 |
width: 100%;
|
| 21 |
height: 100%;
|
| 22 |
-
background:
|
| 23 |
z-index: -2;
|
| 24 |
-
animation: cosmoShift
|
| 25 |
}
|
| 26 |
|
| 27 |
@keyframes cosmoShift {
|
| 28 |
-
0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.
|
| 29 |
-
50% { transform: scale(1.
|
| 30 |
}
|
| 31 |
|
| 32 |
#cosmo-canvas {
|
|
@@ -37,6 +37,7 @@ body {
|
|
| 37 |
height: 100%;
|
| 38 |
z-index: -1;
|
| 39 |
pointer-events: none;
|
|
|
|
| 40 |
}
|
| 41 |
|
| 42 |
.container {
|
|
@@ -49,59 +50,62 @@ body {
|
|
| 49 |
|
| 50 |
header {
|
| 51 |
text-align: center;
|
| 52 |
-
padding:
|
| 53 |
}
|
| 54 |
|
| 55 |
.cosmo-title {
|
| 56 |
-
font-size:
|
| 57 |
font-weight: 900;
|
| 58 |
text-transform: uppercase;
|
| 59 |
-
background: linear-gradient(135deg, #00ffcc, #ff007a, #fff, #00ffcc
|
| 60 |
-
background-size:
|
| 61 |
-webkit-background-clip: text;
|
| 62 |
-webkit-text-fill-color: transparent;
|
| 63 |
-
filter:
|
| 64 |
-
animation: cosmoGlow
|
| 65 |
}
|
| 66 |
|
| 67 |
@keyframes cosmoGlow {
|
| 68 |
-
0%, 100% { transform: translateZ(0) scale(1);
|
| 69 |
-
50% { transform: translateZ(
|
| 70 |
}
|
| 71 |
|
| 72 |
@keyframes cosmoFlow {
|
| 73 |
0% { background-position: 0%; }
|
| 74 |
-
100% { background-position:
|
| 75 |
}
|
| 76 |
|
| 77 |
.subtitle {
|
| 78 |
font-size: 2.5rem;
|
| 79 |
-
opacity: 0.
|
| 80 |
margin-top: 2rem;
|
| 81 |
-
|
|
|
|
|
|
|
|
|
|
| 82 |
animation: fadeIn 4s ease-in-out;
|
| 83 |
}
|
| 84 |
|
| 85 |
@keyframes fadeIn {
|
| 86 |
-
0% { opacity: 0; transform: translateY(
|
| 87 |
-
100% { opacity: 0.
|
| 88 |
}
|
| 89 |
|
| 90 |
.hero {
|
| 91 |
display: flex;
|
| 92 |
align-items: center;
|
| 93 |
justify-content: space-between;
|
| 94 |
-
padding:
|
| 95 |
flex-wrap: wrap;
|
| 96 |
-
gap:
|
| 97 |
}
|
| 98 |
|
| 99 |
.cosmo-product {
|
| 100 |
width: 50%;
|
| 101 |
-
height:
|
| 102 |
position: relative;
|
| 103 |
transform-style: preserve-3d;
|
| 104 |
-
transition: transform 0.
|
| 105 |
}
|
| 106 |
|
| 107 |
.holo-layer {
|
|
@@ -112,24 +116,30 @@ header {
|
|
| 112 |
|
| 113 |
.layer-1 {
|
| 114 |
background: url('cream.png') no-repeat center/contain; /* Замените на реальное изображение */
|
| 115 |
-
filter: drop-shadow(0 0
|
| 116 |
-
animation: holoFloat
|
| 117 |
}
|
| 118 |
|
| 119 |
.layer-2 {
|
| 120 |
-
background: radial-gradient(circle, rgba(0, 255, 204, 0.
|
| 121 |
-
filter: blur(
|
| 122 |
-
animation: holoPulse
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 123 |
}
|
| 124 |
|
| 125 |
@keyframes holoFloat {
|
| 126 |
-
0%, 100% { transform: translateY(0) rotateZ(
|
| 127 |
-
50% { transform: translateY(-
|
| 128 |
}
|
| 129 |
|
| 130 |
@keyframes holoPulse {
|
| 131 |
-
0%, 100% { opacity: 0.
|
| 132 |
-
50% { opacity: 0.
|
| 133 |
}
|
| 134 |
|
| 135 |
.hero-text {
|
|
@@ -137,74 +147,77 @@ header {
|
|
| 137 |
}
|
| 138 |
|
| 139 |
.hero-text h2 {
|
| 140 |
-
font-size:
|
| 141 |
-
margin-bottom:
|
| 142 |
-
background: linear-gradient(90deg, #
|
| 143 |
-webkit-background-clip: text;
|
| 144 |
-webkit-text-fill-color: transparent;
|
| 145 |
-
text-shadow: 0 0
|
| 146 |
-
animation: textGlow
|
| 147 |
}
|
| 148 |
|
| 149 |
@keyframes textGlow {
|
| 150 |
-
0%, 100% { text-shadow: 0 0
|
| 151 |
-
50% { text-shadow: 0 0
|
| 152 |
}
|
| 153 |
|
| 154 |
.cosmo-button {
|
| 155 |
-
padding:
|
| 156 |
-
font-size: 2rem;
|
| 157 |
border: none;
|
| 158 |
-
background: linear-gradient(
|
| 159 |
-
background-size:
|
| 160 |
color: #000;
|
| 161 |
-
border-radius:
|
| 162 |
cursor: pointer;
|
| 163 |
-
transition: transform 0.
|
| 164 |
-
box-shadow: 0 0
|
| 165 |
-
animation: cosmoButton
|
| 166 |
}
|
| 167 |
|
| 168 |
.cosmo-button:hover {
|
| 169 |
-
transform: scale(1.
|
| 170 |
-
filter: brightness(1.
|
| 171 |
background-position: 100%;
|
| 172 |
}
|
| 173 |
|
| 174 |
@keyframes cosmoButton {
|
| 175 |
-
0%, 100% { box-shadow: 0 0
|
| 176 |
-
50% { box-shadow: 0 0
|
| 177 |
}
|
| 178 |
|
| 179 |
.features {
|
| 180 |
display: flex;
|
| 181 |
justify-content: space-around;
|
| 182 |
-
padding:
|
| 183 |
flex-wrap: wrap;
|
| 184 |
-
gap:
|
| 185 |
}
|
| 186 |
|
| 187 |
.cosmo-pod {
|
| 188 |
width: 30%;
|
| 189 |
-
padding:
|
| 190 |
-
background: rgba(
|
| 191 |
-
border-radius:
|
| 192 |
text-align: center;
|
| 193 |
-
transition: all 0.
|
| 194 |
-
backdrop-filter: blur(
|
| 195 |
-
border: 2px solid rgba(0, 255, 204, 0.
|
| 196 |
transform-style: preserve-3d;
|
| 197 |
}
|
| 198 |
|
| 199 |
.cosmo-pod:hover, .cosmo-pod.active {
|
| 200 |
-
transform: translateY(-
|
| 201 |
-
background: linear-gradient(45deg, rgba(0, 255, 204, 0.
|
| 202 |
-
box-shadow: 0 0
|
| 203 |
}
|
| 204 |
|
| 205 |
.cosmo-pod h3 {
|
| 206 |
-
font-size: 2rem;
|
| 207 |
-
margin-bottom:
|
|
|
|
|
|
|
|
|
|
| 208 |
}
|
| 209 |
|
| 210 |
/* Адаптация для мобильных */
|
|
@@ -220,7 +233,7 @@ header {
|
|
| 220 |
.hero {
|
| 221 |
flex-direction: column;
|
| 222 |
text-align: center;
|
| 223 |
-
padding:
|
| 224 |
}
|
| 225 |
|
| 226 |
.cosmo-product {
|
|
@@ -237,12 +250,12 @@ header {
|
|
| 237 |
}
|
| 238 |
|
| 239 |
.cosmo-button {
|
| 240 |
-
padding: 1.
|
| 241 |
-
font-size: 1.
|
| 242 |
}
|
| 243 |
|
| 244 |
.features {
|
| 245 |
-
padding:
|
| 246 |
}
|
| 247 |
|
| 248 |
.cosmo-pod {
|
|
|
|
| 8 |
font-family: 'Arial', sans-serif;
|
| 9 |
background: #000;
|
| 10 |
color: #fff;
|
| 11 |
+
overflow-x: hidden;
|
| 12 |
position: relative;
|
| 13 |
+
min-height: 100vh;
|
| 14 |
}
|
| 15 |
|
| 16 |
.cosmo-bg {
|
|
|
|
| 19 |
left: 0;
|
| 20 |
width: 100%;
|
| 21 |
height: 100%;
|
| 22 |
+
background: linear-gradient(135deg, rgba(0, 255, 204, 0.15), rgba(255, 0, 122, 0.15), #000 80%);
|
| 23 |
z-index: -2;
|
| 24 |
+
animation: cosmoShift 25s infinite ease-in-out;
|
| 25 |
}
|
| 26 |
|
| 27 |
@keyframes cosmoShift {
|
| 28 |
+
0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
|
| 29 |
+
50% { transform: scale(1.2) rotate(10deg); opacity: 1; }
|
| 30 |
}
|
| 31 |
|
| 32 |
#cosmo-canvas {
|
|
|
|
| 37 |
height: 100%;
|
| 38 |
z-index: -1;
|
| 39 |
pointer-events: none;
|
| 40 |
+
mix-blend-mode: screen; /* Улучшает сочетание с фоном */
|
| 41 |
}
|
| 42 |
|
| 43 |
.container {
|
|
|
|
| 50 |
|
| 51 |
header {
|
| 52 |
text-align: center;
|
| 53 |
+
padding: 8rem 0;
|
| 54 |
}
|
| 55 |
|
| 56 |
.cosmo-title {
|
| 57 |
+
font-size: 9rem;
|
| 58 |
font-weight: 900;
|
| 59 |
text-transform: uppercase;
|
| 60 |
+
background: linear-gradient(135deg, #00ffcc, #ff007a, #fff, #00ffcc);
|
| 61 |
+
background-size: 200%;
|
| 62 |
-webkit-background-clip: text;
|
| 63 |
-webkit-text-fill-color: transparent;
|
| 64 |
+
filter: drop-shadow(0 0 50px rgba(0, 255, 204, 0.9));
|
| 65 |
+
animation: cosmoGlow 5s infinite, cosmoFlow 12s infinite;
|
| 66 |
}
|
| 67 |
|
| 68 |
@keyframes cosmoGlow {
|
| 69 |
+
0%, 100% { transform: translateZ(0) scale(1); }
|
| 70 |
+
50% { transform: translateZ(200px) scale(1.1); }
|
| 71 |
}
|
| 72 |
|
| 73 |
@keyframes cosmoFlow {
|
| 74 |
0% { background-position: 0%; }
|
| 75 |
+
100% { background-position: 200%; }
|
| 76 |
}
|
| 77 |
|
| 78 |
.subtitle {
|
| 79 |
font-size: 2.5rem;
|
| 80 |
+
opacity: 0.9;
|
| 81 |
margin-top: 2rem;
|
| 82 |
+
background: linear-gradient(90deg, #00ffcc, #ff007a);
|
| 83 |
+
-webkit-background-clip: text;
|
| 84 |
+
-webkit-text-fill-color: transparent;
|
| 85 |
+
text-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
|
| 86 |
animation: fadeIn 4s ease-in-out;
|
| 87 |
}
|
| 88 |
|
| 89 |
@keyframes fadeIn {
|
| 90 |
+
0% { opacity: 0; transform: translateY(30px); }
|
| 91 |
+
100% { opacity: 0.9; transform: translateY(0); }
|
| 92 |
}
|
| 93 |
|
| 94 |
.hero {
|
| 95 |
display: flex;
|
| 96 |
align-items: center;
|
| 97 |
justify-content: space-between;
|
| 98 |
+
padding: 5rem 0;
|
| 99 |
flex-wrap: wrap;
|
| 100 |
+
gap: 6rem;
|
| 101 |
}
|
| 102 |
|
| 103 |
.cosmo-product {
|
| 104 |
width: 50%;
|
| 105 |
+
height: 45rem;
|
| 106 |
position: relative;
|
| 107 |
transform-style: preserve-3d;
|
| 108 |
+
transition: transform 0.8s ease;
|
| 109 |
}
|
| 110 |
|
| 111 |
.holo-layer {
|
|
|
|
| 116 |
|
| 117 |
.layer-1 {
|
| 118 |
background: url('cream.png') no-repeat center/contain; /* Замените на реальное изображение */
|
| 119 |
+
filter: drop-shadow(0 0 70px rgba(0, 255, 204, 1)) brightness(1.4);
|
| 120 |
+
animation: holoFloat 12s infinite ease-in-out;
|
| 121 |
}
|
| 122 |
|
| 123 |
.layer-2 {
|
| 124 |
+
background: radial-gradient(circle, rgba(0, 255, 204, 0.6), transparent 70%);
|
| 125 |
+
filter: blur(25px);
|
| 126 |
+
animation: holoPulse 6s infinite ease-in-out;
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
+
.layer-3 {
|
| 130 |
+
background: radial-gradient(circle, rgba(255, 0, 122, 0.4), transparent 70%);
|
| 131 |
+
filter: blur(15px);
|
| 132 |
+
animation: holoPulse 8s infinite ease-in-out reverse;
|
| 133 |
}
|
| 134 |
|
| 135 |
@keyframes holoFloat {
|
| 136 |
+
0%, 100% { transform: translateY(0) rotateZ(5deg) translateZ(0); }
|
| 137 |
+
50% { transform: translateY(-50px) rotateZ(-5deg) translateZ(150px); }
|
| 138 |
}
|
| 139 |
|
| 140 |
@keyframes holoPulse {
|
| 141 |
+
0%, 100% { opacity: 0.6; transform: scale(1); }
|
| 142 |
+
50% { opacity: 0.9; transform: scale(1.15); }
|
| 143 |
}
|
| 144 |
|
| 145 |
.hero-text {
|
|
|
|
| 147 |
}
|
| 148 |
|
| 149 |
.hero-text h2 {
|
| 150 |
+
font-size: 4.5rem;
|
| 151 |
+
margin-bottom: 3rem;
|
| 152 |
+
background: linear-gradient(90deg, #00ffcc, #ff007a, #fff);
|
| 153 |
-webkit-background-clip: text;
|
| 154 |
-webkit-text-fill-color: transparent;
|
| 155 |
+
text-shadow: 0 0 30px rgba(0, 255, 204, 1);
|
| 156 |
+
animation: textGlow 4s infinite;
|
| 157 |
}
|
| 158 |
|
| 159 |
@keyframes textGlow {
|
| 160 |
+
0%, 100% { text-shadow: 0 0 30px rgba(0, 255, 204, 1); }
|
| 161 |
+
50% { text-shadow: 0 0 40px rgba(255, 0, 122, 1); }
|
| 162 |
}
|
| 163 |
|
| 164 |
.cosmo-button {
|
| 165 |
+
padding: 2rem 6rem;
|
| 166 |
+
font-size: 2.2rem;
|
| 167 |
border: none;
|
| 168 |
+
background: linear-gradient(45deg, #00ffcc, #ff007a, #fff, #00ffcc);
|
| 169 |
+
background-size: 300%;
|
| 170 |
color: #000;
|
| 171 |
+
border-radius: 200px;
|
| 172 |
cursor: pointer;
|
| 173 |
+
transition: transform 0.6s, filter 0.6s, background-position 0.6s;
|
| 174 |
+
box-shadow: 0 0 50px rgba(0, 255, 204, 1);
|
| 175 |
+
animation: cosmoButton 5s infinite;
|
| 176 |
}
|
| 177 |
|
| 178 |
.cosmo-button:hover {
|
| 179 |
+
transform: scale(1.3) translateZ(70px);
|
| 180 |
+
filter: brightness(1.6);
|
| 181 |
background-position: 100%;
|
| 182 |
}
|
| 183 |
|
| 184 |
@keyframes cosmoButton {
|
| 185 |
+
0%, 100% { box-shadow: 0 0 50px rgba(0, 255, 204, 1); }
|
| 186 |
+
50% { box-shadow: 0 0 70px rgba(255, 0, 122, 1); }
|
| 187 |
}
|
| 188 |
|
| 189 |
.features {
|
| 190 |
display: flex;
|
| 191 |
justify-content: space-around;
|
| 192 |
+
padding: 8rem 0;
|
| 193 |
flex-wrap: wrap;
|
| 194 |
+
gap: 5rem;
|
| 195 |
}
|
| 196 |
|
| 197 |
.cosmo-pod {
|
| 198 |
width: 30%;
|
| 199 |
+
padding: 3.5rem;
|
| 200 |
+
background: linear-gradient(135deg, rgba(0, 255, 204, 0.05), rgba(255, 0, 122, 0.05));
|
| 201 |
+
border-radius: 35px;
|
| 202 |
text-align: center;
|
| 203 |
+
transition: all 0.8s ease;
|
| 204 |
+
backdrop-filter: blur(25px);
|
| 205 |
+
border: 2px solid rgba(0, 255, 204, 0.5);
|
| 206 |
transform-style: preserve-3d;
|
| 207 |
}
|
| 208 |
|
| 209 |
.cosmo-pod:hover, .cosmo-pod.active {
|
| 210 |
+
transform: translateY(-40px) scale(1.25) translateZ(40px);
|
| 211 |
+
background: linear-gradient(45deg, rgba(0, 255, 204, 0.3), rgba(255, 0, 122, 0.3));
|
| 212 |
+
box-shadow: 0 0 60px rgba(0, 255, 204, 1);
|
| 213 |
}
|
| 214 |
|
| 215 |
.cosmo-pod h3 {
|
| 216 |
+
font-size: 2.2rem;
|
| 217 |
+
margin-bottom: 1.5rem;
|
| 218 |
+
background: linear-gradient(90deg, #00ffcc, #ff007a);
|
| 219 |
+
-webkit-background-clip: text;
|
| 220 |
+
-webkit-text-fill-color: transparent;
|
| 221 |
}
|
| 222 |
|
| 223 |
/* Адаптация для мобильных */
|
|
|
|
| 233 |
.hero {
|
| 234 |
flex-direction: column;
|
| 235 |
text-align: center;
|
| 236 |
+
padding: 3rem 0;
|
| 237 |
}
|
| 238 |
|
| 239 |
.cosmo-product {
|
|
|
|
| 250 |
}
|
| 251 |
|
| 252 |
.cosmo-button {
|
| 253 |
+
padding: 1.5rem 4rem;
|
| 254 |
+
font-size: 1.8rem;
|
| 255 |
}
|
| 256 |
|
| 257 |
.features {
|
| 258 |
+
padding: 5rem 0;
|
| 259 |
}
|
| 260 |
|
| 261 |
.cosmo-pod {
|