DiamondVi's picture
Initial DeepSite commit
3714240 verified
/* Custom Animations */
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
}
@keyframes shake {
0%, 100% { transform: translateX(0); }
25% { transform: translateX(-5px) rotate(-5deg); }
75% { transform: translateX(5px) rotate(5deg); }
}
@keyframes pulse-glow {
0%, 100% { box-shadow: 0 0 20px rgba(251, 191, 36, 0.5); }
50% { box-shadow: 0 0 40px rgba(251, 191, 36, 0.8), 0 0 60px rgba(251, 191, 36, 0.4); }
}
@keyframes rainbow {
0% { filter: hue-rotate(0deg); }
100% { filter: hue-rotate(360deg); }
}
@keyframes particle-float {
0% { transform: translate(0, 0) scale(1); opacity: 1; }
100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}
@keyframes bounce-in {
0% { transform: scale(0.3); opacity: 0; }
50% { transform: scale(1.05); }
70% { transform: scale(0.9); }
100% { transform: scale(1); opacity: 1; }
}
@keyframes glitch {
0%, 100% { transform: translate(0); }
20% { transform: translate(-2px, 2px); }
40% { transform: translate(-2px, -2px); }
60% { transform: translate(2px, 2px); }
80% { transform: translate(2px, -2px); }
}
@keyframes orbit {
0% { transform: rotate(0deg) translateX(120px) rotate(0deg); }
100% { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}
/* Skin Styles */
.cookie-skin-default {
background: linear-gradient(135deg, #d97706 0%, #b45309 50%, #92400e 100%);
}
.cookie-skin-chocolate {
background: linear-gradient(135deg, #451a03 0%, #78350f 50%, #451a03 100%);
border-color: #271c19;
}
.cookie-skin-golden {
background: linear-gradient(135deg, #eab308 0%, #ca8a04 50%, #a16207 100%);
box-shadow: 0 0 30px rgba(234, 179, 8, 0.6);
animation: pulse-glow 2s infinite;
}
.cookie-skin-galaxy {
background: linear-gradient(135deg, #9333ea 0%, #c084fc 25%, #818cf8 50%, #c084fc 75%, #9333ea 100%);
background-size: 200% 200%;
animation: gradient-shift 3s ease infinite;
}
.cookie-skin-radioactive {
background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
box-shadow: 0 0 30px rgba(34, 197, 94, 0.6);
animation: pulse 1s infinite;
}
.cookie-skin-cosmic {
background: linear-gradient(90deg, #ec4899, #8b5cf6, #06b6d4, #8b5cf6, #ec4899);
background-size: 300% 100%;
animation: rainbow 3s linear infinite;
box-shadow: 0 0 40px rgba(139, 92, 246, 0.8);
}
.cookie-skin-void {
background: radial-gradient(circle at 30% 30%, #374151 0%, #000000 50%, #000000 100%);
border-color: #1f2937;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(75, 85, 99, 0.5);
}
@keyframes gradient-shift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* Utility Classes */
.animate-float {
animation: float 3s ease-in-out infinite;
}
.animate-shake {
animation: shake 0.5s ease-in-out;
}
.animate-bounce-in {
animation: bounce-in 0.6s ease-out;
}
.animate-glitch {
animation: glitch 0.3s infinite;
}
.particle {
position: absolute;
width: 8px;
height: 8px;
border-radius: 50%;
pointer-events: none;
animation: particle-float 1s ease-out forwards;
}
.floating-text {
position: absolute;
font-weight: 900;
pointer-events: none;
animation: float-up 1s ease-out forwards;
text-shadow: 0 2px 4px rgba(0,0,0,0.5);
z-index: 50;
}
@keyframes float-up {
0% { transform: translateY(0) scale(1); opacity: 1; }
100% { transform: translateY(-100px) scale(1.5); opacity: 0; }
}
/* Touch optimization */
.touch-manipulation {
touch-action: manipulation;
-webkit-touch-callout: none;
-webkit-user-select: none;
user-select: none;
}
/* Orbit animation for indicator */
.orbit-indicator {
animation: orbit 2s linear infinite;
}
/* Country leaderboard styles */
.leaderboard-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.5rem;
background: rgba(0,0,0,0.3);
border-radius: 0.5rem;
border: 1px solid rgba(251, 191, 36, 0.2);
}
.leaderboard-item.current-player {
border-color: rgba(251, 191, 36, 0.8);
background: rgba(251, 191, 36, 0.1);
}
/* Custom scrollbar */
.overflow-y-auto::-webkit-scrollbar {
width: 4px;
}
.overflow-y-auto::-webkit-scrollbar-track {
background: rgba(0,0,0,0.2);
}
.overflow-y-auto::-webkit-scrollbar-thumb {
background: rgba(251, 191, 36, 0.5);
border-radius: 2px;
}
/* Timing glow effects */
.timing-perfect {
box-shadow: 0 0 30px rgba(74, 222, 128, 0.8) !important;
}
.timing-great {
box-shadow: 0 0 20px rgba(96, 165, 250, 0.6) !important;
}
.timing-good {
box-shadow: 0 0 15px rgba(251, 191, 36, 0.5) !important;
}