* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .item1 {
        position: relative;
        border-radius: 10px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        overflow: hidden;
    }

    /* 标签基础样式 */
    .label {
        position: absolute;
        right: -34px;
        top: 18px;
        padding: 8px 40px;
        color: #fff;
        font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
        font-weight: 700;
        text-transform: uppercase;
        text-align: center;
        transform: rotate(45deg);
        transform-origin: center;
        box-shadow: 3px 3px 5px rgba(0,0,0,0.3);
        cursor: pointer;
        z-index: 10;
        
        /* 修复文字渲染 */
        -webkit-font-smoothing: antialiased;
        backface-visibility: hidden;
        
        /* 动画设置 */
        animation: 
            labelEntrance 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards,
            float 3s ease-in-out 0.8s infinite;
        transition: all 0.3s ease;
    }

    /* 3D立体效果 */
    .label::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(145deg, #ff6666, #cc0000);
        z-index: -1;
        transform: translateZ(-1px);
    }

    /* 热卖标签 */
    .hot {
        background: linear-gradient(145deg, #ff4444, #ff0000, #ff6666, #cc0000);
        background-size: 200% 200%;
        animation: 
            labelEntrance 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards,
            float 3s ease-in-out 0.8s infinite,
            hotGlow 2s linear infinite;
    }

    /* 推荐标签 */
    .recommend {
        background: linear-gradient(145deg, #44aaff, #0066cc);
    }
    .recommend::before {
        background: linear-gradient(145deg, #66bbff, #0066cc);
    }

    /* 文字样式 */
    .label-text {
        display: block;
        transform: rotate(-5deg);
        letter-spacing: 1px;
        font-size: 14px;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }

    /* 动画关键帧 */
    @keyframes float {
        0%, 100% { transform: rotate(45deg) translateY(0); }
        50% { transform: rotate(45deg) translateY(-5px); }
    }

    @keyframes labelEntrance {
        0% { 
            transform: rotate(45deg) scale(0);
            opacity: 0;
        }
        80% {
            transform: rotate(45deg) scale(1.1);
        }
        100% {
            transform: rotate(45deg) scale(1);
            opacity: 1;
        }
    }

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

    /* 流光效果 */
    .hot::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(
            45deg,
            transparent 25%,
            rgba(255,255,255,0.2) 50%,
            transparent 75%
        );
        animation: shine 3s infinite;
        transform: rotate(45deg);
    }

    @keyframes shine {
        0% { transform: rotate(45deg) translateX(-100%); }
        100% { transform: rotate(45deg) translateX(100%); }
    }

    /* 交互优化 */
    .label:hover {
        transform: rotate(45deg) scale(1.1) translateZ(0);
        box-shadow: 5px 5px 15px rgba(0,0,0,0.4);
        animation-play-state: paused;
    }

    .label:active {
        transform: rotate(45deg) scale(0.95);
        transition: all 0.1s;
    }

    /* 响应式调整 */
    @media (min-width: 768px) {
        .label {
            right: -38px;
            top: 20px;
            padding: 10px 45px;
            font-size: 16px;
        }
        .label-text {
            font-size: 16px;
        }
    }