/* GalaxyJS - Animation Styles */

/* 1. Pulsar Effect */
.pulsar-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulsar-core {
    width: 20px;
    height: 20px;
    background: var(--text-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--glow-white);
    animation: pulsar-core 2s ease-in-out infinite;
}

.pulsar-waves {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 1px solid var(--text-primary);
    border-radius: 50%;
    animation: pulsar-waves 2s ease-in-out infinite;
}

.pulsar-waves::before,
.pulsar-waves::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--text-primary);
    border-radius: 50%;
    animation: pulsar-waves 2s ease-in-out infinite;
}

.pulsar-waves::before {
    animation-delay: 0.5s;
}

.pulsar-waves::after {
    animation-delay: 1s;
}

@keyframes pulsar-core {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 20px var(--glow-white);
    }
    50% { 
        transform: scale(1.5);
        box-shadow: 0 0 40px var(--glow-white);
    }
}

@keyframes pulsar-waves {
    0% {
        width: 20px;
        height: 20px;
        opacity: 1;
    }
    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
    }
}

/* 2. Black Hole */
.black-hole-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-horizon {
    width: 60px;
    height: 60px;
    background: var(--primary-black);
    border-radius: 50%;
    box-shadow: 0 0 30px var(--primary-black);
    animation: event-horizon 3s ease-in-out infinite;
}

.accretion-disk {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid var(--text-primary);
    border-radius: 50%;
    animation: accretion-disk 3s linear infinite;
}

.accretion-disk::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--text-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--glow-white);
}

@keyframes event-horizon {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 30px var(--primary-black);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 0 50px var(--primary-black);
    }
}

@keyframes accretion-disk {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 3. Wormhole */
.wormhole-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.wormhole-tunnel {
    width: 80px;
    height: 80px;
    border: 2px solid var(--text-primary);
    border-radius: 50%;
    animation: wormhole-tunnel 4s linear infinite;
    transform-style: preserve-3d;
}

.wormhole-stars {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: wormhole-stars 4s linear infinite;
}

.wormhole-stars::before,
.wormhole-stars::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 50%;
    animation: star-travel 4s linear infinite;
}

.wormhole-stars::before {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.wormhole-stars::after {
    top: 70%;
    left: 60%;
    animation-delay: 2s;
}

@keyframes wormhole-tunnel {
    0% { 
        transform: rotateX(0deg) rotateY(0deg);
        border-radius: 50%;
    }
    50% { 
        transform: rotateX(180deg) rotateY(180deg);
        border-radius: 0%;
    }
    100% { 
        transform: rotateX(360deg) rotateY(360deg);
        border-radius: 50%;
    }
}

@keyframes star-travel {
    0% {
        transform: translateZ(0px) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateZ(100px) scale(0.5);
        opacity: 0.5;
    }
    100% {
        transform: translateZ(200px) scale(0);
        opacity: 0;
    }
}

/* 4. Supernova */
.supernova-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.supernova-core {
    width: 30px;
    height: 30px;
    background: var(--text-primary);
    border-radius: 50%;
    box-shadow: 0 0 30px var(--glow-white);
    animation: supernova-core 3s ease-out infinite;
}

.supernova-shockwave {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid var(--text-primary);
    border-radius: 50%;
    animation: supernova-shockwave 3s ease-out infinite;
}

.supernova-shockwave::before,
.supernova-shockwave::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--text-primary);
    border-radius: 50%;
    animation: supernova-shockwave 3s ease-out infinite;
}

.supernova-shockwave::before {
    animation-delay: 0.5s;
}

.supernova-shockwave::after {
    animation-delay: 1s;
}

@keyframes supernova-core {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 30px var(--glow-white);
    }
    50% { 
        transform: scale(2);
        box-shadow: 0 0 60px var(--glow-white);
    }
    100% { 
        transform: scale(0);
        box-shadow: 0 0 0px var(--glow-white);
    }
}

@keyframes supernova-shockwave {
    0% {
        width: 30px;
        height: 30px;
        opacity: 1;
    }
    100% {
        width: 150px;
        height: 150px;
        opacity: 0;
    }
}

/* 5. Asteroid Field */
.asteroid-field {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.asteroid {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: asteroid-move 4s linear infinite;
}

.asteroid-1 {
    animation-delay: 0s;
    animation-duration: 3s;
}

.asteroid-2 {
    animation-delay: 1s;
    animation-duration: 4s;
}

.asteroid-3 {
    animation-delay: 2s;
    animation-duration: 5s;
}

.asteroid-4 {
    animation-delay: 3s;
    animation-duration: 6s;
}

@keyframes asteroid-move {
    0% {
        transform: translate(-50px, -50px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(50px, 50px) rotate(360deg);
        opacity: 0;
    }
}

/* 6. Cosmic Ray */
.cosmic-ray-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ray-particle {
    width: 2px;
    height: 20px;
    background: var(--text-primary);
    box-shadow: 0 0 10px var(--glow-white);
    animation: ray-particle 2s ease-in-out infinite;
}

.ray-trail {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, var(--glow-white) 50%, transparent 70%);
    animation: ray-trail 2s ease-in-out infinite;
}

@keyframes ray-particle {
    0% {
        transform: translateY(-50px) scaleY(1);
        opacity: 0;
    }
    50% {
        transform: translateY(0) scaleY(2);
        opacity: 1;
    }
    100% {
        transform: translateY(50px) scaleY(1);
        opacity: 0;
    }
}

@keyframes ray-trail {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

/* 7. Dwarf Planet */
.dwarf-planet-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dwarf-planet {
    width: 40px;
    height: 40px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: dwarf-planet-rotate 8s linear infinite;
}

.planet-rings {
    position: absolute;
    width: 60px;
    height: 20px;
    border: 1px solid var(--text-primary);
    border-radius: 50%;
    transform: rotateX(75deg);
    animation: planet-rings 8s linear infinite;
}

@keyframes dwarf-planet-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes planet-rings {
    0% { transform: rotateX(75deg) rotateY(0deg); }
    100% { transform: rotateX(75deg) rotateY(360deg); }
}

/* 8. Nebula */
.nebula-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nebula-cloud {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--glow-white) 0%, transparent 70%);
    border-radius: 50%;
    animation: nebula-cloud 6s ease-in-out infinite;
}

.nebula-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: nebula-particles 6s ease-in-out infinite;
}

.nebula-particles::before,
.nebula-particles::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 50%;
    animation: particle-drift 6s ease-in-out infinite;
}

.nebula-particles::before {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.nebula-particles::after {
    top: 70%;
    left: 60%;
    animation-delay: 3s;
}

@keyframes nebula-cloud {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.6;
    }
}

@keyframes particle-drift {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    50% {
        transform: translate(20px, -20px);
        opacity: 1;
    }
    100% {
        transform: translate(40px, -40px);
        opacity: 0;
    }
}

