/* 动态图标库 CSS 动画样式 */

/* 基础动画类 */
.animated-icon {
    display: inline-block;
    font-size: inherit;
    line-height: 1;
    vertical-align: middle;
    transition: all 0.3s ease;
}

/* 弹跳动画 */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -15px, 0);
    }
    70% {
        transform: translate3d(0, -8px, 0);
    }
    90% {
        transform: translate3d(0, -3px, 0);
    }
}

.bounce-rotate {
    animation: bounce 2s infinite, rotate 3s linear infinite;
}

.bounce-in {
    animation: bounce 1.5s infinite;
}

.check-bounce {
    animation: bounce 1s ease-in-out;
    color: #4CAF50;
}

.question-bounce {
    animation: bounce 2s infinite;
    color: #2196F3;
}

.surprise-bounce {
    animation: bounce 1.5s infinite;
}

.smile-bounce {
    animation: bounce 2s infinite;
}

.dog-bounce {
    animation: bounce 1.8s infinite;
}

.burger-bounce {
    animation: bounce 2.2s infinite;
}

.arrow-up-bounce {
    animation: bounce 1.5s infinite;
    color: #4CAF50;
}

.arrow-down-bounce {
    animation: bounce 1.5s infinite;
    color: #f44336;
}

.party-bounce {
    animation: bounce 1.2s infinite;
}

/* 脉动动画 */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pulse-glow {
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.6));
}

.info-pulse {
    animation: pulse 2s infinite;
    color: #2196F3;
}

.love-pulse {
    animation: pulse 1.5s infinite;
    color: #E91E63;
}

/* 旋转动画 */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.rotate-3d {
    animation: rotate 3s linear infinite;
}

.sun-rotate {
    animation: rotate 8s linear infinite;
    color: #FFC107;
    filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.5));
}

.pizza-rotate {
    animation: rotate 4s linear infinite;
}

/* 3D旋转动画 */
@keyframes rotate3d {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* 摇摆动画 */
@keyframes swing {
    20% {
        transform: rotate(15deg);
    }
    40% {
        transform: rotate(-10deg);
    }
    60% {
        transform: rotate(5deg);
    }
    80% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.swing {
    animation: swing 2s ease-in-out infinite;
    transform-origin: top center;
}

/* 摇摆动画 */
@keyframes wobble {
    0% {
        transform: translateX(0%);
    }
    15% {
        transform: translateX(-25%) rotate(-5deg);
    }
    30% {
        transform: translateX(20%) rotate(3deg);
    }
    45% {
        transform: translateX(-15%) rotate(-3deg);
    }
    60% {
        transform: translateX(10%) rotate(2deg);
    }
    75% {
        transform: translateX(-5%) rotate(-1deg);
    }
    100% {
        transform: translateX(0%);
    }
}

.wobble {
    animation: wobble 2s ease-in-out infinite;
}

/* 心跳动画 */
@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    70% {
        transform: scale(1);
    }
}

.heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
    color: #E91E63;
}

/* 翻转动画 */
@keyframes flip {
    0% {
        transform: perspective(400px) rotateY(0);
    }
    40% {
        transform: perspective(400px) rotateY(-180deg);
    }
    100% {
        transform: perspective(400px) rotateY(-360deg);
    }
}

.flip {
    animation: flip 2s infinite;
}

/* 闪烁动画 */
@keyframes flash {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0.3;
    }
}

.warning-flash {
    animation: flash 1.5s infinite;
    color: #FF9800;
}

.lightning-flash {
    animation: flash 0.8s infinite;
    color: #FFEB3B;
}

/* 震动动画 */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

.shake-error {
    animation: shake 0.8s ease-in-out;
    color: #f44336;
}

.angry-shake {
    animation: shake 1.2s infinite;
    color: #f44336;
}

.cry-shake {
    animation: shake 2s infinite;
    color: #2196F3;
}

.exclamation-shake {
    animation: shake 1s infinite;
    color: #FF9800;
}

/* 闪烁效果 */
@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.8);
    }
}

.star-twinkle {
    animation: twinkle 1.5s ease-in-out infinite;
    color: #FFEB3B;
}

/* 流星效果 */
@keyframes shootingStar {
    0% {
        transform: translateX(-100px) translateY(100px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100px) translateY(-100px);
        opacity: 0;
    }
}

.shooting-star {
    animation: shootingStar 2s ease-in-out infinite;
    color: #FFEB3B;
}

/* 爆炸效果 */
@keyframes burst {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.star-burst {
    animation: burst 1.5s ease-in-out infinite;
    color: #E91E63;
}

.fireworks {
    animation: burst 2s ease-in-out infinite;
    color: #FF5722;
    filter: drop-shadow(0 0 8px rgba(255, 87, 34, 0.6));
}

/* 闪亮粒子效果 */
@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: scale(1.2) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(0.8) rotate(180deg);
        opacity: 0.6;
    }
    75% {
        transform: scale(1.1) rotate(270deg);
        opacity: 0.9;
    }
}

.sparkle {
    animation: sparkle 2s ease-in-out infinite;
    color: #FFEB3B;
    filter: drop-shadow(0 0 6px rgba(255, 235, 59, 0.5));
}

.sparkler {
    animation: sparkle 1.2s ease-in-out infinite;
    color: #FF9800;
}

/* 滑动效果 */
@keyframes slideLeft {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-10px);
    }
}

@keyframes slideRight {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}

.arrow-left-slide {
    animation: slideLeft 1.5s ease-in-out infinite;
    color: #2196F3;
}

.arrow-right-slide {
    animation: slideRight 1.5s ease-in-out infinite;
    color: #2196F3;
}

.car-drive {
    animation: slideRight 3s ease-in-out infinite;
}

/* 浮动效果 */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.up-float {
    animation: float 2s ease-in-out infinite;
    color: #4CAF50;
}

.balloon-float {
    animation: float 3s ease-in-out infinite;
    color: #E91E63;
}

.cloud-float {
    animation: float 4s ease-in-out infinite;
    color: #90A4AE;
}

/* 下沉效果 */
@keyframes sink {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

.down-sink {
    animation: sink 2s ease-in-out infinite;
    color: #f44336;
}

/* 下落效果 */
@keyframes fall {
    0% {
        transform: translateY(-10px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(10px);
        opacity: 0;
    }
}

.confetti {
    animation: fall 2s ease-in-out infinite;
    color: #E91E63;
}

.rain-fall {
    animation: fall 1.5s linear infinite;
    color: #2196F3;
}

.snow-fall {
    animation: fall 3s linear infinite;
    color: #E3F2FD;
}

/* 发光效果 */
@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px currentColor);
    }
    50% {
        filter: drop-shadow(0 0 15px currentColor);
    }
}

