/* 升级会员按钮动画样式 */
.mao-download.vip-upgrade {
    position: relative;
    overflow: hidden;
    background: transparent;
    border: none;
    padding: 12px 24px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin-left: 20px;
}

/* 旋转的彩色扇形背景 */
.mao-download.vip-upgrade::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        #ff6b6b 0deg,
        #ee5a6f 60deg,
        #f06595 120deg,
        #cc5de8 180deg,
        #845ef7 240deg,
        #5c7cfa 300deg,
        #339af0 360deg
    );
    animation: rotate-gradient 3s linear infinite;
    z-index: -2;
    filter: blur(8px);
}

/* 毛玻璃效果层 */
.mao-download.vip-upgrade::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: rgba(245, 158, 11, 0.3);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border-radius: 6px;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.mao-download.vip-upgrade:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5), 0 0 20px rgba(255, 107, 107, 0.3);
}

.mao-download.vip-upgrade:hover::before {
    filter: blur(12px);
    animation: rotate-gradient 2s linear infinite;
}

.mao-download.vip-upgrade:hover::after {
    background: rgba(245, 158, 11, 0.2);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
}

/* 文字发光效果 */
.mao-download.vip-upgrade span {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

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

/* 权限图标样式 */
.permission-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.permission-badge.unlocked {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.permission-badge.locked {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    padding: 6px 10px;
}

.permission-badge svg {
    width: 16px;
    height: 16px;
}

/* 权益标签样式 */
.vip-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.vip-badge.vip1 {
    background: #e8f5e9;
    color: #2e7d32;
    border: 2px solid rgba(46, 125, 50, 0.125);
}

.vip-badge.vip2 {
    background: #fff9c4;
    color: #f57f17;
    border: 2px solid rgba(245, 127, 23, 0.125);
}

.vip-badge.vip3 {
    background: #e1f5fe;
    color: #01579b;
    border: 2px solid rgba(1, 87, 155, 0.125);
}