/* 9. Binary Stars */
.binary-stars-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.star {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--text-primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--glow-white);
}

.star-1 {
    animation: binary-star-1 6s linear infinite;
}

.star-2 {
    animation: binary-star-2 6s linear infinite;
}

.orbit-path {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    opacity: 0.3;
}

@keyframes binary-star-1 {
    0% { transform: translate(-30px, 0) scale(1); }
    50% { transform: translate(30px, 0) scale(1.2); }
    100% { transform: translate(-30px, 0) scale(1); }
}

@keyframes binary-star-2 {
    0% { transform: translate(30px, 0) scale(1.2); }
    50% { transform: translate(-30px, 0) scale(1); }
    100% { transform: translate(30px, 0) scale(1.2); }
}

/* 10. Cosmic Dust */
.cosmic-dust-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dust-particle {
    position: absolute;
    width: 1px;
    height: 1px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: dust-float 8s ease-in-out infinite;
}

.dust-1 {
    animation-delay: 0s;
    animation-duration: 6s;
}

.dust-2 {
    animation-delay: 2s;
    animation-duration: 8s;
}

.dust-3 {
    animation-delay: 4s;
    animation-duration: 7s;
}

.dust-4 {
    animation-delay: 6s;
    animation-duration: 9s;
}

@keyframes dust-float {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }
    25% {
        transform: translate(20px, -30px) scale(1);
        opacity: 1;
    }
    75% {
        transform: translate(-20px, 30px) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }
}

/* 11. Time Dilation */
.time-dilation-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-clock {
    width: 60px;
    height: 60px;
    border: 2px solid var(--text-primary);
    border-radius: 50%;
    position: relative;
    animation: time-clock 4s ease-in-out infinite;
}

.time-clock::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 20px;
    background: var(--text-primary);
    transform-origin: bottom;
    animation: clock-hand 4s ease-in-out infinite;
}

.time-warp {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--text-primary);
    border-radius: 50%;
    animation: time-warp 4s ease-in-out infinite;
}

@keyframes time-clock {
    0%, 100% { 
        transform: scale(1);
        border-color: var(--text-primary);
    }
    50% { 
        transform: scale(1.3);
        border-color: var(--glow-white);
    }
}

@keyframes clock-hand {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes time-warp {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

/* 12. Quantum Tunneling */
.quantum-tunneling-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantum-particle {
    width: 4px;
    height: 4px;
    background: var(--text-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--glow-white);
    animation: quantum-tunnel 3s ease-in-out infinite;
}

.energy-barrier {
    position: absolute;
    width: 80px;
    height: 20px;
    border: 1px solid var(--text-secondary);
    border-radius: 10px;
    animation: energy-barrier 3s ease-in-out infinite;
}

@keyframes quantum-tunnel {
    0% {
        transform: translateX(-40px);
        opacity: 1;
    }
    40% {
        transform: translateX(-10px);
        opacity: 0.3;
    }
    60% {
        transform: translateX(10px);
        opacity: 0.3;
    }
    100% {
        transform: translateX(40px);
        opacity: 1;
    }
}

@keyframes energy-barrier {
    0%, 100% { 
        opacity: 0.5;
        border-color: var(--text-secondary);
    }
    50% { 
        opacity: 1;
        border-color: var(--text-primary);
    }
}

/* 13. Cosmic Microwave Background */
.cmb-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cmb-pattern {
    width: 80px;
    height: 80px;
    background: 
        radial-gradient(circle at 20% 20%, var(--text-muted) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, var(--text-secondary) 1px, transparent 1px),
        radial-gradient(circle at 40% 60%, var(--text-muted) 1px, transparent 1px);
    background-size: 20px 20px, 15px 15px, 25px 25px;
    border-radius: 50%;
    animation: cmb-pattern 10s linear infinite;
}

.cmb-noise {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, var(--glow-white) 0.5px, transparent 0.5px),
        radial-gradient(circle at 70% 30%, var(--glow-white) 0.5px, transparent 0.5px);
    background-size: 10px 10px;
    animation: cmb-noise 5s ease-in-out infinite;
}

@keyframes cmb-pattern {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes cmb-noise {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

/* 14. Gravitational Waves */
.gravitational-waves-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wave-ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid var(--text-primary);
    border-radius: 50%;
    animation: wave-ripple 3s ease-out infinite;
}

.wave-1 {
    animation-delay: 0s;
}

.wave-2 {
    animation-delay: 1s;
}

.wave-3 {
    animation-delay: 2s;
}

@keyframes wave-ripple {
    0% {
        width: 20px;
        height: 20px;
        opacity: 1;
    }
    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
    }
}

/* 15. Dark Matter */
.dark-matter-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-matter-field {
    width: 80px;
    height: 80px;
    background: var(--primary-black);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary-black);
    animation: dark-matter-field 4s ease-in-out infinite;
}

.visible-matter {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid var(--text-primary);
    border-radius: 50%;
    animation: visible-matter 4s ease-in-out infinite;
}

@keyframes dark-matter-field {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 20px var(--primary-black);
    }
    50% { 
        transform: scale(1.2);
        box-shadow: 0 0 40px var(--primary-black);
    }
}

@keyframes visible-matter {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: scale(0.8);
        opacity: 1;
    }
}

/* 16. Solar Wind */
.solar-wind-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solar-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: solar-particles 3s linear infinite;
}

.solar-particles::before,
.solar-particles::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 50%;
    animation: particle-stream 3s linear infinite;
}

.solar-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.solar-particles::after {
    top: 60%;
    left: 20%;
    animation-delay: 1.5s;
}

.magnetic-field {
    width: 60px;
    height: 60px;
    border: 1px solid var(--text-secondary);
    border-radius: 50%;
    animation: magnetic-field 3s ease-in-out infinite;
}

@keyframes particle-stream {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(50px);
        opacity: 0;
    }
}

@keyframes magnetic-field {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* 17. Cosmic Strings */
.cosmic-strings-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.string {
    position: absolute;
    width: 1px;
    height: 60px;
    background: var(--text-primary);
    animation: string-vibrate 2s ease-in-out infinite;
}

.string-1 {
    transform: rotate(0deg);
    animation-delay: 0s;
}

.string-2 {
    transform: rotate(120deg);
    animation-delay: 0.7s;
}

.string-3 {
    transform: rotate(240deg);
    animation-delay: 1.4s;
}

@keyframes string-vibrate {
    0%, 100% { 
        height: 60px;
        opacity: 0.5;
    }
    50% { 
        height: 80px;
        opacity: 1;
    }
}

/* 18. Hawking Radiation */
.hawking-radiation-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.black-hole-mini {
    width: 30px;
    height: 30px;
    background: var(--primary-black);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary-black);
    animation: black-hole-mini 4s ease-in-out infinite;
}

.radiation-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: radiation-particles 4s ease-in-out infinite;
}