.moon-glow {
    animation: glow 3s ease-in-out infinite;
    color: #FFEB3B;
}

/* 飞行效果 */
@keyframes fly {
    0% {
        transform: translateX(-20px) translateY(5px);
    }
    25% {
        transform: translateX(-5px) translateY(-5px);
    }
    50% {
        transform: translateX(10px) translateY(0px);
    }
    75% {
        transform: translateX(5px) translateY(5px);
    }
    100% {
        transform: translateX(-20px) translateY(5px);
    }
}

.plane-fly {
    animation: fly 4s ease-in-out infinite;
    color: #607D8B;
}

/* 发射效果 */
@keyframes launch {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

.rocket-launch {
    animation: launch 2s ease-in-out infinite;
    color: #FF5722;
    filter: drop-shadow(0 0 8px rgba(255, 87, 34, 0.4));
}

/* 摆动效果 */
@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    75% {
        transform: rotate(-5deg);
    }
}

.cat-wiggle {
    animation: wiggle 1.5s ease-in-out infinite;
}

/* 跳跃效果 */
@keyframes hop {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.rabbit-hop {
    animation: hop 1s ease-in-out infinite;
}

/* 翻滚效果 */
@keyframes roll {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.panda-roll {
    animation: roll 3s linear infinite;
}

/* 庆祝效果 */
@keyframes celebrate {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(-5deg);
    }
    50% {
        transform: scale(1.2) rotate(0deg);
    }
    75% {
        transform: scale(1.1) rotate(5deg);
    }
}

.cake-celebrate {
    animation: celebrate 2s ease-in-out infinite;
}

/* 融化效果 */
@keyframes melt {
    0% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(0.8);
    }
    100% {
        transform: scaleY(1);
    }
}

.icecream-melt {
    animation: melt 3s ease-in-out infinite;
}

/* 悬停效果增强 */
.animated-icon:hover {
    transform: scale(1.2);
    filter: brightness(1.2);
    cursor: pointer;
}

/* 新增动画效果 */

/* 蒸汽效果 */
@keyframes steam {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-8px) scale(1.1);
        opacity: 1;
    }
}

.coffee-steam {
    animation: steam 2s ease-in-out infinite;
    color: #8B4513;
}

/* 旋转效果变种 */
.donut-spin {
    animation: rotate 3s linear infinite;
    color: #FF69B4;
}

.screwdriver-spin {
    animation: rotate 2s linear infinite;
    color: #FFD700;
}

.clover-spin {
    animation: rotate 4s ease-in-out infinite;
    color: #32CD32;
}

.sunflower-rotate {
    animation: rotate 6s linear infinite;
    color: #FFD700;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

/* 薯条摇摆 */
.fries-shake {
    animation: shake 1.5s infinite;
    color: #FFD700;
}

/* 热狗弹跳 */
.hotdog-bounce {
    animation: bounce 2s infinite;
    color: #D2691E;
}

/* 爱心动画系列 */
.heart-beat {
    animation: heartbeat 1.2s ease-in-out infinite;
    color: #FF1744;
    filter: drop-shadow(0 0 8px rgba(255, 23, 68, 0.6));
}

.heart-sparkle {
    animation: sparkle 1.8s ease-in-out infinite;
    color: #FF69B4;
    filter: drop-shadow(0 0 6px rgba(255, 105, 180, 0.5));
}

.heart-pulse {
    animation: pulse 1.5s infinite;
    color: #2196F3;
}

.heart-glow {
    animation: glow 2s ease-in-out infinite;
    color: #4CAF50;
}

.heart-bounce {
    animation: bounce 1.8s infinite;
    color: #FFEB3B;
}

.heart-float {
    animation: float 2.5s ease-in-out infinite;
    color: #9C27B0;
}

.heart-shake {
    animation: shake 1s infinite;
    color: #424242;
}

.heart-twinkle {
    animation: twinkle 2s ease-in-out infinite;
    color: #FAFAFA;
}

.heart-eyes-pulse {
    animation: pulse 1.5s infinite;
    color: #E91E63;
}

.heart-arrow-fly {
    animation: fly 3s ease-in-out infinite;
    color: #E91E63;
}

/* 心碎效果 */
@keyframes heartBreak {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(-5deg);
    }
    50% {
        transform: scale(0.9) rotate(5deg);
    }
    75% {
        transform: scale(1.05) rotate(-3deg);
    }
}

.heart-break {
    animation: heartBreak 2s ease-in-out infinite;
    color: #f44336;
}

/* 燃烧的心 */
@keyframes fire {
    0%, 100% {
        transform: scale(1);
        filter: hue-rotate(0deg) brightness(1);
    }
    25% {
        transform: scale(1.1);
        filter: hue-rotate(10deg) brightness(1.2);
    }
    50% {
        transform: scale(0.95);
        filter: hue-rotate(-10deg) brightness(0.9);
    }
    75% {
        transform: scale(1.05);
        filter: hue-rotate(5deg) brightness(1.1);
    }
}

.heart-fire {
    animation: fire 1.5s ease-in-out infinite;
    color: #FF5722;
    filter: drop-shadow(0 0 10px rgba(255, 87, 34, 0.7));
}

/* 手势动画 */
.thumbs-up-bounce {
    animation: bounce 1.5s infinite;
    color: #4CAF50;
}

.thumbs-down-shake {
    animation: shake 1.5s infinite;
    color: #f44336;
}

.clap-bounce {
    animation: bounce 1s infinite;
    color: #FFD700;
}

.wave-swing {
    animation: swing 2s ease-in-out infinite;
    color: #2196F3;
}

.ok-pulse {
    animation: pulse 2s infinite;
    color: #4CAF50;
}

.victory-bounce {
    animation: bounce 1.8s infinite;
    color: #FF9800;
}

.pray-glow {
    animation: glow 3s ease-in-out infinite;
    color: #9C27B0;
}

.point-slide {
    animation: slideRight 1.5s ease-in-out infinite;
    color: #2196F3;
}

/* 音乐动画 */
.note-bounce {
    animation: bounce 1.2s infinite;
    color: #9C27B0;
}

/* 舞蹈效果 */
@keyframes dance {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(0deg);
    }
    75% {
        transform: translateY(-5px) rotate(-5deg);
    }
}

.notes-dance {
    animation: dance 1.5s ease-in-out infinite;
    color: #E91E63;
}

.mic-pulse {
    animation: pulse 1.8s infinite;
    color: #607D8B;
}

.headphone-bounce {
    animation: bounce 2s infinite;
    color: #424242;
}

.speaker-shake {
    animation: shake 1s infinite;
    color: #FF5722;
}

