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