.radiation-particles::before,
.radiation-particles::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 50%;
    animation: radiation-emission 4s ease-in-out infinite;
}

.radiation-particles::before {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.radiation-particles::after {
    top: 70%;
    left: 60%;
    animation-delay: 2s;
}

@keyframes black-hole-mini {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 20px var(--primary-black);
    }
    50% { 
        transform: scale(0.8);
        box-shadow: 0 0 10px var(--primary-black);
    }
}

@keyframes radiation-emission {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    50% {
        transform: translate(30px, -30px);
        opacity: 1;
    }
    100% {
        transform: translate(60px, -60px);
        opacity: 0;
    }
}

/* 19. Cosmic Inflation */
.cosmic-inflation-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inflation-field {
    width: 20px;
    height: 20px;
    border: 1px solid var(--text-primary);
    border-radius: 50%;
    animation: inflation-expand 6s ease-out infinite;
}

.space-expansion {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--text-secondary);
    border-radius: 50%;
    animation: space-expansion 6s ease-out infinite;
}

@keyframes inflation-expand {
    0% {
        width: 20px;
        height: 20px;
        opacity: 1;
    }
    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
    }
}

@keyframes space-expansion {
    0% {
        transform: scale(0.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* 20. Multiverse */
.multiverse-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.universe-bubble {
    position: absolute;
    border: 1px solid var(--text-primary);
    border-radius: 50%;
    animation: universe-bubble 8s ease-in-out infinite;
}

.bubble-1 {
    width: 40px;
    height: 40px;
    animation-delay: 0s;
}

.bubble-2 {
    width: 60px;
    height: 60px;
    animation-delay: 2.7s;
}

.bubble-3 {
    width: 80px;
    height: 80px;
    animation-delay: 5.3s;
}

@keyframes universe-bubble {
    0%, 100% {
        transform: scale(0.5);
        opacity: 0.3;
    }
    33% {
        transform: scale(1);
        opacity: 1;
    }
    66% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

/* Hover Effects for Demo Cards */
.demo-card:hover .pulsar-animation,
.demo-card:hover .black-hole-animation,
.demo-card:hover .wormhole-animation,
.demo-card:hover .supernova-animation,
.demo-card:hover .asteroid-field,
.demo-card:hover .cosmic-ray-animation,
.demo-card:hover .dwarf-planet-animation,
.demo-card:hover .nebula-animation,
.demo-card:hover .binary-stars-animation,
.demo-card:hover .cosmic-dust-animation,
.demo-card:hover .time-dilation-animation,
.demo-card:hover .quantum-tunneling-animation,
.demo-card:hover .cmb-animation,
.demo-card:hover .gravitational-waves-animation,
.demo-card:hover .dark-matter-animation,
.demo-card:hover .solar-wind-animation,
.demo-card:hover .cosmic-strings-animation,
.demo-card:hover .hawking-radiation-animation,
.demo-card:hover .cosmic-inflation-animation,
.demo-card:hover .multiverse-animation {
    transform: scale(1.1);
    transition: transform 0.3s ease;
} 

/* 21. Neutron Star */
.neutron-star-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.star-core {
    width: 25px;
    height: 25px;
    background: radial-gradient(circle, #ffffff, #cccccc);
    border-radius: 50%;
    box-shadow: 0 0 15px #ffffff;
    animation: neutron-core 3s ease-in-out infinite;
}

.magnetic-field {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: magnetic-field-rotate 4s linear infinite;
}

.pulsar-beams {
    position: absolute;
    width: 100px;
    height: 100px;
}

.pulsar-beams::before,
.pulsar-beams::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 40px;
    background: linear-gradient(to top, #ffffff, transparent);
    transform: translate(-50%, -50%);
    animation: pulsar-beam 0.5s linear infinite;
}

.pulsar-beams::before {
    animation-delay: 0s;
}

.pulsar-beams::after {
    animation-delay: 0.25s;
}

@keyframes neutron-core {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 15px #ffffff;
    }
    50% { 
        transform: scale(1.3);
        box-shadow: 0 0 25px #ffffff;
    }
}

@keyframes magnetic-field-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulsar-beam {
    0% { 
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 1;
    }
    100% { 
        transform: translate(-50%, -50%) rotate(360deg);
        opacity: 0;
    }
}

/* 22. Quasar */
.quasar-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accretion-disk-intense {
    position: absolute;
    width: 90px;
    height: 90px;
    border: 3px solid #ff6600;
    border-radius: 50%;
    animation: accretion-intense 2s linear infinite;
}

.jet-stream {
    position: absolute;
    width: 4px;
    height: 80px;
    background: linear-gradient(to top, #ff6600, transparent);
    animation: jet-stream 1s ease-out infinite;
}

.energy-bursts {
    position: absolute;
    width: 100px;
    height: 100px;
}

.energy-bursts::before,
.energy-bursts::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #ff6600;
    border-radius: 50%;
    animation: energy-burst 2s ease-out infinite;
}

@keyframes accretion-intense {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes jet-stream {
    0% { 
        transform: scaleY(0);
        opacity: 0;
    }
    50% { 
        transform: scaleY(1);
        opacity: 1;
    }
    100% { 
        transform: scaleY(0);
        opacity: 0;
    }
}

@keyframes energy-burst {
    0% { 
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% { 
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* 23. Dark Energy */
.dark-energy-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.space-fabric {
    position: absolute;
    width: 100px;
    height: 100px;
    background: 
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: space-expand 6s ease-out infinite;
}

.expansion-field {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: expansion-field 4s ease-in-out infinite;
}

.energy-particles {
    position: absolute;
    width: 100px;
    height: 100px;
}

.energy-particles::before,
.energy-particles::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    animation: energy-particle 3s linear infinite;
}

@keyframes space-expand {
    0% { 
        transform: scale(1);
        opacity: 0.3;
    }
    100% { 
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes expansion-field {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.4);
        opacity: 0.6;
    }
}

@keyframes energy-particle {
    0% {
        top: 50%;
        left: 50%;
        opacity: 1;
    }
    100% {
        top: 0;
        left: 0;
        opacity: 0;
    }
}

/* 24. Cosmic Microwave Background */
.cosmic-microwave-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
}

.radiation-pattern {
    width: 80px;
    height: 80px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 70% 70%, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 15px 15px;
    animation: radiation-pattern 8s linear infinite;
}

.temperature-variations {
    position: absolute;
    width: 80px;
    height: 80px;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 2px, transparent 2px);
    background-size: 10px 10px;
    animation: temperature-variations 6s ease-in-out infinite;
}

.background-noise {
    position: absolute;
    width: 80px;
    height: 80px;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 8px 8px;
    animation: background-noise 4s ease-in-out infinite;
}

@keyframes radiation-pattern {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes temperature-variations {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes background-noise {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

/* 25. Gravitational Lensing */
.gravitational-lensing-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lens-mass {
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #ffffff, #cccccc);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: lens-mass 4s ease-in-out infinite;
}

.light-rays {
    position: absolute;
    width: 100px;
    height: 100px;
}

.light-rays::before,
.light-rays::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #ffffff, transparent);
    animation: light-ray-bend 3s ease-in-out infinite;
}

.light-rays::before {
    left: 20px;
    animation-delay: 0s;
}

.light-rays::after {
    right: 20px;
    animation-delay: 1.5s;
}

.distorted-image {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: image-distortion 3s ease-in-out infinite;
}

@keyframes lens-mass {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
    50% { 
        transform: scale(1.2);
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
}

@keyframes light-ray-bend {
    0% { 
        transform: translateY(-30px) rotate(0deg);
        opacity: 1;
    }
    50% { 
        transform: translateY(0px) rotate(15deg);
        opacity: 0.8;
    }
    100% { 
        transform: translateY(30px) rotate(0deg);
        opacity: 1;
    }
}

@keyframes image-distortion {
    0%, 100% { 
        transform: scale(1);
        border-radius: 50%;
    }
    50% { 
        transform: scale(1.3);
        border-radius: 30%;
    }
}

/* 26. Spacetime Curvature */
.spacetime-curvature-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fabric-grid {
    position: absolute;
    width: 100px;
    height: 100px;
    background: 
        linear-gradient(90deg, rgba(255,255,255,0.2) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.2) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: fabric-warp 5s ease-in-out infinite;
}

.mass-object {
    position: absolute;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #ffffff, #cccccc);
    border-radius: 50%;
    animation: mass-gravity 4s ease-in-out infinite;
}

.curvature-waves {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: curvature-wave 3s ease-in-out infinite;
}

@keyframes fabric-warp {
    0%, 100% { 
        transform: scale(1);
        border-radius: 0%;
    }
    50% { 
        transform: scale(1.2);
        border-radius: 20%;
    }
}

@keyframes mass-gravity {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
    50% { 
        transform: scale(1.4);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    }
}

@keyframes curvature-wave {
    0% { 
        transform: scale(0.5);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.6;
    }
    100% { 
        transform: scale(0.5);
        opacity: 0.3;
    }
}

/* 27. Quantum Entanglement */
.quantum-entanglement-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.particle-a {
    position: absolute;
    left: 20px;
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    animation: particle-a-spin 3s linear infinite;
}

.particle-b {
    position: absolute;
    right: 20px;
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    animation: particle-b-spin 3s linear infinite;
}

.entanglement-field {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: entanglement-field 2s ease-in-out infinite;
}

@keyframes particle-a-spin {
    0% { 
        transform: rotate(0deg);
        opacity: 1;
    }
    50% { 
        transform: rotate(180deg);
        opacity: 0.5;
    }
    100% { 
        transform: rotate(360deg);
        opacity: 1;
    }
}

@keyframes particle-b-spin {
    0% { 
        transform: rotate(0deg);
        opacity: 0.5;
    }
    50% { 
        transform: rotate(180deg);
        opacity: 1;
    }
    100% { 
        transform: rotate(360deg);
        opacity: 0.5;
    }
}

@keyframes entanglement-field {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.4;
    }
    50% { 
        transform: scale(1.3);
        opacity: 0.8;
    }
}

/* 28. Cosmic Ray Burst */
.cosmic-ray-burst-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.burst-source {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #ff6600, #ff3300);
    border-radius: 50%;
    animation: burst-source 2s ease-out infinite;
}

.ray-shower {
    position: absolute;
    width: 100px;
    height: 100px;
}

.ray-shower::before,
.ray-shower::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 50px;
    background: linear-gradient(to top, #ffffff, transparent);
    animation: ray-shower 1s ease-out infinite;
}

.ray-shower::before {
    animation-delay: 0s;
}

.ray-shower::after {
    animation-delay: 0.5s;
}

.energy-wave {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 1px solid #ff6600;
    border-radius: 50%;
    animation: energy-wave 2s ease-out infinite;
}

@keyframes burst-source {
    0% { 
        transform: scale(1);
        opacity: 1;
    }
    100% { 
        transform: scale(3);
        opacity: 0;
    }
}

@keyframes ray-shower {
    0% { 
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 1;
    }
    100% { 
        transform: translate(-50%, -50%) rotate(360deg);
        opacity: 0;
    }
}

@keyframes energy-wave {
    0% { 
        transform: scale(0.5);
        opacity: 1;
    }
    100% { 
        transform: scale(2);
        opacity: 0;
    }
}

/* 29. Solar Flare */
.solar-flare-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sun-surface {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #ffff00, #ff6600);
    border-radius: 50%;
    box-shadow: 0 0 20px #ff6600;
    animation: sun-surface 4s ease-in-out infinite;
}

.flare-eruption {
    position: absolute;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #ff6600, transparent);
    border-radius: 50%;
    animation: flare-eruption 3s ease-out infinite;
}

.plasma-arcs {
    position: absolute;
    width: 80px;
    height: 80px;
}

.plasma-arcs::before,
.plasma-arcs::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 40px;
    background: linear-gradient(to top, #ff6600, transparent);
    border-radius: 2px;
    animation: plasma-arc 2s ease-out infinite;
}

@keyframes sun-surface {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 20px #ff6600;
    }
    50% { 
        transform: scale(1.2);
        box-shadow: 0 0 30px #ff6600;
    }
}

@keyframes flare-eruption {
    0% { 
        transform: scale(0.5);
        opacity: 0.8;
    }
    100% { 
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes plasma-arc {
    0% { 
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 1;
    }
    100% { 
        transform: translate(-50%, -50%) rotate(180deg);
        opacity: 0;
    }
}

/* 30. Asteroid Impact */
.asteroid-impact-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.asteroid-body {
    position: absolute;
    width: 15px;
    height: 15px;
    background: #666666;
    border-radius: 50%;
    animation: asteroid-fall 3s ease-in infinite;
}

.impact-crater {
    position: absolute;
    bottom: 20px;
    width: 40px;
    height: 20px;
    background: radial-gradient(ellipse, #333333, transparent);
    border-radius: 50%;
    animation: impact-crater 3s ease-out infinite;
}

.debris-field {
    position: absolute;
    width: 100px;
    height: 100px;
}

.debris-field::before,
.debris-field::after {
    content: '';
    position: absolute;
    bottom: 20px;
    width: 3px;
    height: 3px;
    background: #666666;
    border-radius: 50%;
    animation: debris-scatter 2s ease-out infinite;
}

@keyframes asteroid-fall {
    0% { 
        top: 0;
        transform: rotate(0deg);
    }
    80% { 
        top: 60px;
        transform: rotate(360deg);
    }
    100% { 
        top: 80px;
        transform: rotate(720deg);
    }
}

@keyframes impact-crater {
    0% { 
        transform: scale(0);
        opacity: 0;
    }
    80% { 
        transform: scale(1);
        opacity: 1;
    }
    100% { 
        transform: scale(1.2);
        opacity: 0.5;
    }
}

@keyframes debris-scatter {
    0% { 
        bottom: 20px;
        left: 50%;
        opacity: 1;
    }
    100% { 
        bottom: 60px;
        left: 20px;
        opacity: 0;
    }
} 

/* 31. Spiral Galaxy - Ultra Premium */
.spiral-galaxy-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(0,0,0,0.8) 0%, #000000 100%);
    border-radius: 50%;
    overflow: hidden;
}

.galaxy-core {
    position: absolute;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, 
        #ffffff 0%, 
        #ffff00 20%, 
        #ff6600 40%, 
        #ff3300 60%, 
        #cc0000 80%, 
        #000000 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 20px #ffffff,
        0 0 40px #ffff00,
        0 0 60px #ff6600,
        inset 0 0 20px rgba(255,255,255,0.3);
    animation: galaxy-core-pulse 4s ease-in-out infinite;
    z-index: 10;
}

.spiral-arm {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
        transparent 0deg,
        rgba(255,255,255,0.1) 30deg,
        rgba(255,255,255,0.3) 60deg,
        rgba(255,255,255,0.1) 90deg,
        transparent 120deg,
        rgba(255,255,255,0.1) 150deg,
        rgba(255,255,255,0.3) 180deg,
        rgba(255,255,255,0.1) 210deg,
        transparent 240deg,
        rgba(255,255,255,0.1) 270deg,
        rgba(255,255,255,0.3) 300deg,
        rgba(255,255,255,0.1) 330deg,
        transparent 360deg);
    animation: spiral-rotation 8s linear infinite;
}

.arm-1 { animation-delay: 0s; animation-duration: 8s; }
.arm-2 { animation-delay: -2.7s; animation-duration: 8s; }
.arm-3 { animation-delay: -5.3s; animation-duration: 8s; }

.star-field {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: 
        radial-gradient(1px 1px at 20px 20px, #ffffff, transparent),
        radial-gradient(1px 1px at 40px 60px, #ffffff, transparent),
        radial-gradient(1px 1px at 60px 40px, #ffffff, transparent),
        radial-gradient(1px 1px at 80px 80px, #ffffff, transparent),
        radial-gradient(1px 1px at 30px 70px, #ffffff, transparent),
        radial-gradient(1px 1px at 70px 30px, #ffffff, transparent);
    animation: star-twinkle 3s ease-in-out infinite;
}

.cosmic-dust-clouds {
    position: absolute;
    width: 100px;
    height: 100px;
    background: 
        radial-gradient(ellipse 20px 10px at 30% 40%, rgba(255,255,255,0.1), transparent),
        radial-gradient(ellipse 15px 8px at 70% 60%, rgba(255,255,255,0.08), transparent),
        radial-gradient(ellipse 25px 12px at 50% 20%, rgba(255,255,255,0.06), transparent);
    animation: dust-drift 10s ease-in-out infinite;
}

@keyframes galaxy-core-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 
            0 0 20px #ffffff,
            0 0 40px #ffff00,
            0 0 60px #ff6600,
            inset 0 0 20px rgba(255,255,255,0.3);
    }
    50% { 
        transform: scale(1.3);
        box-shadow: 
            0 0 30px #ffffff,
            0 0 60px #ffff00,
            0 0 90px #ff6600,
            inset 0 0 30px rgba(255,255,255,0.5);
    }
}

@keyframes spiral-rotation {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes star-twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes dust-drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(5px, -3px) rotate(120deg); }
    66% { transform: translate(-3px, 5px) rotate(240deg); }
}

/* 32. Cosmic Vortex - Ultra Premium */
.cosmic-vortex-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #000000 0%, #000000 100%);
    border-radius: 50%;
    overflow: hidden;
}

.vortex-core {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, 
        #ffffff 0%, 
        #00ffff 30%, 
        #0080ff 60%, 
        #0000ff 80%, 
        #000000 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 30px #00ffff,
        0 0 60px #0080ff,
        inset 0 0 20px rgba(0,255,255,0.5);
    animation: vortex-core-spin 2s linear infinite;
    z-index: 10;
}

.energy-rings {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(0,255,255,0.3);
    border-radius: 50%;
    animation: energy-rings-spin 3s linear infinite;
}

.energy-rings::before,
.energy-rings::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(0,255,255,0.2);
    border-radius: 50%;
    animation: energy-rings-spin 3s linear infinite reverse;
}

.particle-streams {
    position: absolute;
    width: 100px;
    height: 100px;
    background: conic-gradient(from 0deg,
        transparent 0deg,
        rgba(0,255,255,0.1) 45deg,
        transparent 90deg,
        rgba(0,255,255,0.1) 135deg,
        transparent 180deg,
        rgba(0,255,255,0.1) 225deg,
        transparent 270deg,
        rgba(0,255,255,0.1) 315deg,
        transparent 360deg);
    animation: particle-streams-spin 1.5s linear infinite;
}

.space-distortion {
    position: absolute;
    width: 100px;
    height: 100px;
    background: 
        radial-gradient(ellipse 50px 30px at 50% 50%, rgba(0,255,255,0.1), transparent),
        radial-gradient(ellipse 30px 50px at 50% 50%, rgba(0,255,255,0.1), transparent);
    animation: space-distortion-warp 4s ease-in-out infinite;
}

.quantum-foam {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: 
        radial-gradient(1px 1px at 10px 10px, rgba(0,255,255,0.3), transparent),
        radial-gradient(1px 1px at 30px 30px, rgba(0,255,255,0.2), transparent),
        radial-gradient(1px 1px at 50px 50px, rgba(0,255,255,0.3), transparent),
        radial-gradient(1px 1px at 70px 70px, rgba(0,255,255,0.2), transparent),
        radial-gradient(1px 1px at 90px 90px, rgba(0,255,255,0.3), transparent);
    animation: quantum-foam-bubble 2s ease-in-out infinite;
}

@keyframes vortex-core-spin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes energy-rings-spin {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1.5); }
}

@keyframes particle-streams-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes space-distortion-warp {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        border-radius: 50%;
    }
    50% { 
        transform: scale(1.3) rotate(180deg);
        border-radius: 30%;
    }
}

@keyframes quantum-foam-bubble {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

/* 33. Stellar Nursery - Ultra Premium */
.stellar-nursery-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, 
        rgba(255,0,255,0.1) 0%, 
        rgba(255,0,128,0.05) 50%, 
        #000000 100%);
    border-radius: 50%;
    overflow: hidden;
}

.nebula-cloud {
    position: absolute;
    width: 100px;
    height: 100px;
    background: 
        radial-gradient(ellipse 40px 60px at 30% 40%, rgba(255,0,255,0.3), transparent),
        radial-gradient(ellipse 50px 30px at 70% 60%, rgba(255,0,128,0.2), transparent),
        radial-gradient(ellipse 35px 45px at 50% 20%, rgba(255,128,255,0.25), transparent);
    animation: nebula-cloud-swirl 8s ease-in-out infinite;
}

.protostars {
    position: absolute;
    width: 100px;
    height: 100px;
}

.protostars::before,
.protostars::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #ffffff, #ffff00, #ff6600);
    border-radius: 50%;
    box-shadow: 0 0 10px #ffffff;
    animation: protostar-birth 4s ease-in-out infinite;
}

.protostars::before {
    top: 30px;
    left: 30px;
    animation-delay: 0s;
}

.protostars::after {
    top: 60px;
    left: 60px;
    animation-delay: 2s;
}

.stellar-winds {
    position: absolute;
    width: 100px;
    height: 100px;
    background: conic-gradient(from 0deg,
        transparent 0deg,
        rgba(255,255,255,0.1) 90deg,
        transparent 180deg,
        rgba(255,255,255,0.1) 270deg,
        transparent 360deg);
    animation: stellar-winds-blow 3s linear infinite;
}

.accretion-disks {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    animation: accretion-disks-spin 5s linear infinite;
}

.cosmic-rays {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: 
        linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
    animation: cosmic-rays-flash 2s ease-in-out infinite;
}

@keyframes nebula-cloud-swirl {
    0%, 100% { 
        transform: rotate(0deg) scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: rotate(180deg) scale(1.2);
        opacity: 0.8;
    }
}

@keyframes protostar-birth {
    0% { 
        transform: scale(0);
        opacity: 0;
        box-shadow: 0 0 5px #ffffff;
    }
    50% { 
        transform: scale(1.5);
        opacity: 1;
        box-shadow: 0 0 20px #ffffff;
    }
    100% { 
        transform: scale(1);
        opacity: 0.8;
        box-shadow: 0 0 10px #ffffff;
    }
}

@keyframes stellar-winds-blow {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1.3); }
}

@keyframes accretion-disks-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes cosmic-rays-flash {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.4; }
}

/* 34. Quantum Field - Ultra Premium */
.quantum-field-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(90deg, rgba(0,255,255,0.1) 1px, transparent 1px),
        linear-gradient(0deg, rgba(0,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    border-radius: 50%;
    overflow: hidden;
}

.field-grid {
    position: absolute;
    width: 100px;
    height: 100px;
    background: 
        linear-gradient(90deg, rgba(0,255,255,0.2) 1px, transparent 1px),
        linear-gradient(0deg, rgba(0,255,255,0.2) 1px, transparent 1px);
    background-size: 10px 10px;
    animation: field-grid-fluctuate 2s ease-in-out infinite;
}

.virtual-particles {
    position: absolute;
    width: 100px;
    height: 100px;
}

.virtual-particles::before,
.virtual-particles::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 5px #00ffff;
    animation: virtual-particle-appear 1s ease-in-out infinite;
}

.virtual-particles::before {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.virtual-particles::after {
    top: 60px;
    left: 60px;
    animation-delay: 0.5s;
}

.quantum-fluctuations {
    position: absolute;
    width: 100px;
    height: 100px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0,255,255,0.1), transparent),
        radial-gradient(circle at 70% 70%, rgba(0,255,255,0.1), transparent);
    animation: quantum-fluctuations-wave 3s ease-in-out infinite;
}