.guitar-swing {
    animation: swing 2.5s ease-in-out infinite;
    color: #8D6E63;
}

.piano-bounce {
    animation: bounce 1.8s infinite;
    color: #424242;
}

/* 鼓敲击效果 */
@keyframes drumBeat {
    0%, 100% {
        transform: scale(1);
    }
    10% {
        transform: scale(1.2);
    }
    20% {
        transform: scale(1);
    }
}

.drum-beat {
    animation: drumBeat 2s infinite;
    color: #8D6E63;
}

/* 运动类动画 */
.soccer-bounce, .basketball-bounce, .tennis-bounce, .pingpong-bounce {
    animation: bounce 1.5s infinite;
}

.soccer-bounce {
    color: #424242;
}

.basketball-bounce {
    color: #FF9800;
}

.tennis-bounce {
    color: #CDDC39;
}

.pingpong-bounce {
    color: #FF5722;
}

.trophy-glow {
    animation: glow 2s ease-in-out infinite;
    color: #FFD700;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

.medal-swing {
    animation: swing 2s ease-in-out infinite;
    color: #FFD700;
}

.running-slide {
    animation: slideRight 2s ease-in-out infinite;
    color: #2196F3;
}

/* 波浪效果 */
@keyframes wave {
    0%, 100% {
        transform: translateY(0) scaleY(1);
    }
    50% {
        transform: translateY(-5px) scaleY(1.1);
    }
}

.swimming-wave {
    animation: wave 1.5s ease-in-out infinite;
    color: #00BCD4;
}

/* 工具类动画 */
.hammer-bounce {
    animation: bounce 1.5s infinite;
    color: #795548;
}

.wrench-rotate {
    animation: rotate 3s linear infinite;
    color: #607D8B;
}

/* 剪切效果 */
@keyframes cut {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(15deg);
    }
    75% {
        transform: rotate(-15deg);
    }
}

.scissors-cut {
    animation: cut 1.5s ease-in-out infinite;
    color: #607D8B;
}

.key-shake {
    animation: shake 2s infinite;
    color: #FFD700;
}

.lock-bounce {
    animation: bounce 2s infinite;
    color: #424242;
}

.magnify-pulse {
    animation: pulse 2s infinite;
    color: #2196F3;
}

.bulb-glow {
    animation: glow 2s ease-in-out infinite;
    color: #FFEB3B;
    filter: drop-shadow(0 0 8px rgba(255, 235, 59, 0.6));
}

/* 自然类动画 */
/* 绽放效果 */
@keyframes bloom {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}

.flower-bloom {
    animation: bloom 3s ease-in-out infinite;
    color: #E91E63;
}

/* 摇摆效果 */
@keyframes sway {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(3deg);
    }
    75% {
        transform: rotate(-3deg);
    }
}

.rose-sway {
    animation: sway 3s ease-in-out infinite;
    color: #E91E63;
}

.leaf-fall {
    animation: fall 3s linear infinite;
    color: #4CAF50;
}

.cactus-wiggle {
    animation: wiggle 2s ease-in-out infinite;
    color: #4CAF50;
}

.mushroom-bounce {
    animation: bounce 2.5s infinite;
    color: #8D6E63;
}

.rainbow-glow {
    animation: glow 3s ease-in-out infinite;
    background: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 科技类动画 */
.laptop-pulse {
    animation: pulse 2s infinite;
    color: #607D8B;
}

/* 震动效果 */
@keyframes vibrate {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-2px);
    }
    75% {
        transform: translateX(2px);
    }
}

.phone-vibrate {
    animation: vibrate 0.5s infinite;
    color: #424242;
}

.wifi-pulse {
    animation: pulse 2s infinite;
    color: #2196F3;
}

.bluetooth-pulse {
    animation: pulse 1.8s infinite;
    color: #2196F3;
}

/* 充电效果 */
@keyframes charge {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
        filter: brightness(1.3);
    }
    100% {
        opacity: 0.6;
    }
}

.battery-charge {
    animation: charge 2s ease-in-out infinite;
    color: #4CAF50;
}

.plug-shake {
    animation: shake 1.5s infinite;
    color: #424242;
}

.robot-bounce {
    animation: bounce 2s infinite;
    color: #607D8B;
}

/* 轨道效果 */
@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(10px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(10px) rotate(-360deg);
    }
}

.satellite-orbit {
    animation: orbit 4s linear infinite;
    color: #607D8B;
}

/* 节日类动画 */
.christmas-tree-glow {
    animation: glow 2s ease-in-out infinite;
    color: #4CAF50;
    filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.6));
}

.gift-bounce {
    animation: bounce 2s infinite;
    color: #E91E63;
}

.pumpkin-glow {
    animation: glow 2s ease-in-out infinite;
    color: #FF9800;
    filter: drop-shadow(0 0 8px rgba(255, 152, 0, 0.6));
}

.ghost-float {
    animation: float 3s ease-in-out infinite;
    color: #FAFAFA;
    opacity: 0.8;
}

.bat-fly {
    animation: fly 2.5s ease-in-out infinite;
    color: #424242;
}

/* 爬行效果 */
@keyframes crawl {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    25% {
        transform: translateX(5px) rotate(5deg);
    }
    50% {
        transform: translateX(0) rotate(0deg);
    }
    75% {
        transform: translateX(-5px) rotate(-5deg);
    }
}

.spider-crawl {
    animation: crawl 2s ease-in-out infinite;
    color: #424242;
}

.skull-shake {
    animation: shake 1.5s infinite;
    color: #FAFAFA;
}

/* 闪烁效果 */
@keyframes flicker {
    0%, 100% {
        opacity: 1;
        filter: brightness(1);
    }
    50% {
        opacity: 0.7;
        filter: brightness(0.8);
    }
}

.candle-flicker {
    animation: flicker 1.5s ease-in-out infinite;
    color: #FFD54F;
    filter: drop-shadow(0 0 6px rgba(255, 213, 79, 0.5));
}

/* 响应式调整 */
@media (max-width: 768px) {
    .animated-icon {
        font-size: 0.9em;
    }
}

/* ========== 文字类动态效果 ========== */

/* 火焰文字效果 */
@keyframes fire-text {
    0%, 100% { 
        color: #ff4500; 
        text-shadow: 0 0 5px #ff4500, 0 0 10px #ff6500, 0 0 15px #ff8500;
        transform: scale(1);
    }
    25% { 
        color: #ff6500; 
        text-shadow: 0 0 8px #ff6500, 0 0 15px #ff8500, 0 0 20px #ffa500;
        transform: scale(1.05);
    }
    50% { 
        color: #ff8500; 
        text-shadow: 0 0 10px #ff8500, 0 0 20px #ffa500, 0 0 25px #ffb500;
        transform: scale(1.1);
    }
    75% { 
        color: #ffa500; 
        text-shadow: 0 0 8px #ffa500, 0 0 15px #ffb500, 0 0 20px #ffc500;
        transform: scale(1.05);
    }
}

