/* Playlist Transfer 推荐弹框样式 */
.playlist-transfer-promo {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 300px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    padding: 25px;
    color: white;
    /* 初始隐藏 */
    display: none;
}

.playlist-transfer-promo.show {
    display: block;
    animation: slideInRight 0.5s ease-out;
}

.playlist-transfer-promo.hidden {
    display: none !important;
}

.promo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.promo-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.close-promo {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
}

.close-promo:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.promo-content {
    margin-bottom: 20px;
}

.promo-content p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
}

.promo-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-groups {
    display: block;
}

.promo-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.promo-btn-primary {
    background: white;
    color: #2575fc;
}

.promo-btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #6a11cb;
    text-decoration: none;
}

.promo-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.promo-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.promo-icon {
    font-size: 18px;
    margin-right: 8px;
    vertical-align: middle;
}

/* 系统选择样式 */
.sys-win,
.sys-mac {
    display: none;
}

/* 根据用户系统显示对应按钮 */
body.windows .sys-win,
body.mac .sys-mac {
    display: block;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .playlist-transfer-promo {
        width: 280px;
        right: 15px;
    }
}

@media (max-width: 992px) {
    .playlist-transfer-promo {
        display: none !important; /* 在平板和手机上隐藏 */
    }
}

/* 动画 */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px) translateY(-50%);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(-50%);
    }
}

/* 系统检测样式 */
body.windows .playlist-transfer-promo .sys-win,
body.mac .playlist-transfer-promo .sys-mac {
    display: block;
}