.energy-waves {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(0,255,255,0.3);
    border-radius: 50%;
    animation: energy-waves-ripple 2s ease-out infinite;
}

.probability-clouds {
    position: absolute;
    width: 100px;
    height: 100px;
    background: 
        radial-gradient(ellipse 30px 20px at 40% 40%, rgba(0,255,255,0.2), transparent),
        radial-gradient(ellipse 20px 30px at 60% 60%, rgba(0,255,255,0.15), transparent);
    animation: probability-clouds-shift 4s ease-in-out infinite;
}

@keyframes field-grid-fluctuate {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.2;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.4;
    }
}

@keyframes virtual-particle-appear {
    0% { 
        transform: scale(0);
        opacity: 0;
    }
    50% { 
        transform: scale(1.5);
        opacity: 1;
    }
    100% { 
        transform: scale(0);
        opacity: 0;
    }
}

@keyframes quantum-fluctuations-wave {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.1;
    }
    50% { 
        transform: scale(1.3);
        opacity: 0.3;
    }
}

@keyframes energy-waves-ripple {
    0% { 
        transform: scale(0.5);
        opacity: 0.3;
    }
    100% { 
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes probability-clouds-shift {
    0%, 100% { 
        transform: translate(0, 0);
        opacity: 0.2;
    }
    33% { 
        transform: translate(5px, -3px);
        opacity: 0.3;
    }
    66% { 
        transform: translate(-3px, 5px);
        opacity: 0.25;
    }
}

/* 35. Dark Matter Web - Ultra Premium */
.dark-matter-web-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #000000 0%, #000000 100%);
    border-radius: 50%;
    overflow: hidden;
}

.web-structure {
    position: absolute;
    width: 100px;
    height: 100px;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(128,0,255,0.1) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(128,0,255,0.1) 50%, transparent 60%),
        linear-gradient(0deg, transparent 40%, rgba(128,0,255,0.1) 50%, transparent 60%),
        linear-gradient(90deg, transparent 40%, rgba(128,0,255,0.1) 50%, transparent 60%);
    animation: web-structure-pulse 4s ease-in-out infinite;
}