.fire-text {
    animation: fire-text 1.5s ease-in-out infinite;
    font-weight: bold;
    display: inline-block;
    background: linear-gradient(45deg, #ff4500, #ff8500, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: fire-text 1.5s ease-in-out infinite, gradient-shift 2s linear infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* 精品闪光效果 */
@keyframes premium-shine {
    0% { 
        color: #ffd700; 
        text-shadow: 0 0 5px #ffd700;
        transform: scale(1) rotateY(0deg);
    }
    25% { 
        color: #ffed4e; 
        text-shadow: 0 0 10px #ffed4e, 0 0 20px #ffd700;
        transform: scale(1.1) rotateY(90deg);
    }
    50% { 
        color: #fff700; 
        text-shadow: 0 0 15px #fff700, 0 0 25px #ffed4e, 0 0 35px #ffd700;
        transform: scale(1.2) rotateY(180deg);
    }
    75% { 
        color: #ffed4e; 
        text-shadow: 0 0 10px #ffed4e, 0 0 20px #ffd700;
        transform: scale(1.1) rotateY(270deg);
    }
    100% { 
        color: #ffd700; 
        text-shadow: 0 0 5px #ffd700;
        transform: scale(1) rotateY(360deg);
    }
}

.premium-shine {
    animation: premium-shine 2s ease-in-out infinite;
    font-weight: bold;
    display: inline-block;
    background: linear-gradient(45deg, #ffd700, #fff700, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 300% 300%;
    animation: premium-shine 2s ease-in-out infinite, premium-gradient 3s ease-in-out infinite;
}

@keyframes premium-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 重磅消息滚动效果 */
@keyframes breaking-news {
    0% { 
        transform: translateX(-100%) scale(0.8);
        opacity: 0;
        color: #ff0000;
    }
    20% { 
        transform: translateX(0) scale(1);
        opacity: 1;
        color: #ff3333;
    }
    40% { 
        color: #ff6666;
        text-shadow: 0 0 10px #ff0000;
    }
    60% { 
        color: #ff0000;
        text-shadow: 0 0 15px #ff3333, 0 0 25px #ff6666;
    }
    80% { 
        transform: scale(1.1);
        color: #cc0000;
    }
    100% { 
        transform: scale(1);
        color: #ff0000;
    }
}

.breaking-news {
    animation: breaking-news 3s ease-in-out infinite;
    font-weight: bold;
    display: inline-block;
    background: linear-gradient(90deg, #ff0000, #ff6666, #ff0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    padding: 5px 15px;
    border: 2px solid #ff0000;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.breaking-news::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: news-flash 2s linear infinite;
}

@keyframes news-flash {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 广告招租霓虹灯效果 */
@keyframes neon-ad {
    0%, 100% { 
        color: #00ffff;
        text-shadow: 
            0 0 5px #00ffff,
            0 0 10px #00ffff,
            0 0 15px #00ffff,
            0 0 20px #00ffff;
        transform: scale(1);
        border-color: #00ffff;
    }
    25% { 
        color: #ff00ff;
        text-shadow: 
            0 0 8px #ff00ff,
            0 0 15px #ff00ff,
            0 0 25px #ff00ff,
            0 0 35px #ff00ff;
        transform: scale(1.05);
        border-color: #ff00ff;
    }
    50% { 
        color: #ffff00;
        text-shadow: 
            0 0 10px #ffff00,
            0 0 20px #ffff00,
            0 0 30px #ffff00,
            0 0 40px #ffff00;
        transform: scale(1.1);
        border-color: #ffff00;
    }
    75% { 
        color: #00ff00;
        text-shadow: 
            0 0 8px #00ff00,
            0 0 15px #00ff00,
            0 0 25px #00ff00,
            0 0 35px #00ff00;
        transform: scale(1.05);
        border-color: #00ff00;
    }
}

.neon-ad {
    animation: neon-ad 2s ease-in-out infinite;
    font-weight: bold;
    display: inline-block;
    background: #000;
    padding: 8px 16px;
    border-radius: 8px;
    border: 3px solid currentColor;
    position: relative;
    overflow: hidden;
}

.neon-ad::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: neon-glow 3s linear infinite;
}

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

/* 专业认证徽章效果 */
@keyframes professional-badge {
    0% { 
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
        filter: brightness(1);
    }
    25% { 
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 0 20px rgba(0, 123, 255, 0.8);
        filter: brightness(1.2);
    }
    50% { 
        transform: scale(1.2) rotate(0deg);
        box-shadow: 0 0 30px rgba(0, 123, 255, 1);
        filter: brightness(1.5);
    }
    75% { 
        transform: scale(1.1) rotate(-5deg);
        box-shadow: 0 0 20px rgba(0, 123, 255, 0.8);
        filter: brightness(1.2);
    }
    100% { 
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
        filter: brightness(1);
    }
}

.professional-badge {
    animation: professional-badge 2s ease-in-out infinite;
    display: inline-block;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: bold;
    border: 3px solid #fff;
    position: relative;
}

.professional-badge::before {
    content: '✓';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
}

/* 通知公告弹跳效果 */
@keyframes notice-bounce {
    0%, 100% { 
        transform: translateY(0) scale(1);
        background: linear-gradient(45deg, #28a745, #20c997);
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    }
    25% { 
        transform: translateY(-10px) scale(1.05);
        background: linear-gradient(45deg, #20c997, #17a2b8);
        box-shadow: 0 8px 25px rgba(32, 201, 151, 0.5);
    }
    50% { 
        transform: translateY(-20px) scale(1.1);
        background: linear-gradient(45deg, #17a2b8, #6f42c1);
        box-shadow: 0 12px 35px rgba(23, 162, 184, 0.7);
    }
    75% { 
        transform: translateY(-10px) scale(1.05);
        background: linear-gradient(45deg, #6f42c1, #e83e8c);
        box-shadow: 0 8px 25px rgba(111, 66, 193, 0.5);
    }
}

.notice-bounce {
    animation: notice-bounce 1.5s ease-in-out infinite;
    display: inline-block;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    position: relative;
}

.notice-bounce::before {
    content: '📢';
    margin-right: 8px;
}

/* 公告滚动效果 */
@keyframes announcement-scroll {
    0% { 
        transform: translateX(100%);
        opacity: 0;
    }
    10%, 90% { 
        opacity: 1;
    }
    100% { 
        transform: translateX(-100%);
        opacity: 0;
    }
}

.announcement-scroll {
    animation: announcement-scroll 8s linear infinite;
    display: inline-block;
    background: linear-gradient(90deg, #ff6b6b, #ee5a24, #ff9ff3, #54a0ff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    animation: announcement-scroll 8s linear infinite, gradient-move 3s ease-in-out infinite;
}

/* 金牌商家皇冠效果 */
@keyframes crown-gold {
    0% { 
        transform: scale(1) rotateZ(0deg);
        filter: hue-rotate(0deg) brightness(1) drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    }
    25% { 
        transform: scale(1.1) rotateZ(5deg);
        filter: hue-rotate(30deg) brightness(1.2) drop-shadow(0 0 15px rgba(255, 215, 0, 0.7));
    }
    50% { 
        transform: scale(1.2) rotateZ(0deg);
        filter: hue-rotate(60deg) brightness(1.5) drop-shadow(0 0 20px rgba(255, 215, 0, 1));
    }
    75% { 
        transform: scale(1.1) rotateZ(-5deg);
        filter: hue-rotate(30deg) brightness(1.2) drop-shadow(0 0 15px rgba(255, 215, 0, 0.7));
    }
    100% { 
        transform: scale(1) rotateZ(0deg);
        filter: hue-rotate(0deg) brightness(1) drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    }
}

.crown-gold {
    animation: crown-gold 2.5s ease-in-out infinite;
    display: inline-block;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #fff700, #ffd700);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    padding: 5px 15px;
    border: 2px solid #ffd700;
    border-radius: 20px;
    position: relative;
}

.crown-gold::before {
    content: '👑';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-text-fill-color: #ffd700;
}

/* ========== 认证类图标效果 ========== */

/* VIP认证闪烁 */
@keyframes vip-certified {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 8px #ffd700) brightness(1);
        background: linear-gradient(45deg, #ffd700, #ffed4e);
    }
    25% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px #ffd700) brightness(1.3);
        background: linear-gradient(45deg, #ffed4e, #fff700);
    }
    50% { 
        transform: scale(1.2);
        filter: drop-shadow(0 0 20px #ffd700) brightness(1.6);
        background: linear-gradient(45deg, #fff700, #ffd700);
    }
    75% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px #ffd700) brightness(1.3);
        background: linear-gradient(45deg, #ffd700, #ffed4e);
    }
}

.vip-certified {
    animation: vip-certified 2s ease-in-out infinite;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    color: #333;
    font-weight: bold;
    border: 2px solid #ffd700;
    position: relative;
}

.vip-certified::before {
    content: '⭐';
    margin-right: 5px;
}

/* 官方认证旋转 */
@keyframes official-verified {
    0% { 
        transform: rotate(0deg) scale(1);
        filter: drop-shadow(0 0 8px #1da1f2);
        background: linear-gradient(45deg, #1da1f2, #0d8bf2);
    }
    25% { 
        transform: rotate(90deg) scale(1.1);
        filter: drop-shadow(0 0 12px #1da1f2);
        background: linear-gradient(45deg, #0d8bf2, #0a7bd8);
    }
    50% { 
        transform: rotate(180deg) scale(1.2);
        filter: drop-shadow(0 0 16px #1da1f2);
        background: linear-gradient(45deg, #0a7bd8, #086bb8);
    }
    75% { 
        transform: rotate(270deg) scale(1.1);
        filter: drop-shadow(0 0 12px #1da1f2);
        background: linear-gradient(45deg, #086bb8, #1da1f2);
    }
    100% { 
        transform: rotate(360deg) scale(1);
        filter: drop-shadow(0 0 8px #1da1f2);
        background: linear-gradient(45deg, #1da1f2, #0d8bf2);
    }
}

.official-verified {
    animation: official-verified 3s linear infinite;
    display: inline-block;
    padding: 6px 14px;
    border-radius: 18px;
    color: white;
    font-weight: bold;
    position: relative;
}

.official-verified::before {
    content: '✓';
    margin-right: 5px;
    font-weight: bold;
}

/* 推荐标签摆动 */
@keyframes recommended-swing {
    0%, 100% { 
        transform: rotate(0deg) scale(1);
        background: linear-gradient(45deg, #ff6b6b, #ee5a24);
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    }
    25% { 
        transform: rotate(10deg) scale(1.05);
        background: linear-gradient(45deg, #ee5a24, #ff9ff3);
        box-shadow: 0 6px 20px rgba(238, 90, 36, 0.6);
    }
    50% { 
        transform: rotate(0deg) scale(1.1);
        background: linear-gradient(45deg, #ff9ff3, #54a0ff);
        box-shadow: 0 8px 25px rgba(255, 159, 243, 0.8);
    }
    75% { 
        transform: rotate(-10deg) scale(1.05);
        background: linear-gradient(45deg, #54a0ff, #5f27cd);
        box-shadow: 0 6px 20px rgba(84, 160, 255, 0.6);
    }
}

.recommended-swing {
    animation: recommended-swing 2s ease-in-out infinite;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    font-size: 0.9em;
    position: relative;
}

.recommended-swing::before {
    content: '👍';
    margin-right: 5px;
}

/* 热门标签脉冲 */
@keyframes hot-pulse {
    0%, 100% { 
        transform: scale(1);
        background: radial-gradient(circle, #ff4757, #ff3742);
        box-shadow: 0 0 15px rgba(255, 71, 87, 0.5);
    }
    50% { 
        transform: scale(1.2);
        background: radial-gradient(circle, #ff3742, #ff2d92);
        box-shadow: 0 0 30px rgba(255, 71, 87, 1);
    }
}

.hot-pulse {
    animation: hot-pulse 1s ease-in-out infinite;
    display: inline-block;
    padding: 8px 18px;
    border-radius: 25px;
    color: white;
    font-weight: bold;
    position: relative;
}

.hot-pulse::before {
    content: '🔥';
    margin-right: 5px;
}

/* 新品标签闪光 */
@keyframes new-sparkle {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        background: linear-gradient(45deg, #00d2d3, #54a0ff);
        filter: brightness(1);
        box-shadow: 0 0 10px rgba(0, 210, 211, 0.5);
    }
    25% { 
        transform: scale(1.1) rotate(5deg);
        background: linear-gradient(45deg, #54a0ff, #5f27cd);
        filter: brightness(1.3);
        box-shadow: 0 0 15px rgba(84, 160, 255, 0.7);
    }
    50% { 
        transform: scale(1.2) rotate(0deg);
        background: linear-gradient(45deg, #5f27cd, #a55eea);
        filter: brightness(1.6);
        box-shadow: 0 0 20px rgba(95, 39, 205, 1);
    }
    75% { 
        transform: scale(1.1) rotate(-5deg);
        background: linear-gradient(45deg, #a55eea, #26de81);
        filter: brightness(1.3);
        box-shadow: 0 0 15px rgba(165, 94, 234, 0.7);
    }
}

.new-sparkle {
    animation: new-sparkle 1.8s ease-in-out infinite;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 22px;
    color: white;
    font-weight: bold;
    border: 2px solid rgba(255,255,255,0.3);
    position: relative;
}

.new-sparkle::before {
    content: '✨';
    margin-right: 5px;
}

/* 限时特价闪烁 */
@keyframes limited-flash {
    0%, 50%, 100% { 
        opacity: 1;
        background: linear-gradient(90deg, #ff9a9e, #fecfef, #fecfef, #ff9a9e);
        transform: scale(1);
        border-color: #ff6b6b;
    }
    25%, 75% { 
        opacity: 0.8;
        background: linear-gradient(90deg, #fecfef, #ff9a9e, #ff9a9e, #fecfef);
        transform: scale(1.1);
        border-color: #ff4757;
    }
}

.limited-flash {
    animation: limited-flash 1.2s ease-in-out infinite;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    color: #333;
    font-weight: bold;
    border: 3px dashed #ff6b6b;
    position: relative;
}

.limited-flash::before {
    content: '⏰';
    margin-right: 5px;
}

/* 独家标签3D效果 */
@keyframes exclusive-3d {
    0%, 100% { 
        transform: perspective(400px) rotateY(0deg) scale(1);
        background: linear-gradient(135deg, #667eea, #764ba2);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    }
    25% { 
        transform: perspective(400px) rotateY(20deg) scale(1.05);
        background: linear-gradient(135deg, #764ba2, #f093fb);
        box-shadow: 0 12px 30px rgba(118, 75, 162, 0.6);
    }
    50% { 
        transform: perspective(400px) rotateY(0deg) scale(1.1);
        background: linear-gradient(135deg, #f093fb, #f5576c);
        box-shadow: 0 16px 40px rgba(240, 147, 251, 0.8);
    }
    75% { 
        transform: perspective(400px) rotateY(-20deg) scale(1.05);
        background: linear-gradient(135deg, #f5576c, #4facfe);
        box-shadow: 0 12px 30px rgba(245, 87, 108, 0.6);
    }
}

.exclusive-3d {
    animation: exclusive-3d 3s ease-in-out infinite;
    display: inline-block;
    padding: 10px 22px;
    border-radius: 15px;
    color: white;
    font-weight: bold;
    transform-style: preserve-3d;
    position: relative;
}

.exclusive-3d::before {
    content: '💎';
    margin-right: 5px;
}

/* 认证徽章效果 */
@keyframes certified-badge {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 10px rgba(76, 175, 80, 0.5));
    }
    50% {
        transform: scale(1.15) rotate(180deg);
        filter: drop-shadow(0 0 20px rgba(76, 175, 80, 1));
    }
}

.certified-badge {
    animation: certified-badge 2.5s ease-in-out infinite;
    display: inline-block;
    background: linear-gradient(45deg, #4CAF50, #66BB6A);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: bold;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    position: relative;
}

.certified-badge::before {
    content: '🏆';
    margin-right: 5px;
}

/* ========== 智能动态效果 ========== */

/* 智能呼吸效果 - 模拟生命力 */
@keyframes intelligent-breathe {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 0 5px currentColor);
        opacity: 1;
    }
    15% { 
        transform: scale(1.02);
        filter: brightness(1.1) drop-shadow(0 0 8px currentColor);
        opacity: 0.95;
    }
    30% { 
        transform: scale(1.05);
        filter: brightness(1.2) drop-shadow(0 0 12px currentColor);
        opacity: 0.9;
    }
    45% { 
        transform: scale(1.03);
        filter: brightness(1.15) drop-shadow(0 0 10px currentColor);
        opacity: 0.92;
    }
    60% { 
        transform: scale(1.01);
        filter: brightness(1.05) drop-shadow(0 0 6px currentColor);
        opacity: 0.97;
    }
    75% { 
        transform: scale(1.04);
        filter: brightness(1.18) drop-shadow(0 0 11px currentColor);
        opacity: 0.88;
    }
    90% { 
        transform: scale(1.02);
        filter: brightness(1.08) drop-shadow(0 0 7px currentColor);
        opacity: 0.94;
    }
}

.intelligent-breathe {
    animation: intelligent-breathe 4.5s ease-in-out infinite;
    animation-delay: calc(var(--random-delay, 0) * 1s);
}

/* 智能闪烁 - 随机间隔 */
@keyframes intelligent-sparkle {
    0%, 85%, 100% { 
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: brightness(1);
    }
    5% { 
        opacity: 0.3;
        transform: scale(1.2) rotate(5deg);
        filter: brightness(1.5) hue-rotate(30deg);
    }
    10% { 
        opacity: 1;
        transform: scale(0.9) rotate(-3deg);
        filter: brightness(1.2) hue-rotate(15deg);
    }
    15% { 
        opacity: 0.7;
        transform: scale(1.1) rotate(2deg);
        filter: brightness(1.3) hue-rotate(45deg);
    }
    20% { 
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: brightness(1);
    }
}

.intelligent-sparkle {
    animation: intelligent-sparkle 6s ease-in-out infinite;
    animation-delay: calc(var(--random-delay, 0) * 2s);
}

/* 智能摆动 - 不规则节奏 */
@keyframes intelligent-sway {
    0%, 100% { transform: rotate(0deg) scale(1); }
    8% { transform: rotate(2deg) scale(1.02); }
    16% { transform: rotate(-1deg) scale(0.98); }
    24% { transform: rotate(3deg) scale(1.05); }
    32% { transform: rotate(-2deg) scale(0.95); }
    40% { transform: rotate(1deg) scale(1.03); }
    48% { transform: rotate(-3deg) scale(0.97); }
    56% { transform: rotate(2deg) scale(1.01); }
    64% { transform: rotate(-1deg) scale(1.04); }
    72% { transform: rotate(1deg) scale(0.99); }
    80% { transform: rotate(-2deg) scale(1.02); }
    88% { transform: rotate(1deg) scale(0.98); }
    96% { transform: rotate(-1deg) scale(1.01); }
}

.intelligent-sway {
    animation: intelligent-sway 7s ease-in-out infinite;
    animation-delay: calc(var(--random-delay, 0) * 1.5s);
    transform-origin: center bottom;
}

/* 智能脉冲 - 心跳般的节奏 */
@keyframes intelligent-pulse {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1) saturate(1);
    }
    12% { 
        transform: scale(1.08);
        filter: brightness(1.2) saturate(1.3);
    }
    24% { 
        transform: scale(0.95);
        filter: brightness(0.9) saturate(0.8);
    }
    36% { 
        transform: scale(1.12);
        filter: brightness(1.4) saturate(1.5);
    }
    48% { 
        transform: scale(0.92);
        filter: brightness(0.85) saturate(0.7);
    }
    60% { 
        transform: scale(1.05);
        filter: brightness(1.1) saturate(1.2);
    }
    72% { 
        transform: scale(0.98);
        filter: brightness(0.95) saturate(0.9);
    }
    84% { 
        transform: scale(1.03);
        filter: brightness(1.05) saturate(1.1);
    }
}

.intelligent-pulse {
    animation: intelligent-pulse 3.2s ease-in-out infinite;
    animation-delay: calc(var(--random-delay, 0) * 0.8s);
}

/* 智能漂浮 - 自然的上下浮动 */
@keyframes intelligent-float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    }
    10% { 
        transform: translateY(-2px) rotate(1deg);
        filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
    }
    25% { 
        transform: translateY(-8px) rotate(-0.5deg);
        filter: drop-shadow(0 8px 12px rgba(0,0,0,0.1));
    }
    40% { 
        transform: translateY(-5px) rotate(1.5deg);
        filter: drop-shadow(0 6px 8px rgba(0,0,0,0.12));
    }
    55% { 
        transform: translateY(-12px) rotate(-1deg);
        filter: drop-shadow(0 12px 16px rgba(0,0,0,0.08));
    }
    70% { 
        transform: translateY(-7px) rotate(0.8deg);
        filter: drop-shadow(0 7px 10px rgba(0,0,0,0.1));
    }
    85% { 
        transform: translateY(-3px) rotate(-0.3deg);
        filter: drop-shadow(0 3px 5px rgba(0,0,0,0.15));
    }
}

.intelligent-float {
    animation: intelligent-float 5.5s ease-in-out infinite;
    animation-delay: calc(var(--random-delay, 0) * 1.2s);
}

/* 智能旋转 - 不规则速度 */
@keyframes intelligent-rotate {
    0% { transform: rotate(0deg) scale(1); }
    15% { transform: rotate(45deg) scale(1.05); }
    25% { transform: rotate(60deg) scale(0.95); }
    40% { transform: rotate(120deg) scale(1.1); }
    50% { transform: rotate(150deg) scale(0.9); }
    65% { transform: rotate(220deg) scale(1.08); }
    75% { transform: rotate(270deg) scale(0.92); }
    90% { transform: rotate(330deg) scale(1.03); }
    100% { transform: rotate(360deg) scale(1); }
}

.intelligent-rotate {
    animation: intelligent-rotate 8s ease-in-out infinite;
    animation-delay: calc(var(--random-delay, 0) * 2.5s);
}

/* 智能变色 - 随机色彩变化 */
@keyframes intelligent-color-shift {
    0%, 100% { filter: hue-rotate(0deg) saturate(1) brightness(1); }
    12% { filter: hue-rotate(30deg) saturate(1.2) brightness(1.1); }
    25% { filter: hue-rotate(60deg) saturate(1.4) brightness(1.2); }
    37% { filter: hue-rotate(90deg) saturate(1.1) brightness(0.9); }
    50% { filter: hue-rotate(180deg) saturate(1.6) brightness(1.3); }
    62% { filter: hue-rotate(240deg) saturate(1.3) brightness(1.1); }
    75% { filter: hue-rotate(300deg) saturate(1.5) brightness(1.4); }
    87% { filter: hue-rotate(330deg) saturate(1.2) brightness(1.2); }
}

.intelligent-color-shift {
    animation: intelligent-color-shift 6.8s linear infinite;
    animation-delay: calc(var(--random-delay, 0) * 1.8s);
}

/* ========== Q弹变形效果 ========== */

/* Q弹跳跃 - 像人一样的弹性 */
@keyframes bouncy-character {
    0%, 100% { 
        transform: scale(1) skewX(0deg);
        filter: brightness(1);
    }
    10% { 
        transform: scale(1.3, 0.7) skewX(-5deg);
        filter: brightness(1.2);
    }
    20% { 
        transform: scale(0.8, 1.4) skewX(3deg);
        filter: brightness(1.1);
    }
    30% { 
        transform: scale(1.2, 0.8) skewX(-2deg);
        filter: brightness(1.3);
    }
    40% { 
        transform: scale(0.9, 1.2) skewX(1deg);
        filter: brightness(1.1);
    }
    50% { 
        transform: scale(1.1, 0.9) skewX(-1deg);
        filter: brightness(1.2);
    }
    60% { 
        transform: scale(0.95, 1.1) skewX(0.5deg);
        filter: brightness(1.05);
    }
    80% { 
        transform: scale(1.05, 0.95) skewX(-0.5deg);
        filter: brightness(1.1);
    }
}

.bouncy-character {
    animation: bouncy-character 2.5s ease-in-out infinite;
    animation-delay: calc(var(--random-delay, 0) * 1s);
    transform-origin: center bottom;
}

/* 人性化眨眼效果 */
@keyframes human-blink {
    0%, 90%, 100% { 
        transform: scaleY(1) scaleX(1);
        opacity: 1;
    }
    5% { 
        transform: scaleY(0.1) scaleX(1.1);
        opacity: 0.8;
    }
    10% { 
        transform: scaleY(1) scaleX(1);
        opacity: 1;
    }
    15% { 
        transform: scaleY(0.1) scaleX(1.1);
        opacity: 0.8;
    }
    20% { 
        transform: scaleY(1) scaleX(1);
        opacity: 1;
    }
}

.human-blink {
    animation: human-blink 4s ease-in-out infinite;
    animation-delay: calc(var(--random-delay, 0) * 2s);
}

/* 果冻摆动 - 像果冻一样Q弹 */
@keyframes jelly-wobble {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        border-radius: 50%;
    }
    25% { 
        transform: scale(1.1, 0.9) rotate(2deg);
        border-radius: 60% 40% 40% 60%;
    }
    50% { 
        transform: scale(0.9, 1.1) rotate(0deg);
        border-radius: 40% 60% 60% 40%;
    }
    75% { 
        transform: scale(1.05, 0.95) rotate(-1deg);
        border-radius: 55% 45% 45% 55%;
    }
}

.jelly-wobble {
    animation: jelly-wobble 2s ease-in-out infinite;
    animation-delay: calc(var(--random-delay, 0) * 1.5s);
    display: inline-block;
    overflow: hidden;
}

/* 液体流动效果 */
@keyframes liquid-flow {
    0%, 100% { 
        transform: scale(1) skewX(0deg);
        filter: blur(0px) brightness(1);
    }
    20% { 
        transform: scale(1.2, 0.8) skewX(10deg);
        filter: blur(0.5px) brightness(1.2);
    }
    40% { 
        transform: scale(0.8, 1.3) skewX(-8deg);
        filter: blur(0.3px) brightness(1.1);
    }
    60% { 
        transform: scale(1.1, 0.9) skewX(5deg);
        filter: blur(0.2px) brightness(1.3);
    }
    80% { 
        transform: scale(0.9, 1.1) skewX(-3deg);
        filter: blur(0.1px) brightness(1.1);
    }
}

.liquid-flow {
    animation: liquid-flow 3s ease-in-out infinite;
    animation-delay: calc(var(--random-delay, 0) * 2s);
}

/* 弹性伸缩 - 像橡皮筋一样 */
@keyframes elastic-stretch {
    0%, 100% { 
        transform: scale(1) scaleX(1);
    }
    10% { 
        transform: scale(1.4, 0.6) scaleX(1.2);
    }
    20% { 
        transform: scale(0.6, 1.4) scaleX(0.8);
    }
    30% { 
        transform: scale(1.2, 0.8) scaleX(1.1);
    }
    40% { 
        transform: scale(0.8, 1.2) scaleX(0.9);
    }
    50% { 
        transform: scale(1.1, 0.9) scaleX(1.05);
    }
    60% { 
        transform: scale(0.9, 1.1) scaleX(0.95);
    }
    70% { 
        transform: scale(1.05, 0.95) scaleX(1.02);
    }
    80% { 
        transform: scale(0.95, 1.05) scaleX(0.98);
    }
    90% { 
        transform: scale(1.02, 0.98) scaleX(1.01);
    }
}

.elastic-stretch {
    animation: elastic-stretch 2.8s ease-in-out infinite;
    animation-delay: calc(var(--random-delay, 0) * 1.2s);
}

/* 心跳变形 - 像心脏跳动 */
@keyframes heartbeat-morph {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        filter: hue-rotate(0deg) brightness(1);
        border-radius: 50%;
    }
    14% { 
        transform: scale(1.3) rotate(2deg);
        filter: hue-rotate(10deg) brightness(1.2);
        border-radius: 60% 40%;
    }
    28% { 
        transform: scale(1) rotate(0deg);
        filter: hue-rotate(0deg) brightness(1);
        border-radius: 50%;
    }
    42% { 
        transform: scale(1.3) rotate(-2deg);
        filter: hue-rotate(-10deg) brightness(1.2);
        border-radius: 40% 60%;
    }
    70% { 
        transform: scale(1) rotate(0deg);
        filter: hue-rotate(0deg) brightness(1);
        border-radius: 50%;
    }
}

.heartbeat-morph {
    animation: heartbeat-morph 1.5s ease-in-out infinite;
    animation-delay: calc(var(--random-delay, 0) * 0.8s);
    display: inline-block;
    overflow: hidden;
}

/* 波浪变形 - 像水波一样 */
@keyframes wave-morph {
    0%, 100% { 
        transform: scale(1) skewY(0deg);
        filter: blur(0px);
    }
    25% { 
        transform: scale(1.1, 0.9) skewY(5deg);
        filter: blur(0.2px);
    }
    50% { 
        transform: scale(0.9, 1.1) skewY(0deg);
        filter: blur(0.1px);
    }
    75% { 
        transform: scale(1.05, 0.95) skewY(-3deg);
        filter: blur(0.15px);
    }
}

.wave-morph {
    animation: wave-morph 2.2s ease-in-out infinite;
    animation-delay: calc(var(--random-delay, 0) * 1.8s);
}

/* 呼吸变形 - 像生物呼吸 */
@keyframes breathing-morph {
    0%, 100% { 
        transform: scale(1) scaleY(1);
        opacity: 1;
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.15) scaleY(0.85);
        opacity: 0.8;
        filter: brightness(1.3);
    }
}

.breathing-morph {
    animation: breathing-morph 4s ease-in-out infinite;
    animation-delay: calc(var(--random-delay, 0) * 2s);
}

/* 跳舞变形 - 像人在跳舞 */
@keyframes dance-morph {
    0%, 100% { 
        transform: scale(1) rotate(0deg) skewX(0deg);
    }
    12.5% { 
        transform: scale(1.1, 0.9) rotate(5deg) skewX(2deg);
    }
    25% { 
        transform: scale(0.9, 1.1) rotate(-3deg) skewX(-1deg);
    }
    37.5% { 
        transform: scale(1.05, 0.95) rotate(8deg) skewX(3deg);
    }
    50% { 
        transform: scale(0.95, 1.05) rotate(-5deg) skewX(-2deg);
    }
    62.5% { 
        transform: scale(1.08, 0.92) rotate(6deg) skewX(1deg);
    }
    75% { 
        transform: scale(0.92, 1.08) rotate(-4deg) skewX(-3deg);
    }
    87.5% { 
        transform: scale(1.03, 0.97) rotate(2deg) skewX(1deg);
    }
}

.dance-morph {
    animation: dance-morph 2s ease-in-out infinite;
    animation-delay: calc(var(--random-delay, 0) * 1.5s);
}

/* 组合智能效果 */
.super-intelligent {
    animation: 
        intelligent-breathe 4.5s ease-in-out infinite,
        intelligent-color-shift 6.8s linear infinite,
        intelligent-sway 7s ease-in-out infinite;
    animation-delay: 
        calc(var(--random-delay, 0) * 1s),
        calc(var(--random-delay, 0) * 1.8s),
        calc(var(--random-delay, 0) * 1.5s);
}

/* 超级Q弹组合效果 */
.super-bouncy {
    animation: 
        bouncy-character 2.5s ease-in-out infinite,
        intelligent-color-shift 6s linear infinite,
        jelly-wobble 2s ease-in-out infinite;
    animation-delay: 
        calc(var(--random-delay, 0) * 1s),
        calc(var(--random-delay, 0) * 2s),
        calc(var(--random-delay, 0) * 0.5s);
}

/* JavaScript将设置随机延迟变量 */
.animated-icon {
    --random-delay: 0;
}

/* 鼠标悬停时增强效果 */
.animated-icon:hover {
    animation-duration: 0.8s !important;
    transform: scale(1.2) !important;
    filter: brightness(1.3) drop-shadow(0 0 15px currentColor) !important;
    transition: all 0.3s ease !important;
}

/* 禁用动画选项（用户偏好） */
@media (prefers-reduced-motion: reduce) {
    .animated-icon,
    .animated-icon::before,
    .animated-icon::after {
        animation: none !important;
        transition: none !important;
    }
}
