ProjectGenesis commited on
Commit
b208be6
·
verified ·
1 Parent(s): a9654a1

Change game thumbnail hover animation

Browse files
Files changed (1) hide show
  1. style.css +31 -13
style.css CHANGED
@@ -144,26 +144,44 @@ h1, h2, h3, .countdown-timer {
144
  }
145
  /* Hover Effects */
146
  .game-thumbnail:hover {
147
- transform: translateY(-5px) scale(1.05);
148
  border-color: rgba(15, 240, 252, 0.8);
149
- box-shadow: 0 10px 30px rgba(15, 240, 252, 0.3);
150
- background: rgba(30, 30, 30, 0.8);
151
- animation: thumbnailPulse 2s infinite ease-in-out;
152
- filter: blur(0.5px) brightness(1.1);
 
 
 
 
153
  }
154
 
155
  .game-thumbnail:hover::after {
156
- background: radial-gradient(circle at center, transparent 30%, rgba(15, 240, 252, 0.3) 100%);
 
157
  }
158
 
159
- @keyframes thumbnailPulse {
160
- 0%, 100% {
161
- transform: translateY(-5px) scale(1.05);
162
- filter: blur(0.5px) brightness(1.1);
163
  }
164
- 50% {
165
- transform: translateY(-5px) scale(1.08);
166
- filter: blur(0.8px) brightness(1.2);
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  }
168
  }
169
  /* Carousel Animation */
 
144
  }
145
  /* Hover Effects */
146
  .game-thumbnail:hover {
147
+ transform: perspective(500px) translateY(-10px) rotateX(10deg) scale(1.1);
148
  border-color: rgba(15, 240, 252, 0.8);
149
+ box-shadow:
150
+ 0 15px 40px rgba(15, 240, 252, 0.4),
151
+ 0 0 0 2px rgba(255, 0, 255, 0.5);
152
+ background: rgba(30, 30, 30, 0.9);
153
+ animation: hologramGlow 2s infinite alternate;
154
+ filter: brightness(1.2);
155
+ z-index: 10;
156
+ transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
157
  }
158
 
159
  .game-thumbnail:hover::after {
160
+ background: radial-gradient(circle at center, transparent 20%, rgba(15, 240, 252, 0.4) 100%);
161
+ animation: ripple 1.5s infinite ease-out;
162
  }
163
 
164
+ @keyframes ripple {
165
+ 0% {
166
+ transform: scale(0.8);
167
+ opacity: 0.7;
168
  }
169
+ 100% {
170
+ transform: scale(1.5);
171
+ opacity: 0;
172
+ }
173
+ }
174
+
175
+ @keyframes hologramGlow {
176
+ 0% {
177
+ box-shadow:
178
+ 0 15px 40px rgba(15, 240, 252, 0.4),
179
+ 0 0 0 2px rgba(255, 0, 255, 0.5);
180
+ }
181
+ 100% {
182
+ box-shadow:
183
+ 0 20px 50px rgba(15, 240, 252, 0.6),
184
+ 0 0 0 3px rgba(255, 0, 255, 0.7);
185
  }
186
  }
187
  /* Carousel Animation */