.matter-nodes {
    position: absolute;
    width: 100px;
    height: 100px;
}

.matter-nodes::before,
.matter-nodes::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #8000ff, #400080);
    border-radius: 50%;
    box-shadow: 0 0 10px #8000ff;
    animation: matter-node-glow 3s ease-in-out infinite;
}

.matter-nodes::before {
    top: 25px;
    left: 25px;
    animation-delay: 0s;
}

.matter-nodes::after {
    top: 65px;
    left: 65px;
    animation-delay: 1.5s;
}

.gravitational-lines {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(128,0,255,0.2);
    border-radius: 50%;
    animation: gravitational-lines-ripple 3s ease-out infinite;
}

.void-regions {
    position: absolute;
    width: 80px;
    height: 80px;
    background: 
        radial-gradient(circle at 30% 30%, transparent, rgba(0,0,0,0.8) 50%),
        radial-gradient(circle at 70% 70%, transparent, rgba(0,0,0,0.8) 50%);
    animation: void-regions-expand 5s ease-in-out infinite;
}

.cosmic-filaments {
    position: absolute;
    width: 100px;
    height: 100px;
    background: 
        linear-gradient(30deg, transparent 40%, rgba(128,0,255,0.1) 50%, transparent 60%),
        linear-gradient(-30deg, transparent 40%, rgba(128,0,255,0.1) 50%, transparent 60%);
    animation: cosmic-filaments-stretch 6s ease-in-out infinite;
}

