﻿/* 功能图标徽章样式 */
.feature-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 私域卡片图标背景 */
.private-card-icon {
    background: linear-gradient(135deg, #9c27b0 0%, #673ab7 100%) !important;
    border-radius: 16px !important;
    width: 64px !important;
    height: 64px !important;
    color: white !important;
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.3) !important;
}

/* 视频转图文图标背景 */
.video-to-text-icon {
    background: linear-gradient(135deg, #ff5722 0%, #ff9800 100%) !important;
    border-radius: 16px !important;
    width: 64px !important;
    height: 64px !important;
    color: white !important;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.3) !important;
}

/* 功能符号样式 */
.feature-symbol {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    font-size: 14px !important;
    z-index: 3 !important;
    animation: emojiFloat 3s ease-in-out infinite !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 50% !important;
    width: 22px !important;
    height: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.feature-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    color: white;
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
    font-style: normal;
    line-height: 1;
    z-index: 2;
}

/* Emoji符号样式 - 右上角徽章 */
.emoji {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    font-size: 12px !important;
    z-index: 3 !important;
    animation: emojiFloat 3s ease-in-out infinite !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%) !important;
    border-radius: 50% !important;
    width: 18px !important;
    height: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3) !important;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.5);
    }
}

@keyframes emojiFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    33% {
        transform: translateY(-2px) scale(1.05);
    }
    66% {
        transform: translateY(-1px) scale(1.02);
    }
}

/* 响应式适配 */
@media (max-width: 480px) {
    .feature-badge {
        font-size: 12px;
        width: 20px;
        height: 20px;
        top: -6px;
        right: -6px;
    }
    
    .emoji {
        font-size: 10px !important;
        width: 16px !important;
        height: 16px !important;
        top: -4px !important;
        right: -4px !important;
    }
    
    .feature-symbol {
        font-size: 12px !important;
        width: 18px !important;
        height: 18px !important;
        top: -4px !important;
        right: -4px !important;
    }
    
    .private-card-icon,
    .video-to-text-icon {
        width: 56px !important;
        height: 56px !important;
        border-radius: 14px !important;
    }
}