@keyframes web-structure-pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.1;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.3;
    }
}

@keyframes matter-node-glow {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 10px #8000ff;
    }
    50% { 
        transform: scale(1.3);
        box-shadow: 0 0 20px #8000ff;
    }
}

@keyframes gravitational-lines-ripple {
    0% { 
        transform: scale(0.5);
        opacity: 0.2;
    }
    100% { 
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes void-regions-expand {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.4);
        opacity: 0.4;
    }
}

@keyframes cosmic-filaments-stretch {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.1;
    }
    50% { 
        transform: scale(1.3) rotate(180deg);
        opacity: 0.3;
    }
} 

/* 36. Neutron Star Collision - Ultra Premium */
.neutron-star-collision-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #000000 0%, #000000 100%);
    border-radius: 50%;
    overflow: hidden;
}

.star-a {
    position: absolute;
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, #ffffff, #ffff00, #ff6600);
    border-radius: 50%;
    box-shadow: 0 0 15px #ffffff;
    animation: star-a-orbit 4s linear infinite;
    z-index: 10;
}

.star-b {
    position: absolute;
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, #ffffff, #ffff00, #ff6600);
    border-radius: 50%;
    box-shadow: 0 0 15px #ffffff;
    animation: star-b-orbit 4s linear infinite;
    z-index: 10;
}

.collision-wave {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid #ff6600;
    border-radius: 50%;
    animation: collision-wave-expand 2s ease-out infinite;
}

.gravitational-waves {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: gravitational-waves-intense 1.5s ease-out infinite;
}

.kilonova-explosion {
    position: absolute;
    width: 100px;
    height: 100px;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.2), transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(255,102,0,0.1), transparent 50%);
    animation: kilonova-explosion-flash 3s ease-out infinite;
}

@keyframes star-a-orbit {
    0% { 
        transform: translate(-20px, 0px) scale(1);
        box-shadow: 0 0 15px #ffffff;
    }
    50% { 
        transform: translate(0px, 0px) scale(1.5);
        box-shadow: 0 0 30px #ffffff;
    }
    100% { 
        transform: translate(20px, 0px) scale(1);
        box-shadow: 0 0 15px #ffffff;
    }
}

@keyframes star-b-orbit {
    0% { 
        transform: translate(20px, 0px) scale(1);
        box-shadow: 0 0 15px #ffffff;
    }
    50% { 
        transform: translate(0px, 0px) scale(1.5);
        box-shadow: 0 0 30px #ffffff;
    }
    100% { 
        transform: translate(-20px, 0px) scale(1);
        box-shadow: 0 0 15px #ffffff;
    }
}

@keyframes collision-wave-expand {
    0% { 
        transform: scale(0.3);
        opacity: 1;
    }
    100% { 
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes gravitational-waves-intense {
    0% { 
        transform: scale(0.5);
        opacity: 0.3;
    }
    100% { 
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes kilonova-explosion-flash {
    0% { 
        transform: scale(0);
        opacity: 0;
    }
    50% { 
        transform: scale(1);
        opacity: 0.3;
    }
    100% { 
        transform: scale(1.5);
        opacity: 0;
    }
}

/* 37. Cosmic Storm - Ultra Premium */
.cosmic-storm-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, 
        rgba(0,0,255,0.1) 0%, 
        rgba(128,0,255,0.05) 50%, 
        #000000 100%);
    border-radius: 50%;
    overflow: hidden;
}

.storm-clouds {
    position: absolute;
    width: 100px;
    height: 100px;
    background: 
        radial-gradient(ellipse 40px 30px at 30% 40%, rgba(0,0,255,0.3), transparent),
        radial-gradient(ellipse 50px 25px at 70% 60%, rgba(128,0,255,0.2), transparent),
        radial-gradient(ellipse 35px 40px at 50% 20%, rgba(0,128,255,0.25), transparent);
    animation: storm-clouds-swirl 6s ease-in-out infinite;
}

.lightning-arcs {
    position: absolute;
    width: 100px;
    height: 100px;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
    animation: lightning-arcs-flash 1s ease-in-out infinite;
}

.plasma-winds {
    position: absolute;
    width: 100px;
    height: 100px;
    background: conic-gradient(from 0deg,
        transparent 0deg,
        rgba(0,255,255,0.1) 60deg,
        transparent 120deg,
        rgba(0,255,255,0.1) 180deg,
        transparent 240deg,
        rgba(0,255,255,0.1) 300deg,
        transparent 360deg);
    animation: plasma-winds-spin 3s linear infinite;
}

.energy-vortices {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(0,255,255,0.3);
    border-radius: 50%;
    animation: energy-vortices-spin 2s linear infinite;
}

.cosmic-rain {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: 
        linear-gradient(90deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%),
        linear-gradient(90deg, transparent 60%, rgba(255,255,255,0.1) 70%, transparent 80%);
    animation: cosmic-rain-fall 2s linear infinite;
}

@keyframes storm-clouds-swirl {
    0%, 100% { 
        transform: rotate(0deg) scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: rotate(180deg) scale(1.2);
        opacity: 0.8;
    }
}

@keyframes lightning-arcs-flash {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.4; }
}

@keyframes plasma-winds-spin {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1.3); }
}

@keyframes energy-vortices-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes cosmic-rain-fall {
    0% { transform: translateY(-20px); }
    100% { transform: translateY(20px); }
}

/* 38. Interstellar Travel - Ultra Premium */
.interstellar-travel-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #000000 0%, #000000 100%);
    border-radius: 50%;
    overflow: hidden;
}

.starship {
    position: absolute;
    width: 20px;
    height: 10px;
    background: linear-gradient(90deg, #ffffff, #00ffff, #ffffff);
    border-radius: 5px;
    box-shadow: 0 0 10px #00ffff;
    animation: starship-warp 3s linear infinite;
    z-index: 10;
}

.warp-field {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(0,255,255,0.4);
    border-radius: 50%;
    animation: warp-field-distort 2s ease-in-out infinite;
}

.star-trails {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: 
        linear-gradient(90deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%),
        linear-gradient(90deg, transparent 60%, rgba(255,255,255,0.1) 70%, transparent 80%),
        linear-gradient(90deg, transparent 20%, rgba(255,255,255,0.15) 30%, transparent 40%);
    animation: star-trails-streak 1s linear infinite;
}

.space-time-bubble {
    position: absolute;
    width: 80px;
    height: 80px;
    background: 
        radial-gradient(ellipse 40px 30px at 50% 50%, rgba(0,255,255,0.1), transparent),
        radial-gradient(ellipse 30px 40px at 50% 50%, rgba(0,255,255,0.1), transparent);
    animation: space-time-bubble-warp 4s ease-in-out infinite;
}

.destination-star {
    position: absolute;
    right: 10px;
    top: 50%;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #ffffff, #ffff00);
    border-radius: 50%;
    box-shadow: 0 0 10px #ffffff;
    animation: destination-star-pulse 2s ease-in-out infinite;
}

@keyframes starship-warp {
    0% { 
        transform: translateX(-40px) scale(1);
        box-shadow: 0 0 10px #00ffff;
    }
    50% { 
        transform: translateX(0px) scale(1.5);
        box-shadow: 0 0 20px #00ffff;
    }
    100% { 
        transform: translateX(40px) scale(1);
        box-shadow: 0 0 10px #00ffff;
    }
}

@keyframes warp-field-distort {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        border-radius: 50%;
    }
    50% { 
        transform: scale(1.3) rotate(180deg);
        border-radius: 30%;
    }
}

@keyframes star-trails-streak {
    0% { transform: translateX(-20px); }
    100% { transform: translateX(20px); }
}

@keyframes space-time-bubble-warp {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.1;
    }
    50% { 
        transform: scale(1.4);
        opacity: 0.3;
    }
}

@keyframes destination-star-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 10px #ffffff;
    }
    50% { 
        transform: scale(1.3);
        box-shadow: 0 0 20px #ffffff;
    }
}

/* 39. Black Hole Merger - Ultra Premium */
.black-hole-merger-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #000000 0%, #000000 100%);
    border-radius: 50%;
    overflow: hidden;
}

.black-hole-1 {
    position: absolute;
    width: 25px;
    height: 25px;
    background: radial-gradient(circle, #000000, #000000);
    border-radius: 50%;
    box-shadow: 0 0 20px #000000;
    animation: black-hole-1-orbit 6s linear infinite;
    z-index: 10;
}

.black-hole-2 {
    position: absolute;
    width: 25px;
    height: 25px;
    background: radial-gradient(circle, #000000, #000000);
    border-radius: 50%;
    box-shadow: 0 0 20px #000000;
    animation: black-hole-2-orbit 6s linear infinite;
    z-index: 10;
}

.merger-ring {
    position: absolute;
    width: 70px;
    height: 70px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: merger-ring-spin 4s linear infinite;
}

.gravitational-waves-intense {
    position: absolute;
    width: 90px;
    height: 90px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    animation: gravitational-waves-intense-ripple 2s ease-out infinite;
}

.final-singularity {
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #000000, #000000);
    border-radius: 50%;
    box-shadow: 0 0 30px #000000;
    animation: final-singularity-form 8s ease-in-out infinite;
    opacity: 0;
}

@keyframes black-hole-1-orbit {
    0% { 
        transform: translate(-25px, 0px) scale(1);
        box-shadow: 0 0 20px #000000;
    }
    50% { 
        transform: translate(0px, 0px) scale(1.2);
        box-shadow: 0 0 30px #000000;
    }
    100% { 
        transform: translate(25px, 0px) scale(1);
        box-shadow: 0 0 20px #000000;
    }
}

@keyframes black-hole-2-orbit {
    0% { 
        transform: translate(25px, 0px) scale(1);
        box-shadow: 0 0 20px #000000;
    }
    50% { 
        transform: translate(0px, 0px) scale(1.2);
        box-shadow: 0 0 30px #000000;
    }
    100% { 
        transform: translate(-25px, 0px) scale(1);
        box-shadow: 0 0 20px #000000;
    }
}

@keyframes merger-ring-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes gravitational-waves-intense-ripple {
    0% { 
        transform: scale(0.5);
        opacity: 0.2;
    }
    100% { 
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes final-singularity-form {
    0%, 70% { 
        transform: scale(0);
        opacity: 0;
    }
    100% { 
        transform: scale(1);
        opacity: 1;
    }
}

/* 40. Cosmic Symphony - Ultra Premium */
.cosmic-symphony-animation {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, 
        rgba(255,0,255,0.1) 0%, 
        rgba(0,255,255,0.05) 50%, 
        #000000 100%);
    border-radius: 50%;
    overflow: hidden;
}

.harmonic-waves {
    position: absolute;
    width: 100px;
    height: 100px;
    background: conic-gradient(from 0deg,
        transparent 0deg,
        rgba(255,0,255,0.1) 45deg,
        transparent 90deg,
        rgba(0,255,255,0.1) 135deg,
        transparent 180deg,
        rgba(255,255,0,0.1) 225deg,
        transparent 270deg,
        rgba(255,0,255,0.1) 315deg,
        transparent 360deg);
    animation: harmonic-waves-resonate 4s ease-in-out infinite;
}

.resonant-particles {
    position: absolute;
    width: 100px;
    height: 100px;
}

.resonant-particles::before,
.resonant-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #ffffff, #ffff00, #ff00ff);
    border-radius: 50%;
    box-shadow: 0 0 8px #ffffff;
    animation: resonant-particle-dance 3s ease-in-out infinite;
}

.resonant-particles::before {
    top: 30px;
    left: 30px;
    animation-delay: 0s;
}

.resonant-particles::after {
    top: 60px;
    left: 60px;
    animation-delay: 1.5s;
}

.cosmic-strings-vibrating {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: cosmic-strings-vibrate 2s ease-in-out infinite;
}

.energy-chords {
    position: absolute;
    width: 100px;
    height: 100px;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(255,0,255,0.1) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(0,255,255,0.1) 50%, transparent 60%),
        linear-gradient(0deg, transparent 40%, rgba(255,255,0,0.1) 50%, transparent 60%);
    animation: energy-chords-harmonize 5s ease-in-out infinite;
}

.universal-harmony {
    position: absolute;
    width: 60px;
    height: 60px;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.2), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255,0,255,0.1), transparent 70%);
    animation: universal-harmony-pulse 3s ease-in-out infinite;
}

@keyframes harmonic-waves-resonate {
    0%, 100% { 
        transform: rotate(0deg) scale(1);
        opacity: 0.1;
    }
    50% { 
        transform: rotate(180deg) scale(1.2);
        opacity: 0.3;
    }
}

@keyframes resonant-particle-dance {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 8px #ffffff;
    }
    25% { 
        transform: scale(1.3) rotate(90deg);
        box-shadow: 0 0 15px #ffff00;
    }
    50% { 
        transform: scale(1.5) rotate(180deg);
        box-shadow: 0 0 20px #ff00ff;
    }
    75% { 
        transform: scale(1.3) rotate(270deg);
        box-shadow: 0 0 15px #00ffff;
    }
}

@keyframes cosmic-strings-vibrate {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.3);
        opacity: 0.6;
    }
}

@keyframes energy-chords-harmonize {
    0%, 100% { 
        transform: rotate(0deg);
        opacity: 0.1;
    }
    33% { 
        transform: rotate(120deg);
        opacity: 0.2;
    }
    66% { 
        transform: rotate(240deg);
        opacity: 0.15;
    }
}

@keyframes universal-harmony-pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.2;
    }
    50% { 
        transform: scale(1.4);
        opacity: 0.4;
    }
} 